bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File opening error with "umlauts" in filename


From: Frank Küster
Subject: File opening error with "umlauts" in filename
Date: Thu, 01 Apr 2004 12:58:40 +0200

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-11-15 on alhambra, modified by Debian
configured using `configure  i386-linux --prefix=/usr --sharedstatedir=/var/lib 
--libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info 
--mandir=/usr/share/man --with-pop=yes --without-gif --with-x=yes 
--with-x-toolkit=lucid'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: C
  value of $LC_TIME: nil
  value of $LANG: address@hidden
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The problem is triggered when I try to edit a file with AUCTeX that
has a german Umlaut, =8e4 in this case, in the filename. 

But it doesn't seem to be related to AUCTeX. The bug does occur with
the released Emacs version described above, but not with a version I
got yesterday with the command

cvs -z3 -d:ext:address@hidden:/cvsroot/emacs export -r HEAD -d emacs-CVS emacs

Here is the report as i originally submitted it to the AUCTeX mailing
list. "the file auto/Brief-B=8e4ren.el" mentioned below is a file that
AUCTeX generates for every tex input file that is edited, and tries to
open it together with the TeX file:

**************************

I start Emacs and want to visit the file <----------------<-----------\
(~/Privat/Hochzeit/Brief-B=8e4ren.tex), but it doesn't open it, instead   |
gives an error. When I try it the second time, immediately after that, |
it can be visited.                                                     |
                                                                       |
Then, as Ralf advised back then, I delete the file                     |
(auto/Brief-B=8e4ren.el), open the tex file, edit it - the *el is back    |
there. I close Emacs, and the loop starts over -->--------->----------/

I attach the file below.

The backtrace is (in the minibuffer the \x8e4 is displayed correctly
as an =8e4):

Debugger entered--Lisp error: (file-error "Cannot open load file" 
"/home/frank/Privat/Hochzeit/auto/Brief-B\x8e4ren.el")
  load("/home/frank/Privat/Hochzeit/auto/Brief-B\x8e4ren.el" nil nil t)
  load-file("auto/Brief-B\x8e4ren.el")
  (if (and TeX-byte-compile (file-writable-p elc) (save-excursion ...) 
(file-readable-p elc))
(load-file elc) (load-file el))
  (if (file-readable-p el) (if (and TeX-byte-compile ... ... ...) (load-file 
elc) (load-file el)))
  (cond ((file-newer-than-file-p el elc) (if ... ...)) ((file-readable-p elc) 
(load-file elc))
((file-readable-p el) (load-file el)))
  (let ((el ...) (elc ...)) (cond (... ...) (... ...) (... ...)))
  TeX-load-style-file("auto/Brief-B\x8e4ren")
  (lambda (name) (TeX-load-style-file (concat ... style)))("auto/")
  mapcar((lambda (name) (TeX-load-style-file (concat ... style))) ("style/" 
"auto/"
"/home/frank/texmf/tex/latex/style/" "/home/frank/texmf/tex/latex/auto/"
"/usr/share/emacs/site-lisp/auctex/style/" "/var/lib/auctex/emacs21/"
"/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/"))
  (cond ((assoc style TeX-style-hook-list)) ((string-match 
"\\`\\(.+[/\\]\\)\\([^/\\]*\\)\\'"
style) (let* ... ...)) (t (setq TeX-style-hook-list ...) (mapcar ... 
TeX-style-path)))
  TeX-load-style("Brief-B\x8e4ren")
  (if (TeX-member style TeX-active-styles (quote string-equal)) nil (setq 
TeX-active-styles (cons
style TeX-active-styles)) (TeX-load-style style) (if (string-match
"\\`\\(.+[/\\]\\)\\([^/\\]*\\)\\'" style) (setq style ...)) (mapcar (quote 
funcall) (cdr-safe ...)))
  (lambda (style) (if (TeX-member style TeX-active-styles ...) nil (setq 
TeX-active-styles ...)
(TeX-load-style style) (if ... ...) (mapcar ... ...)))("Brief-B\x8e4ren")
  mapcar((lambda (style) (if (TeX-member style TeX-active-styles ...) nil (setq 
TeX-active-styles ...)
(TeX-load-style style) (if ... ...) (mapcar ... ...))) ("Brief-B\x8e4ren"))
  TeX-run-style-hooks("Brief-B\x8e4ren")
  (if (or (and ... ...) (and ... TeX-style-hook-applied-p)) nil (setq 
TeX-style-hook-applied-p t)
(message "Applying style hooks...") (TeX-run-style-hooks (TeX-strip-extension 
nil nil t)) (if (or
... ...) (TeX-run-style-hooks ...)) (if (and TeX-parse-self ...) 
(TeX-auto-apply)) (message
"Applying style hooks... done"))
  TeX-update-style()
  (lambda nil (unless (file-exists-p ...) (TeX-master-file nil nil t)) 
(TeX-update-style))()
  run-hooks(find-file-hooks)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer Brief-B=8e4ren.tex> 
