all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* popup spam from emacs when visiting a patch file
@ 2008-05-30 21:31 Manoj Srivastava
  2008-05-30 21:38 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 2+ messages in thread
From: Manoj Srivastava @ 2008-05-30 21:31 UTC (permalink / raw)
  To: emacs-devel

Hi,

        I have turned on which-func-mode, so that in some major
 modes the function name is displayed in the mode line. Unfortunately,
 the default for the variable which-func-modes (in wile which-func.el)
 includes diff-mode.

        I say unfortunately, since when I visit a file with a patch
 (and not having the source handy), in order to display the function
 name it needs to visit the file, and since it can't figure out the file
 name, it pops us a file chooser box asking me for the file -- or allows
 me to cancel. However, as soon as I cancel, the box pops up again --
 over and over again (I think there is an event timer associated with
 mode line display, once every few seconds, and these requests stack
 up).

        The unfortunate result was I had to fight several file chooser
 pop-ups and had to set the mode to fundamental mode in a small respite
 I got.

        Perhaps diff-mode should not be supported by which-function-mode ?

        manoj
-- 
I could dance with you till the cows come home.  On second thought, I'd
rather dance with the cows till you come home. -- Groucho Marx
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





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

* Re: popup spam from emacs when visiting a patch file
  2008-05-30 21:31 popup spam from emacs when visiting a patch file Manoj Srivastava
@ 2008-05-30 21:38 ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2008-05-30 21:38 UTC (permalink / raw)
  To: emacs-devel

Manoj Srivastava wrote:
> Hi,
> 
>         I have turned on which-func-mode, so that in some major
>  modes the function name is displayed in the mode line. Unfortunately,
>  the default for the variable which-func-modes (in wile which-func.el)
>  includes diff-mode.
> 
>         I say unfortunately, since when I visit a file with a patch
>  (and not having the source handy), in order to display the function
>  name it needs to visit the file, and since it can't figure out the file
>  name, it pops us a file chooser box asking me for the file -- or allows
>  me to cancel. However, as soon as I cancel, the box pops up again --
>  over and over again (I think there is an event timer associated with
>  mode line display, once every few seconds, and these requests stack
>  up).


Until this is fixed you can move point from the lines where the file 
names are. At least that worked for me. (Not sure if the problem is 
still there.)




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

end of thread, other threads:[~2008-05-30 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 21:31 popup spam from emacs when visiting a patch file Manoj Srivastava
2008-05-30 21:38 ` Lennart Borgman (gmail)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.