From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Emacs keybindings according to file type Date: Wed, 23 Sep 2020 10:03:55 +0200 Message-ID: References: <83v9g7xliv.fsf@gnu.org> 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="38499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 23 10:07:34 2020 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 1kKzoL-0009vP-Km for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 23 Sep 2020 10:07:33 +0200 Original-Received: from localhost ([::1]:41854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKzoK-0003yO-GN for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 23 Sep 2020 04:07:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKzku-00033M-Qi for help-gnu-emacs@gnu.org; Wed, 23 Sep 2020 04:04:00 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:47619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKzks-0001wc-Pg; Wed, 23 Sep 2020 04:04:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600848235; bh=FSrTsUTrWQhU3VB9Lho1t7RTKFM3C6dBUkmX9JQtOI0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=JXugmKUzAUBhcjKf91yU5Augx+R5x5lbzO3XkVqtNLPOsCDUrxmdOXXA63GXFNgy/ s303KLogdxTo5qpfOdCi8xWLXUpixhm6drXsZdiM6NcTBbOj3lrLo3r6yu5j3xLok2 FMuraY94Bu1x7zy/nS8uc4ba5X6K8cVKVzrIwaC8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs02.server.lan [172.19.170.129]) (via HTTP); Wed, 23 Sep 2020 10:03:55 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:zfpKABcXGCErn583onSgbFy1hcVc2Yj6llyd6gSrYNYfoU8g0WdVQGVPKEF95j5UITvnZ AUbNJqkcgjeQRIhcrKKjhZRkNZ3H24t9Ov2BjxEJbybRNrhxNxhgAqDG7AHIrtG3l+Q5g8YlQYM9 iMGYIcEhR1bEfAB+xl+dCwo447n+4vFw9HYf+C67vjtTobcgeh80WZHpRJF/dY2Axvv13/M8IcAw 3ndHE8/C9DqBgXbo/y9HOl+OXY+sy5y/1qAiPpqTut2E/kEIjk+xjiQZVi4tK/HNzZ4OfSIy19ZP x4= X-UI-Out-Filterresults: notjunk:1;V03:K0:CBvTmGdytso=:kOHrJ6F6iKl6au2QdwGIYE akYWlkuSwIOggGwnpO5vPvjcpadCz7JPN/h5kCC2H6PhVgUKJVJ2S788E3S/847g/5KD4aJKZ aTdZrbU5HCdIOEP6BU8aMDyI4uvbdTYvUWBWb72TDt0NzmNe8S0zBu2+5wE4yCipI/lJYtivn JWvN9yw1nQd1t1bxpqs5E4YxbFDF6Binhz6Kdg4VnRAgVY6kpWC5hp0fN4tVaAi+PJKNMg0fm D/Qi1Uqzy5ixjl0Q/uAWJ8K74V6M3woF6uWTE1YYZjgQ2bDX3r2FY1lIAvM0xM4MKFfOsWTay Cp9gAo2WmtpZbxEwLZIwlb0qhj/lkKeNY3R1u6RBuSS4N9mCmrHt2+O1uNDb/1lk/+TiWBlH1 tlKvtEp+VTZDR90tQDYkmdn+TzbHD9PlQhyFe3YyX8HrtoJyrpRyrmYcMmSWrbDAskwz/IqTY SxhN+O7w4uWUcN9Jtj9hVZUkrpIhiac7OVubXYxZ5tpoeN8XBYlOTJ3fXUy+CS1gRGG39UhAq g1sjuqbrgg1NT7LjstHKHykhWsiUOzeTzrPxL81a37Fpa/nEyl5rVC6WdxzXeij4lFUBIvVr5 78N00h5a4mFbGM6e5AppP302FuoLZLJOWjWf9A1CCICVLV8apei50M4ofiarQYrgoDRnD8L9T 29r5MdXKKFJrBmnXSFbCZ156zB+xP9bBuKKDICYLIx8d/aM/p8+xwK3bjo7ruB0BXUoQ= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 04:03:56 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:124154 Archived-At: I agree with you Yuri on assigning easy keys=2E For instance one can make it to continue pressing C-t l f f f to continue= =20 moving line downward=2E Any sample code to try out?=20 Regards C* > Sent: Wednesday, September 23, 2020 at 7:52 AM > From: "Yuri Khan" > To: "Christopher Dimech" > Cc: "Eli Zaretskii" , "help-gnu-emacs" > Subject: Re: Emacs keybindings according to file type > > On Wed, 23 Sep 2020 at 14:44, Christopher Dimech wrot= e: >=20 > > Concerning the repeatable binding, have you practiced, because I have = not=2E > > How do you go about it? >=20 > A binding is called repeatable if you can repeat it easily=2E A single > key (possibly with modifiers) is repeatable=2E >=20 > There also exist techniques to make key sequences repeatable, such as > C-x z (=E2=80=98repeat=E2=80=99)=2E You can execute org-drag-line-forwar= d with C-t l f, > then press C-x z to repeat that once, then press z one or several > times to repeat again=2E Personally, I don=E2=80=99t use that and strive= to > assign easy keys to commands I=E2=80=99m going to use multiple times in = a row=2E >