GNU bug report logs - #61245
29.0.60; Should c-ts-mode-set-style be local by default?

Previous Next

Package: emacs;

Reported by: Yuan Fu <casouri <at> gmail.com>

Date: Fri, 3 Feb 2023 02:46:02 UTC

Severity: normal

Found in version 29.0.60

Fixed in version 29.1

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 61245 <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61245 <at> debbugs.gnu.org
Subject: Re: bug#61245: 29.0.60; Should c-ts-mode-set-style be local by
 default?
Date: Sat, 4 Feb 2023 15:34:14 -0800

> On Feb 2, 2023, at 11:41 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> From: Yuan Fu <casouri <at> gmail.com>
>> Date: Thu, 2 Feb 2023 18:45:31 -0800
>> 
>> Normally this sort of function only affect the current buffer.
>> c-set-style only sets the style for the current buffer, too. I wonder if
>> we should make c-ts-mode-set-style default to local, too?
> 
> Yes, the style is a buffer-local setting.

Ok, I pushed a change that made c-ts-mode-set-style buffer-local, and added c-ts-mode-set-global-style.

Yuan



This bug report was last modified 2 years and 111 days ago.

Previous Next


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