all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* why is which-function-mode global?
@ 2012-04-14  8:51 Leo
  2012-04-14 13:10 ` Harald Hanche-Olsen
  2012-04-14 13:35 ` Chong Yidong
  0 siblings, 2 replies; 4+ messages in thread
From: Leo @ 2012-04-14  8:51 UTC (permalink / raw)
  To: emacs-devel

As suggested in the subject.

Leo




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

* Re: why is which-function-mode global?
  2012-04-14  8:51 why is which-function-mode global? Leo
@ 2012-04-14 13:10 ` Harald Hanche-Olsen
  2012-04-14 13:35 ` Chong Yidong
  1 sibling, 0 replies; 4+ messages in thread
From: Harald Hanche-Olsen @ 2012-04-14 13:10 UTC (permalink / raw)
  To: sdl.web; +Cc: emacs-devel

[Leo <sdl.web@gmail.com> (2012-04-14 08:51:44 UTC)]

> As suggested in the subject.

No idea, but then again, I see no reason why it shouldn't be.
Maybe you could give some reasons why not?

- Harald



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

* Re: why is which-function-mode global?
  2012-04-14  8:51 why is which-function-mode global? Leo
  2012-04-14 13:10 ` Harald Hanche-Olsen
@ 2012-04-14 13:35 ` Chong Yidong
  2012-04-14 15:31   ` Andreas Röhler
  1 sibling, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2012-04-14 13:35 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

I assume it because if you want that functionality anywhere, you're like
to want it everywhere, so enabling it in individual buffers would be a
pain.

Nowadays it'd probably be handled with a buffer-local mode plus a
globalized mode, but I think it predates define-globalized-minor-mode.



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

* Re: why is which-function-mode global?
  2012-04-14 13:35 ` Chong Yidong
@ 2012-04-14 15:31   ` Andreas Röhler
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Röhler @ 2012-04-14 15:31 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Harald Hanche-Olsen, Leo, Emacs developers

Am 14.04.2012 15:35, schrieb Chong Yidong:
> I assume it because if you want that functionality anywhere, you're like
> to want it everywhere, so enabling it in individual buffers would be a
> pain.
>
> Nowadays it'd probably be handled with a buffer-local mode plus a
> globalized mode, but I think it predates define-globalized-minor-mode.
>
>


IMO exist reasons to have it buffer-local rather.

Remember several reports of slowness from CEDET in past.

We have a similar situation now at python-mode.el, however with certain files only, i.e with very large definitions.

That might make Emacs slow, without user being aware of the reasons.

Cheers,

Andreas



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

end of thread, other threads:[~2012-04-14 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-14  8:51 why is which-function-mode global? Leo
2012-04-14 13:10 ` Harald Hanche-Olsen
2012-04-14 13:35 ` Chong Yidong
2012-04-14 15:31   ` Andreas Röhler

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.