bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5636: safe-local-variable-values is not helpful


From: Sean
Subject: bug#5636: safe-local-variable-values is not helpful
Date: Wed, 24 Feb 2010 00:19:02 -0800 (PST)

Put the following in /tmp/foo (without the prefix spaces):

    ** Local variables:
    ** mode: org
    ** eval: (longlines-mode 1)
    ** End:

Save it, kill it, open it, and you will get a warning about local
variables that may not be safe.  Type '!' to permanently mark
them as safe.  Save it, kill it, and open it again, and you will
get the same warning.  How can I make Emacs stop pestering me about
this?

In GNU Emacs 23.1.92.1 (i386-apple-darwin10.2.0, NS apple-appkit-1038.25)
 of 2010-02-19 on enh.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: w3m

Minor modes in effect:
  savehist-mode: t
  url-handler-mode: t
  auto-image-file-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  ido-everywhere: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x m a 0 f r <return> <backspace> <backspace> <backspace> 
- f r <return> M-x m y - d a r <return> C-x C-f d o 
c / s p <tab> a <backspace> g e <tab> 5 <tab> <return> 
C-c ! C-c v C-x C-f <S-up> ~ / C-a C-k ~ / . e - <tab> 
c <tab> <return> C-s l o n g l i n e s C-a <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> C-h v <return> M-x C-g M-` M-x w 3 
m - g o - u <return> C-y <return> C-h C-g M-x r e p 
- e m - b <return>

Recent messages:
Source file `...src/elisp/pkgs/emacs-w3m/w3m-proc.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-ems.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-image.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-hist.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-search.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-session.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-tabmenu.el' 
...newer than byte-compiled 
file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-bookmark.el' 
...newer than byte-compiled 
file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-cookie.el' 
...newer than byte-compiled file
Source file `...src/elisp/pkgs/emacs-w3m/w3m-form.el' 
...newer than byte-compiled file

Load-path shadows:
...src/elisp/pkgs/pcl-cvs/auto-autoloads 
hides 
...src/elisp/pkgs/esheet/auto-autoloads
...src/elisp/pkgs/irbsh/irbsh 
hides ...src/elisp/pkgs/../irbsh
...src/elisp/pkgs/./loaddefs 
hides 
EMACS/Contents/Resources/lisp/loaddefs
...src/elisp/pkgs/pcl-cvs/cvs-status 
hides 
EMACS/Contents/Resources/lisp/cvs-status
EMACS/Contents/Resources/lisp/progmodes/ruby-mode 
hides 
~/src/elisp/misc/ruby-mode
EMACS/Contents/Resources/lisp/cedet/pulse 
hides 
~/src/elisp/misc/pulse
EMACS/Contents/Resources/lisp/org/org 
hides 
~/src/elisp/misc/org
EMACS/Contents/Resources/lisp/org/org-xoxo 
hides 
~/src/elisp/misc/org-xoxo
EMACS/Contents/Resources/lisp/org/org-wl 
hides 
~/src/elisp/misc/org-wl
EMACS/Contents/Resources/lisp/org/org-w3m 
hides 
~/src/elisp/misc/org-w3m
EMACS/Contents/Resources/lisp/org/org-vm 
hides 
~/src/elisp/misc/org-vm
EMACS/Contents/Resources/lisp/org/org-timer 
hides 
~/src/elisp/misc/org-timer
EMACS/Contents/Resources/lisp/org/org-table 
hides 
~/src/elisp/misc/org-table
EMACS/Contents/Resources/lisp/org/org-src 
hides 
~/src/elisp/misc/org-src
EMACS/Contents/Resources/lisp/org/org-rmail 
hides 
~/src/elisp/misc/org-rmail
EMACS/Contents/Resources/lisp/org/org-remember 
hides 
~/src/elisp/misc/org-remember
EMACS/Contents/Resources/lisp/org/org-publish 
hides 
~/src/elisp/misc/org-publish
EMACS/Contents/Resources/lisp/org/org-protocol 
hides 
~/src/elisp/misc/org-protocol
EMACS/Contents/Resources/lisp/org/org-plot 
hides 
~/src/elisp/misc/org-plot
EMACS/Contents/Resources/lisp/org/org-mouse 
hides 
~/src/elisp/misc/org-mouse
EMACS/Contents/Resources/lisp/org/org-mhe 
hides 
~/src/elisp/misc/org-mhe
EMACS/Contents/Resources/lisp/org/org-mew 
hides 
~/src/elisp/misc/org-mew
EMACS/Contents/Resources/lisp/org/org-macs 
hides 
~/src/elisp/misc/org-macs
EMACS/Contents/Resources/lisp/org/org-mac-message 
hides 
~/src/elisp/misc/org-mac-message
EMACS/Contents/Resources/lisp/org/org-list 
hides 
~/src/elisp/misc/org-list
EMACS/Contents/Resources/lisp/org/org-latex 
hides 
~/src/elisp/misc/org-latex
EMACS/Contents/Resources/lisp/org/org-jsinfo 
hides 
~/src/elisp/misc/org-jsinfo
EMACS/Contents/Resources/lisp/org/org-irc 
hides 
~/src/elisp/misc/org-irc
EMACS/Contents/Resources/lisp/org/org-install 
hides 
~/src/elisp/misc/org-install
EMACS/Contents/Resources/lisp/org/org-inlinetask 
hides 
~/src/elisp/misc/org-inlinetask
EMACS/Contents/Resources/lisp/org/org-info 
hides 
~/src/elisp/misc/org-info
EMACS/Contents/Resources/lisp/org/org-id 
hides 
~/src/elisp/misc/org-id
EMACS/Contents/Resources/lisp/org/org-icalendar 
hides 
~/src/elisp/misc/org-icalendar
EMACS/Contents/Resources/lisp/org/org-html 
hides 
~/src/elisp/misc/org-html
EMACS/Contents/Resources/lisp/org/org-gnus 
hides 
~/src/elisp/misc/org-gnus
EMACS/Contents/Resources/lisp/org/org-footnote 
hides 
~/src/elisp/misc/org-footnote
EMACS/Contents/Resources/lisp/org/org-feed 
hides 
~/src/elisp/misc/org-feed
EMACS/Contents/Resources/lisp/org/org-faces 
hides 
~/src/elisp/misc/org-faces
EMACS/Contents/Resources/lisp/org/org-exp 
hides 
~/src/elisp/misc/org-exp
EMACS/Contents/Resources/lisp/org/org-exp-blocks 
hides 
~/src/elisp/misc/org-exp-blocks
EMACS/Contents/Resources/lisp/org/org-docbook 
hides 
~/src/elisp/misc/org-docbook
EMACS/Contents/Resources/lisp/org/org-compat 
hides 
~/src/elisp/misc/org-compat
EMACS/Contents/Resources/lisp/org/org-colview 
hides 
~/src/elisp/misc/org-colview
EMACS/Contents/Resources/lisp/org/org-clock 
hides 
~/src/elisp/misc/org-clock
EMACS/Contents/Resources/lisp/org/org-bibtex 
hides 
~/src/elisp/misc/org-bibtex
EMACS/Contents/Resources/lisp/org/org-bbdb 
hides 
~/src/elisp/misc/org-bbdb
EMACS/Contents/Resources/lisp/org/org-attach 
hides 
~/src/elisp/misc/org-attach
EMACS/Contents/Resources/lisp/org/org-ascii 
hides 
~/src/elisp/misc/org-ascii
EMACS/Contents/Resources/lisp/org/org-archive 
hides 
~/src/elisp/misc/org-archive
EMACS/Contents/Resources/lisp/org/org-agenda 
hides 
~/src/elisp/misc/org-agenda
...src/elisp/pkgs/mdee/javascript-mode 
hides ~/src/elisp/misc/javascript-mode
...src/elisp/pkgs/slime/hyperspec 
hides ~/src/elisp/misc/hyperspec
...src/elisp/pkgs/ebib/ebib 
hides ~/src/elisp/misc/ebib
EMACS/Contents/Resources/lisp/textmodes/css-mode 
hides 
~/src/elisp/misc/css-mode
EMACS/Contents/Resources/lisp/progmodes/cperl-mode 
hides 
~/src/elisp/misc/cperl-mode
EMACS/Contents/Resources/lisp/progmodes/cfengine 
hides 
~/src/elisp/misc/cfengine
...src/elisp/pkgs/tuareg-mode/camldebug 
hides ~/src/elisp/misc/camldebug
EMACS/Contents/Resources/lisp/url/url 
hides 
...src/elisp/auctex/style/url
EMACS/Contents/Resources/lisp/obsolete/swedish 
hides 
...src/elisp/auctex/style/swedish
EMACS/Contents/Resources/lisp/language/slovak 
hides 
...src/elisp/auctex/style/slovak
EMACS/Contents/Resources/lisp/language/czech 
hides 
...src/elisp/auctex/style/czech
EMACS/Contents/Resources/lisp/wdired 
hides 
~/src/elisp/misc/from-the-emacs-wiki/wdired
~/src/elisp/misc/vc-darcs 
hides ~/src/elisp/misc/from-the-emacs-wiki/vc-darcs
EMACS/Contents/Resources/lisp/thumbs 
hides 
~/src/elisp/misc/from-the-emacs-wiki/thumbs
EMACS/Contents/Resources/lisp/startup 
hides 
~/src/elisp/misc/from-the-emacs-wiki/startup
EMACS/Contents/Resources/lisp/progmodes/sql 
hides 
~/src/elisp/misc/from-the-emacs-wiki/sql
EMACS/Contents/Resources/lisp/gnus/spam-stat 
hides 
~/src/elisp/misc/from-the-emacs-wiki/spam-stat
EMACS/Contents/Resources/lisp/gnus/nnir 
hides 
~/src/elisp/misc/from-the-emacs-wiki/nnir
~/src/elisp/misc/moccur-edit 
hides ~/src/elisp/misc/from-the-emacs-wiki/moccur-edit
EMACS/Contents/Resources/lisp/master 
hides 
~/src/elisp/misc/from-the-emacs-wiki/master
EMACS/Contents/Resources/lisp/longlines 
hides 
~/src/elisp/misc/from-the-emacs-wiki/longlines
~/src/elisp/misc/line-num 
hides ~/src/elisp/misc/from-the-emacs-wiki/line-num
~/src/elisp/misc/igrep 
hides ~/src/elisp/misc/from-the-emacs-wiki/igrep
EMACS/Contents/Resources/lisp/diff 
hides 
~/src/elisp/misc/from-the-emacs-wiki/diff
EMACS/Contents/Resources/lisp/delsel 
hides 
~/src/elisp/misc/from-the-emacs-wiki/delsel
EMACS/Contents/Resources/lisp/textmodes/css-mode 
hides 
~/src/elisp/misc/from-the-emacs-wiki/css-mode
...src/elisp/pkgs/auctex/context 
hides ~/src/elisp/misc/from-the-emacs-wiki/context
~/src/elisp/misc/color-occur 
hides ~/src/elisp/misc/from-the-emacs-wiki/color-occur
~/src/elisp/misc/color-moccur 
hides ~/src/elisp/misc/from-the-emacs-wiki/color-moccur
~/src/elisp/misc/befunge-mode 
hides ~/src/elisp/misc/from-the-emacs-wiki/befunge-mode
~/src/elisp/misc/basic-mode 
hides ~/src/elisp/misc/from-the-emacs-wiki/basic-mode
EMACS/Contents/Resources/lisp/calendar/appt 
hides 
~/src/elisp/misc/from-the-emacs-wiki/appt
EMACS/Contents/Resources/lisp/ansi-color 
hides 
~/src/elisp/misc/from-the-emacs-wiki/ansi-color
EMACS/Contents/Resources/lisp/align 
hides 
~/src/elisp/misc/from-the-emacs-wiki/align

Features:
(shadow sort gnus-cite bbdb-com bbdb sendmail footnote mail-extr
gnus-msg gnus-art mm-uu mml2015 pgg pgg-parse pgg-def epg-config
mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source format-spec gnus-start gnus-spec gnus-int gnus-range
gnus-win message ecomplete rfc822 mml mml-sec password-cache
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047
rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock
sha1 hex-util hashcash gnus gnus-ems nnheader gnus-util netrc
mail-utils emacsbug w3m-form w3m-symbol mule-util w3m-cookie
w3m-bookmark w3m-tabmenu w3m-session w3m-type-ahead w3m-search
w3m browse-url doc-view jka-compr image-mode timezone w3m-hist
w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc
w3m-util pp help-mode multi-isearch view longlines org-wl org-w3m
org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs
org-html org-exp org-exp-blocks org-agenda org-info org-gnus
org-bibtex org-bbdb org org-footnote org-src org-list org-faces
org-compat org-macs time-date noutline outline easy-mmode server
gnuserv warnings disp-table cus-edit cus-start cus-load wid-edit
winner savehist url-handlers url-parse url-vars mm-util
mail-prsvr image-file complete eldoc time paren loadhist byte-opt
bytecomp byte-compile emacs-uptime filladapt tex-site auto-loads
slime-autoloads filesets my-eshell cc-styles cc-align cc-engine
cc-vars cc-defs ffap derived edmacro kmacro ido uniquify advice
help-fns advice-preload etags ring diminish dired-x dired-aux
dired regexp-opt generic-x package reporter cl cl-19 tooltip
ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu
tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote
make-network-process ns multi-tty emacs)


      







reply via email to

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