unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Aaron S. Hawley" <aaron.s.hawley@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 11127@debbugs.gnu.org
Subject: bug#11127: 24.0.94; [PATCH] Tutorial breaks with modified key bindings
Date: Thu, 29 Mar 2012 17:31:31 -0400	[thread overview]
Message-ID: <CAFw1JJ4cS1R6SM-TrJuXxuwCZiDBZKp56jVLF3YMD_=Q0bTfWw@mail.gmail.com> (raw)
In-Reply-To: <gshax7duvv.fsf@fencepost.gnu.org>

Glenn Morris wrote:
> I cannot reproduce this with the current trunk. I did:
>
> emacs -Q
> (global-set-key [?\C-f] 'ignore)
> C-h t
>
> The tutorial opens just fine:
>
>     Emacs tutorial.  See end for copying conditions.
>
>     NOTICE: The main purpose of the Emacs tutorial is to teach you
>     the most important standard Emacs commands (key bindings).
>     However, your Emacs has been customized by changing some of
>     these basic editing commands, so it doesn't correspond to the
>     tutorial.  We have inserted colored notices where the altered
>     commands have been introduced. [More]
>
> Why is your tutorial read-only?

Glenn,

Sorry, should have tried -Q.  Turns out the tutorial was read-only
because I had dir-locals that set a directory to read-only and I
happened to run `C-h t' from that directory.

Try with,

    emacs -Q
    (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.

Although, is (hack-local-variables) really that necessary in
tutorial.el?  It's not clear to me.
aaron





  reply	other threads:[~2012-03-29 21:31 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 [this message]
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

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='CAFw1JJ4cS1R6SM-TrJuXxuwCZiDBZKp56jVLF3YMD_=Q0bTfWw@mail.gmail.com' \
    --to=aaron.s.hawley@gmail.com \
    --cc=11127@debbugs.gnu.org \
    --cc=rgm@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 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).