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

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

bug#11127: 24.0.94; [PATCH] Tutorial breaks with modified key bindings


From: Glenn Morris
Subject: bug#11127: 24.0.94; [PATCH] Tutorial breaks with modified key bindings
Date: Fri, 30 Mar 2012 13:23:46 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

"Aaron S. Hawley" wrote:

>     emacs -Q
>     (dir-locals-set-class-variables
>      'unwritable-directory
>      '((nil . ((buffer-read-only . t)))))
>     (dir-locals-set-directory-class default-directory 'unwritable-directory)

By the way, I know this example is partially taken fron the manual, but
I think I am going to say "don't do that", since it also affects some
non-file buffers, eg log-edit ones. Although you probably won't be
trying to commit a file from an unwritable directory anyway.
The more obvious sources of problems, eg dired and vc-dir, happen to
already make their buffers read-only.





reply via email to

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