From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#32609: 26.1; mail-strip-quoted-names:205 Date: Sun, 02 Sep 2018 07:50:33 -0400 Message-ID: <87pnxwqfsm.fsf@gmail.com> References: <86y3ckkjgx.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535892028 21518 195.159.176.226 (2 Sep 2018 12:40:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2018 12:40:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 32609@debbugs.gnu.org To: Johannes Bruegmann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 14:40:24 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from [208.118.235.17] (helo=lists.gnu.org) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwRg0-0005NZ-0r for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 14:40:24 +0200 Original-Received: from localhost ([::1]:40578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwRhw-0003kI-V7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 08:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwRgm-00032s-JB for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 08:42:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwRgP-0006bC-R7 for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 08:40:59 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwRgM-0006aA-Mx for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 08:40:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwQvB-0000DK-QE for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Sep 2018 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32609-submit@debbugs.gnu.org id=B32609.1535889108799 (code B ref 32609); Sun, 02 Sep 2018 11:52:01 +0000 Original-Received: (at 32609) by debbugs.gnu.org; 2 Sep 2018 11:51:48 +0000 Original-Received: from localhost ([127.0.0.1]:42407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwQuj-0000CL-Ev for submit@debbugs.gnu.org; Sun, 02 Sep 2018 07:51:48 -0400 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:32866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwQu3-0000At-0J; Sun, 02 Sep 2018 07:51:06 -0400 Original-Received: by mail-it0-f54.google.com with SMTP id j198-v6so8944320ita.0; Sun, 02 Sep 2018 04:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=J5BMLOnpwMTfycrTItGaJoxvUFEbWXCxSIBg3krh318=; b=Xkf5U27d/VSsPzvbMIF2WX2QucrrANpeciDdVmiL4g2pg1ltN+b7/XwWRnNTnXX7cm fag8Ro1/1E8FjT665nI4MyyH5b4nui9GzwRxP8YKiKFXfZUB66Hg5wRh2Sj5AtHPfijU UPwknf0/ql36Y6It1OPE27Qb+K2t5AiEKWRinrlW2e2sTgG54TDF/paSzhlNdLoDMMtE e2WStqybd1pYJ05FCt4mbsKwiuKxOlfYyBXsO1DB96F/rcxN3k9AZWWtCSKihfUFGpmI /qtgSHgGdAwRqWeILig8Y7newUKGwrmTgfdrJQCsa1bGHBkqLnYJKG4ob21gv8h1fVAb f4SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=J5BMLOnpwMTfycrTItGaJoxvUFEbWXCxSIBg3krh318=; b=XiMCua+1PUaGObsNHAyXKipLNVlQods9w0DbBjzN/9koPpnM+dr8WjA1QJToOXvHCm 7LvYdoXF3ax+SRNoIPG8g9x+e+coEZHqhKUgFbG4Xpg9PSh8sOtBkHdbdEHQ5Njd+wiy qrH23BSeygloeRCaMDpvbiAzglnmJZbuvNneB8tBRurH8udto5YLkiEzz2cZTUYlwTqS E4ykDB/0vM7wMaTWiaoVnrhlyptE51GyCHm+zJPvRfZE01JwWCkQSqNFAI9TDcOYmYcT 7QEwMTcWGfKmmbgT7kTN2TmKdRDOPs6kEVyZQrYa9G8r5RkXNExFCX6fDfO/IRdpexEy U0LA== X-Gm-Message-State: APzg51DuTA6hJMFVBNv8tQkDO9KN3V7dFX/FII1HtHIv/wEGkbAxlVh5 tib7zJAr+nz22cDpsYxtHRrpbY7J X-Google-Smtp-Source: ANB0Vdbzc1dC+6zHDjV6mkvCYuElqqD6Tm8Qqsy/dYUZcp6kL28omOczhWMZ7VqJXB0uupLv5GcY1w== X-Received: by 2002:a24:cf06:: with SMTP id y6-v6mr2509109itf.5.1535889036081; Sun, 02 Sep 2018 04:50:36 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id l8-v6sm5863646ioh.58.2018.09.02.04.50.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Sep 2018 04:50:35 -0700 (PDT) In-Reply-To: <86y3ckkjgx.fsf@web.de> (Johannes Bruegmann's message of "Sat, 01 Sep 2018 23:15:26 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149964 Archived-At: tags 32609 + moreinfo quit Johannes Bruegmann 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.