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


Message #68 received at 59388 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: jporterbugs <at> gmail.com, gregory <at> heytings.org, xerusx <at> pm.me,
 59388 <at> debbugs.gnu.org
Subject: Re: bug#59388: Open emacsclient file at last line
Date: Mon, 21 Nov 2022 15:36:35 +0200
> Date: Mon, 21 Nov 2022 11:55:34 +0300
> From: Jean Louis <bugs <at> gnu.support>
> Cc: Jim Porter <jporterbugs <at> gmail.com>, gregory <at> heytings.org,
>   xerusx <at> pm.me, 59388 <at> debbugs.gnu.org
> 
> * Eli Zaretskii <eliz <at> gnu.org> [2022-11-20 22:01]:
> > We can invoke functions in the order of --funcall's, but they should run
> > after visiting the file.  Nothing else makes sense, and was never possible
> > with emacsclient anyway.
> 
> I use `-e' to open new frame seeking for specific buffer, or invoking
> specific functions.

Again, please read the discussion before chiming in.  This is, of course,
possible, but people provided convincing reasons why it can be sometimes not
very convenient.

> > So I stand by what I wrote: --funcall'ed functions should run after
> > visiting FILE.  It's not a problem, as you can see from the implementation
> > of -position in the protocol.
> 
> --funcall is similar as `-e' only limited to single function. So I
>   suggest that when you implement that, that --funcall may be used
>   also without any file, such as emacsclient -c --funcall my-function
>   as that way I can invoke necessary programs.

This is redundant, since -e already allows that.




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.