Discussion:
Emacs crashes when setting TeX-Master
Roman Sigg
2005-03-02 09:04:46 UTC
Permalink
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.
If the bug (or problem) is triggered by a specific (La)TeX
file, you should try to produce a minimal sample file showing the
problem and include it in your report.
Your bug report will be posted to the AUCTeX mailing list.
I wanted to define a Tex-Master-File with the appropriate AUCTeX Command in
the LaTeX Menu. It opens a Minibuffer where I should specify the filename.
As soon as this Minibuffer is opened I can't make any inputs any more,
whether with keyboard nor mouse. I have the kill Emacs with Alt+Ctrl+Del to
restart my work. Any suggestions?

Emacs : GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
of 2005-01-30 on NONIQPC
Package: AUCTeX 11.55
current state:
==============
(setq
window-system 'w32
LaTeX-version "2e"
TeX-style-path '("style/" "auto/"
"c:/programme/emacs/site-lisp/auctex/style/"
"/cygdrive/c/programme/emacs/var/auctex/")
TeX-auto-save nil
TeX-parse-self nil
TeX-master t
)

Roman Sigg
Randenstrasse 216
CH-8200 Schaffhausen
+41 52 624 51 17

Phonogrammarchiv der Universität Zürich
Wilfriedstr. 6
CH-8032 Zürich
+41 1 634 39 90
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.2 - Release Date: 28.02.2005
Ralf Angeli
2005-03-02 09:48:55 UTC
Permalink
Post by Roman Sigg
I wanted to define a Tex-Master-File with the appropriate AUCTeX Command in
the LaTeX Menu. It opens a Minibuffer where I should specify the filename.
As soon as this Minibuffer is opened I can't make any inputs any more,
whether with keyboard nor mouse. I have the kill Emacs with Alt+Ctrl+Del to
restart my work. Any suggestions?
Emacs : GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
of 2005-01-30 on NONIQPC
Package: AUCTeX 11.55
Hm, that's on Windows ... An Emacs compiled with GTK support opens a
file dialog if the function is invoked via the menu. Could it be that
you get a file dialog but out of some reason cannot see it? For
example because it is below some other window or off the screen.

You should be able to work around the problem by using the key binding
for setting the master file (`C-c _') which won't open a file dialog.

But please try to find out what is the problem when invoking the
function via the menu. This would give us a chance to fix it in
AUCTeX if it is an AUCTeX problem or file an Emacs bug report if it is
an Emacs problem.
--
Ralf
Roman Sigg
2005-03-02 11:06:58 UTC
Permalink
Thank you very much

This works great. And now to some mor weird things, after I used your hack
I can also use the menu option. It opens a file dialog (never seen before
also not under the actual window, I tried that) and everything works like
it is supposed to. Why ever.

Greeetings from a very astonished Roman, who just began to use the Emacs.
Post by Roman Sigg
Post by Roman Sigg
I wanted to define a Tex-Master-File with the appropriate AUCTeX
Command in
Post by Roman Sigg
the LaTeX Menu. It opens a Minibuffer where I should specify the filename.
As soon as this Minibuffer is opened I can't make any inputs any more,
whether with keyboard nor mouse. I have the kill Emacs with
Alt+Ctrl+Del to
Post by Roman Sigg
restart my work. Any suggestions?
Emacs : GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
of 2005-01-30 on NONIQPC
Package: AUCTeX 11.55
Hm, that's on Windows ... An Emacs compiled with GTK support opens a
file dialog if the function is invoked via the menu. Could it be that
you get a file dialog but out of some reason cannot see it? For
example because it is below some other window or off the screen.
You should be able to work around the problem by using the key binding
for setting the master file (`C-c _') which won't open a file dialog.
But please try to find out what is the problem when invoking the
function via the menu. This would give us a chance to fix it in
AUCTeX if it is an AUCTeX problem or file an Emacs bug report if it is
an Emacs problem.
--
Ralf
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01.03.2005
Roman Sigg
Randenstrasse 216
CH-8200 Schaffhausen
+41 52 624 51 17

Phonogrammarchiv der Universität Zürich
Wilfriedstr. 6
CH-8032 Zürich
+41 1 634 39 90
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01.03.2005
Ralf Angeli
2005-03-02 11:35:58 UTC
Permalink
Post by Roman Sigg
This works great. And now to some mor weird things, after I used your hack
I can also use the menu option. It opens a file dialog (never seen before
also not under the actual window, I tried that) and everything works like
it is supposed to. Why ever.
Does that mean it works even in a newly started Emacs?

I don't know about Windows, but I must say that I consider the GTK
file dialog quite inferior (and maybe even buggy) compared to the
minibuffer in this particular case. It doesn't show as clearly that
the default will be the file at hand (Okay, it's on the window title,
but who will look there?) and just clicking on "OK" does not work. I
don't know if the latter is a shortcoming of the file dialog but it
could be considered a bug in Emacs/AUCTeX functionality compared to
the minibuffer alternative.
--
Ralf
Roman Sigg
2005-03-02 12:26:44 UTC
Permalink
Post by Ralf Angeli
Does that mean it works even in a newly started Emacs?
You're right it doesn't. It is better to use the keybord shortcut. And yes
it should be considered as a bug, because this is not the intended
behaviour. If this is a problem of the GTK framework, the Windows Emacs or
AUCTeX I'm not able to decide. Now I know what I have to do and I hope
others will find their way, too.

Roman
Post by Ralf Angeli
I don't know about Windows, but I must say that I consider the GTK
file dialog quite inferior (and maybe even buggy) compared to the
minibuffer in this particular case. It doesn't show as clearly that
the default will be the file at hand (Okay, it's on the window title,
but who will look there?) and just clicking on "OK" does not work. I
don't know if the latter is a shortcoming of the file dialog but it
could be considered a bug in Emacs/AUCTeX functionality compared to
the minibuffer alternative.
--
Ralf
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01.03.2005
Roman Sigg
Randenstrasse 216
CH-8200 Schaffhausen
+41 52 624 51 17

Phonogrammarchiv der Universität Zürich
Wilfriedstr. 6
CH-8032 Zürich
+41 1 634 39 90
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 01.03.2005
Loading...