From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17240 Path: news.gmane.org!not-for-mail From: Gijs Hillenius Newsgroups: gmane.emacs.gnus.user Subject: Re: resend message: Wrong type argument: stringp, mail-user-name Date: Wed, 19 Nov 2014 20:22:32 +0100 Organization: Using Emacs' Org Mode Message-ID: <87mw7natc7.fsf@hillenius.net> References: <877fys3ggc.fsf@hillenius.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1416425116 29738 80.91.229.3 (19 Nov 2014 19:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2014 19:25:16 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Nov 19 20:25:10 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XrAsE-0005Nk-Oo for gegu-info-gnus-english@m.gmane.org; Wed, 19 Nov 2014 20:25:06 +0100 Original-Received: from localhost ([::1]:60318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrAsE-000875-AW for gegu-info-gnus-english@m.gmane.org; Wed, 19 Nov 2014 14:25:06 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Operating-System: Debian GNU/Linux Sid X-Homepage: http://www.hillenius.net/ X-GPG-Fingerprint: 340F F9A4 8F6C 18FD D032 0C33 ABA1 CB30 E997 A3AF User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:o9PBg4ZETK1bWiAxc6lGewZ7XjM= Original-Lines: 54 Original-NNTP-Posting-Host: 2a02:a03f:16a9:4a00:863a:4bff:fedc:9804 Original-X-Trace: 1416424952 news.xs4all.nl 2970 himaan/[2a02:a03f:16a9:4a00:863a:4bff:fedc:9804]:33349 Original-X-Complaints-To: abuse@xs4all.nl Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88369 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17240 Archived-At: On 19 Nov 2014, Tassilo Horn wrote: > Gijs Hillenius writes: > > Hi Gijs, > >> This is most likely a local bug: when I want to resend an email, I do >> `SDr`. Invariably, when hitting C-c C-c, the result is >> "message-make-from: Wrong type argument: stringp, mail-user-name" >> >> Alternatively, SDe just works. >> >> Debugger entered--Lisp error: (wrong-type-argument stringp >> mail-user-name) string-match("[^- !#-'*+/-9=?A-Z^-~]" mail-user-name) >> message-make-from() > > Looking at the code, the line with the error is > > (string-match "[^- !#-'*+/-9=?A-Z^-~]" fullname) > > where fullname is let-bound to > > (or name > (and (boundp 'user-full-name) > user-full-name) > (user-full-name)) > > `name' is not provided according to your backtrace. So I guess you > have somewhere in your init file > > (setq user-full-name 'mail-user-name) > > whereas you probably wanted to write > > (setq user-full-name mail-user-name) > > That is, you accidentally set `user-full-name' to the symbol > mail-user-name instead to the value of that variable. Thanks! Lemme check. Hm. I have it set as described in the manual: (setq user-full-name "Your Name") But, eh, I also use message-alternative-emails which the manual shows takes precedence over styles that ran off message-setup-hook. Perhaps that is what throws the spanner?