From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Albert Newsgroups: gmane.emacs.bugs Subject: bug#11418: 24.0.96; empty .dir-locals.el gives "Error: (end-of-file)" during opening arbitrary files Date: Sun, 6 May 2012 10:27:38 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1336292898 11458 80.91.229.3 (6 May 2012 08:28:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 May 2012 08:28:18 +0000 (UTC) To: 11418@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 06 10:28:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SQwpE-0006X1-SA for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 10:28:17 +0200 Original-Received: from localhost ([::1]:54075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwpE-0006qo-8N for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 04:28:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwp9-0006qY-Gx for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:28:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQwp7-0006G3-9n for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:28:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwp7-0006Fy-3A for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:28:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQwqw-00084K-M8 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Albert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 May 2012 08:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133629299030971 (code B ref -1); Sun, 06 May 2012 08:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2012 08:29:50 +0000 Original-Received: from localhost ([127.0.0.1]:37774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQwqk-00083T-1d for submit@debbugs.gnu.org; Sun, 06 May 2012 04:29:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59176) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQwqh-00083H-Q5 for submit@debbugs.gnu.org; Sun, 06 May 2012 04:29:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQwok-0006Cy-Do for submit@debbugs.gnu.org; Sun, 06 May 2012 04:27:48 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwok-0006Cp-81 for submit@debbugs.gnu.org; Sun, 06 May 2012 04:27:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwoh-0006qO-VF for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:27:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQwof-0006Bt-H6 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:27:43 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:49067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQwof-0006BY-54 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 04:27:41 -0400 Original-Received: by wibhj13 with SMTP id hj13so2061091wib.12 for ; Sun, 06 May 2012 01:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hxPSyrXvouDRkE0UDkJ0cPCuyj5x2tbAGTJfvsat9oo=; b=F3SYJ3JBLUpnCROHI9BYGL5EVsy5W3o1Hg+hAzYIex6f5iCvqH5+uU3Tf6+Ga0fP3V Am0AbM0gJ7OK2kjN9TwtIELsGt50igNfcA2n7TM8doM+hl5cSTxAdgQstFgaMG1FIip5 z6ziFje0cmKN812WEVJmanNoeJWSS3MQc8GdK/N0DPxrlKvCx8JgplIsCtSLyMOxINq1 POjZHjleQeZzOeFO3ce7uQ8m0LprYXZcfxaJUjVd8XMqAIXASzVh4eAIYFcKZuJPfCdE 6noA4NDY2LWOypRXOeU6vK1RjM5dF1duNSua8l6+bMOxTTdT2Steo8dI20/328D2ieW9 8SPQ== Original-Received: by 10.216.135.234 with SMTP id u84mr5820497wei.108.1336292858486; Sun, 06 May 2012 01:27:38 -0700 (PDT) Original-Received: by 10.216.237.228 with HTTP; Sun, 6 May 2012 01:27:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59806 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 0. go to a directory of choice without an .dir-locals.el 1. make an empty file .dir-locals.el 2. open an arbitrary file, e.g. test.txt 3. In minibuffer shows: Error: (end-of-file) It also shows up during export of org-files etc. So it took some time to find the reason, because I was looking in the wrong direction. I did not have an empty .dir-locals.el, but I had commented out everything in it. I consider this an inconvenient error message. If possible: either give no error when there is no content, or be more specific where no content was found. Thanks, Albert. 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'. For information about debugging Emacs, please read the file d:/albert/gnu/emacs/emacs-24.0.96/etc/DEBUG. In GNU Emacs 24.0.96.1 (i386-mingw-nt5.1.2600) of 2012-04-29 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' 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: ENG value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Org Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x k C-x C-f . d i r - l o c a l s . o r g e l C-x k g g g C-x C-f . C-x s C-x s y C-x k g C-x k C-x C-s C-x k Recent messages: call-interactively: Beginning of buffer byte-code: Beginning of buffer byte-code: End of buffer byte-code: Beginning of buffer call-interactively: End of buffer delete-forward-char: End of buffer [4 times] Saving file d:/albert-closed/ivlos/webfolio/org/.dir-locals.el... Wrote d:/albert-closed/ivlos/webfolio/org/.dir-locals.el OVERVIEW Error: (end-of-file) Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-compat org-entities org-macs noutline outline easy-mmode format-spec cal-menu easymenu calendar cal-loaddefs dired-aux vc-hg dired regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)