unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: Chong Yidong <cyd@gnu.org>
Cc: Harald Hanche-Olsen <hanche@math.ntnu.no>,
	Leo <sdl.web@gmail.com>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: why is which-function-mode global?
Date: Sat, 14 Apr 2012 17:31:38 +0200	[thread overview]
Message-ID: <4F89985A.2090406@online.de> (raw)
In-Reply-To: <87sjg6bfmb.fsf@gnu.org>

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



      reply	other threads:[~2012-04-14 15:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F89985A.2090406@online.de \
    --to=andreas.roehler@online.de \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=hanche@math.ntnu.no \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).