GNU bug report logs - #60443
29.0.60; c-ts-mode: Consider re-using c-file-style and c-basic-offset

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Sat, 31 Dec 2022 03:18:02 UTC

Severity: normal

Found in version 29.0.60

Full log


View this message in rfc822 format

From: Mohammed Sadiq <sadiq <at> sadiqpk.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 60443 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#60443: 29.0.60; c-ts-mode: Consider re-using c-file-style and c-basic-offset
Date: Sun, 08 Jan 2023 14:10:25 +0530
On 2023-01-08 06:12, Yuan Fu wrote:
> Dmitry Gutov <dgutov <at> yandex.ru> writes:
> 
>> On 02/01/2023 02:24, Yuan Fu wrote:
>>> Maybe we can say "same package, share vars,
>>> different package, different vars", to avoid confusion?
>> 
>> That would make sense.
>> 
>> Though ruby-ts-mode would break that convention too. :)
>> 
>> I suppose it might depend on whether the modes are considered to be
>> interrelated anyway, even if not residing in the same file.
> 
> Right. It probably helps if "independent" modes mention this in their
> docstring. I added some text in c-ts-mode and c++-ts-mode’s docstring.
> 

I personally (as a user) prefers to have single variable for both modes,
but if using different variables helps it maintain better, that
might be a better choice




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

Previous Next


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