all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "Ken Hori" <fplemma@gmail.com>,
	7166@debbugs.gnu.org, "Jan Dj�rv" <jan.h.d@swipnet.se>
Subject: bug#7166: browse-url truncates the given url after an '&'
Date: Thu, 7 Oct 2010 14:35:17 -0400	[thread overview]
Message-ID: <19630.4837.244794.325438@fencepost.gnu.org> (raw)
In-Reply-To: <398w2950vo.fsf@fencepost.gnu.org>


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-07 18:35 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 [this message]
2010-10-08  4:21         ` Ken Hori
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

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

  git send-email \
    --in-reply-to=19630.4837.244794.325438@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=7166@debbugs.gnu.org \
    --cc=fplemma@gmail.com \
    --cc=jan.h.d@swipnet.se \
    /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.