From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Milan Zamazal Newsgroups: gmane.emacs.bugs Subject: browse-url.el: Galeon doesn't open URL in a new window Date: Tue, 27 May 2003 12:52:36 +0200 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87he7g3bm3.fsf@zamazal.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1054034817 15254 80.91.224.249 (27 May 2003 11:26:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 11:26:57 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 27 13:26:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19KcbV-0003xf-00 for ; Tue, 27 May 2003 13:26:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Kcd2-0007wo-Ge for gnu-bug-gnu-emacs@m.gmane.org; Tue, 27 May 2003 07:28:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19KcYx-0006Xt-C4 for bug-gnu-emacs@gnu.org; Tue, 27 May 2003 07:24:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19KcWk-0005hk-2Y for bug-gnu-emacs@gnu.org; Tue, 27 May 2003 07:21:58 -0400 Original-Received: from ms2.dkm.cz ([62.24.64.14]) by monty-python.gnu.org with smtp (Exim 4.20) id 19Kc4O-0002MW-1z for bug-gnu-emacs@gnu.org; Tue, 27 May 2003 06:52:40 -0400 Original-Received: (qmail 41559 invoked by uid 0); 27 May 2003 10:52:37 -0000 Original-Received: from l184.brno.mistral.cz (HELO blackbird) (62.245.107.184) by ms2.dkm.cz with SMTP; 27 May 2003 10:52:37 -0000 Original-Received: from pdm by blackbird with local (Exim 3.36 #1 (Debian)) id 19Kc4K-0003Gp-00; Tue, 27 May 2003 12:52:36 +0200 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5174 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5174 --=-=-= In GNU Emacs 21.3.2 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-04-24 on raven, modified by Debian: When browse-url-new-window-flag is set to t, browse-url-galeon still opens the requested URL in an existing window instead of a new window. I suggest the following patch to fix the problem: 2003-05-27 Milan Zamazal * browse-url.el (browse-url-galeon): Add "-x" to the options only if new-window is nil. --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=browse-url.diff *** browse-url.el.orig Tue May 27 12:42:36 2003 --- browse-url.el Tue May 27 12:43:36 2003 *************** *** 903,910 **** browse-url-galeon-program (append browse-url-galeon-arguments ! (if new-window '("-w" "--noraise")) ! (list "-x" url))))) (set-process-sentinel process `(lambda (process change) (browse-url-galeon-sentinel process ,url))))) --- 903,910 ---- browse-url-galeon-program (append browse-url-galeon-arguments ! (if new-window '("-w" "--noraise") '("-x")) ! (list url))))) (set-process-sentinel process `(lambda (process change) (browse-url-galeon-sentinel process ,url))))) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs --=-=-=--