all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Tom Tromey <tom@tromey.com>
Cc: Alan Mackenzie <acm@muc.de>, 45560@debbugs.gnu.org
Subject: bug#45560: 27.1; add-change-log-entry erroneously removes "const" from function name
Date: Thu, 31 Dec 2020 06:09:21 +0100	[thread overview]
Message-ID: <87ft3mmuim.fsf@gnus.org> (raw)
In-Reply-To: <87im8ievo2.fsf@tromey.com> (Tom Tromey's message of "Wed, 30 Dec 2020 16:11:41 -0700")

Tom Tromey <tom@tromey.com> writes:

> Put this into a .c file:
>
> void
> const_ref ()
> {
> }
>
> Now, put point inside the braces and M-x add-change-log-entry.
>
> For me the resulting ChangeLog looks like:
>
> 2020-12-30  Tom Tromey  <tom@tromey.com>
>
> 	* q.c (_ref): 

Debugging this, it looks like this is down to

(c-defun-name-1)

returning "_ref" if called in the const_ref function, so I've added Alan
to the CCs. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-12-31  5:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 23:11 bug#45560: 27.1; add-change-log-entry erroneously removes "const" from function name Tom Tromey
2020-12-31  5:09 ` Lars Ingebrigtsen [this message]
2021-01-01 16:20   ` Alan Mackenzie
2021-01-02  5:42     ` Lars Ingebrigtsen
2021-02-02 20:42       ` Alan Mackenzie

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=87ft3mmuim.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=45560@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=tom@tromey.com \
    /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.