unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Alexandrov <dag@gnui.org>
To: peter hodgson <imputerate@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: disable, replace binding in method-map
Date: Tue, 19 May 2020 16:16:03 +0300	[thread overview]
Message-ID: <y2pocbfw.dag@gnui.org> (raw)
In-Reply-To: <871rnipn79.fsf@ralph.puteracy.com> (peter hodgson's message of "Sun, 17 May 2020 10:59:06 -0500")

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

peter hodgson <imputerate@gmail.com> wrote:
>  1. `set-input-method` + `greek-babel` 
> 		turns an emacs buffer from U:** to BGU:
>      the entire keyboard is transformed to type greek;
>        most bindings are obvious- a = alpha, b = beta ...
>        but a few are handled differently from other greek maps i work with,
>                 and these are the ones i want to a. preempt, then b.replace;
>                 a. theta- j, sigma- s/c,  ksi-x, chi-q
>                 b.        q         s         c      x

>  can't i do the same with greek-babel?

Sure, you can.  But itʼs semantically unclean to tamper with an input method, that is what it is for a good reason, and is named accordingly.  Define a new one instead.

>  1. for theta (i won't need to remap 'j', 
>         but i must preempt 'q' so i can give it a new job here 

I donʼt quite get, what you want here.

> input-method-greek-babel-map

Where have you found it?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-05-19 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 15:59 disable, replace binding in method-map peter hodgson
2020-05-19 13:16 ` Dmitry Alexandrov [this message]
2020-05-19 15:22 ` Stefan Monnier

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=y2pocbfw.dag@gnui.org \
    --to=dag@gnui.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=imputerate@gmail.com \
    /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).