[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using emacsclient -t as $EDITOR from within Emacs
From: |
Nikolai Weibull |
Subject: |
Re: Using emacsclient -t as $EDITOR from within Emacs |
Date: |
Fri, 6 Sep 2013 11:08:20 +0200 |
On Fri, Sep 6, 2013 at 10:57 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> On Fri, Sep 06, 2013 at 02:59:21PM +0700, Yuri Khan wrote:
>> On Fri, Sep 6, 2013 at 2:10 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com>
>> wrote:
>> > I'm very curious, what does this offer you over simple C-x C-f. The way
>> > I see it, emacsclient is useful to have access to single Emacs instance
>> > whenever you want to edit something, so you can connect to the instance
>> > from anywhere. But if you are already in an emacs frame, how does this
>> > add anything?
>> Many external programs, most notably version control systems such as
>> Subversion and Git, like to call an external editor when they need
>> some intermediate text that cannot be reasonably expected to be passed
>> via the command line or via a pre-authored file.
> Yes I'm aware of that. That is why I myself use emacsclient most of the
> time. The OP however wants to call emacsclient from an emacs frame as
> an asynchronous command. I fail to see any usecase for that. If I want
> to edit something from an emacs frame, I would just open it.
That wasn’t what I was asking for. I led with that case, as that’s
what it boiled down to, or so I thought, but I did explain that “I
want to be able to execute commands that invoke $EDITOR, which I’ve
set to a shell script that invokes emacsclient -t, from
within Emacs (for example, from Dired) that’s running as a server”.
- Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/04
- Re: Using emacsclient -t as $EDITOR from within Emacs, Felix Dietrich, 2013/09/05
- Re: Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Yuri Khan, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs,
Nikolai Weibull <=
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06