From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jochen_K=FCpper?= Newsgroups: gmane.emacs.help Subject: change-log-mode Date: Sun, 10 Oct 2004 13:31:09 +0200 Organization: Fritz-Haber-Institut der MPG Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Message-ID: Reply-To: usenet-W2i0oK7yYu0+t3nig+EZI7NAH6kLmebB@public.gmane.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1876867524==" X-Trace: sea.gmane.org 1097408002 23569 80.91.229.6 (10 Oct 2004 11:33:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Oct 2004 11:33:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Sun Oct 10 13:33:17 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGbwz-00086w-00 for ; Sun, 10 Oct 2004 13:33:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGc3s-0000HM-Ik for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Oct 2004 07:40:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 56 Original-X-Trace: news.uni-berlin.de OINr4n5jXsPeDLzbE+ghfQ7TnfYXJjNBWoVVpbTQ4oBq0QNaV7 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUcGRSqioSCPi7Cwbxu Vk5MQjycXkxMKiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFG2qEAAAB5klEQVR42nXUwY7aMBAA UK8E4tqpI/fMKIWzFdBewcwm10WA9tpksz6zFci/37GdxF7a+mLwi2fGQ4yo/jPE9AkaIcRM/gU7 EcfTA/zgtWsuEfRmWPVjlsOryMYpAYgvYz9B8RXmhxHEw/gcQD+sz/cDbMLXhbu7a6j6Nob6FuDW U21+uje8nuUA/rnXxR4ArCWi5jhWJSJUmoWop7HckPt+Bz6PsrYmexgg5HY3CDvKuq/lAM9hB4VQ HfZEMt8xj2BLSrD1cDlThNJMoXSEWnroDJr3HM5nDtUbRIPuluDqLlx8YdYuh0o87S6+DWANUrn+ Pf0eO7vh1Awf98XKXi/jAatnCwU/Bebl5pZqjRNs2xa4IcoqdEuN5QSbFn3pYLkqqbtyLLfSEbQi XEn4jsvpZRiAO7UCUCYBhE7zhAgSclAyToiSO5xgA+8RONYqD6X3YYdWnakJU1WVPsaI0LXU5VBF kMr6aJTBPk4KfP5SJoAYEXpE5/4FVnVrpHQ/tny/pAduZl/bBDsGLbkqD7ZN0PgbCfwucPL49gzd pZmPw22SoPoc+iZkAL+J6nRrdQEHf+4Qqm4TFJJ8idxYrumY/QEAFHQI65xhcZqgOEHhTAhk6WUu jgPohnc4wgD21+zN+c79AZmNym6Cgz4IAAAAAElFTkSuQmCC User-Agent: No Gnus v0.3 X-Archive: encrypt X-Attribution: Jochen X-Request-PGP: http://jochen-kuepper.de/computer/keys.asc X-URL: http://jochen-kuepper.de Cancel-Lock: sha1:EjWE0DADHAaDqnBYbZpQ4vR2Rbo= Original-Xref: shelby.stanford.edu gnu.emacs.help:125807 Original-To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: main.gmane.org gmane.emacs.help:21172 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21172 --===============1876867524== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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.=20 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.=20 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:=20 [1] Uses a buffer local value if it exists, the global otherwise. =2D-=20 Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBaR2A7eYXdswbC00RAnWxAKCI/h3RkD/nM6EQKhaDZkdxYja2GgCgp/05 A//v4weCD3dmaQKIdQ98sfY= =4U7x -----END PGP SIGNATURE----- --=-=-=-- --===============1876867524== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1876867524==--