emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add emacsclient support to open with file:linum syntax


From: Paul Eggert
Subject: Re: [PATCH] add emacsclient support to open with file:linum syntax
Date: Tue, 29 Mar 2016 16:08:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

On 03/29/2016 03:35 PM, Kaushal Modi wrote:

I myself, use an awk script to rearrange the arguments to work with the current +LINE FILE format accepted by emacsclient ( Ref: https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00541.html ).

So the existing emacsclient implementation already works for you.

Having this patch installed will prevent the need for such workarounds

They are not workarounds, because grep output cannot be used unchanged. Even with the proposed option syntax, users would need to employ a script such as yours to pick out the part of the grep output that they need, and use that information to formulate arguments for emacsclient.

The longstanding +LINE option syntax is compatible with other popular free editors such as 'vim' and 'nano', and there is some value in encouraging its usage rather than reinventing the wheel.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]