From: Leo <sdl.web@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#2833: 23.0.92; Bug in Directory Variables
Date: Tue, 31 Mar 2009 15:32:02 +0100 [thread overview]
Message-ID: <83bprhg3vh.fsf@cam.ac.uk> (raw)
I think there's a bug in direcotry variables code, that is, changing the
directory variables would require a restart of Emacs for them to take
effect.
A recipe to reproduce:
1. Create a dir and write the following to file .dir-locals in the dir
created:
((latex-mode . ((fill-column . 78)
(coding . "latin-1"))))
2. Open or create a .tex file in that dir
3. C-h v fill-column RET to check the value
4. Change 78 to another value say 75
5. Re-open the .tex file and you will see fill-column has a value 78
NOT 75
In my view, this makes the `Directory Variables' feature much less
useful. Any fix?
In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600) of 2009-03-31 on BREPNB
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
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: ENG
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: LaTeX/P
Minor modes in effect:
reftex-mode: t
TeX-PDF-mode: t
dired-omit-mode: t
recentf-mode: t
icomplete-mode: t
savehist-mode: t
display-time-mode: t
xterm-mouse-mode: t
delete-selection-mode: t
global-auto-revert-mode: t
minibuffer-depth-indicate-mode: t
which-function-mode: t
show-paren-mode: t
rcirc-track-minor-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<left> <left> <left> C-x C-f . d i <return> <backspace>
8 C-x C-s C-h i m e m a <tab> <return> m f i l e SPC
v a r <tab> <tab> <return> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
<return> SPC SPC SPC l <down> <return> SPC l ^ <down>
<return> <down> <down> <down> <down> <down> <down>
q <right> <backspace> 8 C-x C-s C-x k <return> <down>
<down> <down> <down> <down> <down> <down> M-x r e p
o r <tab> <return>
Recent messages:
Applying style hooks... done
Type "q" to delete this window.
Applying style hooks... done
Type "q" to delete this window.
Composing main Info directory...done
Reverting buffer `.dir-locals.el'.
next reply other threads:[~2009-03-31 14:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 14:32 Leo [this message]
2009-04-01 1:14 ` bug#2833: 23.0.92; Bug in Directory Variables Stefan Monnier
2009-04-01 10:01 ` Leo
-- strict thread matches above, loose matches on Subject: below --
2009-04-02 18:50 Chong Yidong
2009-04-09 2:59 Chong Yidong
2009-04-09 11:31 ` Leo
2009-04-09 2:59 Chong Yidong
2009-04-09 11:03 ` bug#2833: " David De La Harpe Golden
2009-04-09 14:27 ` Stefan Monnier
2009-04-09 15:20 ` Chong Yidong
2009-04-11 15:31 Chong Yidong
2009-04-12 13:22 ` Leo
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=83bprhg3vh.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=2833@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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.