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.
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.
That said, I appreciate the effort you put in in creating this patch and this reply, by no means, is intended to discourage you from your future work (especially in C).