Questions tagged [scratch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
485 views

I need to restore the *scratch* buffer from the last time I used emacs even though I killed it and had to restart

I was using emacs (XEmacs actually) and using the scratch buffer to experiment with regular expressions for a regex-replace operation that was giving me trouble. That has nothing to do with the ...
Byron Dom's user avatar
0 votes
1 answer
958 views

How to prevent `*scratch*` or `*Messages*` buffer to show up when I open via `emacs -Q`?

I realize when I open emacs using emacs -Q I can see *scratch* for a very short time. Sometimes 1ms or half a second. => How to prevent *scratch* or *Messages* buffer to show up when I open via ...
alper's user avatar
  • 1,350
3 votes
2 answers
2k views

Can't get rid of scratch buffer at startup for Emacs 26.3

I am using GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29. In my .emacs I specifically asked not to show the startup screen or buffer *scratch*: (custom-set-variables '(inhibit-startup-...
tony's user avatar
  • 113
4 votes
1 answer
650 views

I've modified "initial-scratch-message" -- what else must I do to see it effected?

Using the menu Options-Customize Emacs-Browse Customization Themes, I've modified initial-scratch-message. I saved my customizations; and exited Emacs. When I re-start Emacs, the initial-scratch-...
TheGeeko61's user avatar
4 votes
4 answers
1k views

Ask for saving contents if scratch buffer is modified before exit

I had made some random notes in my scratch buffer. By mistake, I pressed C-x C-c and killed the Emacs session. All my content in the scratch buffer was gone. Question: When I try to close Emacs ...
Prasanna's user avatar
  • 1,540