[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding with-editor to Emacs?
From: |
Eli Zaretskii |
Subject: |
Re: Adding with-editor to Emacs? |
Date: |
Sun, 03 Sep 2023 18:34:55 +0300 |
> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: Jonas Bernoulli <jonas@bernoul.li>, stefankangas@gmail.com,
> emacs-devel@gnu.org, rms@gnu.org
> Date: Sun, 03 Sep 2023 16:36:17 +0200
>
> >> - It provides some convenience functionality to use this from various
> >> shells running inside Emacs.
> >
> > Can you provide details? The above is too terse for me to understand
> > the functionality.
>
> Just my one 2 cents datapoint:
>
> I have this line in my init.el
> (add-hook 'eshell-mode-hook 'with-editor-export-editor)
>
> and now, I can do a standard Unix "crontab -e" or "vipw" to edit those
> special files from a remote eshell (be it via sudo, ssh whatever).
So we are talking about EDITOR settings missing from the shell init
files?
(I believe "M-x shell" does read the shell's init file, doesn't it?)
- Re: Adding with-editor to Emacs?, (continued)
- Re: Adding with-editor to Emacs?, Stefan Kangas, 2023/09/02
- Re: Adding with-editor to Emacs?, Jonas Bernoulli, 2023/09/03
- Re: Adding with-editor to Emacs?, Stefan Kangas, 2023/09/02
- Re: Adding with-editor to Emacs?, Eli Zaretskii, 2023/09/03
- Re: Adding with-editor to Emacs?, Michael Albinus, 2023/09/02
- Re: Adding with-editor to Emacs?, Jonas Bernoulli, 2023/09/02
- Re: Adding with-editor to Emacs?, Manuel Giraud, 2023/09/03
- Re: Adding with-editor to Emacs?,
Eli Zaretskii <=
- Re: Adding with-editor to Emacs?, Manuel Giraud, 2023/09/03
- Re: Adding with-editor to Emacs?, Eli Zaretskii, 2023/09/03
- Re: Adding with-editor to Emacs?, Manuel Giraud, 2023/09/04
- Re: Adding with-editor to Emacs?, Eli Zaretskii, 2023/09/04
- Re: Adding with-editor to Emacs?, Manuel Giraud, 2023/09/04
- Re: Adding with-editor to Emacs?, Manuel Giraud, 2023/09/04
- Re: Adding with-editor to Emacs?, Richard Stallman, 2023/09/05
- Re: Adding with-editor to Emacs?, Richard Stallman, 2023/09/04
- Re: Adding with-editor to Emacs?, Björn Bidar, 2023/09/15
- Re: Adding with-editor to Emacs?, Richard Stallman, 2023/09/17