From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Hori Newsgroups: gmane.emacs.bugs Subject: bug#7166: browse-url truncates the given url after an '&' Date: Thu, 7 Oct 2010 21:21:11 -0700 Message-ID: References: <398w2950vo.fsf@fencepost.gnu.org> <19630.4837.244794.325438@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286512923 17997 80.91.229.12 (8 Oct 2010 04:42:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2010 04:42:03 +0000 (UTC) Cc: 7166@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 08 06:42:01 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P44mP-0001ks-2v for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Oct 2010 06:42:01 +0200 Original-Received: from localhost ([127.0.0.1]:34818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P44mO-0001s6-Ew for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Oct 2010 00:42:00 -0400 Original-Received: from [140.186.70.92] (port=53589 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P44mI-0001s0-Iq for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 00:41:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P44mH-0008Bz-Ai for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 00:41:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P44mH-0008Bv-3n for bug-gnu-emacs@gnu.org; Fri, 08 Oct 2010 00:41:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P44PC-0005k9-LM; Fri, 08 Oct 2010 00:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Hori Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Oct 2010 04:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7166-submit@debbugs.gnu.org id=B7166.128651147922071 (code B ref 7166); Fri, 08 Oct 2010 04:18:02 +0000 Original-Received: (at 7166) by debbugs.gnu.org; 8 Oct 2010 04:17:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P44P9-0005jw-1G for submit@debbugs.gnu.org; Fri, 08 Oct 2010 00:17:59 -0400 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P44P6-0005jr-Vt for 7166@debbugs.gnu.org; Fri, 08 Oct 2010 00:17:57 -0400 Original-Received: by wwb31 with SMTP id 31so785640wwb.15 for <7166@debbugs.gnu.org>; Thu, 07 Oct 2010 21:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ASgF1+2lCALy6JSeRoPEG6k2p/0LskJLd2lG6Q8KjS4=; b=xsRZPMjacRBvM8dHi0LCMF/6o77c8CRgW55VOVqtnpzFZZTuDiqwKVyXN5BpB+wI7A VoyVp72uA+1+jzsbX/Ih0o0xgdFSiNZ7Pkncj5AoEn52lAglSY8wK3qsaMGFNUcTHctj nHmJtiorm6ArPNywliWX4I0fervjKXzazuc3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h/xf5P3vkvRNgDfhVo+LfpgmoZ9N/z0iVAHtD6iEWESEjr+E6927TAfjb6o43T8Zff +MUs8/hdARIgBrSFyhyVNtvZCPB9OaBryZ7UdOvd30hqnfzr5H0I4Jsc9NqgJySIADsb W5BVtfLmPfJ4pKebV94YOhkeKLQ+Xc0yqlYVg= Original-Received: by 10.227.37.8 with SMTP id v8mr1756397wbd.37.1286511672039; Thu, 07 Oct 2010 21:21:12 -0700 (PDT) Original-Received: by 10.216.50.209 with HTTP; Thu, 7 Oct 2010 21:21:11 -0700 (PDT) In-Reply-To: <19630.4837.244794.325438@fencepost.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 08 Oct 2010 00:18:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40764 Archived-At: The diff did it. Thanks for the fix. On Thu, Oct 7, 2010 at 11:35 AM, Glenn Morris wrote: > > I guess this might fix it: > > *** lisp/net/browse-url.el =A0 =A0 =A02010-09-23 06:42:45 +0000 > --- lisp/net/browse-url.el =A0 =A0 =A02010-10-07 18:28:31 +0000 > *************** > *** 939,945 **** > =A0 =A0(interactive (browse-url-interactive-arg "URL: ")) > =A0 =A0(call-process "/bin/sh" nil nil nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"-c" > ! =A0 =A0 =A0 =A0 =A0 =A0 =A0 (concat "nohup xdg-open " url > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0">/dev/null 2>&1 > =A0;;;###autoload > --- 939,945 ---- > =A0 =A0(interactive (browse-url-interactive-arg "URL: ")) > =A0 =A0(call-process "/bin/sh" nil nil nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"-c" > ! =A0 =A0 =A0 =A0 =A0 =A0 =A0 (concat "nohup xdg-open " (shell-quote-argu= ment url) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0">/dev/null 2>&1 > =A0;;;###autoload > >