From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps Date: Thu, 3 May 2018 13:11:47 -0700 (PDT) Message-ID: <3b184f18-5afe-46fa-a4c7-4cc74d08be57@default> References: <<<<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>>>> <<<<8336z8ppz3.fsf@gnu.org>>>> <<>> <<<83y3h0o9a7.fsf@gnu.org>>> <<1d1d9379-4d74-4171-baf6-cead40e47c1d@default>> <<83tvroo6ea.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525380187 29361 195.159.176.226 (3 May 2018 20:43:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 May 2018 20:43:07 +0000 (UTC) Cc: 31351@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 03 22:43:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEL49-0007Rx-Vc for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 22:43:02 +0200 Original-Received: from localhost ([::1]:58870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEL6G-0000PE-Sj for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 May 2018 16:45:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKaB-0004fY-Jq for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEKaA-0004jZ-Kz for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:12:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEKaA-0004jE-Hu for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEKaA-0003aO-3w for bug-gnu-emacs@gnu.org; Thu, 03 May 2018 16:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 May 2018 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 31351-submit@debbugs.gnu.org id=B31351.152537831913774 (code B ref 31351); Thu, 03 May 2018 20:12:02 +0000 Original-Received: (at 31351) by debbugs.gnu.org; 3 May 2018 20:11:59 +0000 Original-Received: from localhost ([127.0.0.1]:48608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEKa7-0003a6-Gs for submit@debbugs.gnu.org; Thu, 03 May 2018 16:11:59 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:33068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEKa5-0003Zk-4S for 31351@debbugs.gnu.org; Thu, 03 May 2018 16:11:57 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w43KAxiZ124787; Thu, 3 May 2018 20:11:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=mmPVKEvjKR4yYI97U8a7GkjteurYph6lPb5WhTI9uI0=; b=JTHylyR3i4lY8c5iPOlnhbN55LSEZIsMKJMCevDKpKu/OHvPnBX/YqAblGGFccP/mVTe /BjOx9vwgbCloWpnoHdBKD0gCufIxkcXBvdnMXh0BMB9k5BQWrmCFV2dbobK49YMUrxO G21dBp0XCNDQXwf2ANvkkiqez5L87MiP/9YZruNF3KeN1vYkeG8pH7hZ40vEpyp4Gd73 LAQPTwtYDM9W78b60mw/9KRDwYG647kR1N2cJ7qMzJ+NJRU12yG2uy5oqzNXYQ3V3RbE l0plkXhOcpy4OYIXAOVfSPo09fEc4pJuxc43TQln99I7dudmUwdt2yn6FG239PVgykTA Vw== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2hmhmfucr4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 03 May 2018 20:11:51 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w43KBnmL015958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 20:11:49 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w43KBm6r011635; Thu, 3 May 2018 20:11:48 GMT In-Reply-To: <<83tvroo6ea.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4678.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8882 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=918 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805030173 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:145995 Archived-At: > Could you try patching browse-url.el, and then making a report > with quotes in the Subject? That should work after the patch. I did that, but it did not solve the problem - I get the same error. I tried with both the original message body and with just aaaaaaa as the body. So the Subject line is the problem, and it does not seem to be fixed by your patch. This is the code I used: (defun browse-url-default-windows-browser (url &optional _new-window) "Invoke the MS-Windows system's default Web browser. The optional NEW-WINDOW argument is not used." (interactive (browse-url-interactive-arg "URL: ")) (cond ((eq system-type 'ms-dos) =09 (if dos-windows-version =09 (shell-command (concat "start " (shell-quote-argument url))) =09 (error "Browsing URLs is not supported on this system"))) =09((eq system-type 'cygwin) =09 (call-process "cygstart" nil nil nil url)) (t (w32-shell-execute "open" ;; w32-shell-execute passes file:// URLs ;; to APIs that expect file names, so we ;; need to unhex any %nn encoded ;; characters in the URL. We don't do ;; that for other URLs; in particular, ;; default Windows mail client barfs on ;; quotes in the MAILTO URLs, so we prefer ;; to leave the URL with its embedded %nn ;; encoding intact. (if (eq t (compare-strings url nil 7 "file://" nil nil)) (url-unhex-string url) url)))))