all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "l@tlo" <lists@traduction-libre.org>
To: help-gnu-emacs@gnu.org
Subject: macOS keybindings (alt in emacs vs alt in macOS)
Date: Wed, 19 Apr 2023 15:09:19 +0900	[thread overview]
Message-ID: <B3D7A760-35E7-4C07-8B31-1A2E620CC25F@traduction-libre.org> (raw)

I'm trying to set cursor/point navigation in emacs is a way that's similar to the standard macOS settings.

I'm stuck at using alt/option + left-right as "left-word" / "right-word".

I have (ns-alternate-modifier 'none), because I need access to access special non ascii characters, but that means that alt/option is then ignored by Emacs, when I need A-<right> and A-<left> (and a few others) for my setting.

Is there a way to have Emacs accept Alt as a modifier key in some defined contexts only and ignore it otherwise?

-- 
Jean-Christophe Helary @jchelary@emacs.ch
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




             reply	other threads:[~2023-04-19  6:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19  6:09 l@tlo [this message]
2023-04-19 12:59 ` macOS keybindings (alt in emacs vs alt in macOS) Daniel Martín
2023-04-19 15:10   ` l@tlo
2023-04-20  6:11     ` Eli Zaretskii
2023-04-19 19:03   ` Martin Stepanek

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=B3D7A760-35E7-4C07-8B31-1A2E620CC25F@traduction-libre.org \
    --to=lists@traduction-libre.org \
    --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.