From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: trentbuck@gmail.com Newsgroups: gmane.emacs.bugs Subject: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp) Date: Thu, 04 Oct 2007 15:25:18 +1000 Message-ID: <87sl4rih8h.fsf@baal.twb.ath.cx> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1191475575 24679 80.91.229.12 (4 Oct 2007 05:26:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 05:26:15 +0000 (UTC) Cc: trentbuck@gmail.com To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 04 07:26:12 2007 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 1IdJDt-0002Ql-7F for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Oct 2007 07:26:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdJDo-0004HI-4n for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Oct 2007 01:26:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdJDk-0004F4-9W for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2007 01:26:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdJDj-0004ET-Bz for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2007 01:25:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdJDi-0004EM-Vs for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2007 01:25:59 -0400 Original-Received: from ipmail03.adl2.internode.on.net ([203.16.214.135]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IdJDi-0006FG-Ds for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2007 01:25:58 -0400 X-IronPort-AV: E=Sophos;i="4.21,227,1188743400"; d="scan'208";a="160545352" Original-Received: from ppp59-167-133-66.lns3.mel6.internode.on.net (HELO ares.twb.ath.cx) ([59.167.133.66]) by ipmail03.adl2.internode.on.net with ESMTP; 04 Oct 2007 14:55:20 +0930 Original-Received: from baal.twb.ath.cx (Baal.twb.ath.cx [192.168.23.193]) by ares.twb.ath.cx (Postfix) with ESMTP id BD7F434223; Thu, 4 Oct 2007 15:25:18 +1000 (EST) X-Detected-Kernel: Genre and OS details not recognized. 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:16697 Archived-At: It would be nice if conf mode marked -keywords variables as safe to set locally, so that e.g. one could add to ~/.nanorc # -*- mode: conf-space; conf-space-keywords: "set\\|unset" -*- I believe the relevant change is simply to add (put 'conf-space-keywords 'safe-local-variable 'stringp) In GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-08-22 on excelsior, modified by Debian configured using `configure '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: en_AU.utf8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Conf[Space] Minor modes in effect: xterm-mouse-mode: t savehist-mode: t shell-dirtrack-mode: t icomplete-mode: t partial-completion-mode: t show-paren-mode: t delete-selection-mode: t encoded-kbd-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: k e y w o r d s : SPC " \ \ ( u n \ \ ) s e t C-b C-b C-b ? ESC [ C C-f C-f C-f " C-x C-s ESC b DEL DEL DEL DEL DEL DEL DEL DEL DEL ESC f \ \ | u n s e t C-x C-s C-x C-k C-x C-f C-f . n a n TAB RET C-a ESC f ESC f ESC b ESC b m o d e : SPC C-x C-s C-x C-k C-x C-f C-f ESC p RET y C-x o C-x o C-x o C-x o ESC [ B ESC [ B C-n C-n s e t SPC a l g e b r a C-x C-s ESC [ 1 ~ C-k C-x C-s s e t SPC b a c k u p C-x C-s C-j u n s e t SPC c a s e s e n s i t i v e C-x C-s RET s e t SPC f i l l SPC 7 0 C-x C-s ESC [ A C-n RET C-x C-s ESC 1 ESC ! ESC ! ESC 1 ESC ! m a n SPC n a n o r c RET C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-@ 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-w ESC SPC DEL C-x C-s C-x o C-x C-f C-g C-x o C-x o C-x o C-g ESC x r e p o r t SPC b u DEL DEL e m SPC RET b RET Recent messages: File local-variables error: (error "Malformed -*- line") Wrote /home/twb/Preferences/.nanorc Please type y, n, or !: Wrote /home/twb/Preferences/.nanorc [6 times] let: Command attempted to use minibuffer while in minibuffer Quit Mark set Wrote /home/twb/Preferences/.nanorc Quit [2 times] Loading emacsbug...done