From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: electric-indent-mode: abolition of `newline' function is not the Right Thing. Date: Sun, 13 Oct 2013 09:23:49 -0400 Message-ID: References: <20131013101325.GA2621@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381670649 26112 80.91.229.3 (13 Oct 2013 13:24:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2013 13:24:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 15:24:11 2013 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 1VVLeU-0008TK-Fd for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 15:24:10 +0200 Original-Received: from localhost ([::1]:33158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVLeT-0003Ez-RG for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 09:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVLeJ-0003Ed-Vh for emacs-devel@gnu.org; Sun, 13 Oct 2013 09:24:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVLeB-0001SI-6U for emacs-devel@gnu.org; Sun, 13 Oct 2013 09:23:59 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:22210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVLeB-0001S3-24 for emacs-devel@gnu.org; Sun, 13 Oct 2013 09:23:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFMCreE/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFMCreE/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="35390753" Original-Received: from 76-10-183-132.dsl.teksavvy.com (HELO pastel.home) ([76.10.183.132]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Oct 2013 09:19:51 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9872461191; Sun, 13 Oct 2013 09:23:49 -0400 (EDT) In-Reply-To: <20131013101325.GA2621@acm.acm> (Alan Mackenzie's message of "Sun, 13 Oct 2013 10:13:25 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:164173 Archived-At: > I discovered this whilst trying `electric-indent-mode' in Text Mode. > I have a command which starts a new paragraph thusly: > (i) It calls `newline' and inserts, e.g. "(vi) ". Use (insert "\n") rather than (newline). Stefan