unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Hori <fplemma@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 7166@debbugs.gnu.org
Subject: bug#7166: browse-url truncates the given url after an '&'
Date: Thu, 7 Oct 2010 21:21:11 -0700	[thread overview]
Message-ID: <AANLkTim5CiWo=rwZCFv0WzcRJbROtFCgswAnuv5+c1uX@mail.gmail.com> (raw)
In-Reply-To: <19630.4837.244794.325438@fencepost.gnu.org>

The diff did it. Thanks for the fix.

On Thu, Oct 7, 2010 at 11:35 AM, Glenn Morris <rgm@gnu.org> wrote:
>
> I guess this might fix it:
>
> *** lisp/net/browse-url.el      2010-09-23 06:42:45 +0000
> --- lisp/net/browse-url.el      2010-10-07 18:28:31 +0000
> ***************
> *** 939,945 ****
>    (interactive (browse-url-interactive-arg "URL: "))
>    (call-process "/bin/sh" nil nil nil
>                "-c"
> !               (concat "nohup xdg-open " url
>                        ">/dev/null 2>&1 </dev/null")))
>
>  ;;;###autoload
> --- 939,945 ----
>    (interactive (browse-url-interactive-arg "URL: "))
>    (call-process "/bin/sh" nil nil nil
>                "-c"
> !               (concat "nohup xdg-open " (shell-quote-argument url)
>                        ">/dev/null 2>&1 </dev/null")))
>
>  ;;;###autoload
>
>





  reply	other threads:[~2010-10-08  4:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 13:26 bug#7166: browse-url truncates the given url after an '&' Ken Hori
2010-10-06 17:32 ` Glenn Morris
2010-10-07  5:36   ` Ken Hori
2010-10-07 18:11     ` Glenn Morris
2010-10-07 18:35       ` Glenn Morris
2010-10-08  4:21         ` Ken Hori [this message]
2010-10-08 17:24         ` Andreas Schwab

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTim5CiWo=rwZCFv0WzcRJbROtFCgswAnuv5+c1uX@mail.gmail.com' \
    --to=fplemma@gmail.com \
    --cc=7166@debbugs.gnu.org \
    --cc=rgm@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).