From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Keybinding that loops through Major Modes Date: Tue, 03 Nov 2020 14:09:16 +0100 Message-ID: <87mtzyd1tv.fsf@fastmail.fm> References: <87eelb1nmc.fsf@zoho.eu> <20201103081105.GA17899@tuxteam.de> <877dr2pr94.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33444"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.6; emacs 27.1.50 Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 03 14:10:40 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 1kZw5A-0008c7-Jc for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 14:10:40 +0100 Original-Received: from localhost ([::1]:57146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZw59-0005QO-Fm for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 08:10:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZw3y-0005Ox-Hq for help-gnu-emacs@gnu.org; Tue, 03 Nov 2020 08:09:26 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZw3v-0000wT-HZ for help-gnu-emacs@gnu.org; Tue, 03 Nov 2020 08:09:26 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0F0CD5C0178; Tue, 3 Nov 2020 08:09:20 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 03 Nov 2020 08:09:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=AgOPcKX8wgJiFFIOmXrbSki0sp aQd1bJ5hE9saMs4vk=; b=GFSYzBq7w+EvsLDLaQC9U5LCcDb5iFlfBGC+FyZH7S NxK/wq9RDSRNC6XxMpjh13tvfCgtg7iGPqhUIWXCWDsQSR+Go0uzUZueVlUZdhiA MFzOd1KNmin2nHHPjkul7ZKCKYuytofeTrtXw3Ob1EVfvmas1dJZLytTucKGfmaO Itre3MRnjXKzlWfrUBKcnBsRT75PR+Wu1n1p+12+UtBI+Q9VbmMgjaH8Yq2pmCgQ x5xatMGHOsoz9QtQk+GChxvy7M1hmraAblnyUW6GvolUo1sOWxQ2aGiYwCmERbkg Nb1hu8lnNI4WHo1JzqDWKntQFyXpB1683Q7DUdthNvFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=AgOPcK X8wgJiFFIOmXrbSki0spaQd1bJ5hE9saMs4vk=; b=Jox46gC7HSTpalZHbNtmBB 2fp9grmcFNPf3dfjyfG1TAOkS4R52z2cr+sUtS7y2lEcMfX9XnWPPNPjgGiFUbg8 xqbdNF3uSZv57XoP9eMYTp4XHEHd2B5/WruF9K6CmEI+YCuszNz/B2R2AIv+BGpH z/zqwA/qNRECe9URqzHDNWoplLM8c0zYhjb4VwtZU7cKAueAuKeRR6BRoR0x1txY YTMGmxdM3/aGnjhnit+MI3nynw7xd7rHkiDkX/morA+2hutCwCOR6foDXeHrenmt 8bm3gLs4uUlHyGqHRs+/Vy2/2bEZQV//BWoiM1oC35FLXBtBpO0YOpIsqtNawKdA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtfedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpefhudffuefhudelhffgleeukeegudevtedtudduhfefteeu gedvvedtuddugffffeenucfkphepleehrdeltddrvddvgedrvdeffeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 1C59F3280067; Tue, 3 Nov 2020 08:09:18 -0500 (EST) In-reply-to: <877dr2pr94.fsf@web.de> Received-SPF: pass client-ip=66.111.4.25; envelope-from=joostkremers@fastmail.fm; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/03 06:32:48 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:124976 Archived-At: On Tue, Nov 03 2020, Michael Heerdegen wrote: > Christopher Dimech writes: > >> 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. A narrowed, indirect buffer. (Basically the same idea, with a few things automated.) -- Joost Kremers Life has its moments