From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Frank_K=FCster?= Newsgroups: gmane.emacs.bugs Subject: File opening error with "umlauts" in filename Date: Thu, 01 Apr 2004 12:58:40 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1080817402 21659 80.91.224.253 (1 Apr 2004 11:03:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2004 11:03:22 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 01 13:03:12 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B8zya-0004y5-00 for ; Thu, 01 Apr 2004 13:03:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8zyH-0005ct-AD for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Apr 2004 06:02:53 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B8zxs-0005Lf-Dw for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2004 06:02:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B8zuN-0003MO-H4 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2004 05:59:22 -0500 Original-Received: from [131.152.1.51] (helo=balu1.urz.unibas.ch) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8zuM-0003Lx-Pw for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2004 05:58:50 -0500 Original-Received: from alhambra.bioz.unibas.ch (bioz6-allgem17.bioz.unibas.ch [131.152.17.45]) by balu1.urz.unibas.ch (8.12.10/8.12.10) with ESMTP id i31AwffK017046 for ; Thu, 1 Apr 2004 12:58:41 +0200 Original-Received: from frank by alhambra.bioz.unibas.ch with local (Exim 3.35 #1 (Debian)) id 1B8zuC-0000Cv-00 for ; Thu, 01 Apr 2004 12:58:40 +0200 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7441 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7441 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 bug-gnu-emacs@gnu.org 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: de_DE@euro 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:anoncvs@savannah.gnu.org:/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(# "~/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 # :from # :to #) (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 # :from # :to #) 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 # :from # :to #) :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 # :from # :to #) 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 # :from # :to #) 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 # :from # :to #) :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 # :from # :to #) 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 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 . 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 q C-p C-p C-p C-p C-p C-p C-p C-u C-n C-n C-n C-n C-n C-n u q M-x e m c a c b C-h a b u g C-x o C-v q C-x o C-x 1 M-x r e p o r 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