From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Schewe Newsgroups: gmane.emacs.bugs Subject: bug#23293: 24.5; Error with directory local variables Date: Thu, 14 Apr 2016 14:48:50 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460664204 28528 80.91.229.3 (14 Apr 2016 20:03:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2016 20:03:24 +0000 (UTC) To: 23293@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 14 22:03:12 2016 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 1aqnTr-0008N2-Uw for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Apr 2016 22:03:12 +0200 Original-Received: from localhost ([::1]:45813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnTr-000341-8E for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Apr 2016 16:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnTm-00030g-G1 for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 16:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqnTi-0001d0-EO for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 16:03:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnTi-0001cw-BK for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 16:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aqnTi-0005of-0S for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 16:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jon Schewe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Apr 2016 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23293 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.146066415822314 (code B ref -1); Thu, 14 Apr 2016 20:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2016 20:02:38 +0000 Original-Received: from localhost ([127.0.0.1]:35696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqnTJ-0005np-Uk for submit@debbugs.gnu.org; Thu, 14 Apr 2016 16:02:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqnGI-0005TB-1a for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:49:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqnGB-0005Eo-HS for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:49:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnGB-0005Ec-Dc for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:49:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnG9-0007it-Vg for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:49:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqnG4-0005Cb-Rx for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:49:01 -0400 Original-Received: from smtp.bbn.com ([128.33.1.81]:13947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnG4-0005C0-Nq for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:48:56 -0400 Original-Received: from butterfield.bbn.com ([128.33.251.124]:51375) by smtp.bbn.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1aqnG2-00017v-7w for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:48:54 -0400 X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 14 Apr 2016 16:02:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:116478 Archived-At: I downloaded log4cplus from SourceForge. In it's top level directory is the file .dir-locals.el with the following contents: ;;; Directory Local Variables ;;; See Info node `(emacs) Directory Variables' for more information. ((nil . ((fill-column . 79) (indent-tabs-mode) (show-trailing-whitespace . t) (whitespace-style face trailing lines-tail space-before-tab indentation = empty) (whitespace-newline . t))) (c++-mode . ((tab-width . 4) (whitespace-action warn-read-only auto-cleanup))) (cmake-mode . ((whitespace-action warn-read-only auto-cleanup)))) When I try to navigate to that directory with dired I get prompted for y,n or !. Both y and n yeild the same results: hack-local-variables-confirm: Wrong number of arguments: #[nil "=C3=80 ?=C2= =86.=00=C3=81 =C2=83.=00=C3=82p!=C2=87=C3=83 =C2=87" [menu-bar-menu-frame-l= ive-and-visible-p menu-bar-non-minibuffer-window-p kill-buffer abort-recurs= ive-edit] 2 2382972 nil], 1 When I set debug-on-error I get this stack trace: Debugger entered--Lisp error: (wrong-number-of-arguments #[nil "\300 ?\206.= =00\301 \203.=00\302p!\207\303 \207" [menu-bar-menu-frame-live-and-visible-= p menu-bar-non-minibuffer-window-p kill-buffer abort-recursive-edit] 2 2382= 972 nil] 1) quit-window(t) hack-local-variables-confirm(((fill-column . 79) (indent-tabs-mode) (show= -trailing-whitespace . t) (whitespace-style face trailing lines-tail space-= before-tab indentation empty) (whitespace-newline . t)) ((whitespace-style = face trailing lines-tail space-before-tab indentation empty) (whitespace-ne= wline . t)) nil "/Users/jschewe/projects/people_tracker/working-dir/extlib/= source/log4cplus-1.2.0/") hack-local-variables-filter(((whitespace-newline . t) (whitespace-style f= ace trailing lines-tail space-before-tab indentation empty) (show-trailing-= whitespace . t) (indent-tabs-mode) (fill-column . 79)) "/Users/jschewe/proj= ects/people_tracker/working-dir/extlib/source/log4cplus-1.2.0/") hack-dir-local-variables() hack-local-variables() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/projects/people_tracker/= working-dir/extlib/source/log4cplus-1.2.0/.dir-locals.el" nil nil "~/projec= ts/people_tracker/working-dir/extlib/source/log4cplus-1.2.0/.dir-locals.el"= (26456614 16777220)) find-file-noselect("~/projects/people_tracker/working-dir/extlib/source/l= og4cplus-1.2.0/.dir-locals.el" nil nil t) find-file("~/projects/people_tracker/working-dir/extlib/source/log4cplus-= 1.2.0/.dir-locals.el" t) call-interactively(find-file nil nil) command-execute(find-file) In GNU Emacs 24.5.1 (x86_64-apple-darwin15.3.0, NS apple-appkit-1404.34) of 2016-01-31 on teneleven-slave.macports.org Windowing system distributor `Apple', version 10.3.1404 Configured using: `configure --prefix=3D/opt/local --with-ns --without-x --without-dbus CC=3D/usr/bin/clang 'CFLAGS=3D-pipe -Os -arch x86_64' 'LDFLAGS=3D-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' CPPFLAGS=3D-I/opt/local/include' Important settings: locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: iswitchb-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: done loading configuration Loading /Users/jschewe/.xemacs/init.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Package iswitchb is obsolete! ls does not support --dired; see `dired-use-ls-dired' for more details. Please type y, n, or !: y hack-local-variables-confirm: Wrong number of arguments: #[nil "=C3=80 ?=C2= =86.=00=C3=81 =C2=83.=00=C3=82p!=C2=87=C3=83 =C2=87" [menu-bar-menu-frame-l= ive-and-visible-p menu-bar-non-minibuffer-window-p kill-buffer abort-recurs= ive-edit] 2 2382972 nil], 1 Type C-x 1 to delete the help window. Please type y, n, or !: n Directory-local variables error: (wrong-number-of-arguments #[nil "\300 ?\2= 06.=00\301 \203.=00\302p!\207\303 \207" [menu-bar-menu-frame-live-and-visib= le-p menu-bar-non-minibuffer-window-p kill-buffer abort-recursive-edit] 2 2= 382972 nil] 1) Load-path shadows: /Users/jschewe/.xemacs/xemacs-packages/lisp/cmake-mode hides /opt/local/sha= re/emacs/site-lisp/cmake-mode /Users/jschewe/.xemacs/xemacs-packages/lisp/bs hides /Applications/MacPorts= /Emacs.app/Contents/Resources/lisp/bs /Users/jschewe/.xemacs/xemacs-packages/lisp/conf-mode hides /Applications/M= acPorts/Emacs.app/Contents/Resources/lisp/textmodes/conf-mode /Users/jschewe/.xemacs/xemacs-packages/lisp/antlr-mode hides /Applications/= MacPorts/Emacs.app/Contents/Resources/lisp/progmodes/antlr-mode /Users/jschewe/.xemacs/xemacs-packages/lisp/newsticker hides /Applications/= MacPorts/Emacs.app/Contents/Resources/lisp/net/newsticker /Users/jschewe/.xemacs/xemacs-packages/lisp/mspools hides /Applications/Mac= Ports/Emacs.app/Contents/Resources/lisp/mail/mspools /Users/jschewe/.xemacs/xemacs-packages/lisp/re-builder hides /Applications/= MacPorts/Emacs.app/Contents/Resources/lisp/emacs-lisp/re-builder /Users/jschewe/.xemacs/xemacs-packages/lisp/longlines hides /Applications/M= acPorts/Emacs.app/Contents/Resources/lisp/obsolete/longlines Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec 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 pp help-mode dired iswitchb bs advice help-fns cperl-mode easymenu comint ansi-color ring paren time cus-start cus-load time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 100342 5909) (symbols 48 20371 0) (miscs 40 61 223) (strings 32 16690 4793) (string-bytes 1 459948) (vectors 16 10830) (vector-slots 8 390618 3499) (floats 8 57 258) (intervals 56 309 19) (buffers 960 16))