Gnus development mailing list
 help / color / mirror / Atom feed
From: Steven L Baur <steve@miranova.com>
Subject: Customizing user-full-name
Date: 02 Jun 1996 13:39:14 -0700	[thread overview]
Message-ID: <m2zq6m2b65.fsf@deanna.miranova.com> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 02 Jun 1996 04:35:47 -0700

Changing the user-full name is a problem.  Here is my proposed
treatment of it.  This patch adds a variable called
message-user-full-name which can be used for customization.

This is the same patch I posted Sunday to gnu.emacs.gnus, and is
against Gnus 5.2.5.
===================================================================
RCS file: RCS/ChangeLog,v
retrieving revision 1.5
diff -u -r1.5 ChangeLog
--- ChangeLog	1996/06/02 16:11:49	1.5
+++ ChangeLog	1996/06/02 20:37:02
@@ -1,3 +1,8 @@
+Sun Jun  2 13:35:55 1996  Steven L Baur  <steve@miranova.com>
+
+	* message.el: (message-make-from): Add message-user-full-name for
+	ease of customization.
+
 Sun Jun  2 07:41:20 1996  Lars Magne Ingebrigtsen  <larsi@ylfing.ifi.uio.no>
 
 	* gnus-topic.el (gnus-topic-remove-group): Only delete first

===================================================================
RCS file: RCS/message.el,v
retrieving revision 1.5
diff -u -r1.5 message.el
--- message.el	1996/06/02 16:11:49	1.5
+++ message.el	1996/06/02 19:40:15
@@ -152,6 +152,10 @@
 If t, use `message-user-organization-file'.")
 
 ;;;###autoload
+(defvar message-user-full-name nil
+  "Allow user to override neatly /etc/passwd GCOS garbage")
+
+;;;###autoload
 (defvar message-user-organization-file "/usr/lib/news/organization"
   "*Local news organization file.")
 
@@ -1879,7 +1883,8 @@
 (defun message-make-from ()
   "Make a From header."
   (let* ((login (message-make-address))
-	 (fullname (user-full-name)))
+	 (fullname (or message-user-full-name
+		       (user-full-name)))
     (when (string= fullname "&")
       (setq fullname (user-login-name)))
     (save-excursion


-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.


  reply	other threads:[~1996-06-02 20:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-02 11:35 Gnus v5.2.5 is released Lars Magne Ingebrigtsen
1996-06-02 20:39 ` Steven L Baur [this message]
1996-06-03  6:08   ` Customizing user-full-name Lars Magne Ingebrigtsen
1996-06-03  7:14     ` Steven L Baur

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=m2zq6m2b65.fsf@deanna.miranova.com \
    --to=steve@miranova.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.
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 NNTP newsgroup(s).