From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Questioning the new behavior of `open-line'. Date: Wed, 11 Nov 2015 11:20:58 -0800 Organization: UCLA Computer Science Department Message-ID: <5643951A.8040602@cs.ucla.edu> References: <87vb98csu1.fsf@red-bean.com> <87h9kscqig.fsf@red-bean.com> <83vb98jqwp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1447269689 12442 80.91.229.3 (11 Nov 2015 19:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2015 19:21:29 +0000 (UTC) Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 11 20:21:19 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZwaxK-0006nn-Up for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 20:21:19 +0100 Original-Received: from localhost ([::1]:42582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwaxK-0007h5-Ll for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 14:21:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwaxH-0007f1-2l for emacs-devel@gnu.org; Wed, 11 Nov 2015 14:21:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwaxG-0000Z1-4z for emacs-devel@gnu.org; Wed, 11 Nov 2015 14:21:15 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:51844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwaxB-0000WF-GF; Wed, 11 Nov 2015 14:21:09 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7A543160D72; Wed, 11 Nov 2015 11:21:07 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gMZXDHfrF99r; Wed, 11 Nov 2015 11:21:03 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9BACB160E5D; Wed, 11 Nov 2015 11:21:03 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wTFlyyl2FxP8; Wed, 11 Nov 2015 11:21:03 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 786E3160D07; Wed, 11 Nov 2015 11:21:03 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <83vb98jqwp.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194122 Archived-At: Eli Zaretskii wrote: > People who don't like electric-indent-mode can just turn it off, can't > they? Why argue about defaults when they can be so easily changed? I think we're discussing the default behavior when electric-indent-mode is on, which it often is by default. I too was taken aback and annoyed by the new behavior of C-o. For example, I visited src/lisp.h and typed this: C-s xnmalloc C-a C-o The resulting buffer looked like this: extern void *xrealloc (void *, size_t) ATTRIBUTE_ALLOC_SIZE ((2)); extern void xfree (void *); X extern void *xnmalloc (ptrdiff_t, ptrdiff_t) ATTRIBUTE_MALLOC_SIZE ((1,2)); extern void *xnrealloc (void *, ptrdiff_t, ptrdiff_t) ATTRIBUTE_ALLOC_SIZE ((2,3)); (where the cursor is marked with "X"), i.e., the "xnmalloc" line was greatly indented, which is not what I wanted. With old Emacs it would look like this: extern void *xrealloc (void *, size_t) ATTRIBUTE_ALLOC_SIZE ((2)); extern void xfree (void *); X extern void *xnmalloc (ptrdiff_t, ptrdiff_t) ATTRIBUTE_MALLOC_SIZE ((1,2)); extern void *xnrealloc (void *, ptrdiff_t, ptrdiff_t) ATTRIBUTE_ALLOC_SIZE ((2,3)); which is what I wanted: a new blank line with the cursor at the start, and with no change to the next line.