GNU bug report logs - #67848
29.1; Fix usage of `setq-default' and add explanation

Previous Next

Package: emacs;

Reported by: Xiyue Deng <manphiz <at> gmail.com>

Date: Sat, 16 Dec 2023 11:19:01 UTC

Severity: normal

Tags: patch

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Xiyue Deng <manphiz <at> gmail.com>
Cc: 67848 <at> debbugs.gnu.org
Subject: bug#67848: 29.1; Fix usage of `setq-default' and add explanation
Date: Sat, 23 Dec 2023 13:20:41 +0200
> From: Xiyue Deng <manphiz <at> gmail.com>
> Cc: 67848 <at> debbugs.gnu.org
> Date: Sat, 23 Dec 2023 02:09:29 -0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Xiyue Deng <manphiz <at> gmail.com>
> >> Date: Sat, 16 Dec 2023 03:18:20 -0800
> >> 
> >> 
> > Thanks, but I think it's wrong to use setq-default here, since that
> > makes Text mode the default major-mode (instead of Fundamental), which
> > is not what most people would want.
> 
> Actually making text-mode the default mode for new files is exactly what
> the author intended based on the text from an earlier section[1].

I know, but I don't want that to be said without reservations, or not
at all.  The author's hope was that there will be many readers of this
manual who are not programmers, and who would then prefer Text mode as
the default.  We are now a few decades wiser, and we know that hope
didn't really materialize.  So we should not advertise such a setting
without some explanations.

> Of course, whether this is a good advice is a slightly different matter,
> and may be worth discussing in a footnote if it sounds worth doing.  But
> based on the text flow setting the new default major-mode should not be
> changed IMHO.

Sorry, I disagree, for the reasons explained above.

Thanks.




This bug report was last modified 1 year and 149 days ago.

Previous Next


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