unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* change-log-mode
@ 2004-10-10 11:31 Jochen Küpper
  2004-10-12 12:07 ` change-log-mode Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: Jochen Küpper @ 2004-10-10 11:31 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1438 bytes --]

I have problems with add-change-log-entry using the "wrong"
user-mail-address for new entries.

I have made user-mail-address local using
,----[.emacs]
| (make-variable-buffer-local 'user-mail-address)
`----

When I set it locally in some buffer (i.e. via a local variables
section) that works perfectly, as I can check by C-h k C-h v. 

However, a-c-l-e does seem to cache the value internally. It always
does the right thing [1] when called for the first time in a session,
but the keeps using exactly that mail address for the whole session.

Is there a way to tell it to re-assemble the name/email string every
time? Or can I provide it the string automatically in some way? I have
tried playing around with add-change-log-entry, but I could not find a
way to programatically set the name/email string to use. 

I.e. how could I modify the following to get what I want?
,----
| (defun jk/add-change-log-entry ()
|   "*Add change-log entry without asking for filename."
|   (interactive)
|   (add-change-log-entry nil change-log-default-name))
`----

Thank you for your help in advance.

Greetings,
Jochen

Footnotes: 
[1]  Uses a buffer local value if it exists, the global otherwise.

-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 173 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-12 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-10 11:31 change-log-mode Jochen Küpper
2004-10-12 12:07 ` change-log-mode Johan Bockgård
2004-10-12 19:09   ` buffer-local add-log-mailing-address (was: change-log-mode) Jochen Küpper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).