unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* browse-url.el: Galeon doesn't open URL in a new window
@ 2003-05-27 10:52 Milan Zamazal
  2003-05-27 12:29 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Milan Zamazal @ 2003-05-27 10:52 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: browse-url.el: Galeon doesn't open URL in a new window
  2003-05-27 10:52 browse-url.el: Galeon doesn't open URL in a new window Milan Zamazal
@ 2003-05-27 12:29 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2003-05-27 12:29 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Milan Zamazal wrote:

> 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.

It works as it should in the current CVS, which has the variable
browse-url-galeon-new-window-is-tab.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-27 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 10:52 browse-url.el: Galeon doesn't open URL in a new window Milan Zamazal
2003-05-27 12:29 ` Glenn Morris

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