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: Thu, 29 Mar 2012 23:58:11 -0400 [thread overview]
Message-ID: <mpd37uviy4.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:
> (dir-locals-set-class-variables
> 'unwritable-directory
> '((nil . ((buffer-read-only . t)))))
> (dir-locals-set-directory-class default-directory 'unwritable-directory)
> C-h t
>
> I believe I've found a corner-case.
A very small corner I should imagine. ;)
I'll make it set buffer-read-only (back) to nil after hacking locals.
Though maybe there are other directory locals that could cause
non-standard behaviour. It's a shame there appears to be no setting for
enable-local-variables that means "respect (safe) file-locals, but
ignore directory locals".
> Although, is (hack-local-variables) really that necessary in tutorial.el?
Some of the languages set sentence-end-double-space to nil.
That appears to be it. Personally, I think this takes "translation" a
bit too far, but without the local setting the sentence motion commands
don't work correctly. (Though I don't recall ever seeing this reported
as a bug, and prior to 24 local variables were not respected in the
tutorial.)
I also think any Local Variables section should be removed from the
displayed tutorial buffer.
next prev parent reply other threads:[~2012-03-30 3:58 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 [this message]
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
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=mpd37uviy4.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).