Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: info-gnus-english@gnu.org
Subject: Re: resend message:  Wrong type argument: stringp, mail-user-name
Date: Wed, 19 Nov 2014 08:55:11 +0100	[thread overview]
Message-ID: <87a93nd3q8.fsf@thinkpad-t440p.tsdh.org> (raw)
In-Reply-To: <877fys3ggc.fsf@hillenius.net>

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	other threads:[~2014-11-19  7:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 11:18 Gijs Hillenius
2014-11-19  7:55 ` Tassilo Horn [this message]
     [not found] ` <mailman.14000.1416383740.1147.info-gnus-english@gnu.org>
2014-11-19 19:22   ` Gijs Hillenius
2014-11-21  9:04     ` Tassilo Horn
     [not found]     ` <mailman.14232.1416560704.1147.info-gnus-english@gnu.org>
2014-12-03  8:11       ` Fixed: " Gijs Hillenius

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=87a93nd3q8.fsf@thinkpad-t440p.tsdh.org \
    --to=tsdh@gnu.org \
    --cc=info-gnus-english@gnu.org \
    /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).