all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: *scratch* lost
Date: Wed, 17 Jun 2009 07:25:16 -0500	[thread overview]
Message-ID: <obednUzbxaM2faXXnZ2dnUVZ_oudnZ2d@sysmatrix.net> (raw)
In-Reply-To: <87iqiv6pwg.fsf@usenet.my.skamphausen.de>

Stefan Kamphausen wrote:
> Hi Pascal,
> 
> pjb@informatimago.com (Pascal J. Bourguignon) writes:
> 
>>> Hm, I don't seem to need that.  I can always M-x switch-to-buffer
>>> *scratch* RET (having to type "*scratch*" without completion since it
>>> may have been killed) and end up in a perfect stracth-buffer with
>>> lisp-interaction-mode.  It even works with iswitchb-buffer which asks
>>> before creating the new buffer.
>> Of course, but if you want to insert the initial-scratch-message...
> 
> OK, I loose that.  I understand that it is meant for newcomers anyway. 
> 
>> And switch-to-buffer creates a buffer in default-major-mode, not
>> emacs-lisp-mode.
> 
> My default-major-mode is fundamental-mode and my scratch buffer is
> always in lisp-interaction-mode.  I tried to find out where that comes
> from but without success.  Nothing in auto-mode-alist, magic-mode-alist,
> interpreter-mode-alist.  No configuration found with grep -ir
> lisp-interaction-mode ~/.emacs.d/.  Nothing found using apropos-value
> lisp-interaction-mode.  Funny that it, but very handy ;-)
> 
> 
> Best,
> Stefan

Thanks for insight, Stefan. My problem was that I had a *scratch* buffer 
sans message, in Fundamental mode immediately after restarting Emacs. 
Impossible, no? But it was caused by some anomaly in specifing (via 
custom) 'org-agenda-files and in some way that debug-init didn't catch. 
After fixing that, the normal *scratch* was generated spontaneously. 
Also I learned that most of .emacs's (not all) can be gotten by 
evaluating .emacs piecewise after running emac -Q. When I was thinking 
elisp had gone crazy I discovered that I had invoked another keyboard 
(Italian instead of U.S Dvorak) that I had neglected to unload after 
testing something. The whole experience was so bizarre that I don't even 
want to understand what happened.


Ed


  reply	other threads:[~2009-06-17 12:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13 16:20 *scratch* lost B. T. Raven
2009-06-13 16:40 ` B. T. Raven
2009-06-15 10:24 ` Pascal J. Bourguignon
2009-06-15 15:31   ` B. T. Raven
2009-06-17 11:03   ` Stefan Kamphausen
2009-06-17 11:36     ` Pascal J. Bourguignon
2009-06-17 11:49       ` Stefan Kamphausen
2009-06-17 12:25         ` B. T. Raven [this message]
2009-06-17 14:12           ` Rancier, Jeffrey
2009-06-17 18:14         ` Johan Bockgård

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=obednUzbxaM2faXXnZ2dnUVZ_oudnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --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.