Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: edit-command-line problem with emacsclient
- X-seq: zsh-workers 36585
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Peter Vasil <mailing_lists@xxxxxxxxxxxxxx>
- Subject: Re: edit-command-line problem with emacsclient
- Date: Mon, 21 Sep 2015 21:16:43 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=NBs9xy+JI6irMqrCWXf4M/xdgf8=; b=yIKMSC avgr9l9Q5oJePoewJ5pmik6WkLu/IwbbGVrWUWg+fTcLbkhXDvFDa5SLCX4EaXcZ IoaaI1JXwt+66nIpRWhqQEFji/idJI17Ac9ZMWTuiqrURxccvMQOC4FRSQx1Q5P3 dxuV0/lEkvXRlzxzxV2Dh/JvB6wcvgoDGXtDs=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=NBs9xy+JI6irMqrCWXf4M/xdgf8=; b=i6zlv UUBueRf62jHIowQRFPEWWkFrs5wbX/rmkXChJynpsrwxmEn7ZTC2POnfhHZ7Nyq5 7NDTKAewYWB6XRsGaTwraV3+RYHMyXGvPYtAu+KnMjFOK44ztqnoQsyxSuQOwWEY Sia83N5xMcat6K2eYICWwmBqVBPSXm8qUJIO/o=
- In-reply-to: <55FE9C92.7030203@petervasil.net>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <55FE9C92.7030203@petervasil.net>
Peter Vasil wrote on Sun, Sep 20, 2015 at 13:46:26 +0200:
> Commit 35ffe36318955d03fca3df0d34a0997970cfc6a3 introduced the change,
> that when calling edit-command-line, the curser is put to the right offset.
>
I wrote that. Sorry for the bug. I'm a vim user, and I sanity-tested
the emacs case, but I don't actually speak emacs lisp, so I'm not
surprised the patch was complete but not sound. I see now I forgot to
state in the patch mail that the emacs codepath needed extra review :-/
Cheers,
Daniel
(OT: Perhaps I should add "I don't speak emacs lisp" to https://people.apache.org/~danielsh/bilmiyorum/?)
> This is implemented for vim and emacs, however if I set my EDITOR or
> VISUAL to emacsclient, the *emacs* condition gets called which does not
> work for emacsclient. The arguments specidied for emacs work only for
> Emacs but not for emacsclient.
>
> It would be great to change the condition *emacs* that it does not match
> emacsclient or add another condition for emacsclient with appropriate
> arguments.
>
> Thanks and bests,
> Peter
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author