emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r116461: Connect electric-indent-mode up with CC


From: David Kastrup
Subject: Re: [Emacs-diffs] trunk r116461: Connect electric-indent-mode up with CC Mode. Bug #15478.
Date: Mon, 24 Mar 2014 18:39:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Really, the only actually valid argument so far is Stefan's of typing
>
> end M-x newline-and-indent RET
>
> after all even in Pascal.  And pressing TAB on
>
>    end;a := 7.0
>
> still will do the right thing.  So I don't really think the "inserting
> newline will actually cause a different indentation for the line above"
> case is relevant enough to fall over backwards for it.

Here are cases where it makes a difference: when pressing RET in the
middle of endend or enduntil or similar joined block-ending reserved
words.  But then typing SPC TAB Left RET is reasonably workable.  Or C-o
TAB C-n TAB or a number of other ways.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]