From: Bostjan Vilfan <bostjanv@alum.mit.edu>
To: bug-gnu-emacs@gnu.org
Subject: bug#1456: Cannot Put Non-ASCII Characters in Init Files
Date: Sat, 29 Nov 2008 12:51:58 -0500 (EST) [thread overview]
Message-ID: <797499.6984.1227981118313.JavaMail.help@alum.mit.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 3848 bytes --]
--text follows this line--
Please write in English if possible, because the Emacs maintainers
usually 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.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
This is most probably not a bug; but needs some input from an expert.
In Section 57.6.5 of the Emacs manual (Non-ASCII Characters in Init Files) it is stated
that to use non-ASCII characters the init file must start with a line of the form:
-*-coding: <coding system name> -*-
I tried that with coding system equal to utf-8 and got the following error:
Debugger entered--Lisp error: (void-variable \337-*-coding:)
eval-buffer(#<buffer *load*> nil "c:/Documents and Settings/Bostjan/My Documents/.emacs.d/init.el" nil t) ; Reading at buffer position 12
load-with-code-conversion("c:/Documents and Settings/Bostjan/My Documents/.emacs.d/init.el" "c:/Documents and Settings/Bostjan/My Documents/.emacs.d/init.el" t t)
load("c:/Documents and Settings/Bostjan/My Documents/.emacs.d/init" t t)
#[nil ^H\205\276^@ \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033 etc.
When I replaced the first line as described above with the following three
lines at the end
;; Local Variables: **
;; coding:utf-8 **
;; End: **
I got a different error:
Debugger entered--Lisp error: (error "Invalid modifier in a string") etc.
any advice would be appreciated
Regards
Bostjan
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Program Files/GNU/Emacs/emacs-22.3/etc/DEBUG for instructions.
In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
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: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: cp1250
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
encoded-kbd-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
<help-echo> <switch-frame> <switch-frame> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<switch-frame> <tool-bar> <kill-buffer> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<tool-bar> <one-window> <help-echo> <help-echo> M-x
o r f i l e <return> <kp-down> <kp-down> <kp-down>
<tab> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <mouse-2> <help-echo> <tool-bar> <kill-buffer>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<buffer> "*GNU Emacs*" <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<tool-bar> <help>
Recent messages:
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
For information about GNU Emacs and the GNU system, type C-h C-a.
CHILDREN
Loading emacsbug...done
next reply other threads:[~2008-11-29 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-29 17:51 Bostjan Vilfan [this message]
2008-12-10 2:57 ` bug#1456: Cannot Put Non-ASCII Characters in Init Files Glenn Morris
-- strict thread matches above, loose matches on Subject: below --
2008-12-10 14:06 Chong Yidong
2008-12-10 17:19 ` Bostjan Vilfan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=797499.6984.1227981118313.JavaMail.help@alum.mit.edu \
--to=bostjanv@alum.mit.edu \
--cc=1456@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.