* 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
* Re: change-log-mode
2004-10-10 11:31 change-log-mode Jochen Küpper
@ 2004-10-12 12:07 ` Johan Bockgård
2004-10-12 19:09 ` buffer-local add-log-mailing-address (was: change-log-mode) Jochen Küpper
0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2004-10-12 12:07 UTC (permalink / raw)
Jochen Küpper <usenet@jochen-kuepper.de> writes:
> I have problems with add-change-log-entry using the "wrong"
> user-mail-address for new entries.
[...]
> However, a-c-l-e does seem to cache the value internally.
`add-log-mailing-address'
--
Johan Bockgård
^ permalink raw reply [flat|nested] 3+ messages in thread
* buffer-local add-log-mailing-address (was: change-log-mode)
2004-10-12 12:07 ` change-log-mode Johan Bockgård
@ 2004-10-12 19:09 ` Jochen Küpper
0 siblings, 0 replies; 3+ messages in thread
From: Jochen Küpper @ 2004-10-12 19:09 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 952 bytes --]
On Tue, 12 Oct 2004 14:07:13 +0200 Johan Bockgård wrote:
Johan> Jochen Küpper <usenet-W2i0oK7yYu0+t3nig+EZI7NAH6kLmebB@public.gmane.org> writes:
>> I have problems with add-change-log-entry using the "wrong"
>> user-mail-address for new entries.
Johan> [...]
>> However, a-c-l-e does seem to cache the value internally.
Johan> `add-log-mailing-address'
Thanks for the hint. However, that variable shows the same behavior.
Now I found out that the same issue was brought up before:
,----
| http://lists.gnu.org/archive/html/bug-gnu-emacs/2003-04/msg00072.html
`----
I could not find a solution using google, and apparently add-log from
GNU Emacs 21.3.1 still shows the same problem. Any takers?
Greetings,
Jochen
--
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).