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: Keybinding that loops through Major Modes Date: Tue, 3 Nov 2020 15:19:18 +0100 Message-ID: References: <87eelb1nmc.fsf@zoho.eu> <20201103081105.GA17899@tuxteam.de> <877dr2pr94.fsf@web.de> <87sg9qzkrj.fsf@zoho.eu> 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="4317"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 03 15:22:13 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 1kZxCP-0000zr-CM for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 15:22:13 +0100 Original-Received: from localhost ([::1]:42490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZxCM-0007kN-K6 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 09:22:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZx9h-0007k9-JP for help-gnu-emacs@gnu.org; Tue, 03 Nov 2020 09:19:25 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:58761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZx9d-0000kV-QT for help-gnu-emacs@gnu.org; Tue, 03 Nov 2020 09:19:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604413159; bh=M1Klvpt6y/xSIPR7TkpnaNY4I5yAmqY7Z62Rb19MOrY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=RLC+UyxZq+VCWPZBUVObZ0AETW5/Kp1O6WnGGGwnkT/BAUMSMqA1Ticxw1Hn/mtpS esPhM3GBRG3O6xCGCoesoIOK3t8q+h3TU3o9Ih0szI2MuTi+e1Ha0b21+M/LQUiIi5 NrGjrt7ekGhdeX+N14Lv3RK3PekabXcFO8dDDZJQ= 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-bs09.server.lan [172.19.170.177]) (via HTTP); Tue, 3 Nov 2020 15:19:18 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87sg9qzkrj.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:kqvu7hu9AZtcjRmSIA4sb40/lFJxNgY66GMBS42GTw194EwcPJPjL//2grawM8li+OLiG DQMZ3GvKWSFs3gASP59gTWmlc8BuwyX3/V6CxI2f0oJFt+FwFJ9nw/3kPkrCXqiG0ObUpeHbFdo0 2DMPftdRjCOBu5zuN7mY7vkH6L6bMAZVW4/g1fz/PoaJXHc5+BK5ZUMWGwwy3Kt9KXptRKS2AjOH x/1ZAYMJSx18dBp0QwHP2YTCVcLuVaNrqK9tYVvDWVoMc9Ectn8846zJ4r6kkSJigvQo0wMZqdpR tw= X-UI-Out-Filterresults: notjunk:1;V03:K0:0JYKllqUvFM=:DNc9+U+zsRrxa5i3VvmaAq vwNZ6ySqkEjq0RG7XCaI5ymkgCV/eV4OUTpcLpJ9d0NvXhF2EcYLRQHNeVT2LtSMUvEr6H3BP ybkZw5ltT6JwTuE8AEh750bAtoVa0tEdB7spu554ez1khw7kQVdtVGyzSvkkPNpBG37HqSALt J/lqMBQKnLqxd1nYJUAo8JUN6bZJalyUvZGHfdlB4f1KXBIkguIorkBWCWPginOuK7b77U/Jl JYkxikUdSm5INzFEKduB4AbO2MQZFrYwaeZK1s5UZRRiwl2O0J8z2m09fVWwZSlyi1iJKDFfS jbdg2A5Zo7Z38UeNAiL1JVHMX9gT1icpS9UFsNwmPHJMG6T1uRs8bMWRhIuO52BN2lOdLJKQ2 3Ip2j1VotBs4/+sK+v5KtM3qmKJ+KoFrMuJQi5jhKT5Er1HDBImzRXpAEUz07X9F5WAQa8iIe USz/9BuNapWauPuoGYETuii3pdIDGA3SMmNO8YQj+TOwIifBdoA6NzasZb3wb/0/CuLkVlmpn k/p20cNTC3z2v9zTOredVo9rtAN8BEjMGuG4k9Qm0Isk9uPVDkCH1MNahx5aXJ7f3RFXEIEx3 gr+F8egrk2exs= Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/03 09:19:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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:124978 Archived-At: > Sent: Tuesday, November 03, 2020 at 1:29 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Keybinding that loops through Major Modes > > Michael Heerdegen wrote: > > >> The major power would not be the highlighting itself, but the > >> operations associated with the mode. > > > > A method that would be a bit cleaner in my eyes would be a command > > that lets you edit a specified region in a temp buffer in the > > correct mode. > > The best method: > > - several files > > - one file, one mode > > - the "associated operations" belonging to one mode can easily enough > be made generic if indeed correct they are useful for another mode In principle you are correct. However, if one uses ogg and rec you want those features available some of the time, because if the file is a fortra= n file, I would be mainly working in fortran mode. Some modes are very rich and not completely applicable to code. > > BOOM > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >