* Release update
@ 2008-12-02 2:43 Chong Yidong
2008-12-04 17:08 ` Yavor Doganov
2008-12-04 19:51 ` Dan Nicolaescu
0 siblings, 2 replies; 49+ messages in thread
From: Chong Yidong @ 2008-12-02 2:43 UTC (permalink / raw)
To: emacs-devel
Hi fellas,
Here's a short update on the Emacs 23 release process. We are getting
pretty close, and currently there are two main things to do before
starting the pretest: adding ruby-mode to the CVS repository, and making
rmail-mbox/pmail ready for use.
The papers for ruby-mode are already in the mail; many thanks to Phil
Hagelberg for helping get them signed. Hopefully, we'll get the
go-ahead from the FSF to add ruby-mode to the repository within a week
or so. The version of ruby-mode that we hope to commit to CVS is
currently hosted by Phil at
http://github.com/technomancy/rinari/tree/master%2Futil%2Fruby-mode.el?raw=true
so take a look and see if you can spot any problems.
Rmail-mbox/pmail is going less well, as RMS does not think the new code
is ready for use. If any of you have the time, please offer to help
Paul Reilly fix bugs in the pmail code. Much appreciated.
Hopefully, we are still on track to start pretest sometime in December;
let's see.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-02 2:43 Chong Yidong
@ 2008-12-04 17:08 ` Yavor Doganov
2008-12-04 18:50 ` Ted Zlatanov
` (3 more replies)
2008-12-04 19:51 ` Dan Nicolaescu
1 sibling, 4 replies; 49+ messages in thread
From: Yavor Doganov @ 2008-12-04 17:08 UTC (permalink / raw)
To: emacs-devel
At Mon, 01 Dec 2008 21:43:01 -0500,
Chong Yidong wrote:
>
> We are getting pretty close, and currently there are two main things
> to do before starting the pretest: adding ruby-mode to the CVS
> repository, and making rmail-mbox/pmail ready for use.
I don't know what is the Emacs maintainers' opinion about the GNUstep
port wrt release status/goals, but I'd like to mention that in its
current form it is not usable as a replacement of GTK+/Lucid/nox.
Maybe this is not a problem in general, as probably the main goal of
the port is to make Emacs available for users of the Muck OS X system
(as a replacement of the Carbon port).
I don't see it this way, though, although I realize I'm in the
minority. As a GNUstep user my goal is to use Emacs.app as a
replacement of the Lucid build (or the GTK+ build with the GTK-Step
GTK theme). This is not possible now, even with my extremely low
Emacs usage requirements.
Whether this is considered release-critical is up to the Emacs
maintainers to decide, naturally.
The trouble is that if GNUstep users don't find this flavor usable to
run it by default, bugs will not be even discovered, let alone fixed.
Of course, it is impossible to fix all bugs in time for the 23
release, but at least the most critical ones should be nailed.
Here is a short summary of what I consider important for the GNUstep
port (in my capacity as a humble user). I am still experimenting with
some of the bugs to which Adrian sent useful comments.
* #1333: Emacs.app does not load ~/.emacs
The consequences of this are a real disaster. Emacs also doesn't
inherit the environment, which in many cases makes usage of external
processes a PITA.
* #984: Emacs.app segfaults on startup with the cairo backend
The cairo backend is still considered experimental in GNUstep Back,
although probably 90% of the people are using it, because rendering
is faster and much more beautiful than art. Not being able to use
Emacs with cairo means "downgrading" to art, as it is not possible
to define the backend on a per-app basis (and that's how it should
be). This is a GNUstep problem, I think.
* #620: Bootstrapping with the GNUstep port impossible
Distro unfriendliness. This is not a problem for regular users, as
released Emacs already contains byte-compiled files, and there is an
easy workaround for bootstrapping anyway. However, nowadays the
majority of the users prefer distro-provided packages. Among the
distros who care about GNUstep and ship it, Emacs.app currently
cannot be provided for Gentoo because of this, and for Debian
(gNewSense actually) I am doing a horrible hack/workaround that
no sane (Debian) maintainer would upload as an official package.
As a result, I suspect that at the end this port will have even less
testing.
* Some GNU Coding Standards violations that I'm going to report soon
(with patches, eventually). The problem, basically, is that the
Emacs.app build system breaks certain user expectations that were in
place since about forever.
I hope that even intrusive patches for the GNUstep port will be
accepted in the pretest period.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 17:08 ` Yavor Doganov
@ 2008-12-04 18:50 ` Ted Zlatanov
2008-12-04 19:29 ` Chong Yidong
2008-12-05 2:12 ` Randal L. Schwartz
2008-12-04 19:43 ` Stefan Monnier
` (2 subsequent siblings)
3 siblings, 2 replies; 49+ messages in thread
From: Ted Zlatanov @ 2008-12-04 18:50 UTC (permalink / raw)
To: emacs-devel
On Thu, 04 Dec 2008 19:08:29 +0200 Yavor Doganov <yavor@gnu.org> wrote:
YD> Here is a short summary of what I consider important for the GNUstep
YD> port (in my capacity as a humble user). I am still experimenting with
YD> some of the bugs to which Adrian sent useful comments.
I wanted to add:
- Emacs.app on Mac OS X crashes at random times and the error is not
logged and can't be debugged. This needs to be fixed or it's simply
not possible to produce a viable environment for real work.
Because of these random crashes and some other issues I've reported,
I've had to switch to the X11 Emacs in Mac OS X for coding and Gnus
(temporarily, I hope, for its fonts are nasty and it's slow).
Thanks
Ted
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 18:50 ` Ted Zlatanov
@ 2008-12-04 19:29 ` Chong Yidong
2008-12-04 19:46 ` Ted Zlatanov
2008-12-04 22:55 ` Adrian Robert
2008-12-05 2:12 ` Randal L. Schwartz
1 sibling, 2 replies; 49+ messages in thread
From: Chong Yidong @ 2008-12-04 19:29 UTC (permalink / raw)
To: Ted Zlatanov; +Cc: Adrian Robert, emacs-devel
Ted Zlatanov <tzz@lifelogs.com> writes:
> - Emacs.app on Mac OS X crashes at random times and the error is not
> logged and can't be debugged. This needs to be fixed or it's simply
> not possible to produce a viable environment for real work.
Have you tried running Emacs in a debugger?
Adrian, have you observed these crashes? Do you have any idea what
causes them?
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 17:08 ` Yavor Doganov
2008-12-04 18:50 ` Ted Zlatanov
@ 2008-12-04 19:43 ` Stefan Monnier
2008-12-04 19:45 ` Dan Nicolaescu
2008-12-05 12:08 ` Richard M Stallman
3 siblings, 0 replies; 49+ messages in thread
From: Stefan Monnier @ 2008-12-04 19:43 UTC (permalink / raw)
To: emacs-devel; +Cc: yavor
> I don't know what is the Emacs maintainers' opinion about the GNUstep
> port wrt release status/goals, but I'd like to mention that in its
> current form it is not usable as a replacement of GTK+/Lucid/nox.
> Maybe this is not a problem in general, as probably the main goal of
> the port is to make Emacs available for users of the Muck OS X system
> (as a replacement of the Carbon port).
The GNUstep port is not release-critical for Emacs-23.1. I do think
it's an important target, so it might become release-ciritcal for
Emacs-23.2, but I just don't think it's worth delaying a release for it,
given its current status.
> * #1333: Emacs.app does not load ~/.emacs
> The consequences of this are a real disaster. Emacs also doesn't
> inherit the environment, which in many cases makes usage of external
> processes a PITA.
I have the nagging feeling that this is linked to the
CANNOT_DUMP problem. So it's probably better to spend time on getting
DUMP to work.
> * #984: Emacs.app segfaults on startup with the cairo backend
> The cairo backend is still considered experimental in GNUstep Back,
> although probably 90% of the people are using it, because rendering
> is faster and much more beautiful than art. Not being able to use
> Emacs with cairo means "downgrading" to art, as it is not possible
> to define the backend on a per-app basis (and that's how it should
> be). This is a GNUstep problem, I think.
No idea about this.
> * Some GNU Coding Standards violations that I'm going to report soon
> (with patches, eventually). The problem, basically, is that the
> Emacs.app build system breaks certain user expectations that were in
> place since about forever.
Awaiting your patches.
> I hope that even intrusive patches for the GNUstep port will be
> accepted in the pretest period.
Patches that only affect GNUstep can be about as intrusive as they want,
yes (as long as they move forward, obviously), since the port is barely
usable anyway.
Stefan
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 17:08 ` Yavor Doganov
2008-12-04 18:50 ` Ted Zlatanov
2008-12-04 19:43 ` Stefan Monnier
@ 2008-12-04 19:45 ` Dan Nicolaescu
2008-12-05 12:08 ` Richard M Stallman
3 siblings, 0 replies; 49+ messages in thread
From: Dan Nicolaescu @ 2008-12-04 19:45 UTC (permalink / raw)
To: emacs-devel; +Cc: yavor
Yavor Doganov <yavor@gnu.org> writes:
> At Mon, 01 Dec 2008 21:43:01 -0500,
> Chong Yidong wrote:
> >
> > We are getting pretty close, and currently there are two main things
> > to do before starting the pretest: adding ruby-mode to the CVS
> > repository, and making rmail-mbox/pmail ready for use.
>
> I don't know what is the Emacs maintainers' opinion about the GNUstep
> port wrt release status/goals, but I'd like to mention that in its
> current form it is not usable as a replacement of GTK+/Lucid/nox.
> Maybe this is not a problem in general, as probably the main goal of
> the port is to make Emacs available for users of the Muck OS X system
> (as a replacement of the Carbon port).
>
> I don't see it this way, though, although I realize I'm in the
> minority. As a GNUstep user my goal is to use Emacs.app as a
> replacement of the Lucid build (or the GTK+ build with the GTK-Step
> GTK theme). This is not possible now, even with my extremely low
> Emacs usage requirements.
>
> Whether this is considered release-critical is up to the Emacs
> maintainers to decide, naturally.
At the time the nextstep code was checked in Stefan said that it won't
delay a release. And it probably was a good decision, although A LOT of
people report bugs, unfortunately only the maintainer works on fixing
them. Not sure why it's so hard to attract developers...
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 19:29 ` Chong Yidong
@ 2008-12-04 19:46 ` Ted Zlatanov
2008-12-04 22:55 ` Adrian Robert
1 sibling, 0 replies; 49+ messages in thread
From: Ted Zlatanov @ 2008-12-04 19:46 UTC (permalink / raw)
To: emacs-devel
On Thu, 04 Dec 2008 14:29:06 -0500 Chong Yidong <cyd@stupidchicken.com> wrote:
CY> Ted Zlatanov <tzz@lifelogs.com> writes:
>> - Emacs.app on Mac OS X crashes at random times and the error is not
>> logged and can't be debugged. This needs to be fixed or it's simply
>> not possible to produce a viable environment for real work.
CY> Have you tried running Emacs in a debugger?
Yes, unfortunately it didn't help.
CY> Adrian, have you observed these crashes? Do you have any idea what
CY> causes them?
I reported the issues to emacs-devel and the Emacs.app mailing list in
<m2y702mdfw.fsf@getconnected.com>
Adrian replied only to the Emacs.app mailing list with
<AE3F6761-560A-4113-A84F-BB2D5781BCCD@gmail.com> and the thread stayed
there. I can summarize here if it's necessary, although Adrian can
probably do a better job.
Ted
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-02 2:43 Chong Yidong
2008-12-04 17:08 ` Yavor Doganov
@ 2008-12-04 19:51 ` Dan Nicolaescu
2008-12-04 21:43 ` Chong Yidong
1 sibling, 1 reply; 49+ messages in thread
From: Dan Nicolaescu @ 2008-12-04 19:51 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
Chong Yidong <cyd@stupidchicken.com> writes:
> Hi fellas,
>
> Here's a short update on the Emacs 23 release process. We are getting
May I suggest that writing a release announcement be part of the release
process? Something short that summarizes the most important features
would be good to give people reasons to look further in NEWS and to
upgrade, and it's good for PR. Not everyone wants to read the 2000
lines NEWS file...
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 19:51 ` Dan Nicolaescu
@ 2008-12-04 21:43 ` Chong Yidong
2008-12-04 22:27 ` Dan Nicolaescu
0 siblings, 1 reply; 49+ messages in thread
From: Chong Yidong @ 2008-12-04 21:43 UTC (permalink / raw)
To: emacs-devel
Dan Nicolaescu <dann@ics.uci.edu> writes:
> May I suggest that writing a release announcement be part of the
> release process? Something short that summarizes the most important
> features would be good to give people reasons to look further in NEWS
> and to upgrade, and it's good for PR. Not everyone wants to read the
> 2000 lines NEWS file...
We do include a feature summary in the release announcement; see, for
instance, the 21.1 and 22.1 release announcements. This is written up
shortly before the release. We also put a feature summary on the
webpage.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 21:43 ` Chong Yidong
@ 2008-12-04 22:27 ` Dan Nicolaescu
0 siblings, 0 replies; 49+ messages in thread
From: Dan Nicolaescu @ 2008-12-04 22:27 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
Chong Yidong <cyd@stupidchicken.com> writes:
> Dan Nicolaescu <dann@ics.uci.edu> writes:
>
> > May I suggest that writing a release announcement be part of the
> > release process? Something short that summarizes the most important
> > features would be good to give people reasons to look further in NEWS
> > and to upgrade, and it's good for PR. Not everyone wants to read the
> > 2000 lines NEWS file...
>
> We do include a feature summary in the release announcement; see, for
> instance, the 21.1 and 22.1 release announcements. This is written up
The 22.1 announcement is the one I had in mind, and it could be improved
a lot. Something like:
- New modes and packages, including Calc, Grep, TRAMP, URL, IDO,
CUA, ERC, rcirc, Table, Image-Dired, SES, Ruler, Org, PGG,
Flymake, Password, Printing, Reveal, wdired, t-mouse,
longlines, savehist, Conf mode, Python mode, DNS mode, etc.
- Abbrev definitions are read automatically at startup.
is not too helpful for a lot of users. IMHO the announcement should be
readable for people that are not intimately familiar with the emacs internals.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 19:29 ` Chong Yidong
2008-12-04 19:46 ` Ted Zlatanov
@ 2008-12-04 22:55 ` Adrian Robert
2008-12-08 16:42 ` Ted Zlatanov
1 sibling, 1 reply; 49+ messages in thread
From: Adrian Robert @ 2008-12-04 22:55 UTC (permalink / raw)
To: Chong Yidong; +Cc: Ted Zlatanov, emacs-devel
On Dec 4, 2008, at 2:29 PM, Chong Yidong wrote:
> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> - Emacs.app on Mac OS X crashes at random times and the error is not
>> logged and can't be debugged. This needs to be fixed or it's simply
>> not possible to produce a viable environment for real work.
>
> Have you tried running Emacs in a debugger?
>
> Adrian, have you observed these crashes? Do you have any idea what
> causes them?
I use Emacs.app heavily on a daily basis on 10.4 and 10.5 for English
and Chinese text editing and program editing/compilation and don't get
crashes. However I don't use more complex modes like gud, gnus, and
image-viewing. (Though I was using ecb for a while.) I don't know
what the problem would be but if it is intermittent all I can suggest
is building with no optimization, just -g, to get a better stack
trace, and running from gdb (cd emacs/src ; gdb ../nextstep/Emacs.app/
Contents/MacOS/Emacs).
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 18:50 ` Ted Zlatanov
2008-12-04 19:29 ` Chong Yidong
@ 2008-12-05 2:12 ` Randal L. Schwartz
2008-12-05 2:44 ` Randal L. Schwartz
1 sibling, 1 reply; 49+ messages in thread
From: Randal L. Schwartz @ 2008-12-05 2:12 UTC (permalink / raw)
To: emacs-devel
>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:
Ted> - Emacs.app on Mac OS X crashes at random times and the error is not
Ted> logged and can't be debugged. This needs to be fixed or it's simply
Ted> not possible to produce a viable environment for real work.
And has incremental building on "make install" been fixed? Last I checked
a few weeks ago, it still didn't work.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-05 2:12 ` Randal L. Schwartz
@ 2008-12-05 2:44 ` Randal L. Schwartz
0 siblings, 0 replies; 49+ messages in thread
From: Randal L. Schwartz @ 2008-12-05 2:44 UTC (permalink / raw)
To: emacs-devel
>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:
Randal> And has incremental building on "make install" been fixed? Last I checked
Randal> a few weeks ago, it still didn't work.
Yup. Just verified. Still broken. Repeat by:
make bootstrap install # works
touch src/*.m # to force some changes
make install # fails to build a working .app, since things like .app/etc are broken
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 17:08 ` Yavor Doganov
` (2 preceding siblings ...)
2008-12-04 19:45 ` Dan Nicolaescu
@ 2008-12-05 12:08 ` Richard M Stallman
3 siblings, 0 replies; 49+ messages in thread
From: Richard M Stallman @ 2008-12-05 12:08 UTC (permalink / raw)
To: Yavor Doganov; +Cc: yavor, emacs-devel
Are people saying that Emacs works better with MacOS than with
GNUstep? That is not good. But in order to change this, we need some
GNUstep users to fix the bugs. Can we recruit some to help, perhaps
by posting on some GNUstep list?
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-04 22:55 ` Adrian Robert
@ 2008-12-08 16:42 ` Ted Zlatanov
0 siblings, 0 replies; 49+ messages in thread
From: Ted Zlatanov @ 2008-12-08 16:42 UTC (permalink / raw)
To: emacs-devel
On Thu, 4 Dec 2008 17:55:59 -0500 Adrian Robert <adrian.b.robert@gmail.com> wrote:
AR> On Dec 4, 2008, at 2:29 PM, Chong Yidong wrote:
>> Ted Zlatanov <tzz@lifelogs.com> writes:
>>
>>> - Emacs.app on Mac OS X crashes at random times and the error is not
>>> logged and can't be debugged. This needs to be fixed or it's simply
>>> not possible to produce a viable environment for real work.
>>
>> Have you tried running Emacs in a debugger?
>>
>> Adrian, have you observed these crashes? Do you have any idea what
>> causes them?
AR> I use Emacs.app heavily on a daily basis on 10.4 and 10.5 for English
AR> and Chinese text editing and program editing/compilation and don't get
AR> crashes. However I don't use more complex modes like gud, gnus, and
AR> image-viewing. (Though I was using ecb for a while.) I don't know
AR> what the problem would be but if it is intermittent all I can suggest
AR> is building with no optimization, just -g, to get a better stack
AR> trace, and running from gdb (cd emacs/src ; gdb ../nextstep/Emacs.app/
AR> Contents/MacOS/Emacs).
I ran Emacs.app for a day under the debugger, using Gnus and other
tools, and it worked all right without crashes. It may be a difference
between my command-line setup and starting it from the MacOS Finder.
I'll keep testing and write back if I find anything useful.
The part where "the error can't be logged or debugged" is the bigger
concern IMO. Adrian, what needs to happen to have the Emacs.app bundle
(the one users will open) produce usable core files and log messages?
I'll help any way I can.
Ted
^ permalink raw reply [flat|nested] 49+ messages in thread
* Release update
@ 2008-12-22 14:32 Chong Yidong
2008-12-22 19:30 ` Eli Zaretskii
2008-12-22 19:35 ` Eli Zaretskii
0 siblings, 2 replies; 49+ messages in thread
From: Chong Yidong @ 2008-12-22 14:32 UTC (permalink / raw)
To: emacs-devel
A quick note about the release. Currently, the main thing we are
waiting for before we can begin the pretest is a copyright assignment
from one of the previous contributors to the Nextstep port (he seems to
have gone incommunicado, but we are trying to get back in contact with
him).
The pmail/rmail-mbox code will not be included in the Emacs 23.1
release. However, I encourage everyone to test the code if possible,
because it will probably replace rmail in CVS as soon as 23.1 is
released.
In the meantime, let's continue fixing the open bugs. Thanks.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 14:32 Release update Chong Yidong
@ 2008-12-22 19:30 ` Eli Zaretskii
2008-12-22 23:47 ` Chong Yidong
2008-12-23 11:59 ` Richard M Stallman
2008-12-22 19:35 ` Eli Zaretskii
1 sibling, 2 replies; 49+ messages in thread
From: Eli Zaretskii @ 2008-12-22 19:30 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
> From: Chong Yidong <cyd@stupidchicken.com>
> Date: Mon, 22 Dec 2008 09:32:53 -0500
>
> A quick note about the release. Currently, the main thing we are
> waiting for before we can begin the pretest is a copyright assignment
> from one of the previous contributors to the Nextstep port (he seems to
> have gone incommunicado, but we are trying to get back in contact with
> him).
What about proofreading the documentation? The manuals update
according to NEWS is almost done (see below), but I'm quite sure that
some changes are not in there, and that some of the docs is outdated.
Without proofreading all the 3 manuals in their entirety, I don't see
how we can ensure these inaccuracies are fixed.
If that is supposed to be part of the pretest, either it will be a
very long pretest or we will not be able to finish the review in time
for the release.
Also, the multi-tty and the new font backend are still not documented
in the ELisp manual. I'm (slowly) working on the former, and will
probably get it done soon enough, but I can surely use some help with
the latter.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 14:32 Release update Chong Yidong
2008-12-22 19:30 ` Eli Zaretskii
@ 2008-12-22 19:35 ` Eli Zaretskii
2008-12-22 23:04 ` Drew Adams
2008-12-22 23:54 ` Chong Yidong
1 sibling, 2 replies; 49+ messages in thread
From: Eli Zaretskii @ 2008-12-22 19:35 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
> From: Chong Yidong <cyd@stupidchicken.com>
> Date: Mon, 22 Dec 2008 09:32:53 -0500
>
> A quick note about the release. Currently, the main thing we are
> waiting for before we can begin the pretest is a copyright assignment
> from one of the previous contributors to the Nextstep port (he seems to
> have gone incommunicado, but we are trying to get back in contact with
> him).
Also, what about bug #970? I don't think we can release Emacs that
messes up the tty display like that.
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-22 19:35 ` Eli Zaretskii
@ 2008-12-22 23:04 ` Drew Adams
2008-12-22 23:28 ` Leo
` (2 more replies)
2008-12-22 23:54 ` Chong Yidong
1 sibling, 3 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-22 23:04 UTC (permalink / raw)
To: 'Eli Zaretskii', 'Chong Yidong'; +Cc: emacs-devel
> Also, what about bug #970? I don't think we can release Emacs that
> messes up the tty display like that.
If we're reminding about specific bugs and talking about possible release, the
following two bugs are very long-standing. They are regressions specific to
Emacs 23.
#117 -
* Fringe (on first frame only), when no-fringe was specified.
* Tool bar, when no-tool-bar was specified.
* Duplicate and contradictory frame parameters.
* Frames not redisplayed until manual C-l. Frame goes blank
when another frame or window-mgr window is dragged over it
or otherwise obscures it - and frame stays blank until C-l.
#1562 aka #119 -
* modify-frame-parameters, given a `font' parameter argument ending
with "-iso8859-1" changes the `font' frame parameter to a font
name that ends with "-fontset-auto1" (where `1' seems to be an
index of the number of such calls, so the second uses `auto2'...).
In both cases, I sent code to reproduce the problem.
Those bugs are, to me, quite major - they (esp. #117) make Emacs 23 unusable for
me, sad to say. And there are of course other open bugs.
Another noticeable problem is the time it takes Emacs to start up. I know that
people have tried to improve this, but for me this startup time has not changed,
as of this build:
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-12-19 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
Whether I use my own setup of a standalone minibuffer frame and one other,
principal frame or I use emacs -Q, the startup time is about the same. And
that's true whether I start by editing a file or Dired or just start with
*scratch*.
With my own setup, it takes on average 15-20 seconds for the initial frame to
appear, and another 10 seconds for my two-frame setup to finish. emacs -Q takes
15-20 seconds on average for the frame to appear. The command I use is this:
runemacs.exe -Q --debug-init. This is on a 1-year-old laptop with 2G RAM and
pretty good processors.
The startup time is variable, for some reason. Sometimes it is much less (as if
something were cached), sometimes it is a little more. Usually it is about 15-20
sec.
To compare: for my two-frame setup, Emacs 22.3 takes about 4 sec total, and
Emacs 22.3 -Q takes less than a second. (These are all wall-clock durations.)
Personally, the long startup time does not prevent me from using Emacs 23. The
bugs do.
I don't know whether this kind of performance and these kinds of bugs are normal
for a pretest. Perhaps pretesting will lead to fixes. But I hope Emacs 23 will
not be released with these problems.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 23:04 ` Drew Adams
@ 2008-12-22 23:28 ` Leo
2008-12-23 0:17 ` Drew Adams
2008-12-22 23:53 ` Chong Yidong
2008-12-23 4:21 ` Eli Zaretskii
2 siblings, 1 reply; 49+ messages in thread
From: Leo @ 2008-12-22 23:28 UTC (permalink / raw)
To: Drew Adams; +Cc: 'Eli Zaretskii', 'Chong Yidong', emacs-devel
On 2008-12-22 23:04 +0000, Drew Adams wrote:
> With my own setup, it takes on average 15-20 seconds for the initial
> frame to appear, and another 10 seconds for my two-frame setup to
> finish. emacs -Q takes 15-20 seconds on average for the frame to
> appear. The command I use is this: runemacs.exe -Q --debug-init. This
> is on a 1-year-old laptop with 2G RAM and pretty good processors.
Do you still experience the slowness with the one from:
http://code.google.com/p/emacs-for-windows/?
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 19:30 ` Eli Zaretskii
@ 2008-12-22 23:47 ` Chong Yidong
2008-12-23 11:59 ` Richard M Stallman
2008-12-23 11:59 ` Richard M Stallman
1 sibling, 1 reply; 49+ messages in thread
From: Chong Yidong @ 2008-12-22 23:47 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
> What about proofreading the documentation? The manuals update
> according to NEWS is almost done (see below), but I'm quite sure that
> some changes are not in there, and that some of the docs is outdated.
> Without proofreading all the 3 manuals in their entirety, I don't see
> how we can ensure these inaccuracies are fixed.
>
> If that is supposed to be part of the pretest, either it will be a
> very long pretest or we will not be able to finish the review in time
> for the release.
I think it is OK to perform the documentation improvements/proofreading
in parallel with the pretest. For one thing, progress will probably
speed up as the number of serious bugs and other issues decreases,
freeing up developer time.
We won't make the final release without a review.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 23:04 ` Drew Adams
2008-12-22 23:28 ` Leo
@ 2008-12-22 23:53 ` Chong Yidong
2008-12-23 4:21 ` Eli Zaretskii
2 siblings, 0 replies; 49+ messages in thread
From: Chong Yidong @ 2008-12-22 23:53 UTC (permalink / raw)
To: Drew Adams; +Cc: 'Eli Zaretskii', emacs-devel
"Drew Adams" <drew.adams@oracle.com> writes:
> #117 -
>
> * Fringe (on first frame only), when no-fringe was specified.
>
> * Tool bar, when no-tool-bar was specified.
>
> * Duplicate and contradictory frame parameters.
>
> * Frames not redisplayed until manual C-l. Frame goes blank
> when another frame or window-mgr window is dragged over it
> or otherwise obscures it - and frame stays blank until C-l.
A good way to get this bug fixed is to try and reduce the size of your
testcase.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 19:35 ` Eli Zaretskii
2008-12-22 23:04 ` Drew Adams
@ 2008-12-22 23:54 ` Chong Yidong
2008-12-23 1:42 ` Kenichi Handa
1 sibling, 1 reply; 49+ messages in thread
From: Chong Yidong @ 2008-12-22 23:54 UTC (permalink / raw)
To: Kenichi Handa; +Cc: Eli Zaretskii, emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
> Also, what about bug #970? I don't think we can release Emacs that
> messes up the tty display like that.
Handa-san, could you take a look at this bug?
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=970
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-22 23:28 ` Leo
@ 2008-12-23 0:17 ` Drew Adams
2008-12-23 0:54 ` Lennart Borgman
2008-12-23 7:42 ` Werner LEMBERG
0 siblings, 2 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-23 0:17 UTC (permalink / raw)
To: 'Leo'
Cc: 'Eli Zaretskii', 'Chong Yidong', emacs-devel
> > With my own setup, it takes on average 15-20 seconds for the initial
> > frame to appear, and another 10 seconds for my two-frame setup to
> > finish. emacs -Q takes 15-20 seconds on average for the frame to
> > appear. The command I use is this: runemacs.exe -Q
> --debug-init. This
> > is on a 1-year-old laptop with 2G RAM and pretty good processors.
>
> Do you still experience the slowness with the one from:
> http://code.google.com/p/emacs-for-windows/?
Yes, unfortunately. 18 sec for emacs -Q.
But, as I said, the time is variable. Testing only emacs -Q:
First time: 18 sec.
Second time, < 1 sec.
Third time, 16 sec.
Fourth time, < 1 sec.
Fifth time, < 1 sec.
Sixth time, 15 sec.
Seventh time, 15 sec.
Eighth time, 1 sec.
Ninth time, 16 sec.
Tenth time, 1 sec
That's exactly the behavior I see in Lennart's vanilla builds. It either takes
quite a long time or it comes up immediately. I was thinking that it usually
takes a long time, but trying now several times in a row, it looks like it's
about 50-50. Same thing for Lennart's build.
I'm not running anything else at the moment, besides a mail client and Web
browser, and during this test no mail went in or out (and no mail polling
AFAICT), and I didn't use the browser (static Web page).
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 0:17 ` Drew Adams
@ 2008-12-23 0:54 ` Lennart Borgman
2008-12-23 2:16 ` Drew Adams
2008-12-23 7:42 ` Werner LEMBERG
1 sibling, 1 reply; 49+ messages in thread
From: Lennart Borgman @ 2008-12-23 0:54 UTC (permalink / raw)
To: Drew Adams; +Cc: Chong Yidong, Eli Zaretskii, Leo, emacs-devel
On Tue, Dec 23, 2008 at 1:17 AM, Drew Adams <drew.adams@oracle.com> wrote:
> That's exactly the behavior I see in Lennart's vanilla builds. It either takes
> quite a long time or it comes up immediately. I was thinking that it usually
> takes a long time, but trying now several times in a row, it looks like it's
> about 50-50. Same thing for Lennart's build.
FYI I do not see anything like this. The first time it takes a little
bit longer, but then it is very quick. My pc is probably slower.
Something with disk access, caching? Page file size? (Could that
really matter in this situation??) My page file is 1.5GB and 3GB max
(approx). But, hm, the time delay must be too long for such things.
Some network problem?
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 23:54 ` Chong Yidong
@ 2008-12-23 1:42 ` Kenichi Handa
2008-12-23 4:18 ` Eli Zaretskii
0 siblings, 1 reply; 49+ messages in thread
From: Kenichi Handa @ 2008-12-23 1:42 UTC (permalink / raw)
To: Chong Yidong; +Cc: eliz, emacs-devel
In article <87prjjzryu.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
> > Also, what about bug #970? I don't think we can release Emacs that
> > messes up the tty display like that.
> Handa-san, could you take a look at this bug?
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=970
Ok, I'll check what is wrong. But, I can't reproduce the
following problem:
> Type C-n several times, and you will see some very strange behavior:
> for example, some lines are skipped and point never enters them.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 0:54 ` Lennart Borgman
@ 2008-12-23 2:16 ` Drew Adams
2008-12-23 2:40 ` Drew Adams
0 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 2:16 UTC (permalink / raw)
To: 'Lennart Borgman'
Cc: 'Chong Yidong', 'Eli Zaretskii', 'Leo',
emacs-devel
> > That's exactly the behavior I see in Lennart's vanilla
> > builds. It either takes quite a long time or it comes up
> > immediately. I was thinking that it usually
> > takes a long time, but trying now several times in a row,
> > it looks like it's about 50-50. Same thing for Lennart's build.
>
> FYI I do not see anything like this. The first time it takes a little
> bit longer, but then it is very quick. My pc is probably slower.
>
> Something with disk access, caching? Page file size? (Could that
> really matter in this situation??) My page file is 1.5GB and 3GB max
> (approx). But, hm, the time delay must be too long for such things.
> Some network problem?
I'm working locally - no network (but Internet connection).
Page file is 2G (max 4G); single hard disk. RAM is 2G.
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 2:16 ` Drew Adams
@ 2008-12-23 2:40 ` Drew Adams
2008-12-23 6:46 ` Stephen J. Turnbull
0 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 2:40 UTC (permalink / raw)
To: 'Lennart Borgman'
Cc: 'Chong Yidong', emacs-devel, 'Eli Zaretskii',
'Leo'
> > > That's exactly the behavior I see in Lennart's vanilla
> > > builds. It either takes quite a long time or it comes up
> > > immediately. I was thinking that it usually
> > > takes a long time, but trying now several times in a row,
> > > it looks like it's about 50-50. Same thing for Lennart's build.
> >
> > FYI I do not see anything like this. The first time it
> takes a little
> > bit longer, but then it is very quick. My pc is probably slower.
> >
> > Something with disk access, caching? Page file size? (Could that
> > really matter in this situation??) My page file is 1.5GB and 3GB max
> > (approx). But, hm, the time delay must be too long for such things.
> > Some network problem?
>
> I'm working locally - no network (but Internet connection).
> Page file is 2G (max 4G); single hard disk. RAM is 2G.
And no visible change in PF usage or CPU usage when I start Emacs 23. No
noticeable change in CPU usage as Emacs starts up - stays ~0% to 5%. PF usage
remains ~922 MB throughout startup. No difference noticeable in Task Mgr whether
Emacs 23 happens to start in 1 sec or 15 sec.
The elapsed time (e.g. 15 sec) occurs before the frame starts to appear. The
frame is displayed, and startup finishes, at the normal speed. It seems almost
as if Emacs waits before it decides to start up.
I suppose it could be something particular to my machine, but I don't see such a
wait/delay for any other apps or other Emacs versions (20, 21, 22.x).
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 1:42 ` Kenichi Handa
@ 2008-12-23 4:18 ` Eli Zaretskii
2008-12-23 4:40 ` Kenichi Handa
0 siblings, 1 reply; 49+ messages in thread
From: Eli Zaretskii @ 2008-12-23 4:18 UTC (permalink / raw)
To: Kenichi Handa; +Cc: cyd, emacs-devel
> From: Kenichi Handa <handa@m17n.org>
> CC: eliz@gnu.org, emacs-devel@gnu.org
> Date: Tue, 23 Dec 2008 10:42:35 +0900
>
> In article <87prjjzryu.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:
>
> > Eli Zaretskii <eliz@gnu.org> writes:
> > > Also, what about bug #970? I don't think we can release Emacs that
> > > messes up the tty display like that.
>
> > Handa-san, could you take a look at this bug?
>
> > http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=970
>
> Ok, I'll check what is wrong. But, I can't reproduce the
> following problem:
>
> > Type C-n several times, and you will see some very strange behavior:
> > for example, some lines are skipped and point never enters them.
This part of the problem is already solved, see my last email in the
bug.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 23:04 ` Drew Adams
2008-12-22 23:28 ` Leo
2008-12-22 23:53 ` Chong Yidong
@ 2008-12-23 4:21 ` Eli Zaretskii
2008-12-23 6:35 ` Drew Adams
2 siblings, 1 reply; 49+ messages in thread
From: Eli Zaretskii @ 2008-12-23 4:21 UTC (permalink / raw)
To: Drew Adams; +Cc: cyd, emacs-devel
> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Mon, 22 Dec 2008 15:04:05 -0800
> Cc: emacs-devel@gnu.org
>
> Another noticeable problem is the time it takes Emacs to start up. I know that
> people have tried to improve this, but for me this startup time has not changed,
> as of this build:
>
> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
> of 2008-12-19 on LENNART-69DE564
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
> -fno-crossjumping'
>
> Whether I use my own setup of a standalone minibuffer frame and one other,
> principal frame or I use emacs -Q, the startup time is about the same. And
> that's true whether I start by editing a file or Dired or just start with
> *scratch*.
>
> With my own setup, it takes on average 15-20 seconds for the initial frame to
> appear, and another 10 seconds for my two-frame setup to finish. emacs -Q takes
> 15-20 seconds on average for the frame to appear. The command I use is this:
> runemacs.exe -Q --debug-init. This is on a 1-year-old laptop with 2G RAM and
> pretty good processors.
>
> The startup time is variable, for some reason. Sometimes it is much less (as if
> something were cached), sometimes it is a little more. Usually it is about 15-20
> sec.
Does the disk LED flicker considerably during the long startups?
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 4:18 ` Eli Zaretskii
@ 2008-12-23 4:40 ` Kenichi Handa
0 siblings, 0 replies; 49+ messages in thread
From: Kenichi Handa @ 2008-12-23 4:40 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: cyd, emacs-devel
In article <uhc4vcynm.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:
> > Ok, I'll check what is wrong. But, I can't reproduce the
> > following problem:
> >
> > > Type C-n several times, and you will see some very strange behavior:
> > > for example, some lines are skipped and point never enters them.
> This part of the problem is already solved, see my last email in the
> bug.
Ah, ok, I see.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 4:21 ` Eli Zaretskii
@ 2008-12-23 6:35 ` Drew Adams
2008-12-23 7:18 ` Giorgos Keramidas
0 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 6:35 UTC (permalink / raw)
To: 'Eli Zaretskii'; +Cc: cyd, emacs-devel
> Does the disk LED flicker considerably during the long startups?
No, not at all. I even closed my mail client, to minimise other disk accesses
etc. No flicker, same delay.
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 2:40 ` Drew Adams
@ 2008-12-23 6:46 ` Stephen J. Turnbull
0 siblings, 0 replies; 49+ messages in thread
From: Stephen J. Turnbull @ 2008-12-23 6:46 UTC (permalink / raw)
To: Drew Adams
Cc: 'Leo', 'Chong Yidong', 'Lennart Borgman',
'Eli Zaretskii', emacs-devel
Drew Adams writes:
> > I'm working locally - no network (but Internet connection).
It's possible that when Emacs starts up it uses getaddrinfo to get the
hostname, and the IPv6 spec requires that you get your canonical
hostname from a nameserver. XEmacs currently disobeys the spec by
default because on most networks IPv6 is hardly used even today, and
startup delays can be substantial especially if your Internet
connection is "on-demand" (as it typically was in the days of POTS and
time-metered modem connections, when that decision was made).
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 6:35 ` Drew Adams
@ 2008-12-23 7:18 ` Giorgos Keramidas
2008-12-23 7:41 ` Drew Adams
0 siblings, 1 reply; 49+ messages in thread
From: Giorgos Keramidas @ 2008-12-23 7:18 UTC (permalink / raw)
To: Drew Adams; +Cc: 'Eli Zaretskii', cyd, emacs-devel
On Mon, 22 Dec 2008 22:35:26 -0800, "Drew Adams" <drew.adams@oracle.com> wrote:
>> Does the disk LED flicker considerably during the long startups?
>
> No, not at all. I even closed my mail client, to minimise other disk accesses
> etc. No flicker, same delay.
Hi Drew,
Is there any possibility Emacs is trying DNS requests, i.e. to resolve
parts of user-mail-address or something related? Startup delays are
often caused by waiting for DNS and then timing out after a while.
IIRC you are running the Windows build of Emacs. Can you try wireshark
or another network monitoring tool, and watch for network activity while
Emacs is starting?
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 7:18 ` Giorgos Keramidas
@ 2008-12-23 7:41 ` Drew Adams
0 siblings, 0 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-23 7:41 UTC (permalink / raw)
To: 'Giorgos Keramidas'; +Cc: 'Eli Zaretskii', cyd, emacs-devel
> Is there any possibility Emacs is trying DNS requests, i.e. to resolve
> parts of user-mail-address or something related? Startup delays are
> often caused by waiting for DNS and then timing out after a while.
>
> IIRC you are running the Windows build of Emacs. Can you try
> wireshark or another network monitoring tool, and watch for network
> activity while Emacs is starting?
No, sorry. But I will say that there is no network activity shown by the task
manager.
If no one else sees this problem, you needn't worry about it on my account. I
already said the startup delay is not a problem for me. The bugs I mentioned are
a problem.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 0:17 ` Drew Adams
2008-12-23 0:54 ` Lennart Borgman
@ 2008-12-23 7:42 ` Werner LEMBERG
2008-12-23 8:19 ` Drew Adams
1 sibling, 1 reply; 49+ messages in thread
From: Werner LEMBERG @ 2008-12-23 7:42 UTC (permalink / raw)
To: drew.adams; +Cc: cyd, eliz, sdl.web, emacs-devel
> > Do you still experience the slowness with the one from:
> > http://code.google.com/p/emacs-for-windows/?
>
> Yes, unfortunately. 18 sec for emacs -Q.
>
> But, as I said, the time is variable. Testing only emacs -Q:
> First time: 18 sec.
> Second time, < 1 sec.
> Third time, 16 sec.
> Fourth time, < 1 sec.
> Fifth time, < 1 sec.
> Sixth time, 15 sec.
> Seventh time, 15 sec.
> Eighth time, 1 sec.
> Ninth time, 16 sec.
> Tenth time, 1 sec
>
> That's exactly the behavior I see in Lennart's vanilla builds. It
> either takes quite a long time or it comes up immediately. I was
> thinking that it usually takes a long time, but trying now several
> times in a row, it looks like it's about 50-50. Same thing for
> Lennart's build.
A wild guess: We have experienced a similar slowness at startup for
lilypond, caused by fontconfig which rebuilt the cache files each
time. The solution was to untick `Automatically adjust clock for
daylight saving changes'. More can be found in this thread:
http://www.mail-archive.com/lilypond-user@gnu.org/msg42261.html
Werner
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 7:42 ` Werner LEMBERG
@ 2008-12-23 8:19 ` Drew Adams
2008-12-23 16:34 ` Drew Adams
0 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 8:19 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: cyd, eliz, sdl.web, emacs-devel
> > That's exactly the behavior I see in Lennart's vanilla builds. It
> > either takes quite a long time or it comes up immediately. I was
> > thinking that it usually takes a long time, but trying now several
> > times in a row, it looks like it's about 50-50. Same thing for
> > Lennart's build.
>
> A wild guess: We have experienced a similar slowness at startup for
> lilypond, caused by fontconfig which rebuilt the cache files each
> time. The solution was to untick `Automatically adjust clock for
> daylight saving changes'. More can be found in this thread:
>
> http://www.mail-archive.com/lilypond-user@gnu.org/msg42261.html
Wow. Interesting. I tried that, and the problem immediately "went away". And
it's still gone after checking the box again.
For the moment, I have "Automatically adjust..." checked again, and there is
still no problem. I'll try again some other day, and see if the problem really
went away. Before now, I've seen the problem systematically - every day.
Maybe just unchecking, then rechecking that check box took care of the problem.
That would be good. If only it worked for the bugs too. ;-)
In the thread you cite, I see this:
"forcing a rebuild results in the same delay you're experiencing
every time unless the automatic clock adjustment is turned off for the
first run."
That makes me think that unchecking the check box, then starting Emacs 23, then
checking the box again will keep the problem fixed (which is what I seem to
see). That seems to say that it's enough that the automatic adjustment be turned
off "for the first run", which I guess in my case is for the first time that I
start Emacs 23. And later posts in that thread also suggest that it's OK to turn
the check box on again. BTW, I'm running XP (SP3), FWIW, but apparently Vista
also has this problem.
Veritable voodoo. If this truly is the problem and the fix needed, then perhaps
it should be cited in the FAQ, if it can't be prevented altogether. The thread
mentions a patch for fontconfig that fixes the problem - perhaps Emacs could use
that too.
Here is a summary of the problem, from that thread:
"seems that the problem occurs if the cache is first built
during a daylight saving period when the system is set to automatically
adjust the clock for daylight saving."
Thx! Very cool. The whole thread is interesting, BTW.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 23:47 ` Chong Yidong
@ 2008-12-23 11:59 ` Richard M Stallman
0 siblings, 0 replies; 49+ messages in thread
From: Richard M Stallman @ 2008-12-23 11:59 UTC (permalink / raw)
To: Chong Yidong; +Cc: eliz, emacs-devel
I think it is OK to perform the documentation improvements/proofreading
in parallel with the pretest.
We have done them in parallel in the past.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-22 19:30 ` Eli Zaretskii
2008-12-22 23:47 ` Chong Yidong
@ 2008-12-23 11:59 ` Richard M Stallman
1 sibling, 0 replies; 49+ messages in thread
From: Richard M Stallman @ 2008-12-23 11:59 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: cyd, emacs-devel
Reading the manuals checking for errors is a standard part of making a
major release. It is very important. It should be done after
all the new features have been written up for the manual.
Usually we ask people to divide up this job, file by file.
I will try to do some of it.
I am sorry if this disappoints some people who hoped for an Emacs 23 release
very soon. But I think that hope was unrealistic. An Emacs major release
is a big job, which is part of the reason for not doing it so often.
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 8:19 ` Drew Adams
@ 2008-12-23 16:34 ` Drew Adams
2008-12-23 16:45 ` Werner LEMBERG
0 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 16:34 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: cyd, emacs-devel, eliz, sdl.web
> > A wild guess: We have experienced a similar slowness at startup for
> > lilypond, caused by fontconfig which rebuilt the cache files each
> > time. The solution was to untick `Automatically adjust clock for
> > daylight saving changes'. More can be found in this thread:
> >
> > http://www.mail-archive.com/lilypond-user@gnu.org/msg42261.html
>
> Wow. Interesting. I tried that, and the problem immediately
> "went away". And it's still gone after checking the box again.
>
> For the moment, I have "Automatically adjust..." checked
> again, and there is still no problem. I'll try again some other
> day, and see if the problem really went away. Before now, I've
> seen the problem systematically - every day.
>
> Maybe just unchecking, then rechecking that check box took
> care of the problem. That would be good. If only it worked for
> the bugs too. ;-)
>
> In the thread you cite, I see this:
>
> "forcing a rebuild results in the same delay you're experiencing
> every time unless the automatic clock adjustment is turned off for the
> first run."
>
> That makes me think that unchecking the check box, then
> starting Emacs 23, then checking the box again will keep the
> problem fixed (which is what I seem to see). That seems to say
> that it's enough that the automatic adjustment be turned
> off "for the first run", which I guess in my case is for the
> first time that I start Emacs 23. And later posts in that
> thread also suggest that it's OK to turn
> the check box on again. BTW, I'm running XP (SP3), FWIW, but
> apparently Vista also has this problem.
>
> Veritable voodoo. If this truly is the problem and the fix
> needed, then perhaps it should be cited in the FAQ, if it
> can't be prevented altogether. The thread
> mentions a patch for fontconfig that fixes the problem -
> perhaps Emacs could use that too.
>
> Here is a summary of the problem, from that thread:
>
> "seems that the problem occurs if the cache is first built
> during a daylight saving period when the system is set to
> automatically adjust the clock for daylight saving."
>
> Thx! Very cool. The whole thread is interesting, BTW.
Sad to say, I spoke too soon. I see the problem again this morning, exactly as I
described it before.
And repeating the operation - uncheck the box, open & close Emacs 23, close the
box - doesn't seem to fix it (at first, I thought it did).
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 16:34 ` Drew Adams
@ 2008-12-23 16:45 ` Werner LEMBERG
2008-12-23 16:51 ` Drew Adams
0 siblings, 1 reply; 49+ messages in thread
From: Werner LEMBERG @ 2008-12-23 16:45 UTC (permalink / raw)
To: drew.adams; +Cc: cyd, emacs-devel, eliz, sdl.web
> Sad to say, I spoke too soon. I see the problem again this morning,
> exactly as I described it before.
>
> And repeating the operation - uncheck the box, open & close Emacs
> 23, close the box - doesn't seem to fix it (at first, I thought it
> did).
You probably have to delete all fontconfig cache files.
Werner
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 16:45 ` Werner LEMBERG
@ 2008-12-23 16:51 ` Drew Adams
2008-12-23 17:16 ` Drew Adams
` (2 more replies)
0 siblings, 3 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-23 16:51 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: cyd, emacs-devel, eliz, sdl.web
> > Sad to say, I spoke too soon. I see the problem again this morning,
> > exactly as I described it before.
> >
> > And repeating the operation - uncheck the box, open & close Emacs
> > 23, close the box - doesn't seem to fix it (at first, I thought it
> > did).
>
> You probably have to delete all fontconfig cache files.
Can you tell where to do that? I'm on MS Windows - where do these files reside?
Are they only for Emacs? (Searching for `cache', `fontconfig', and `font-config'
turns up nothing in the Elisp manual.)
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 16:51 ` Drew Adams
@ 2008-12-23 17:16 ` Drew Adams
2008-12-23 17:47 ` Drew Adams
2008-12-23 17:18 ` Drew Adams
2008-12-23 17:20 ` Werner LEMBERG
2 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 17:16 UTC (permalink / raw)
To: 'Drew Adams', 'Werner LEMBERG'
Cc: sdl.web, cyd, eliz, emacs-devel
> Can you tell where to do that? I'm on MS Windows - where do
> these files reside? Are they only for Emacs? (Searching for
> `cache', `fontconfig', and `font-config' turns up nothing in
> the Elisp manual.)
I found node Font X in the Emacs manual, which mentions Fontconfig but not the
cache files. It references this URL: http://fontconfig.org/fontconfig-user.html,
but the files mentioned there have UNIX or Gnu/Linux locations: /etc/fonts/*. It
mentions also ~/.fonts.conf, which could be on Windows too, but I have no such
file. I searched my hard drive for a file named .fonts.conf, but there is none
anywhere.
I have Cygwin installed, so I did locate a fonts.conf file (no initial dot) in
~/cygwin/etc/fonts.
The Fontconfig manual says that the config file has a <cache> element that names
the cache file. The manual says that the default cache file is
~/.fonts.cache-<version>, but I have no such file(s).
In my file fonts.conf, there is no <cache> element. There are two <cachedir>
elements, however, one of which is /var/cache/fontconfig</cachedir>, and the
other of which is ~/.fontconfig</cachedir>.
In ~/cygwin/var/cache/fontconfig/, I do see some files with system-generated
names. Should I just delete those?
What if I didn't have Cygwin installed? Where would the cache files be on MS
Windows? Is it Emacs that creates these files? If so, how does it know whether I
have Cygwin installed etc.?
Thx.
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 16:51 ` Drew Adams
2008-12-23 17:16 ` Drew Adams
@ 2008-12-23 17:18 ` Drew Adams
2008-12-23 17:20 ` Werner LEMBERG
2 siblings, 0 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-23 17:18 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: sdl.web, cyd, eliz, emacs-devel
The Fontconfig manual (at the cited URL) also says this: "~/.fonts.cache-* is
the conventional repository of font information that isn't found in the
per-directory caches. This file is automatically maintained by fontconfig."
There is no such file on my machine.
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 16:51 ` Drew Adams
2008-12-23 17:16 ` Drew Adams
2008-12-23 17:18 ` Drew Adams
@ 2008-12-23 17:20 ` Werner LEMBERG
2008-12-23 17:23 ` Drew Adams
2 siblings, 1 reply; 49+ messages in thread
From: Werner LEMBERG @ 2008-12-23 17:20 UTC (permalink / raw)
To: drew.adams; +Cc: cyd, emacs-devel, eliz, sdl.web
> > You probably have to delete all fontconfig cache files.
>
> Can you tell where to do that? I'm on MS Windows - where do these
> files reside? Are they only for Emacs? (Searching for `cache',
> `fontconfig', and `font-config' turns up nothing in the Elisp
> manual.)
Sorry, I don't use Windows at all. Perhaps running
fc-cache.exe -v -r
does the trick to rebuild the cache files, showing the locations of
the cache directories.
Werner
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 17:20 ` Werner LEMBERG
@ 2008-12-23 17:23 ` Drew Adams
0 siblings, 0 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-23 17:23 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: cyd, emacs-devel, eliz, sdl.web
> > > You probably have to delete all fontconfig cache files.
> >
> > Can you tell where to do that? I'm on MS Windows - where do these
> > files reside? Are they only for Emacs? (Searching for `cache',
> > `fontconfig', and `font-config' turns up nothing in the Elisp
> > manual.)
>
> Sorry, I don't use Windows at all. Perhaps running
>
> fc-cache.exe -v -r
>
> does the trick to rebuild the cache files, showing the locations of
> the cache directories.
In what directory would I run that? (Again, I have Cygwin, in case that changes
something.)
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 17:16 ` Drew Adams
@ 2008-12-23 17:47 ` Drew Adams
2008-12-23 19:02 ` Werner LEMBERG
0 siblings, 1 reply; 49+ messages in thread
From: Drew Adams @ 2008-12-23 17:47 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: cyd, eliz, sdl.web, emacs-devel
> In ~/cygwin/var/cache/fontconfig/, I do see some files with
> system-generated names. Should I just delete those?
Anyway, I tried that. Deleting those files had no effect on the startup time.
> What if I didn't have Cygwin installed? Where would the cache
> files be on MS Windows? Is it Emacs that creates these files?
> If so, how does it know whether I have Cygwin installed etc.?
^ permalink raw reply [flat|nested] 49+ messages in thread
* Re: Release update
2008-12-23 17:47 ` Drew Adams
@ 2008-12-23 19:02 ` Werner LEMBERG
2008-12-23 19:43 ` Drew Adams
0 siblings, 1 reply; 49+ messages in thread
From: Werner LEMBERG @ 2008-12-23 19:02 UTC (permalink / raw)
To: drew.adams; +Cc: cyd, eliz, sdl.web, emacs-devel
> > In ~/cygwin/var/cache/fontconfig/, I do see some files with
> > system-generated names. Should I just delete those?
>
> Anyway, I tried that. Deleting those files had no effect on the
> > startup time.
Well, the first time you call emacs after deleting those file will be
slow since fontconfig rebuilds the cache files. However, starting
with the second call it should be fast. In case this isn't so my
guess of the problem's cause is probably wrong.
Werner
^ permalink raw reply [flat|nested] 49+ messages in thread
* RE: Release update
2008-12-23 19:02 ` Werner LEMBERG
@ 2008-12-23 19:43 ` Drew Adams
0 siblings, 0 replies; 49+ messages in thread
From: Drew Adams @ 2008-12-23 19:43 UTC (permalink / raw)
To: 'Werner LEMBERG'; +Cc: cyd, eliz, sdl.web, emacs-devel
> > > In ~/cygwin/var/cache/fontconfig/, I do see some files with
> > > system-generated names. Should I just delete those?
> >
> > > Anyway, I tried that. Deleting those files had no effect on the
> > > startup time.
>
> Well, the first time you call emacs after deleting those file will be
> slow since fontconfig rebuilds the cache files. However, starting
> with the second call it should be fast. In case this isn't so my
> guess of the problem's cause is probably wrong.
Right; I understood. No, it's not just the first time that it's slow.
Since then, Lennart pointed me to this:
http://www.ascendercorp.com/support/#cache,
which points to file C:\Windows\System32\FNTCACHE.DAT as a font cache.
Not sure deleting that will help either.
I will try it later - don't want to reboot now.
FWIW, this area doesn't seem to be very well documented for Emacs users. Maybe
if things were working well it would not need to be, but the Fontconfig manual
referenced in the Emacs manual seems to be platform-specific, mentioning only
cache file locations on UNIX or GNU/Linux.
^ permalink raw reply [flat|nested] 49+ messages in thread
end of thread, other threads:[~2008-12-23 19:43 UTC | newest]
Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 14:32 Release update Chong Yidong
2008-12-22 19:30 ` Eli Zaretskii
2008-12-22 23:47 ` Chong Yidong
2008-12-23 11:59 ` Richard M Stallman
2008-12-23 11:59 ` Richard M Stallman
2008-12-22 19:35 ` Eli Zaretskii
2008-12-22 23:04 ` Drew Adams
2008-12-22 23:28 ` Leo
2008-12-23 0:17 ` Drew Adams
2008-12-23 0:54 ` Lennart Borgman
2008-12-23 2:16 ` Drew Adams
2008-12-23 2:40 ` Drew Adams
2008-12-23 6:46 ` Stephen J. Turnbull
2008-12-23 7:42 ` Werner LEMBERG
2008-12-23 8:19 ` Drew Adams
2008-12-23 16:34 ` Drew Adams
2008-12-23 16:45 ` Werner LEMBERG
2008-12-23 16:51 ` Drew Adams
2008-12-23 17:16 ` Drew Adams
2008-12-23 17:47 ` Drew Adams
2008-12-23 19:02 ` Werner LEMBERG
2008-12-23 19:43 ` Drew Adams
2008-12-23 17:18 ` Drew Adams
2008-12-23 17:20 ` Werner LEMBERG
2008-12-23 17:23 ` Drew Adams
2008-12-22 23:53 ` Chong Yidong
2008-12-23 4:21 ` Eli Zaretskii
2008-12-23 6:35 ` Drew Adams
2008-12-23 7:18 ` Giorgos Keramidas
2008-12-23 7:41 ` Drew Adams
2008-12-22 23:54 ` Chong Yidong
2008-12-23 1:42 ` Kenichi Handa
2008-12-23 4:18 ` Eli Zaretskii
2008-12-23 4:40 ` Kenichi Handa
-- strict thread matches above, loose matches on Subject: below --
2008-12-02 2:43 Chong Yidong
2008-12-04 17:08 ` Yavor Doganov
2008-12-04 18:50 ` Ted Zlatanov
2008-12-04 19:29 ` Chong Yidong
2008-12-04 19:46 ` Ted Zlatanov
2008-12-04 22:55 ` Adrian Robert
2008-12-08 16:42 ` Ted Zlatanov
2008-12-05 2:12 ` Randal L. Schwartz
2008-12-05 2:44 ` Randal L. Schwartz
2008-12-04 19:43 ` Stefan Monnier
2008-12-04 19:45 ` Dan Nicolaescu
2008-12-05 12:08 ` Richard M Stallman
2008-12-04 19:51 ` Dan Nicolaescu
2008-12-04 21:43 ` Chong Yidong
2008-12-04 22:27 ` Dan Nicolaescu
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).