unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how can I get rid of the message in the scratch
@ 2008-10-23 10:29 JimmyWu
  2008-10-23 13:40 ` Parker, Matthew
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: JimmyWu @ 2008-10-23 10:29 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

when I strat Emacs,there is always a short message in the scratch,like that

;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

how could I get rid of it?
thx

-- 
Jimmy Wu

[-- Attachment #2: Type: text/html, Size: 368 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I get rid of the message in the scratch
       [not found] <mailman.1901.1224765724.25473.help-gnu-emacs@gnu.org>
@ 2008-10-23 13:14 ` Thorsten Bonow
  0 siblings, 0 replies; 6+ messages in thread
From: Thorsten Bonow @ 2008-10-23 13:14 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "JimmyWu" == JimmyWu  <frozenthrone88@gmail.com> writes:

    JimmyWu> when I strat Emacs,there is always a short message in the
    JimmyWu> scratch,like that
    JimmyWu> ;; This buffer is for notes you don't want to save, and for Lisp
    JimmyWu> ;; evaluation.  If you want to create a file, visit that file with
    JimmyWu> ;; C-x C-f, then enter the text in that file's own buffer.
    JimmyWu> how could I get rid of it?  thx -- Jimmy Wu

M-x customize-apropos "scratch" lead to the variable "initial-scratch-message".

The next is copied from *Help*:

---------------------------------
initial-scratch-message is a variable defined in `startup.el'.
Its value is 
";; This buffer is for notes you don't want to save, and for Lisp evaluation.\n;; If you want to create a file, visit that file with C-x C-f,\n;; then enter the text in that file's own buffer.\n\n"


Documentation:
Initial message displayed in *scratch* buffer at startup.
If this is nil, no message will be displayed.
If `inhibit-startup-screen' is non-nil, then no message is displayed,
regardless of the value of this variable.

You can customize this variable.
--------------------------------

Toto


-- 
Contact information and PGP key at
http://www.withouthat.org/~toto/contact.html

I'd often felt that a man without a woman was like a neck without a
pain.

Friedman, Kinky (1993), Greenwich Killing Time. New York (Wings
Books), 24


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: how can I get rid of the message in the scratch
  2008-10-23 10:29 JimmyWu
@ 2008-10-23 13:40 ` Parker, Matthew
  2008-10-23 13:41 ` Bastien
  2008-10-23 13:42 ` Lave
  2 siblings, 0 replies; 6+ messages in thread
From: Parker, Matthew @ 2008-10-23 13:40 UTC (permalink / raw)
  To: JimmyWu, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

      (setq inhibit-startup-message t)

 

Matthew Parker

SEI  | 1 Freedom Valley Drive | Oaks, PA 19456 | p: 610-676-1279 | f:
484-676-1279 | www.seic.com <http://www.seic.com/> 

________________________________

From: help-gnu-emacs-bounces+mparker=seic.com@gnu.org
[mailto:help-gnu-emacs-bounces+mparker=seic.com@gnu.org] On Behalf Of
JimmyWu
Sent: Thursday, October 23, 2008 6:29 AM
To: help-gnu-emacs@gnu.org
Subject: how can I get rid of the message in the scratch

 

when I strat Emacs,there is always a short message in the scratch,like
that

;; This buffer is for notes you don't want to save, and for Lisp
evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

how could I get rid of it?
thx

-- 
Jimmy Wu


[-- Attachment #2: Type: text/html, Size: 4681 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I get rid of the message in the scratch
  2008-10-23 10:29 JimmyWu
  2008-10-23 13:40 ` Parker, Matthew
@ 2008-10-23 13:41 ` Bastien
  2008-10-23 13:42 ` Lave
  2 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2008-10-23 13:41 UTC (permalink / raw)
  To: help-gnu-emacs

JimmyWu <frozenthrone88@gmail.com> writes:

> when I strat Emacs,there is always a short message in the scratch,like that
>
> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.
>
> how could I get rid of it?

(setq initial-scratch-message "")

-- 
Bastien




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I get rid of the message in the scratch
  2008-10-23 10:29 JimmyWu
  2008-10-23 13:40 ` Parker, Matthew
  2008-10-23 13:41 ` Bastien
@ 2008-10-23 13:42 ` Lave
  2 siblings, 0 replies; 6+ messages in thread
From: Lave @ 2008-10-23 13:42 UTC (permalink / raw)
  To: JimmyWu; +Cc: help-gnu-emacs

(setq initial-scratch-message nil)

On 10/23/08, JimmyWu <frozenthrone88@gmail.com> wrote:
> when I strat Emacs,there is always a short message in the scratch,like that
>
> ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.
>
> how could I get rid of it?
> thx
>
> --
> Jimmy Wu
>


-- 
Regards,
Lave




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I get rid of the message in the scratch
       [not found] <mailman.1905.1224769238.25473.help-gnu-emacs@gnu.org>
@ 2008-10-23 15:51 ` B. T. Raven
  0 siblings, 0 replies; 6+ messages in thread
From: B. T. Raven @ 2008-10-23 15:51 UTC (permalink / raw)
  To: help-gnu-emacs

Parker, Matthew wrote:
>       (setq inhibit-startup-message t)
> 

This also inhibits splash screen.

>  
> 
> Matthew Parker
> 
> SEI  | 1 Freedom Valley Drive | Oaks, PA 19456 | p: 610-676-1279 | f:
> 484-676-1279 | www.seic.com <http://www.seic.com/> 
> 
> ________________________________
> 
> From: help-gnu-emacs-bounces+mparker=seic.com@gnu.org
> [mailto:help-gnu-emacs-bounces+mparker=seic.com@gnu.org] On Behalf Of
> JimmyWu
> Sent: Thursday, October 23, 2008 6:29 AM
> To: help-gnu-emacs@gnu.org
> Subject: how can I get rid of the message in the scratch
> 
>  
> 
> when I strat Emacs,there is always a short message in the scratch,like
> that
> 
> ;; This buffer is for notes you don't want to save, and for Lisp
> evaluation.
> ;; If you want to create a file, visit that file with C-x C-f,
> ;; then enter the text in that file's own buffer.
> 
> how could I get rid of it?
> thx
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-23 15:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1901.1224765724.25473.help-gnu-emacs@gnu.org>
2008-10-23 13:14 ` how can I get rid of the message in the scratch Thorsten Bonow
     [not found] <mailman.1905.1224769238.25473.help-gnu-emacs@gnu.org>
2008-10-23 15:51 ` B. T. Raven
2008-10-23 10:29 JimmyWu
2008-10-23 13:40 ` Parker, Matthew
2008-10-23 13:41 ` Bastien
2008-10-23 13:42 ` Lave

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).