From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: New special-mode parent
Date: Fri, 13 Jun 2008 17:52:51 -0400 [thread overview]
Message-ID: <jwvk5gt9f78.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200806131825.m5DIPIkF005162@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Fri, 13 Jun 2008 11:25:18 -0700")
>> (defvar special-mode-map
>> (let ((map (make-sparse-keymap)))
>> (suppress-keymap map)
>> (define-key map "q" 'quit-window)
>> (define-key map " " 'scroll-up)
>> (define-key map "\C-?" 'scroll-down)
>> (define-key map "?" 'describe-mode)
> This one does not seem that useful
view-mode provides it and it seemed like it wouldn't hurt. But I don't
really care about it.
>> (define-key map ">" 'end-of-buffer)
>> (define-key map "<" 'beginning-of-buffer)
>> (define-key map "g" 'revert-buffer)
> or this one
You mean the "g" one? That's actually one I find important: all/most
special modes provide it.
> How about having an even more minimalistic version of this turned on
> even for read-only files?
It'd be kind of incompatible with the idea of a major mode.
Stefan
next prev parent reply other threads:[~2008-06-13 21:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 15:49 New special-mode parent Stefan Monnier
2008-06-13 16:24 ` Lennart Borgman (gmail)
2008-06-13 16:56 ` Tom Tromey
2008-06-13 17:51 ` Stefan Monnier
2008-06-14 20:03 ` Tom Tromey
2008-06-14 21:46 ` Stefan Monnier
2008-06-13 18:25 ` Dan Nicolaescu
2008-06-13 21:52 ` Stefan Monnier [this message]
2008-06-14 11:27 ` Juanma Barranquero
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvk5gt9f78.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.