From: Glenn Morris <rgm@gnu.org>
To: "Aaron S. Hawley" <aaron.s.hawley@gmail.com>
Cc: 11127@debbugs.gnu.org
Subject: bug#11127: 24.0.94; [PATCH] Tutorial breaks with modified key bindings
Date: Fri, 30 Mar 2012 13:23:46 -0400 [thread overview]
Message-ID: <fpobre0zq5.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAFw1JJ4cS1R6SM-TrJuXxuwCZiDBZKp56jVLF3YMD_=Q0bTfWw@mail.gmail.com> (Aaron S. Hawley's message of "Thu, 29 Mar 2012 17:31:31 -0400")
"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.
prev parent reply other threads:[~2012-03-30 17:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 18:49 bug#11127: 24.0.94; [PATCH] Tutorial breaks with modified key bindings Aaron S. Hawley
2012-03-29 20:17 ` Glenn Morris
2012-03-29 21:31 ` Aaron S. Hawley
2012-03-30 3:58 ` Glenn Morris
2012-03-30 12:32 ` Stefan Monnier
2012-03-30 16:20 ` Glenn Morris
2012-03-30 18:12 ` Aaron S. Hawley
2012-03-31 18:35 ` Glenn Morris
2012-04-02 13:28 ` Aaron S. Hawley
2012-04-09 20:50 ` Glenn Morris
2013-02-11 1:52 ` Glenn Morris
2012-03-30 17:23 ` Glenn Morris [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fpobre0zq5.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=11127@debbugs.gnu.org \
--cc=aaron.s.hawley@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).