emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: RFE: (put 'conf-space-keywords 'safe-local-variable 'str


From: Richard Stallman
Subject: address@hidden: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)]
Date: Tue, 16 Oct 2007 00:11:17 -0400

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: address@hidden
From: address@hidden
Cc: address@hidden
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 -------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]