all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Martín" <mardani29@yahoo.es>
To: "l@tlo" <lists@traduction-libre.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: macOS keybindings (alt in emacs vs alt in macOS)
Date: Wed, 19 Apr 2023 14:59:14 +0200	[thread overview]
Message-ID: <m1cz40f2ot.fsf@yahoo.es> (raw)
In-Reply-To: <B3D7A760-35E7-4C07-8B31-1A2E620CC25F@traduction-libre.org> (lists@traduction-libre.org's message of "Wed, 19 Apr 2023 15:09:19 +0900")

"l@tlo" <lists@traduction-libre.org> writes:

> 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?

Could you set ns-right-alternate-modifier to 'none?  That'd free the
right Option key to enter non-ASCII characters, while you could use the
left one to navigate by words.



  reply	other threads:[~2023-04-19 12:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19  6:09 macOS keybindings (alt in emacs vs alt in macOS) l@tlo
2023-04-19 12:59 ` Daniel Martín [this message]
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=m1cz40f2ot.fsf@yahoo.es \
    --to=mardani29@yahoo.es \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lists@traduction-libre.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.