all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [trentbuck@gmail.com: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)]
Date: Tue, 16 Oct 2007 00:11:17 -0400	[thread overview]
Message-ID: <E1Ihdm1-00035R-5v@fencepost.gnu.org> (raw)

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 -------

             reply	other threads:[~2007-10-16  4:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16  4:11 Richard Stallman [this message]
2007-10-23  7:13 ` [trentbuck@gmail.com: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)] Glenn Morris
2007-10-23 17:53   ` Richard Stallman
2007-10-25  4:10     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Ihdm1-00035R-5v@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.