[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Double hyphens in variable names.
From: |
Lute Kamstra |
Subject: |
Re: Double hyphens in variable names. |
Date: |
Mon, 06 Oct 2003 09:11:32 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
David Ponce <address@hidden> writes:
>> When writing a major mode, you should never set imenu--index-alist
>> directly; nor should you have to use its value. So it is not part
>> of Imenu's interface and therefore it is an internal variable.
>
> Perhaps there is a case it is necessary to use `imenu--index-alist':
> to force a rescan of the imenu.
>
> For example, the Semantic toolkit set `imenu--index-alist' to nil to
> force a rebuild of the imenu when the user customized an option that
> change how the imenu will be organized (item sorted and/or grouped
> in a different way).
>
> Is there another "standard" method to force a rescan of the imenu
> without using `imenu--index-alist'?
No, not on the lisp level. There is a user-level way to do this: by
selecting the *Rescan* item from Imenu's menu. Setting
imenu--index-alist to nil might work but it's not documented. As it
seems useful for lisp programs to be able to force a rescan, we could
implement such a feature. I'll try and see if I can come up with a
function that does this.
Lute.
- Re: Double hyphens in variable names., (continued)
- Re: Double hyphens in variable names., Oliver Scholz, 2003/10/02
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/03
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/03
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/03
- Re: Double hyphens in variable names., David Ponce, 2003/10/04
- Re: Double hyphens in variable names.,
Lute Kamstra <=
- Re: Double hyphens in variable names., Juri Linkov, 2003/10/06
- Re: Double hyphens in variable names., Lute Kamstra, 2003/10/07
- Re: Double hyphens in variable names., Richard Stallman, 2003/10/03
- Re: Double hyphens in variable names., Juri Linkov, 2003/10/03
- Re: Double hyphens in variable names., Luc Teirlinck, 2003/10/02
- Re: Double hyphens in variable names., Richard Stallman, 2003/10/02
Re: Double hyphens in variable names., Kevin Rodgers, 2003/10/02
Re: Double hyphens in variable names., Karl Berry, 2003/10/03