unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dan Sommers <2QdxY4RzWzUUiLuE@potatochowder.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Scratch buffer : preventing automatic alignment ?
Date: Fri, 14 Jun 2019 11:51:01 -0400	[thread overview]
Message-ID: <385719e2-e93e-d6fd-dd20-e9c74e884a83@potatochowder.com> (raw)
In-Reply-To: <CAM-tV--u8G55ggXeUz6qkBdYZUNAbJ3mhQb2pPoJ-aqRQyzvew@mail.gmail.com>

On 6/14/19 11:04 AM, Noam Postavsky wrote:
> On Fri, 14 Jun 2019 at 10:56, jonetsu <jonetsu@teksavvy.com> 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.



      reply	other threads:[~2019-06-14 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 14:21 Scratch buffer : preventing automatic alignment ? jonetsu
2019-06-14 15:04 ` Noam Postavsky
2019-06-14 15:51   ` Dan Sommers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=385719e2-e93e-d6fd-dd20-e9c74e884a83@potatochowder.com \
    --to=2qdxy4rzwzuuilue@potatochowder.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).