From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Bug #29083: Is it OK to add a new function to the emacs-26 branch?
Date: Fri, 3 Nov 2017 16:22:54 +0000 [thread overview]
Message-ID: <20171103162254.GA4277@ACM> (raw)
In-Reply-To: <jwvwp37fk9u.fsf-monnier+gmane.emacs.devel@gnu.org>
Hello, Stefan.
On Fri, Nov 03, 2017 at 11:35:54 -0400, Stefan Monnier wrote:
> > However, the OP has requested that a function which actually displays
> > this name be put into CC Mode. Would it still be OK to do this on the
> > emacs-26 branch, or is this branch now closed for such things?
> FWIW, it would be even better to add this command to which-function-mode
> so it can work in "any" mode.
which-function-mode is something a little different - it displays the
current function name continuously in the mode line. This new feature
of mine displays the current function name in the minibuffer on typing a
key sequence. (I am proposing C-c C-z in CC Mode.)
Am I right in thinking the meaning of your "to add this command to w-f-m"
is that
(i) There would be a command to display the current function name in the
minibuffer, together with a line offset in it, and the other refinements
currently in c-display-defun-name.
(ii) This command would be available regardless of whether or not w-f-m
is currently enabled.
?
If so, I agree this is a good idea. However it would need some key
sequence in the global map (or we could expect each user to set her own
C-c <letter> binding for it).
One disadvantage: this new facility can scarcely be included in Emacs
26, as it would be too big a change at this stage.
I would probably be prepared to work on this.
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2017-11-03 16:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 11:21 Bug #29083: Is it OK to add a new function to the emacs-26 branch? Alan Mackenzie
2017-11-01 13:27 ` Compro Prasad
2017-11-01 17:05 ` John Wiegley
2017-11-01 19:43 ` Eli Zaretskii
2017-11-01 19:56 ` John Wiegley
2017-11-02 19:24 ` Alan Mackenzie
2017-11-03 15:35 ` Stefan Monnier
2017-11-03 16:22 ` Alan Mackenzie [this message]
2017-11-03 17:04 ` Stefan Monnier
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=20171103162254.GA4277@ACM \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.