all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Johannes Bruegmann <johannes.bruegmann@web.de>
Cc: 32609@debbugs.gnu.org
Subject: bug#32609: 26.1; mail-strip-quoted-names:205
Date: Sun, 02 Sep 2018 07:50:33 -0400	[thread overview]
Message-ID: <87pnxwqfsm.fsf@gmail.com> (raw)
In-Reply-To: <86y3ckkjgx.fsf@web.de> (Johannes Bruegmann's message of "Sat, 01 Sep 2018 23:15:26 +0200")

tags 32609 + moreinfo
quit

Johannes Bruegmann <johannes.bruegmann@web.de> writes:

> I   tried  to   reply  to   an  email   by  pressing   r,  R,   and  M-x
> gnus-article-reply-with-original.   None  of  them  worked.   Minibuffer
> displayed  "Mark  Set" but  nothing  happened.  I enabled  Debugging  on
> C-g. The *Backtrace*-buffer showed
>      string-match("\\`[ \t\n]*" "")
>      mail-strip-quoted-names("")
>      mail-dont-reply-to("foo@bar.com")

If I evaluate (mail-dont-reply-to "foo@bar.com") it doesn't hang.  I
guess "foo@bar.com" is a placeholder, but you've dropped the relevant
special characters that cause the problem.  Can you give a value that
reproduces the hang?  E.g., just change all letters in the real email to
x, but leave other characters untouched.

> To me it  looked like that the signature for  string-match and match-end
> changed   (or   have   been   overloaded?).  Anyway,   when   i   change

Not sure what you mean about signature change.

> mail-utils.el:205 into
>      ;; strip surrounding whitespace
>      (setq address (substring address
>                               (string-match "\\`[ \t\n]*" address)
>                               (string-match "[ \t\n]*\\'" address
>                               (match-end 0))))
>
> things work for me.

I don't think this change is correct, it doesn't remove the leading whitespace
like before.





  reply	other threads:[~2018-09-02 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-01 21:15 bug#32609: 26.1; mail-strip-quoted-names:205 Johannes Bruegmann
2018-09-02 11:50 ` Noam Postavsky [this message]
     [not found] ` <mailman.298.1535892140.1284.bug-gnu-emacs@gnu.org>
2018-09-02 12:56   ` Dr. Johannes Brügmann
2018-09-02 17:59 ` Noam Postavsky
2018-09-02 18:07   ` Noam Postavsky
2019-09-23 15:38     ` Lars Ingebrigtsen

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=87pnxwqfsm.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=32609@debbugs.gnu.org \
    --cc=johannes.bruegmann@web.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.