Gnus development mailing list
 help / color / mirror / Atom feed
* PATCH: Browse URLs in new window
@ 1999-11-24 20:46 Peter von der Ahé
  1999-11-25  0:33 ` Daniel Neri
  0 siblings, 1 reply; 6+ messages in thread
From: Peter von der Ahé @ 1999-11-24 20:46 UTC (permalink / raw)


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

Hi!

I have noticed that Gnus ignores the variable
browse-url-new-window-p.  Please apply the attached patch.

/Peter


[-- Attachment #2: Browse in new window --]
[-- Type: text/x-patch, Size: 1926 bytes --]

diff -rc pgnus-0.98-orig/lisp/ChangeLog pgnus-0.98/lisp/ChangeLog
*** pgnus-0.98-orig/lisp/ChangeLog	Fri Nov  5 20:13:54 1999
--- pgnus-0.98/lisp/ChangeLog	Wed Nov 24 21:39:09 1999
***************
*** 1,3 ****
--- 1,8 ----
+ 1999-11-24  Peter von der Ahé  <nospam2159@daimi.au.dk>
+ 
+ 	* gnus-art.el (gnus-button-url): Use browse-url-new-window-p
+ 	(gnus-button-embedded-url): Ditto
+ 
  Fri Nov  5 19:10:02 1999  Lars Magne Ingebrigtsen  <larsi@menja.ifi.uio.no>
  
  	* gnus.el: Pterodactyl Gnus v0.98 is released.
diff -rc pgnus-0.98-orig/lisp/gnus-art.el pgnus-0.98/lisp/gnus-art.el
*** pgnus-0.98-orig/lisp/gnus-art.el	Fri Nov  5 20:13:54 1999
--- pgnus-0.98/lisp/gnus-art.el	Wed Nov 24 21:33:47 1999
***************
*** 4384,4397 ****
    ;; In Emacs 20, `browse-url-browser-function' may be an alist.
    (if (listp browse-url-browser-function)
        (browse-url address)
!     (funcall browse-url-browser-function address)))
  
  (defun gnus-button-embedded-url (address)
    "Browse ADDRESS."
    ;; In Emacs 20, `browse-url-browser-function' may be an alist.
    (if (listp browse-url-browser-function)
        (browse-url (gnus-strip-whitespace address))
!     (funcall browse-url-browser-function (gnus-strip-whitespace address))))
  
  ;;; Next/prev buttons in the article buffer.
  
--- 4384,4397 ----
    ;; In Emacs 20, `browse-url-browser-function' may be an alist.
    (if (listp browse-url-browser-function)
        (browse-url address)
!     (funcall browse-url-browser-function address browse-url-new-window-p)))
  
  (defun gnus-button-embedded-url (address)
    "Browse ADDRESS."
    ;; In Emacs 20, `browse-url-browser-function' may be an alist.
    (if (listp browse-url-browser-function)
        (browse-url (gnus-strip-whitespace address))
!     (funcall browse-url-browser-function (gnus-strip-whitespace address) browse-url-new-window-p)))
  
  ;;; Next/prev buttons in the article buffer.
  

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

-- 
              · Peter von der Ahé · Systems programmer ·
         · Office phone: +45 89 42 31 41 · Office: 540.030 ·
               · <URL:http://www.daimi.au.dk/~pahe/> ·

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

end of thread, other threads:[~1999-12-03  0:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-24 20:46 PATCH: Browse URLs in new window Peter von der Ahé
1999-11-25  0:33 ` Daniel Neri
1999-11-25  1:51   ` Daniel Pittman
1999-12-01 20:51     ` Lars Magne Ingebrigtsen
1999-12-02 21:12       ` David S. Goldberg
1999-12-03  0:27         ` Lars Magne Ingebrigtsen

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 NNTP newsgroup(s).