* Scratch buffer default text
@ 2006-05-01 17:07 Rodrigo Lazo
2006-05-01 17:31 ` Drew Adams
0 siblings, 1 reply; 4+ messages in thread
From: Rodrigo Lazo @ 2006-05-01 17:07 UTC (permalink / raw)
hi,
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?
Best regards
--
Rodrigo Lazo (rlazo)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Scratch buffer default text
[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
0 siblings, 1 reply; 4+ messages in thread
From: Johan Bockgård @ 2006-05-01 17:15 UTC (permalink / raw)
Rodrigo Lazo <rlazo.paz@gmail.com> writes:
> 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?
Use the variable `initial-scratch-message'.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Scratch buffer default text
2006-05-01 17:07 Scratch buffer default text Rodrigo Lazo
@ 2006-05-01 17:31 ` Drew Adams
0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2006-05-01 17:31 UTC (permalink / raw)
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")))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Scratch buffer default text
2006-05-01 17:15 ` Johan Bockgård
@ 2006-05-02 1:57 ` Rodrigo Lazo
0 siblings, 0 replies; 4+ messages in thread
From: Rodrigo Lazo @ 2006-05-02 1:57 UTC (permalink / raw)
On Mon, 01 May 2006 19:15:39 +0200
bojohan+news@dd.chalmers.se (Johan Bockgård) wrote:
> Rodrigo Lazo <rlazo.paz@gmail.com> writes:
>
> > 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?
>
> Use the variable `initial-scratch-message'.
That's exactly what I was looking for. It solved half of my problem,
because I had set inhibit-splash-screen to t, so that message doesn't
appear (but my girlfriend do have enabled splash-screen so it did the
trick). For my case I would use Drew's solution, unless somebody else
has another way to solve it
Thanks a lot!
--
Rodrigo Lazo (rlazo)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-02 1:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-01 17:07 Scratch buffer default text Rodrigo Lazo
2006-05-01 17:31 ` Drew Adams
[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
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).