unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Huchler <stefan.huchler@mail.de>
To: help-gnu-emacs@gnu.org
Subject: Re: special-mode buffer changes to fundamental when modified
Date: Sun, 23 Oct 2016 14:58:17 +0200	[thread overview]
Message-ID: <87lgxfusra.fsf@jupiter.lan> (raw)
In-Reply-To: 87lgxfl2bf.fsf@web.de

Michael Heerdegen <michael_heerdegen@web.de> writes:

> FWIW, works perfectly here.  You should move the `insert' of the mode
> definition, however, into `kodi-remote-keyboard', and instead of

Really so the new buffer shows you the string and if you look into mode
help it does not show you fundamental mode and the keybindings are still
set with kodi...

>    (toggle-read-only)
>
> I think
>
>    (setq buffer-read-only nil)
>
> would be better.

When I change that it says to me:

condition-case: Buffer is read-only: #<killed buffer>

Can you post a exact source you used that did work? maybe my emacs setup
is messed up somehow.




  reply	other threads:[~2016-10-23 12:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20  2:25 special-mode buffer changes to fundamental when modified Stefan Huchler
2016-10-20 15:33 ` Michael Heerdegen
2016-10-20 16:34   ` Stefan Huchler
2016-10-21 10:58     ` Michael Heerdegen
2016-10-22  0:15       ` Stefan Huchler
2016-10-23 11:41         ` Michael Heerdegen
2016-10-23 12:58           ` Stefan Huchler [this message]
2016-10-23 16:24             ` Michael Heerdegen
2016-10-23 16:47               ` Stefan Huchler
2016-10-27 16:59                 ` Michael Heerdegen

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=87lgxfusra.fsf@jupiter.lan \
    --to=stefan.huchler@mail.de \
    --cc=help-gnu-emacs@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.
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).