From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bostjan Vilfan Newsgroups: gmane.emacs.bugs Subject: bug#1456: Cannot Put Non-ASCII Characters in Init Files Date: Sat, 29 Nov 2008 12:51:58 -0500 (EST) Message-ID: <797499.6984.1227981118313.JavaMail.help@alum.mit.edu> Reply-To: Bostjan Vilfan , 1456@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6983_7231210.1227981118312" X-Trace: ger.gmane.org 1227982234 31373 80.91.229.12 (29 Nov 2008 18:10:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 18:10:34 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 19:11:38 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6UI4-0001gt-O0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 19:11:37 +0100 Original-Received: from localhost ([127.0.0.1]:41106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6UGu-0007BQ-Gg for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 13:10:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6UGp-0007BB-Vb for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 13:10:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6UGo-0007Az-2h for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 13:10:19 -0500 Original-Received: from [199.232.76.173] (port=33035 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6UGn-0007Aw-VR for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 13:10:18 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37695) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6UGn-0004km-8n for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 13:10:17 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATIACnc017046; Sat, 29 Nov 2008 10:10:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mATI03lW013168; Sat, 29 Nov 2008 10:00:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Bostjan Vilfan Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 29 Nov 2008 18:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1456 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122798112811777 (code B ref -1); Sat, 29 Nov 2008 18:00:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 29 Nov 2008 17:52:08 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATHq44d011771 for ; Sat, 29 Nov 2008 09:52:05 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6Tz9-0000gi-4G for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 12:52:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6Tz5-0000eB-DM for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 12:52:01 -0500 Original-Received: from [199.232.76.173] (port=59012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6Tz5-0000e2-4M for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 12:51:59 -0500 Original-Received: from brunch.mit.edu ([18.92.0.171]:40334) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6Tz4-0001o7-Q5 for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 12:51:58 -0500 Original-Received: from brunch.mit.edu (localhost [127.0.0.1]) by brunch.mit.edu (8.13.8+Sun/8.12.10) with ESMTP id mATHpwwJ001497 for ; Sat, 29 Nov 2008 12:51:58 -0500 (EST) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 29 Nov 2008 13:10:19 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22766 Archived-At: ------=_Part_6983_7231210.1227981118312 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit --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: -*- 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(# 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: M-x o r f i l e "*GNU Emacs*" 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 ------=_Part_6983_7231210.1227981118312--