From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: *scratch* "corrupt Date: Fri, 14 Oct 2005 02:58:19 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1129258900 24616 80.91.229.2 (14 Oct 2005 03:01:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2005 03:01:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 05:01:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQFo1-0001bm-Nr for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 05:00:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQFo1-0005WX-8A for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Oct 2005 23:00:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 83 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.159.17.178 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.news.atl.earthlink.net 1129258699 4.159.17.178 (Thu, 13 Oct 2005 19:58:19 PDT) Original-NNTP-Posting-Date: Thu, 13 Oct 2005 19:58:19 PDT Original-Xref: shelby.stanford.edu gnu.emacs.help:134638 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30219 Archived-At: "Michael Cadilhac" wrote in message news:mailman.11237.1129223846.20277.help-gnu-emacs@gnu.org... > "B. T. Raven" 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