unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Milan Zamazal <pdm@zamazal.org>
Subject: browse-url.el: Galeon doesn't open URL in a new window
Date: Tue, 27 May 2003 12:52:36 +0200	[thread overview]
Message-ID: <87he7g3bm3.fsf@zamazal.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

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  <pdm@zamazal.org>

        * browse-url.el (browse-url-galeon): Add "-x" to the options only
        if new-window is nil.


[-- Attachment #2: browse-url.diff --]
[-- Type: application/octet-stream, Size: 759 bytes --]

*** 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)))))

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

             reply	other threads:[~2003-05-27 10:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 10:52 Milan Zamazal [this message]
2003-05-27 12:29 ` browse-url.el: Galeon doesn't open URL in a new window Glenn Morris

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=87he7g3bm3.fsf@zamazal.org \
    --to=pdm@zamazal.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).