GNU bug report logs - #77094
31.0.50; yaml-ts-mode does not indent after yaml mapping keys

Previous Next

Package: emacs;

Reported by: the_wurfkreuz <the_wurfkreuz <at> proton.me>

Date: Tue, 18 Mar 2025 07:42:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: the_wurfkreuz <the_wurfkreuz <at> proton.me>
To: Randy Taylor <dev <at> rjt.dev>
Cc: 77094 <at> debbugs.gnu.org
Subject: bug#77094: 31.0.50; yaml-ts-mode does not indent after yaml mapping keys
Date: Sun, 23 Mar 2025 06:00:13 +0000
I thought that if `delete-backward-char` removed the whole indentation, it implied it wasn't whitespace-based. Otherwise, i would expect to need to use it multiple times. So the problem is more that i need to use `delete-backward-char` several times to delete any produced indentation in yaml-ts-mode. Where in yaml-mode and any other prog modes it works differently.

On Saturday, March 22nd, 2025 at 8:47 PM, Randy Taylor <dev <at> rjt.dev> wrote:

> On Wednesday, March 19th, 2025 at 02:24, the_wurfkreuz the_wurfkreuz <at> proton.me wrote:
> 
> > But aren't they used in the yaml mode?
> 
> 
> No. Why do you think so?
> 
> > On Tuesday, March 18th, 2025 at 5:37 PM, Randy Taylor dev <at> rjt.dev wrote:
> > 
> > > On Tuesday, March 18th, 2025 at 05:10, the_wurfkreuz via "Bug reports for GNU Emacs, the Swiss army knife of text editors" bug-gnu-emacs <at> gnu.org wrote:
> > > 
> > > > Also, in situations where there is an indentation applied, the mode uses whitespaces instead of tabs.
> > > 
> > > Why would you expect tabs to be used? Tabs cannot be used for
> > > indentation in YAML.




This bug report was last modified 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.