GNU bug report logs - #22564
Fundamental mode isn't fundamental enough.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 5 Feb 2016 12:54:02 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: rgm <at> gnu.org, johnw <at> gnu.org, 22564 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
 acm <at> muc.de, larsi <at> gnus.org
Subject: Re: bug#22564: Fundamental mode isn't fundamental enough.
Date: Sat, 07 May 2022 09:30:46 +0300
> From: Richard Stallman <rms <at> gnu.org>
> Cc: rgm <at> gnu.org, johnw <at> gnu.org, 22564 <at> debbugs.gnu.org,
> 	monnier <at> iro.umontreal.ca, acm <at> muc.de, larsi <at> gnus.org
> Date: Fri, 06 May 2022 19:20:54 -0400
> 
>     > As a simple example, try this in fundamental mode, on an empty line:
> 
>     >   C-u 10 SPC C-u 10 x RET
> 
> As far as I could see,  it did not change anything.
> So I tried again in emacs -Q, and I saw it indented the
> following line.

Are you customizing the command bound to RET in your init files?

Indenting the following line is the expected default behavior, yes.

>   > Nevertheless, if we describe better what the newline and similar
>   > characters do in electric-indent-mode, that would cover Fundamental as
>   > well,
> 
> If the description of thoe characters' default behavior is concrete enough,
> I think it would do the job.

All I can offer to say is what I said here:

>   >                    I think it is better to say that this mode
>   > automatically indents the current line according to the context (the
>   > surrounding lines) and the rules of the major mode.

> Maybe.  But I do think the term "reindent" needs to be explined
> somewhere in the Emacs manual.

If all we need to say is that reindent means to remove any indentation
and then indent the line according to context and major mode's rules,
that's simple enough.




This bug report was last modified 3 years and 93 days ago.

Previous Next


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