From unknown Fri Sep 05 07:33:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31351 <31351@debbugs.gnu.org> To: bug#31351 <31351@debbugs.gnu.org> Subject: Status: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps Reply-To: bug#31351 <31351@debbugs.gnu.org> Date: Fri, 05 Sep 2025 14:33:11 +0000 retitle 31351 27.0; Cannot send bug report with Outlook if text includes ba= ckquoted sexps reassign 31351 emacs submitter 31351 Drew Adams severity 31351 normal tag 31351 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 02 20:55:31 2018 Received: (at submit) by debbugs.gnu.org; 3 May 2018 00:55:31 +0000 Received: from localhost ([127.0.0.1]:47502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE2Wx-000298-C2 for submit@debbugs.gnu.org; Wed, 02 May 2018 20:55:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE2Wv-00028v-Fz for submit@debbugs.gnu.org; Wed, 02 May 2018 20:55:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE2Wp-0004DP-Ep for submit@debbugs.gnu.org; Wed, 02 May 2018 20:55:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54916) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fE2Wp-0004DH-AL for submit@debbugs.gnu.org; Wed, 02 May 2018 20:55:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fE2Wo-000360-7E for bug-gnu-emacs@gnu.org; Wed, 02 May 2018 20:55:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE2Wl-0004BD-2b for bug-gnu-emacs@gnu.org; Wed, 02 May 2018 20:55:22 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:57568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fE2Wk-0004AW-Nh for bug-gnu-emacs@gnu.org; Wed, 02 May 2018 20:55:18 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w430rvO3050154 for ; Thu, 3 May 2018 00:55:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=PfsLTzTgOxaAxxCgbwnZys7JrFb+u0lykkuPyZeisE8=; b=L5vWS++zQxXLfhE7w3AmBMOPnRNoxkyz9Om+Ez4t2byzXBPbeLK1HJ9eHk656QEKjshf DPodn2owpRa8mxeOA4180obiDhKHFGdz5RT6I+q/+GjznZ6OFbH9ocOslwBIffpbpzyf LgY/DEyQiQ/s7xeGtnrDBoRTzcbpqRs+ArpVX7+eo9c/ieaigLf7Cw2rMSkgBrBI1Zvo 7mo82JkjRnFe1wPzSkQhyNKhvc5nwEjuJ++helzCh8QjJ2wHGitZ2/2NqRIh0k8+GLzN HH6Ed3unVVRTSBqgmoWmCzXHhJI3Kyt81/wUyNZ4ZtC04Exjued4i7KGqCfnnhj/NUqq rQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2hmeg5ykgd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 03 May 2018 00:55:17 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w430tGtT021576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 3 May 2018 00:55:16 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w430tFqF023241 for ; Thu, 3 May 2018 00:55:16 GMT MIME-Version: 1.0 Message-ID: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> Date: Wed, 2 May 2018 17:55:14 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4678.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8881 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=965 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805030006 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I tried several times to send the bug report that you find in bug #31350. I could not do so with Emacs 25 or later. My mail client is Outlook 2016. Each time I tried, I got this Outlook error message: The command line argument is not valid. Verify the switch you are using. I have no idea what the command line is that is sent to Outlook. I finally succeeded in sending the bug report by deleting the two code lines from it that you see in bug #31350 after this line of text: These are the two clauses in question: Please refer to that bug for the two lines of code. I deleted those two lines and was able to get the bug report from Emacs to a new Outlook message, and I inserted the two code lines into that Outlook message, then sent it. Something seems wrong in Emacs (or Outlook?) if Emacs cannot get Outlook to create a message that includes such simple text. In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32) of 2018-03-21 Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install -C 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Wed May 02 21:02:43 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 01:02:43 +0000 Received: from localhost ([127.0.0.1]:47513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE2dv-0002Ko-44 for submit@debbugs.gnu.org; Wed, 02 May 2018 21:02:43 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:36919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE2dt-0002KX-Ba; Wed, 02 May 2018 21:02:41 -0400 Received: by mail-io0-f170.google.com with SMTP id e20-v6so19718720iof.4; Wed, 02 May 2018 18:02:41 -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=SiYeVM4c9VeZU5qXLbqoFrinQVWNUx6DNOyZbHBqG+I=; b=DQsGrYRlI6z9eju+7MpIymeISe5QasrpfciFOKYF5hIOJQneQRDfkHZiZDUjZ+R8EY Ghr6ASZy4XUUFWdABTynLw49QSudTGyZOoYoUnSQrtUJTwWHvZr9QQJfkBulqhrv1py+ 6arA9HXfzKO//cSt3HnjH0O6jgRLBRfWGvApFuRy3NBJ8yfSzWGnlszY7e3cX8h8ofrE TO3WnuWmlz71t8IudI50u6EjYBJknctuH/T+kYwe38kLC9l8Tr7Haee95VKfe5/ym+Td IW8hcgPiuhied8CrztP2OI2hmtSLO+UjgbmRXYXjR4voKchPIQUZuYUZflJzEg8bFtHE dt3Q== 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=SiYeVM4c9VeZU5qXLbqoFrinQVWNUx6DNOyZbHBqG+I=; b=HfRTCI5SiyXN3+iATljbN01w2SZ+UN8bSL9jvIIsMGq1YWOTTkxVwfTIUY4NIAYnWk HEDi+Zh4VZBMjLoUcpD01xvw2WDtiwW+KKuRBZ+5hxwzmyHpN3OHWcxXE9mr6IAkpIFG 4UFgTveXElaSvHCVcC/zkTV+cdKwXvKCCRUlqmz/XPwfFvmZ25zRA3kX850xU4tSJ0xR N+33EevRF+Ds+xoeYHTnTcGWyTff7dLVBkoC18POi11SE+6v9khsCC/4r6NzkZlqyTbg WANgKodcq+NH72jh3JT+VHRUgshXl7nFhbT/kZK7OgzsdYYl6ZEdZvjdliSvmNVYO54v ZiNw== X-Gm-Message-State: ALQs6tDnTCB3WVJ7vp3FpCGlUxhevtzuV5jmrKa9eUMwLBPy5uSmZZl9 b+xFcZHSFfSh8A5djE4QdtSOng== X-Google-Smtp-Source: AB8JxZplU2rQmzrnsfi60UPAK1672IMZIpNRrNUkwzDeNwicdk1bFRZPEtc/zoBsuPb5KY6dOuv0vg== X-Received: by 2002:a6b:1b12:: with SMTP id b18-v6mr23053241iob.175.1525309355796; Wed, 02 May 2018 18:02:35 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id u2-v6sm2428921ioc.8.2018.05.02.18.02.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 18:02:35 -0700 (PDT) From: Noam Postavsky To: Drew Adams Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> Date: Wed, 02 May 2018 21:02:33 -0400 In-Reply-To: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> (Drew Adams's message of "Wed, 2 May 2018 17:55:14 -0700 (PDT)") Message-ID: <871seto8k6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 31351 29074 quit Drew Adams writes: > I tried several times to send the bug report that you find in bug > #31350. I could not do so with Emacs 25 or later. My mail client is > Outlook 2016. > > Each time I tried, I got this Outlook error message: > > The command line argument is not valid. > Verify the switch you are using. > > I have no idea what the command line is that is sent to Outlook. I guess the request in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29074#11 would be relevant. From debbugs-submit-bounces@debbugs.gnu.org Wed May 02 21:19:00 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 01:19:00 +0000 Received: from localhost ([127.0.0.1]:47524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE2tf-0004g9-UZ for submit@debbugs.gnu.org; Wed, 02 May 2018 21:19:00 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:59886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE2te-0004fq-F2 for 31351@debbugs.gnu.org; Wed, 02 May 2018 21:18:58 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w431GgjM094958; Thu, 3 May 2018 01:18:52 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=yiLnP3HJ8ggndfztOxmUg+GnFc4pfv2Lzpv9Wr8mcEM=; b=Wde6hvPgIFQ7isJF0PIUi5r8yC3ifJWMfFZWqRLBQyCPUezKWvT4mOWAtdM31i6dA21P 9SUyS7lMGc1ThYUVtBLrlnvbrLtGNFeL8c4Gubjs0BxXsjKb/3zsRsf0fjsJliZO9hZX eJcCI2/883pNiTsISsZ6Q4WhB0qxDgkETqTYhmGoYCnZZIT07sUko98fTtdL8IvbVA7X pj9Av29NkcuwwEfNERg7FkXb5ffG9VmHNnD+ijC2VFo5pWXb2onaMVOawT/ZxcfMyyuL eiNe7MghpLT0wmkxrADGVW0+GSE+6VehE7tn1Ia6H3JPdTYxiLfA/nb4x8ExmksM5o83 dQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2hmgdjqgv8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 03 May 2018 01:18:52 +0000 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 w431IoIg025502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 01:18:51 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w431Io8F013303; Thu, 3 May 2018 01:18:50 GMT MIME-Version: 1.0 Message-ID: Date: Wed, 2 May 2018 18:18:49 -0700 (PDT) From: Drew Adams To: Noam Postavsky Subject: RE: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> <871seto8k6.fsf@gmail.com> In-Reply-To: <871seto8k6.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4678.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8881 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=671 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805030010 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I guess the request in > https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > 3A__debbugs.gnu.org_cgi_bugreport.cgi-3Fbug-3D29074- > 2311&d=3DDwIBAg&c=3DRoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=3DkI3P6= ljGv6C > THIKju0jqInF6AOwMCYRDQUmqX22rJ98&m=3DRBYxpgDmEPhVfvSYC0Wp4U- > HWUnAn8jq9ldQWaKXFVc&s=3DOxslwRdnIIJCpInJ7_HkFZmX1t_WQJiSGuWWvIAJs3k&e=3D > would be relevant. Thanks. I thought it rang a bell, but I couldn't find that. The new bug is reproducible for me, each time. Hopefully it will help. From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 14:13:42 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 18:13:42 +0000 Received: from localhost ([127.0.0.1]:48500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEIje-0000XS-A0 for submit@debbugs.gnu.org; Thu, 03 May 2018 14:13:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEIjc-0000Wd-LY for 31351@debbugs.gnu.org; Thu, 03 May 2018 14:13:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEIjU-0004WG-4z for 31351@debbugs.gnu.org; Thu, 03 May 2018 14:13:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEIjU-0004WA-0y; Thu, 03 May 2018 14:13:32 -0400 Received: from [176.228.60.248] (port=2240 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEIjS-0006rt-Cn; Thu, 03 May 2018 14:13:31 -0400 Date: Thu, 03 May 2018 21:13:20 +0300 Message-Id: <8336z8ppz3.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> (message from Drew Adams on Wed, 2 May 2018 17:55:14 -0700 (PDT)) Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Wed, 2 May 2018 17:55:14 -0700 (PDT) > From: Drew Adams > > I tried several times to send the bug report that you find in bug > #31350. I could not do so with Emacs 25 or later. My mail client is > Outlook 2016. > > Each time I tried, I got this Outlook error message: > > The command line argument is not valid. > Verify the switch you are using. > > I have no idea what the command line is that is sent to Outlook. > > I finally succeeded in sending the bug report by deleting the two code > lines from it that you see in bug #31350 after this line of text: > > These are the two clauses in question: > > Please refer to that bug for the two lines of code. > > I deleted those two lines and was able to get the bug report from Emacs > to a new Outlook message, and I inserted the two code lines into that > Outlook message, then sent it. I see the problem, but I'm not sure it's the same problem, because it doesn't fit your description in two details: (a) the problem I see is not caused by anything in the message body -- in fact, I can reproduce the problem with a "bug report" whose body consists of just "foo", in addition to the details collected by the command about my system; and (b) sending that problematic bug report works just fine in Emacs 25 and all older versions, and is broken only in Emacs 26 and later. The problem I see is not caused by backticks in the body, it is caused by quotes ".." in the Subject of the bug. (I don't see how the body could have any effect on launching Outlook, since we pass the body through the system clipboard, and Outlook doesn't see it until you paste the body into Outlook. So it cannot possibly prevent Outlook from starting correctly.) To fix the problem I see, I installed on the release branch a fix, which is reproduced below. Please re-verify that you indeed see a different problem -- I expect the patch below not to solve the problem if so. Thanks. diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 98b0acf..a84a7b1 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -878,7 +878,21 @@ browse-url-default-windows-browser (error "Browsing URLs is not supported on this system"))) ((eq system-type 'cygwin) (call-process "cygstart" nil nil nil url)) - (t (w32-shell-execute "open" (url-unhex-string 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))))) (defun browse-url-default-macosx-browser (url &optional _new-window) "Invoke the macOS system's default Web browser. From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 14:24:49 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 18:24:49 +0000 Received: from localhost ([127.0.0.1]:48530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEIuO-0000rD-UV for submit@debbugs.gnu.org; Thu, 03 May 2018 14:24:49 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:49778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEIuN-0000qz-UA for 31351@debbugs.gnu.org; Thu, 03 May 2018 14:24:48 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w43IKkah101145; Thu, 3 May 2018 18:24:42 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=yppR2erm7ywU8UJm1BAK8uyc2eT3EYWU7j8/K8HnZZE=; b=J0gjWCv5H+dxhfkoAFOV1nrvguVQummbd/WJ5K6zQkEKR89viWU2EgitTueggOCBvdgL SlOjOJcFR9Uokd1NjfqyJefeGx2Y5iKli/oG/TTpw7vv74kion+YS8LbcA5TlxIQCCKC JtIUpenoubbpr8tDewsOOjQw8IuI+akEmbvF5V58O6Y8SZ9qLNDJJ6uDwrITxIkrnh8O J1qfP60/NefjowY6ZTXYTLHVP9zss2P4Od9+xXltxqVkLGDeQtu7iH2VU67ah8amVe3d Ou0JvyYPwcPB6KFlkzbKOVpmPDn5T9DvzixDiZtR9Jnv4mznFvB9ZpE4pEKC/WdmuJai Jg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2hmgxg32uh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 03 May 2018 18:24:42 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w43IOf6e020699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 18:24:41 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w43IOeSx012033; Thu, 3 May 2018 18:24:40 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 3 May 2018 11:24:39 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>> <<8336z8ppz3.fsf@gnu.org>> In-Reply-To: <<8336z8ppz3.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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805030157 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I see the problem, but I'm not sure it's the same problem, because it > doesn't fit your description in two details: (a) the problem I see is > not caused by anything in the message body -- in fact, I can reproduce > the problem with a "bug report" whose body consists of just "foo", in > addition to the details collected by the command about my system; and > (b) sending that problematic bug report works just fine in Emacs 25 > and all older versions, and is broken only in Emacs 26 and later. >=20 > The problem I see is not caused by backticks in the body, it is caused > by quotes ".." in the Subject of the bug. (I don't see how the body > could have any effect on launching Outlook, since we pass the body > through the system clipboard, and Outlook doesn't see it until you > paste the body into Outlook. So it cannot possibly prevent Outlook > from starting correctly.) >=20 > To fix the problem I see, I installed on the release branch a fix, > which is reproduced below. Please re-verify that you indeed see a > different problem -- I expect the patch below not to solve the problem > if so. >=20 > Thanks. Great. Thanks for taking a closer look. It's funny though. Before I tried simplifying the body, I did try simplifying the Subject line, by removing the backquote, the single quote, and the double-quotes. That didn't fix it for me. But perhaps I didn't do what I thought I did. Anyway, if you've found a fix, that's great. BTW, it wasn't about having an effect on launching Outlook. I already had Outlook open. It was only about not creating a new Outlook message with the header filled and the body ready to be pasted as the bug-report text. (I don't want to try testing this, as that will likely create a useless bug report. If you feel this fixes the problem that's good enough for me, until/unless I run into it again.) From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 14:59:30 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 18:59:30 +0000 Received: from localhost ([127.0.0.1]:48570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEJRx-0001di-Os for submit@debbugs.gnu.org; Thu, 03 May 2018 14:59:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEJRv-0001dW-Sr for 31351@debbugs.gnu.org; Thu, 03 May 2018 14:59:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEJRm-0003OD-5Q for 31351@debbugs.gnu.org; Thu, 03 May 2018 14:59:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEJRm-0003O3-0s; Thu, 03 May 2018 14:59:18 -0400 Received: from [176.228.60.248] (port=2312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEJRl-0004Cc-Fs; Thu, 03 May 2018 14:59:17 -0400 Date: Thu, 03 May 2018 21:59:12 +0300 Message-Id: <83y3h0o9a7.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Thu, 3 May 2018 11:24:39 -0700 (PDT)) Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>> <<8336z8ppz3.fsf@gnu.org>> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Thu, 3 May 2018 11:24:39 -0700 (PDT) > From: Drew Adams > Cc: 31351@debbugs.gnu.org > > Anyway, if you've found a fix, that's great. I'd like to close this bug, but it would be good for you to try the fixed browse-url.el and see if you can still trigger the problem with that particular bug report. > BTW, it wasn't about having an effect on launching Outlook. > I already had Outlook open. It was only about not creating > a new Outlook message with the header filled and the body > ready to be pasted as the bug-report text. That's an implementation detail. From Emacs point of view, it launches Outlook, passing it the addressee and the subject of the bug. That the running Outlook intercepts the command and opens a new window in the same executable is out of Emacs control. > (I don't want to try testing this, as that will likely create > a useless bug report. I don't see why you should worry about that: you can always close the new Outlook window without clicking "Send". IOW, if you get an Outlook window with the bug address and the bug title, and can paste the body with "Ctrl-v", then the bug is fixed, and you don't need to send anything anywhere (but if you do want to send, you can edit the addressee). From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 15:41:48 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 19:41:48 +0000 Received: from localhost ([127.0.0.1]:48589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEK6t-0002di-Mm for submit@debbugs.gnu.org; Thu, 03 May 2018 15:41:47 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:43132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEK6r-0002dS-T3 for 31351@debbugs.gnu.org; Thu, 03 May 2018 15:41:46 -0400 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 w43JfQWj104854; Thu, 3 May 2018 19:41:39 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=Q19KTKDj9VK3MVzQ/PjY8QyPtc00IaNebsTPVbEOFOU=; b=NheY9nkwmR09qqJ+1eWXlGUie2nBSHPq1lCjF3yRoTotNDTQ1FkW3wC8n/uOvwNcNRIl FgHPhBzbLZdSWZqmKKI0TAGqIY1tXVaXo8+p5342VtqS0daeZw94Zw66kq8MrWLyS/o8 kmsOhT7R2tDZlNPtwrp3SaEVBphoolm3v2Fw35x6y6SvDacCA7GunnapNjqPaifWifMs 2yVMfb5KbKUsyp3NS/f2UO2ssFDh/swVpTBW0AqB64mlFLC0yzhF4JDaXUmkMcRu9/yW cs7jp7bYrSjzUImF+axSxgGZjkU8jmMD2jnuYY6ccuh1/xZoZeXXqDF9ruUYuI/FKb10 7A== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2hmhmfu9nr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 03 May 2018 19:41:39 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w43Jfcgv024638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 May 2018 19:41:38 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w43Jfb4E002894; Thu, 3 May 2018 19:41:37 GMT MIME-Version: 1.0 Message-ID: <1d1d9379-4d74-4171-baf6-cead40e47c1d@default> Date: Thu, 3 May 2018 12:41:36 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <<<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>>> <<<8336z8ppz3.fsf@gnu.org>>> <> <<83y3h0o9a7.fsf@gnu.org>> In-Reply-To: <<83y3h0o9a7.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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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=737 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805030168 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > > (I don't want to try testing this, as that will likely create > > a useless bug report. >=20 > I don't see why you should worry about that: you can always close the > new Outlook window without clicking "Send". =20 Of course. Dunno what I was thinking. I did that, use this as Subject: pcase message: Redundant pcase pattern And there was no problem. From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 16:01:58 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 20:01:58 +0000 Received: from localhost ([127.0.0.1]:48602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEKQQ-0003Ea-FE for submit@debbugs.gnu.org; Thu, 03 May 2018 16:01:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEKQO-0003EN-G7 for 31351@debbugs.gnu.org; Thu, 03 May 2018 16:01:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEKQF-0004LF-G1 for 31351@debbugs.gnu.org; Thu, 03 May 2018 16:01:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKQF-0004L9-CN; Thu, 03 May 2018 16:01:47 -0400 Received: from [176.228.60.248] (port=2544 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEKQD-000284-Ei; Thu, 03 May 2018 16:01:47 -0400 Date: Thu, 03 May 2018 23:01:33 +0300 Message-Id: <83tvroo6ea.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <1d1d9379-4d74-4171-baf6-cead40e47c1d@default> (message from Drew Adams on Thu, 3 May 2018 12:41:36 -0700 (PDT)) Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <<<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>>> <<<8336z8ppz3.fsf@gnu.org>>> <> <<83y3h0o9a7.fsf@gnu.org>> <1d1d9379-4d74-4171-baf6-cead40e47c1d@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Thu, 3 May 2018 12:41:36 -0700 (PDT) > From: Drew Adams > Cc: 31351@debbugs.gnu.org > > I did that, use this as Subject: > > pcase message: Redundant pcase pattern > > And there was no problem. Great. Could you try patching browse-url.el, and then making a report with quotes in the Subject? That should work after the patch. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 16:11:59 2018 Received: (at 31351) by debbugs.gnu.org; 3 May 2018 20:11:59 +0000 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 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 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== 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 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 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 MIME-Version: 1.0 Message-ID: <3b184f18-5afe-46fa-a4c7-4cc74d08be57@default> Date: Thu, 3 May 2018 13:11:47 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps 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>> 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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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))))) From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 08:35:16 2018 Received: (at 31351) by debbugs.gnu.org; 4 May 2018 12:35:16 +0000 Received: from localhost ([127.0.0.1]:48981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEZvg-0002QU-6L for submit@debbugs.gnu.org; Fri, 04 May 2018 08:35:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEZve-0002QH-4K for 31351@debbugs.gnu.org; Fri, 04 May 2018 08:35:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEZvU-0005YN-VO for 31351@debbugs.gnu.org; Fri, 04 May 2018 08:35:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEZvU-0005YI-Re; Fri, 04 May 2018 08:35:04 -0400 Received: from [176.228.60.248] (port=1255 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEZvT-0005Td-C4; Fri, 04 May 2018 08:35:03 -0400 Date: Fri, 04 May 2018 15:35:01 +0300 Message-Id: <83efirtx8q.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <3b184f18-5afe-46fa-a4c7-4cc74d08be57@default> (message from Drew Adams on Thu, 3 May 2018 13:11:47 -0700 (PDT)) Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps 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>> <3b184f18-5afe-46fa-a4c7-4cc74d08be57@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Thu, 3 May 2018 13:11:47 -0700 (PDT) > From: Drew Adams > Cc: 31351@debbugs.gnu.org > > > 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. Sorry for asking the trivial: are you sure you byte-compiled the modified browse-url.el and loaded it into Emacs before trying? If indeed the modified code still doesn't solve the problem, please step with Edebug into browse-url-default-windows-browser when it is called after you tell report-emacs-bug you want to send via mailclient, and see what URL is being passed to w32-shell-execute. It should be a mailto URL with all the special characters, including the quotes, encoded as hex %nn codes. Copy that URL, then paste it into the Windows Start->Run dialog, and see if that causes the same error message as you get in your testing. From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 11:30:49 2018 Received: (at 31351) by debbugs.gnu.org; 4 May 2018 15:30:49 +0000 Received: from localhost ([127.0.0.1]:49907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEcfZ-0006eq-Ki for submit@debbugs.gnu.org; Fri, 04 May 2018 11:30:49 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:50190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEcfY-0006ec-6F for 31351@debbugs.gnu.org; Fri, 04 May 2018 11:30:48 -0400 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 w44FPbEF083999; Fri, 4 May 2018 15:30:42 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=nnm1Gb98hnxnX5l3jHKfnQRBPbz6dc18MRcVt0J81ro=; b=telRmU7JppAcF/cr2b5JD+E3eqccKYo9ffC0/hAeDINFLa3UH5+cJUV7utmiF/VVaq3y eCQyFrUzqORvgq+rKsbwKKHjtt/Gcw4P2bMMWVfkyB6Aa+6lTWO2znvAXQXR+eK5DJat yRbAF5YrykilQuAx8izmGec5CqKAcH88+269ma9DQllDP1+DHGmoploOpqOVRT6geLgo CQra5LK6Z3yeX2NHzgLJcCnT+UokJ8BzUdGi6EtTnwoIx1YD2EIpjmAvCKyJMWDrVNZB C2DlyVp2PS2HPgZZ/y8BGtWraSiAysIKUhKu18lZ4XS/pUqJC1o59CitnEfaTVD5p2Vk fg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2hmhmfxgbg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 May 2018 15:30:41 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w44FUfAk022782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 4 May 2018 15:30:41 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w44FUc9P014192; Fri, 4 May 2018 15:30:39 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 4 May 2018 08:30:37 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps 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>>> <<3b184f18-5afe-46fa-a4c7-4cc74d08be57@default>> <<83efirtx8q.fsf@gnu.org>> In-Reply-To: <<83efirtx8q.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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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=713 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805040144 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31351 Cc: 31351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > > > 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. >=20 > Sorry for asking the trivial: are you sure you byte-compiled the > modified browse-url.el and loaded it into Emacs before trying? No. I just modified that function and evaled the updated defun. I've done what you suggest now - copied the whole file, updated it, byte-compiled it, and loaded the *.elc. And yes, that seems to fix the problem. Thx. From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 13:35:27 2018 Received: (at 31351-done) by debbugs.gnu.org; 4 May 2018 17:35:27 +0000 Received: from localhost ([127.0.0.1]:49939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEecB-0000zo-54 for submit@debbugs.gnu.org; Fri, 04 May 2018 13:35:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEec8-0000za-TE for 31351-done@debbugs.gnu.org; Fri, 04 May 2018 13:35:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEec0-0004Tc-Vt for 31351-done@debbugs.gnu.org; Fri, 04 May 2018 13:35:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEec0-0004TC-TL; Fri, 04 May 2018 13:35:16 -0400 Received: from [176.228.60.248] (port=1814 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fEec0-0003Ai-78; Fri, 04 May 2018 13:35:16 -0400 Date: Fri, 04 May 2018 20:35:13 +0300 Message-Id: <836043tjce.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Fri, 4 May 2018 08:30:37 -0700 (PDT)) Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps 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>>> <<3b184f18-5afe-46fa-a4c7-4cc74d08be57@default>> <<83efirtx8q.fsf@gnu.org>> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31351-done Cc: 31351-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Fri, 4 May 2018 08:30:37 -0700 (PDT) > From: Drew Adams > Cc: 31351@debbugs.gnu.org > > I've done what you suggest now - copied the whole file, updated > it, byte-compiled it, and loaded the *.elc. > > And yes, that seems to fix the problem. Thx. Great, thanks. So I'm closing this bug. From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 22:18:28 2018 Received: (at control) by debbugs.gnu.org; 5 May 2018 02:18:28 +0000 Received: from localhost ([127.0.0.1]:50114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEmmK-0004vr-Ct for submit@debbugs.gnu.org; Fri, 04 May 2018 22:18:28 -0400 Received: from mail-it0-f52.google.com ([209.85.214.52]:56139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEmmI-0004vb-DT; Fri, 04 May 2018 22:18:26 -0400 Received: by mail-it0-f52.google.com with SMTP id 144-v6so5526549iti.5; Fri, 04 May 2018 19:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=Cg6yhcVJNchevvgaDdEtAsujPrf+VDaxWeK/bgiyaZw=; b=jZYSxGI1HC6mWZQDtJCcpixLINV8U0uyJ+GBkGV5q1hU7PCNk1OUXljno8Eos1npRZ L/lZozUCf16xUVMk6HxCbIl9Fnd7i/dF6Jmrk6WEFIGvNDLf2+qSZPLUGLscItEHR0c/ AqaeNB2OsJBBR40nFkVxXCoz+SNpPOGjTPoMWhFffNnE5fG2Uk5uIknVZyt8ldFMMKtJ VjtN/a2SNqEkCIhAxGZLKLZOduMLQGHCpahPPyVn/X7hZbeFR8tsvYcSlYiyZK/lMpH1 2QKbcoXfHTlvZzeQdTSEd2JdxqcPspQn6Z77oqR/L6VMOIwOOw3r6Q942GDRHPao5V3t F2+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Cg6yhcVJNchevvgaDdEtAsujPrf+VDaxWeK/bgiyaZw=; b=YPkN9zbKofck82qahU47XkksCQI7TEtL0FaOy2wF+9Orz+LH786Rp4r5dZhTsnw/hE +KoCCgRBY49s33R+P9dpS1IXjy+ZC1B/OlcO33uvQgyB5SMyAQpyT3ZidfjFVbD0vxkf vFU26pikR2vIIcNvGxEZcQ2k7EXvJNm/GHgoV3ZK5TQVS/kViykxa0RbwWjtB3QC7njK Vmq3igzpz9RBUW8MXj0thbChK7GhbDgzbXzh3s04d59zjfBuJqrtWq+xrfNycavrYM8K jZ2zymBz4a8CHlS/2CNo+8PzJi3QcnafJ1P3azRdJuV5Rqw0mfUD/66R7mvGk3OXaCA3 hg9Q== X-Gm-Message-State: ALQs6tA4Z0v1szCyOiExluqqHg8fob3zAYwgqImykOqKabTBnQm0k8J8 fbeuts3f8vWnoPswd3fx4Wvf1A== X-Google-Smtp-Source: AB8JxZrCsCpf6BUM+XBpsoOUVl4mPgV3vAh2qFpgOXGoy5wsKsM74ypeySxutwo023qvJNF9mXjXEA== X-Received: by 2002:a24:3017:: with SMTP id q23-v6mr28610851itq.99.1525486700509; Fri, 04 May 2018 19:18:20 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id b66-v6sm886601itc.25.2018.05.04.19.18.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 May 2018 19:18:19 -0700 (PDT) From: Noam Postavsky To: 31351-quiet@debbugs.gnu.org Subject: Re: bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps References: <43b34fd6-291d-475d-8c8d-65c58dd0f316@default> <8336z8ppz3.fsf@gnu.org> Date: Fri, 04 May 2018 22:18:18 -0400 In-Reply-To: <8336z8ppz3.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 May 2018 21:13:20 +0300") Message-ID: <87in82n8ut.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 31351 = fixed fixed 31351 26.1 quit Eli Zaretskii writes: > To fix the problem I see, I installed on the release branch a fix, [1: 91de88bfeb]: 2018-05-03 21:04:17 +0300 Fix report-emacs-bug via mailclient on MS-Windows https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=91de88bfeb759fb36ca12ee829b6d0c6e84fa4ce From unknown Fri Sep 05 07:33:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Jun 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator