GNU bug report logs - #9328
24.0.50; `browse-url-fireforx' creates 2 identical tabs

Previous Next

Packages: w32, emacs;

Reported by: nyc4bos <at> aol.com

Date: Fri, 19 Aug 2011 02:35:02 UTC

Severity: normal

Merged with 4034

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 9328 <at> debbugs.gnu.org (full text, mbox):

From: Vijay Lakshminarayanan <laksvij <at> gmail.com>
To: nyc4bos <at> aol.com
Cc: 9328 <at> debbugs.gnu.org
Subject: Re: bug#9328: 24.0.50; `browse-url-fireforx' creates 2 identical tabs
Date: Fri, 19 Aug 2011 10:34:22 +0530
nyc4bos <at> aol.com writes:

> Hi,
>
> When using `browse-url-firefox', it creates 2 identical tabs.
>
> To reproduce:
>
> 1. emacs -q
> 2. Evaluate in *sctatch* buffer:
>
> (setq browse-url-browser-function 'browse-url-firefox
>       browse-url-new-window-flag  t
>       browse-url-firefox-new-window-is-tab t)

I encountered a similar bug yesterday when evaluating on the *scratch*
buffer.  I found that running C-M-x on a form on the *scratch* buffer
evaluated the form twice.  It occurred on my work machine and I'm unable
to reproduce the same on my home machine now.

Below is the code that I was playing with when facing the issue
yesterday

(defvar debug-counting 0)

(let ((url "http://en.wikipedia.org/wiki/Emacs")
      (url-request-method "GET"))
  (setq debug-counting 0)
  (url-retrieve url
                (lambda (status)
                  (kill-buffer)
                  (message "%d" (incf debug-counting)))
                nil))

I don't encounter the issue now but when I did, `debug-counting' would
increment twice and the url would be downloaded twice.

-- 
Cheers
~vijay

Gnus should be more complicated.




This bug report was last modified 13 years and 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.