[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keybinding that loops through Major Modes
From: |
Christopher Dimech |
Subject: |
Re: Keybinding that loops through Major Modes |
Date: |
Tue, 3 Nov 2020 09:49:18 +0100 |
> Sent: Tuesday, November 03, 2020 at 9:11 AM
> From: tomas@tuxteam.de
> To: help-gnu-emacs@gnu.org
> Subject: Re: Keybinding that loops through Major Modes
>
> On Mon, Nov 02, 2020 at 10:10:02PM +0100, Christopher Dimech wrote:
> > I shall explain better then. In my .texi files I customarily include
> > commands
> > from other modes or want to use some hooks from other modes (e.g. org-mode).
> > So even after I load a file with the default mode, I would need to quickly
> > shift to another mode temporarily, then switch back to normal-mode.
>
> Perhaps your problem becomes different [0] if you squint at it from
> another angle (space vs time): do you really want your whole buffer
> to "switch mode", or are you looking after some regions "having a
> different mode"?
That's what I had in mind, for the whole buffer
> In the second case, look, e.g. for "multiple major modes" [1]. It's
> a class of problems for which need exists (e.g. Org source snippets,
> but also those PHP cum HTML cum Javascript thingies.
Indeed. Customarily I would need to change mode on just a portion of the
code I would be working with.
>
> Cheers
>
> [0] Not necessarily better, but perhaps exciting in a different
> way?
> [1] https://www.emacswiki.org/emacs/MultipleModes
>
> - t
>
- Keybinding that loops through Major Modes, Christopher Dimech, 2020/11/02
- Re: Keybinding that loops through Major Modes, Emanuel Berg, 2020/11/02
- Re: Keybinding that loops through Major Modes, Christopher Dimech, 2020/11/02
- Re: Keybinding that loops through Major Modes, tomas, 2020/11/03
- Re: Keybinding that loops through Major Modes,
Christopher Dimech <=
- Re: Keybinding that loops through Major Modes, Jean Louis, 2020/11/03
- Re: Keybinding that loops through Major Modes, Christopher Dimech, 2020/11/03
- Re: Keybinding that loops through Major Modes, Michael Heerdegen, 2020/11/03
- Re: Keybinding that loops through Major Modes, Emanuel Berg, 2020/11/03
- Re: Keybinding that loops through Major Modes, Michael Heerdegen, 2020/11/03
- Re: Keybinding that loops through Major Modes, Christopher Dimech, 2020/11/03
- Re: Keybinding that loops through Major Modes, Joost Kremers, 2020/11/03
- Re: Keybinding that loops through Major Modes, Michael Heerdegen, 2020/11/03
- Re: Keybinding that loops through Major Modes, Stefan Monnier, 2020/11/03
- Re: Keybinding that loops through Major Modes, Joost Kremers, 2020/11/03