From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "l@tlo" Newsgroups: gmane.emacs.help Subject: Re: macOS keybindings (alt in emacs vs alt in macOS) Date: Thu, 20 Apr 2023 00:10:53 +0900 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Daniel_Mart=C3=ADn?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 19 22:00:20 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ppDyU-0004HP-HK for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Apr 2023 22:00:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppDxg-0003uq-KF; Wed, 19 Apr 2023 15:59:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp9Sd-0001Mw-Nu for help-gnu-emacs@gnu.org; Wed, 19 Apr 2023 11:11:09 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp9SY-0008H8-MK for help-gnu-emacs@gnu.org; Wed, 19 Apr 2023 11:11:06 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by mail.gandi.net (Postfix) with ESMTPSA id 0EEE4FF80D; Wed, 19 Apr 2023 15:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traduction-libre.org; s=gm1; t=1681917059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iNO6moe5TUYrdmG2KNxDOZQRlZgKMkZJkXcC1EV4wPw=; b=SZrvYp9/Ahwp404ZwS6EIm9XU/ny5fFbo5Z9cTt5OsznjctytG+ffPWHHZGjL4dBom5rVJ pXA0ajs5HnhSZ4/boLYsW6dzIboaqcVC7/C3FJ8OCNvQuS73vcFZPgYd97M/qJ1AMs3rEl BMR4Fce7irIan6QbQpjC+K4zB7/3rJ6c98E1VttKdE70Tn70bHh/lKGz4Ze8/rC+wQMY/T 6FjBz6hVUMwKzoTikniQJlygGT3X/TdoLaTHpT20byIxLv9xq7+OGM2klJa5LHcNSJvrZp 7ks1fUtAtA8R/kPBGutKcHijB3LlYIFjWS7xsdeOTjlMGttSh2wzg9QKHhZxMA== In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) Received-SPF: pass client-ip=217.70.183.199; envelope-from=lists@traduction-libre.org; helo=relay9-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Apr 2023 15:59:22 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143313 Archived-At: > On Apr 19, 2023, at 21:59, Daniel Mart=C3=ADn = wrote: >=20 > "l@tlo" writes: >=20 >> I'm trying to set cursor/point navigation in emacs is a way that's = similar to the standard macOS settings. >>=20 >> I'm stuck at using alt/option + left-right as "left-word" / = "right-word". >>=20 >> 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- and A- (and a few >> others) for my setting. >>=20 >> Is there a way to have Emacs accept Alt as a modifier key in some = defined contexts only and ignore it otherwise? >=20 > 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. --=20 Jean-Christophe Helary @jchelary@emacs.ch https://traductaire-libre.org https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/