From: Eli Zaretskii <eliz@gnu.org>
To: Gregory Heytings <gregory@heytings.org>
Cc: xerusx@pm.me, 59388@debbugs.gnu.org
Subject: bug#59388: Open emacsclient file at last line
Date: Sat, 19 Nov 2022 20:32:14 +0200 [thread overview]
Message-ID: <83wn7q7q35.fsf@gnu.org> (raw)
In-Reply-To: <518ded72c3e3303c3aaf@heytings.org> (message from Gregory Heytings on Sat, 19 Nov 2022 18:21:26 +0000)
> Date: Sat, 19 Nov 2022 18:21:26 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: xerusx@pm.me, 59388@debbugs.gnu.org
>
> Well, to achieve what he wants Janek would have to do something like
>
> emacsclient --eval '(progn (find-file "FILE") (goto-char (point-max)))'
>
> And that also means that the default (waiting) mode of emacsclient is not
> available.
And that is a problem? This use case is explicitly for human use (in contrast
to the +LINE:COLUMN FILE case which is for programs that call $EDITOR). And it
is a rare use case on top of that. So why typing a few words is a problem, and
why does it justify yet another tweak of the UI?
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".
next prev parent reply other threads:[~2022-11-19 18:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-19 11:57 bug#59388: Open emacsclient file at last line Janek F via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-19 15:48 ` Eli Zaretskii
2022-11-19 17:10 ` Gregory Heytings
2022-11-19 18:03 ` Eli Zaretskii
2022-11-19 18:07 ` Gregory Heytings
2022-11-19 18:17 ` Eli Zaretskii
2022-11-19 18:21 ` Gregory Heytings
2022-11-19 18:32 ` Eli Zaretskii [this message]
2022-11-19 19:05 ` Gregory Heytings
2022-11-19 19:37 ` Eli Zaretskii
2022-11-19 20:20 ` Gregory Heytings
2022-11-19 20:08 ` Jim Porter
2022-11-19 20:33 ` Eli Zaretskii
2022-11-19 23:06 ` Jim Porter
2022-11-20 7:22 ` Eli Zaretskii
2022-11-20 18:49 ` Jim Porter
2022-11-20 19:00 ` Eli Zaretskii
2022-11-20 19:37 ` Jim Porter
2022-11-21 8:55 ` Jean Louis
2022-11-21 13:36 ` Eli Zaretskii
2022-11-21 17:50 ` Jim Porter
2022-11-21 8:52 ` Jean Louis
2022-11-21 13:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83wn7q7q35.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59388@debbugs.gnu.org \
--cc=gregory@heytings.org \
--cc=xerusx@pm.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.