From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [trentbuck@gmail.com: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)] Date: Tue, 16 Oct 2007 00:11:17 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1192508181 11896 80.91.229.12 (16 Oct 2007 04:16:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 04:16:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 16 06:16:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ihdqe-0002m9-6l for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 06:16:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhdqW-0006CY-Ps for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 00:15:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ihdm5-00040m-Bp for emacs-devel@gnu.org; Tue, 16 Oct 2007 00:11:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ihdm3-0003zq-Rz for emacs-devel@gnu.org; Tue, 16 Oct 2007 00:11:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ihdm3-0003z9-KL for emacs-devel@gnu.org; Tue, 16 Oct 2007 00:11:19 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ihdm2-00064M-Id for emacs-devel@gnu.org; Tue, 16 Oct 2007 00:11:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Ihdm1-00035R-5v; Tue, 16 Oct 2007 00:11:17 -0400 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80987 Archived-At: Could someone please DTRT for this, then ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.6 required=5.0 tests=NO_REAL_NAME, UNPARSEABLE_RELAY autolearn=no version=3.1.0 Date: Thu, 04 Oct 2007 15:25:18 +1000 To: bug-gnu-emacs@gnu.org From: trentbuck@gmail.com Cc: trentbuck@gmail.com Subject: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp) 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 ------- End of forwarded message -------