From: Michael Heerdegen <michael_heerdegen@web.de>
To: Emanuel Berg <embe8573@student.uu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Help mode keybindings
Date: Sat, 25 May 2013 01:36:45 +0200 [thread overview]
Message-ID: <87txlsympe.fsf@web.de> (raw)
In-Reply-To: <87ip28kux8.fsf@VLAN-3434.student.uu.se> (Emanuel Berg's message of "Fri, 24 May 2013 22:02:59 +0200")
Emanuel Berg <embe8573@student.uu.se> writes:
> (I got this by mail, and can't find it on the list. Anyway, I suppose
> it was intended for the list as well.)
Thanks for the hint - my mistake.
> > Probably there is no trivial way to achieve what you want. You could
> > use a minor mode yourself - or find a key that is not already used at
> > multiple places.
>
> Hm, to write a minor mode to shadow the view-mode sounds like
> overkill.
It would have the advantage that you would not have to treat any mode
that binds C-j individually.
But it would have the disadvantage that you would have to ensure that
your new minor mode has a higher priority than any other minor mode it
should "shadow".
> Wouldn't it be simpler to change the view minor mode? Or is
> there something making that more difficult than I thought, as well?
No, it's easy - just do
(define-key view-mode-map [?\C-j] nil)
> > Or make a binding in `key-translation-map'.
>
> How would I do that?
Better don't - it's possible, but only the last solution one should
think about. Let's try to do without.
Michael.
prev parent reply other threads:[~2013-05-24 23:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-23 21:05 Help mode keybindings Emanuel Berg
2013-05-24 20:02 ` Emanuel Berg
2013-05-24 21:58 ` Emanuel Berg
2013-05-24 23:39 ` Michael Heerdegen
[not found] ` <mailman.346.1369438775.22516.help-gnu-emacs@gnu.org>
2013-05-25 2:21 ` Emanuel Berg
2013-05-25 23:27 ` Michael Heerdegen
[not found] ` <mailman.386.1369524496.22516.help-gnu-emacs@gnu.org>
2013-05-26 1:14 ` Emanuel Berg
2013-05-24 23:36 ` Michael Heerdegen [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87txlsympe.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=embe8573@student.uu.se \
--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.
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.