all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: macOS keybindings (alt in emacs vs alt in macOS)
Date: Thu, 20 Apr 2023 09:11:55 +0300	[thread overview]
Message-ID: <83fs8v6q1g.fsf@gnu.org> (raw)
In-Reply-To: <E60A541D-634D-424C-9E44-D404F22F1D35@traduction-libre.org> (lists@traduction-libre.org)

> From: "l@tlo" <lists@traduction-libre.org>
> Date: Thu, 20 Apr 2023 00:10:53 +0900
> Cc: help-gnu-emacs@gnu.org
> 
> > On Apr 19, 2023, at 21:59, Daniel Martín <mardani29@yahoo.es> wrote:
> > 
> > "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.
> 
> Thank you Daniel,
> 
> There never was a right option key on (my) mac laptops.

Since this variable is described in the Emacs manual, where I assume
you looked in your search for the solution, I wonder if something
there should be clarified/augmented/improved to make the solution of
this problem more obvious?  Would you care to take a look and suggest
any such improvements for the manual?



  reply	other threads:[~2023-04-20  6:11 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
2023-04-19 15:10   ` l@tlo
2023-04-20  6:11     ` Eli Zaretskii [this message]
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=83fs8v6q1g.fsf@gnu.org \
    --to=eliz@gnu.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.