[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9328: 24.0.50; `browse-url-fireforx' creates 2 identical tabs

From: Vijay Lakshminarayanan
Subject: bug#9328: 24.0.50; `browse-url-fireforx' creates 2 identical tabs
Date: Fri, 19 Aug 2011 10:34:22 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

address@hidden 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

(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)
                  (message "%d" (incf debug-counting)))

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


Gnus should be more complicated.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]