From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.emacs.devel Subject: Re: dvorak users (was: Emacs Survey: Toolbars) Date: Thu, 17 Dec 2020 23:23:33 +0100 Message-ID: <874kkknkbe.fsf@elephly.net> References: <87o8iv3ac3.fsf@gnus.org> <560BF60C-2358-47C7-ADDB-5637047B2942@gnu.support> <874kknhuax.fsf@posteo.net> <86blevaqwc.wl-rrandresf@gmail.com> Mime-Version: 1.0 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="5627"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: Christopher Dimech , "Philip K." , Lars Ingebrigtsen , Jean Louis , emacs-devel@gnu.org To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 17 23:24:41 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kq1hQ-0001LV-W3 for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 23:24:40 +0100 Original-Received: from localhost ([::1]:54064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq1hQ-0006PB-0M for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 17:24:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq1gZ-0005zV-OW for emacs-devel@gnu.org; Thu, 17 Dec 2020 17:23:47 -0500 Original-Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq1gW-0003gO-G5 for emacs-devel@gnu.org; Thu, 17 Dec 2020 17:23:47 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1608243819; cv=none; d=zohomail.com; s=zohoarc; b=AT5ZjETQCB8ez9oTdpoJ8I6JGL4gkMMWwwny7H1tOqmiURcgRQSDOkKNbNgMNbAOqQshyV+owgmgizPaXc5PJy8m5Zp7pk6+Ae/KC9/hFJ8M/+m4pC1AdAcEvdp51WqLjvJD1oy6I3WUpqW94meCtlcnHRV1ytjLPpgMy0aMh9c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608243819; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vMVmv9dUwKkXoQm0LG2EQOQP08pMu4yRkqy+idcOIks=; b=TYJMq3ZBblR2OfJ5n7cZP0mczGF7YT+ed9LIZma8LuzI9nWniipvu0xYeR+4wj451zMluNLKOHcRNMH5YHMtj7Bx4FOt/Qtrrvtntsfl93vse8J21ymkpFEHQiAKDAEEqJnvC+rlqeIfHH2bRx/h14kt/5PruAF1DVk74MZIa3g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1608243819; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=vMVmv9dUwKkXoQm0LG2EQOQP08pMu4yRkqy+idcOIks=; b=Qhi2s4OQ4eqlbMqqKfcdUXjpyZPaoiDQRgt1IRe9EYhZs157kZ4t6ZfXgKM8F+Fp 9Gp3qu6Y6Ak9CZ/UX/k31gcH6Gt4g8KIEHSZpT6wPkD1Y7TXxr2PeazLIK9+D65pNhd pwUml6kSyWLsvJvF5HN2YHuzBGTKqzCz2EOSYvIY= Original-Received: from localhost (p54ad49eb.dip0.t-ipconnect.de [84.173.73.235]) by mx.zohomail.com with SMTPS id 1608243818216149.86866920048294; Thu, 17 Dec 2020 14:23:38 -0800 (PST) In-reply-to: <86blevaqwc.wl-rrandresf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261143 Archived-At: andr=C3=A9s ram=C3=ADrez writes: > Hi Christopher. > >>>>>> "Christopher" =3D=3D Christopher Dimech writes: > > > [...] > > > Christopher> Particularly for people not using a querty keyboard. Fo= r instance, adapting > Christopher> keybindings for use with the Dvorak Keyboard would be a = significant improvement. > > I think for dvorak users a good tip is remapping C-t to C-x > --8<---------------cut here---------------start------------->8--- > (defmacro wiki/bind-dvorak-helper (key fn)=20 > `(global-set-key (kbd ,key) ,(if (listp fn) fn `',fn)= )) > (wiki/bind-dvorak-helper "C-t" (lookup-key global-map (kbd "C-x"))) > --8<---------------cut here---------------end--------------->8--- Another global solution is this: (define-key key-translation-map [?\C-x] [?\C-t]) (define-key key-translation-map [?\C-t] [?\C-x]) I=E2=80=99ve been using this for many years. --=20 Ricardo