GNU bug report logs -
#59388
Open emacsclient file at last line
Previous Next
Full log
Message #71 received at 59388 <at> debbugs.gnu.org (full text, mbox):
On 11/21/2022 5:36 AM, Eli Zaretskii wrote:
>> 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
>>
>> --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.
I don't think there'd be a *problem* if --funcall without a file was
allowed. As you say, it's not necessary, since you can already do this
with -e, but --funcall with no files has precedent with the regular
emacs executable, so I think it'd be reasonable for emacsclient to do it
too. It's probably not a big deal either way though, given that emacs
and emacsclient already treat options quite differently.
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.