From: Morten Welinder <terra@gnu.org>
Subject: add-change-log-entry and add-log-mailing-address
Date: Wed, 09 Apr 2003 15:13:57 -0400 [thread overview]
Message-ID: <E193L1B-0008Ly-00@fencepost.gnu.org> (raw)
`M-x add-change-log-entry' is supposed to use add-log-mailing-address
as the email address in new change log entries. It only works partly,
that is to say not at all in the face of local variables. Here's what
it does when activated from foo.c:
1. Set foo.c's add-log-mailing-address to a default, if needed.
2. Use ChangeLog's add-log-mailing-address in the entry.
(And similarly for add-log-full-name, but I change email address more often
than full name.)
I claim that it should really be using foo.c's in (2) also. That way,
you can set it locally in a buffer and have changes done in that buffer
"tagged" as being from a certain email account. Specifically, I want use
(add-hook 'c-mode-hook
(lambda ()
(let ((filename (buffer-file-name)))
(and filename
(string-match "/something/" filename)
(progn
;; ...
(make-local-variable 'add-log-mailing-address)
(setq add-log-mailing-address "terra@gnu.org")
))))
t)
Morten
Observed on 21.1.3 compiled on sparc-sun-solaris2.7.
next reply other threads:[~2003-04-09 19:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 19:13 Morten Welinder [this message]
2003-04-09 22:25 ` add-change-log-entry and add-log-mailing-address Thien-Thi Nguyen
2003-04-10 22:47 ` Richard Stallman
2003-04-11 23:37 ` Dan Jacobson
2003-04-14 2:36 ` Richard Stallman
[not found] ` <mailman.4534.1050287861.21513.bug-gnu-emacs@gnu.org>
2003-04-14 6:01 ` David Kastrup
2003-04-14 20:34 ` Dan Jacobson
2003-04-15 9:05 ` Alfred M. Szmidt
2003-04-16 3:12 ` Dan Jacobson
[not found] ` <mailman.4613.1050363127.21513.bug-gnu-emacs@gnu.org>
2003-04-15 15:08 ` Kevin Rodgers
2003-04-14 12:41 ` Alfred M. Szmidt
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=E193L1B-0008Ly-00@fencepost.gnu.org \
--to=terra@gnu.org \
/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.