unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Scratch buffer default text
Date: Mon, 1 May 2006 10:31:54 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEHNDFAA.drew.adams@oracle.com> (raw)
In-Reply-To: <20060501120723.4302fe5a.rlazo.paz@gmail.com>

    I would like to put some customized text in the header of the scratch
    buffer, so its the first thing I see when I open emacs. How could I do
    it?

Put something like this in your .emacs.

  (save-excursion
    (set-buffer (get-buffer-create "*scratch*"))
    (insert "Evaluate Emacs Lisp expressions here. `C-h m' for
details\n\n\n\n\n")))

  reply	other threads:[~2006-05-01 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 17:07 Scratch buffer default text Rodrigo Lazo
2006-05-01 17:31 ` Drew Adams [this message]
     [not found] <mailman.1186.1146503262.9609.help-gnu-emacs@gnu.org>
2006-05-01 17:15 ` Johan Bockgård
2006-05-02  1:57   ` Rodrigo Lazo

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=DNEMKBNJBGPAOPIJOOICCEHNDFAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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).