From: Robert Thorpe <rt@robertthorpeconsulting.com>
To: chickenkinwing@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to get rid of default lines in the *scratch* buffer
Date: Wed, 10 Dec 2014 02:54:21 +0000 [thread overview]
Message-ID: <87a92wz02q.fsf@robertthorpeconsulting.com> (raw)
In-Reply-To: <dabe17af-2ee6-4936-856c-bce0fb158f1b@googlegroups.com> (chickenkinwing@gmail.com)
chickenkinwing@gmail.com writes:
> By default, the *scratch* buffer contains 2 lines of
> "-- Press Enter here to update --".
>
> I find it a major annoyance for me. I have to remove them manually.
>
> Is there a way to automatically get rid of these lines (to make scratch buffer empty) when the *scratch* buffer starts?
I don't have any lines saying "-- Press Enter here to update --" in my *scratch*.
Does this happen to you with emacs -Q ?
I think you have a package that's outputting text to the wrong buffer on
initialization.
To delete the normal lines in scratch do (delete-region (point-min)
(point-max)) in *scratch*.
BR,
Robert Thorpe
next prev parent reply other threads:[~2014-12-10 2:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 16:49 How to get rid of default lines in the *scratch* buffer chickenkinwing
2014-12-09 17:04 ` Marco Wahl
2014-12-09 17:11 ` Rusi
2014-12-10 2:54 ` Robert Thorpe [this message]
[not found] ` <mailman.15713.1418180083.1147.help-gnu-emacs@gnu.org>
2014-12-10 4:08 ` chickenkinwing
2014-12-10 13:53 ` Stefan Monnier
2014-12-10 10:38 ` Nicolas Richard
[not found] ` <mailman.15723.1418207966.1147.help-gnu-emacs@gnu.org>
2014-12-11 1:14 ` chickenkinwing
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a92wz02q.fsf@robertthorpeconsulting.com \
--to=rt@robertthorpeconsulting.com \
--cc=chickenkinwing@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.