help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird key bindings...


From: Emanuel Berg
Subject: Re: weird key bindings...
Date: Tue, 30 May 2017 01:21:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Jean-Christophe Helary wrote:

> Is there anything I can do about it ?
> It's confusing to use GUI emacs (on mac only
> ?) and not be able to access expected
> shortcuts out of the box.

What I've understood (?) from you describing
the problem, Emacs intercepts the keys
correctly in terminal (-nw) as well as and GUI
mode, only the bindings vary and it is not
a matter of misconfiguration (-Q) and it isn't
even a local Mac problem, which is the most
surprising thing of all, because Khan had the
problem reproduced on Linux - however be that
as it may, if it is only a matter of
keybindings, what you can do is explicitly
rebind the keys to whatever you want. So just
`require' the mode and rebind the keys in your
.emacs. E.g.,

    (require 'message)

    (let ((the-map message-mode-map))
      ;; misc
      (define-key the-map "\C-ca"    #'goto-replied-to-message)
      (define-key the-map "\C-c\C-c" #'message-send-and-exit-current)
      (define-key the-map "\C-x\C-s" #'message-save-draft)
      ;; iterate headers
      (define-key the-map "\t"       #'next-header)
      (define-key the-map [backtab]  #'prev-header) )

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]