"~/Privat/Hochzeit/Brief-B\x8e4ren.tex" nil
nil "~/Privat/Hochzeit/Brief-B\x8e4ren.tex" (31540 774))
  find-file-noselect("/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" nil nil 
nil)
  find-file("/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex")
  recentf-find-file("/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex")
  recentf-open-files-action((push-button :args nil :value
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :button-face default :tag
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) (push-button :args 
nil :value
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :button-face default :tag
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) nil)
  widget-apply((push-button :args nil :value 
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex"
:button-face default :tag "/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" 
:help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) :notify 
(push-button :args nil :value
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :button-face default :tag
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) nil)
  widget-item-action((push-button :args nil :value
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :button-face default :tag
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) nil)
  widget-apply((push-button :args nil :value 
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex"
:button-face default :tag "/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" 
:help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) :action nil)
  widget-apply-action((push-button :args nil :value
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :button-face default :tag
"/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :help-echo "Open
/home/frank/Privat/Hochzeit/Brief-B\x8e4ren.tex" :format "%[%t%]" :notify
recentf-open-files-action :button-overlay #<overlay in no buffer> :from #<marker
(before-insertion) in no buffer> :to #<marker in no buffer>) nil)
  widget-button-press(111)
  call-interactively(widget-button-press)

\documentclass[paper=a4,DIN]{scrlttr2}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{charter,helvet}

\begin{document}
\begin{letter}{
    Gasthof zum B=8e4ren\\
    Hauptstra=8dfe 74\\
    97199 Ochsenfurt
  }
  \setkomavar{fromname}{Frank K=8fcster}
  \setkomavar{fromaddress}{Neunlindenstr. 26a\\
                          79106 Freiburg}
  \setkomavar{fromphone}{0761-7679232}
  \setkomavar{fromemail}{Frank.Kuester <at> unibas.ch}
  \setkomavar{signature}{Frank K=8fcster}

%\setkomavar{yourref}[Kontonummern]{393371 (UmweltPluskonto)}

  \setkomavar{subject}{Ihr Angebot vom 6.3. f=8fcr unsere Hochzeitsfeier
    am 17.7.}

\opening{Sehr geehrte Frau Wagenpfahl,}

Vielen Dank f=8fcr Ihr Angebot. Wir haben uns sehr gefreut und finden die
vorgeschlagenen Speisen eigentlich alle lecker\dots Allerdings ist uns
beim Durchlesen bewusst geworden, dass wir uns das Abendessen
eigentlich nicht als klassisches B=8fcffet vorgestellt haben. 

Daher m=8f6chten wir Sie bitten, sich unsere Vorstellungen durchzulesen
und uns mitzuteilen, ob das f=8fcr Sie auch machbar w=8e4re, und wie es
preislich auss=8e4he.

Wir stellen uns schon vor, dass die Leute sich selbst bedienen -- von
daher passt der Name B=8fcffet schon. Allerdings finden wir einen Tisch,
auf dem es gleichzeitig eine Vielzahl von Vor-, Haupt- und
evtl. Nachspeisen gibt, nicht so sch=8f6n -- es gibt dann immer einen Riesen-

\closing{Mit freundlichen Gr=8fc=8dfen}

%\encl{}
\end{letter}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 



Recent input:
n n n SPC n n g . <return> C-n C-n C-n C-n C-n C-n 
C-n q C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p 
<return> q C-p C-p C-p C-p C-p C-p C-p C-u <return> 
<return> C-n C-n C-n C-n C-n C-n <return> u <down> 
<return> <up> <return> q M-x e m c <backspace> a c 
<tab> b <tab> C-h a b u g <return> C-x o C-v q C-x 
o C-x 1 M-x r e p o <tab> r <tab> <return>

Recent messages:
Scoring...done
Generating summary...done
No more unread articles
Expiring articles...done
Auto-saving...
call-interactively: Quit
Loading apropos...done
Type C-x 1 to remove help window.  C-M-v to scroll the help.
Making completion list...
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]