all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 31351@debbugs.gnu.org
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)	[thread overview]
Message-ID: <3b184f18-5afe-46fa-a4c7-4cc74d08be57@default> (raw)
In-Reply-To: <<83tvroo6ea.fsf@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.

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)
	 (if dos-windows-version
	     (shell-command (concat "start " (shell-quote-argument url)))
	   (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"
          ;; 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)))))





       reply	other threads:[~2018-05-03 20:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<<<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>
     [not found] ` <<<<8336z8ppz3.fsf@gnu.org>
     [not found]   ` <<<d4fa0a90-631b-444a-abe7-0beed40aecf1@default>
     [not found]     ` <<<83y3h0o9a7.fsf@gnu.org>
     [not found]       ` <<1d1d9379-4d74-4171-baf6-cead40e47c1d@default>
     [not found]         ` <<83tvroo6ea.fsf@gnu.org>
2018-05-03 20:11           ` Drew Adams [this message]
2018-05-04 12:35             ` bug#31351: 27.0; Cannot send bug report with Outlook if text includes backquoted sexps Eli Zaretskii
     [not found] <<<<<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>
     [not found] ` <<<<<8336z8ppz3.fsf@gnu.org>
     [not found]   ` <<<<d4fa0a90-631b-444a-abe7-0beed40aecf1@default>
     [not found]     ` <<<<83y3h0o9a7.fsf@gnu.org>
     [not found]       ` <<<1d1d9379-4d74-4171-baf6-cead40e47c1d@default>
     [not found]         ` <<<83tvroo6ea.fsf@gnu.org>
     [not found]           ` <<3b184f18-5afe-46fa-a4c7-4cc74d08be57@default>
     [not found]             ` <<83efirtx8q.fsf@gnu.org>
2018-05-04 15:30               ` Drew Adams
2018-05-04 17:35                 ` Eli Zaretskii
     [not found] <<<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>
     [not found] ` <<<8336z8ppz3.fsf@gnu.org>
     [not found]   ` <<d4fa0a90-631b-444a-abe7-0beed40aecf1@default>
     [not found]     ` <<83y3h0o9a7.fsf@gnu.org>
2018-05-03 19:41       ` Drew Adams
2018-05-03 20:01         ` Eli Zaretskii
     [not found] <<43b34fd6-291d-475d-8c8d-65c58dd0f316@default>
     [not found] ` <<8336z8ppz3.fsf@gnu.org>
2018-05-03 18:24   ` Drew Adams
2018-05-03 18:59     ` Eli Zaretskii
2018-05-03  0:55 Drew Adams
2018-05-03  1:02 ` Noam Postavsky
2018-05-03  1:18   ` Drew Adams
2018-05-03 18:13 ` Eli Zaretskii

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=3b184f18-5afe-46fa-a4c7-4cc74d08be57@default \
    --to=drew.adams@oracle.com \
    --cc=31351@debbugs.gnu.org \
    --cc=eliz@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.
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.