info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resend message: Wrong type argument: stringp, mail-user-name


From: Tassilo Horn
Subject: Re: resend message: Wrong type argument: stringp, mail-user-name
Date: Wed, 19 Nov 2014 08:55:11 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Gijs Hillenius <gijs@hillenius.net> 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.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]