all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <ecinmn@peoplepc.com>
Subject: Re: *scratch* "corrupt
Date: Fri, 14 Oct 2005 02:58:19 GMT	[thread overview]
Message-ID: <f9F3f.14568$QE1.11770@newsread2.news.atl.earthlink.net> (raw)
In-Reply-To: mailman.11237.1129223846.20277.help-gnu-emacs@gnu.org


"Michael Cadilhac" <michael.cadilhac-@t-lrde.epita.fr> wrote in message
news:mailman.11237.1129223846.20277.help-gnu-emacs@gnu.org...
> "B. T. Raven" <ecinmn@peoplepc.com> writes:
>
> >>From a fresh start *scratch* is being generated with -u ** in the
mode
> > line. How can I get the old one back (i.e. with the 3 or 4 line
notice
> > at the top?
> >
> > Thanks,
> >
> > Ed
>
>   It's possible you disabled that by yourself :
>
> In startup.el:
>
>   ;; Maybe display a startup screen.
>   (unless (or inhibit-startup-message
>       noninteractive
>       emacs-quick-startup)
>     [...]
>     ;; If *scratch* is selected and it is empty, insert an
>     ;; initial message saying not to create a file there.
>     (when (and initial-scratch-message
>        (equal (buffer-name) "*scratch*")
>        (= 0 (buffer-size)))
>       (insert initial-scratch-message)
>       (set-buffer-modified-p nil))
>     [...]
>
>   Haven't you set inhibit-startup-message to t ?
>
> --
>     Michael Cadilhac, a.k.a. Micha [mika] |
>                     Epita/LRDE promo 2007 |  Please note that you
should
>   2 rue de la Convention | 08.70.65.13.14 |  s/-@t-/@/ my mail
address.
> 94270 Le Kremlin Bicetre | 06.23.20.31.30 |
>
>


No, that's still nil and initial-scratch-message's value is normal.
Meanwhile, I think I've found what's overwriting it. In my .emacs I
have:

[switched encoding of this reply to utf-8]

....
      w32-lwindow-modifier       'super   ;; Left Windows
      w32-rwindow-modifier       'super   ;; Right Windows
      w32-apps-modifier          'hyper)  ;; App-Menu (key to right of
Right Windows)
(global-set-key [(super g)] 'goto-line)
 ;; ^ this works

and then later

....


(global-set-key [(super 1)] (insert ?¹ ))
(global-set-key [(super 2)] (insert ?² ))
(global-set-key [(super 3)] (insert ?³ ))
(global-set-key [(super 4)] (insert ?⁴ ))
(global-set-key [(super 5)] (insert ?⁵ ))
(global-set-key [(super 6)] (insert ?⁶ ))
(global-set-key [(super 7)] (insert ?⁷ ))
(global-set-key [(super 8)] (insert ?⁸ ))
(global-set-key [(super 9)] (insert ?⁹ ))
(global-set-key [(super 0)] (insert ?⁰ ))
(global-set-key [(super -)] (insert ?— )) ;; mdash

these later forms are apparently causing the scratch message to be
overwritten but I don't know how. What's the preferred way to assign
these characters to the super keys?

Thanks

  parent reply	other threads:[~2005-10-14  2:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-13 16:46 *scratch* "corrupt B. T. Raven
2005-10-13 17:18 ` Michael Cadilhac
     [not found] ` <mailman.11237.1129223846.20277.help-gnu-emacs@gnu.org>
2005-10-14  2:58   ` B. T. Raven [this message]
2005-10-14  7:45     ` Jason Rumney
2005-10-14  8:07       ` Ryan Yeske
2005-10-14 12:55         ` B. T. Raven
2005-10-14 21:11           ` Ryan Yeske
2005-10-17  1:49       ` Stefan Monnier

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='f9F3f.14568$QE1.11770@newsread2.news.atl.earthlink.net' \
    --to=ecinmn@peoplepc.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.
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.