[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying mode in file variables trouble
From: |
Lennart Borgman (gmail) |
Subject: |
Re: Specifying mode in file variables trouble |
Date: |
Tue, 23 Sep 2008 22:37:01 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Richard M. Stallman wrote:
> The "idle sorting" mechanism in majmodpri.el is asking for trouble.
> Loading a file should _fully_ install the code in that file. To leave
> _anything_ for later is unreliable.
The "idle sorting" is there to avoid unnecessary sorting. It has a delay
of 0 so for most interactive use there will be no problems.
However I agree with your general point. If this is integrated in Emacs
I hope it will be quite easy to find some points where sorting most be
started if not done before. (This can perhaps be in addition to the
"idle sorting".)
> I'm not sure whether majmodpri is a useful feature, because I am not
> convinced there is a real problem to be solved. What is a real case
> of the problem, and is there another solution?
I tried to describe the problem in the comment in majmodpri.el. Is that
comment not clear?
> But if we want such a facility, we should implement it right. The
> right way is to insert these elements in the proper position the first
> time.
Unfortunately that can't be done. Please see the comment above.
- Re: Specifying mode in file variables trouble, (continued)
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/24
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/24
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/25
- Re: Specifying mode in file variables trouble, tomas, 2008/09/25
- Re: Specifying mode in file variables trouble, Paul R, 2008/09/25
- Re: Specifying mode in file variables trouble, tomas, 2008/09/25
- Re: Specifying mode in file variables trouble, Paul R, 2008/09/25
- Re: Specifying mode in file variables trouble, Lennart Borgman, 2008/09/25
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/27
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/23
- Re: Specifying mode in file variables trouble,
Lennart Borgman (gmail) <=
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/24
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/24
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/25
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/24
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/23
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/23
- Re: Specifying mode in file variables trouble, Stefan Monnier, 2008/09/23
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/23
- Re: Specifying mode in file variables trouble, Stefan Monnier, 2008/09/23
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/23