From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dan Sommers <2QdxY4RzWzUUiLuE@potatochowder.com> Newsgroups: gmane.emacs.help Subject: Re: Scratch buffer : preventing automatic alignment ? Date: Fri, 14 Jun 2019 11:51:01 -0400 Message-ID: <385719e2-e93e-d6fd-dd20-e9c74e884a83@potatochowder.com> References: <20190614102135.049e6019@mistral> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="74938"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 18:03:29 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbofo-000JJQ-UM for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2019 18:03:29 +0200 Original-Received: from localhost ([::1]:52990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbofn-000296-Ow for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jun 2019 12:03:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60060) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1hboUF-00031P-G4 for help-gnu-emacs@gnu.org; Fri, 14 Jun 2019 11:51:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1hboUB-0008Lf-L3 for help-gnu-emacs@gnu.org; Fri, 14 Jun 2019 11:51:29 -0400 Original-Received: from www458.your-server.de ([136.243.165.62]:49308) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1hboUB-0008Iu-ET for help-gnu-emacs@gnu.org; Fri, 14 Jun 2019 11:51:27 -0400 Original-Received: from [88.198.220.132] (helo=sslproxy03.your-server.de) by www458.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1hboU2-0003lZ-OH for help-gnu-emacs@gnu.org; Fri, 14 Jun 2019 17:51:18 +0200 Original-Received: from [172.56.20.42] (helo=[192.168.43.66]) by sslproxy03.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from <2QdxY4RzWzUUiLuE@potatochowder.com>) id 1hboTz-0007g0-HO for help-gnu-emacs@gnu.org; Fri, 14 Jun 2019 17:51:18 +0200 In-Reply-To: Content-Language: en-US X-Authenticated-Sender: 2QdxY4RzWzUUiLuE@potatochowder.com X-Virus-Scanned: Clear (ClamAV 0.100.3/25480/Fri Jun 14 10:12:45 2019) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 136.243.165.62 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120955 Archived-At: On 6/14/19 11:04 AM, Noam Postavsky wrote: > On Fri, 14 Jun 2019 at 10:56, jonetsu wrote: > >> When using the scratch buffer, any ENTER key will throw the >> beginning of the current line at column 1. A simple work around is to >> enter a whole bunch of line feeds then add text within that zone but, > > Or use C-q C-j. > >> is it possible to alter this default behaviour so that entering line >> feeds will just leave the current line where it is ? This is emacs >> 26.1. > > Turn off electric-indent-mode perhaps? > Or switch to text mode. My *scratch* buffer comes up in Lisp Interaction Mode, which I think is how/why electric indent mode comes into play.