emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushing the mark from a primitive like goto-char


From: Philipp Stephani
Subject: Re: Pushing the mark from a primitive like goto-char
Date: Tue, 5 Jan 2021 20:53:47 +0100

Am Di., 5. Jan. 2021 um 20:29 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > Date: Tue, 05 Jan 2021 20:06:28 +0100
> > Cc: Philipp Stephani <p.stephani2@gmail.com>,
> >  Emacs developers <emacs-devel@gnu.org>, Stefan Kangas 
> > <stefankangas@gmail.com>,
> >  Juri Linkov <juri@linkov.net>
> > From: Daniel Martín via "Emacs development discussions." 
> > <emacs-devel@gnu.org>
> >
> > - Create a 'goto-char-command' command in ELisp.
> >
> > - Move the interactive spec that is in 'goto-char' to this new command
> >   and make it push the mark smartly (e.g. be careful when a region is
> >   active).  Then call 'goto-char'.
> >
> > - Rebind 'M-g c' to 'goto-char-command'.
>
> You mean, it will be impossible to invoke "M-x goto-char"?

Yes, goto-char should retain its interactive spec, there's no harm in that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]