GNU bug report logs - #59388
Open emacsclient file at last line

Previous Next

Package: emacs;

Reported by: Janek F <xerusx <at> pm.me>

Date: Sat, 19 Nov 2022 15:45:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: xerusx <at> pm.me, 59388 <at> debbugs.gnu.org
Subject: bug#59388: Open emacsclient file at last line
Date: Sat, 19 Nov 2022 20:20:46 +0000
[Message part 1 (text/plain, inline)]
>>> But if we do want to make this easier, I'd go with a new command-line 
>>> switch, say, "--eob".  The Vim way is cryptic and error-prone, so I 
>>> don't think we should do the same.  And I don't see at all why would 
>>> someone needs to say "N lines from EOF".
>>
>> One possible use case is "open a log file to look at the last N 
>> entries".
>
> Going to EOB displays more than just the last line.
>

Yes, but point is not on the Nth line counting from EOF.

>
> And the request was only to be able to go to EOB.
>

Indeed.  Like you I didn't like the Vim way, so I tried to imagine 
something better.  But I don't think TRT here is to add yet another 
command line switch, when an already existing one can be extended 
naturally to do the same thing.

Anyway, that was just a proposal, somehow I feel you don't like it, so I 
don't think it's useful to continue arguing.  I attach it again (I forgot 
a modification to the Emacs manpage in the previous one) just in case.
[Add-option-to-visit-the-end-of-a-file.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.