unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@red-bean.com>
To: emacs-devel@gnu.org
Cc: Hacksaw <hacksaw@hacksaw.org>
Subject: Re: A wish, a plea
Date: Thu, 21 Jun 2007 20:57:43 -0700	[thread overview]
Message-ID: <87d4zomyiw.fsf@red-bean.com> (raw)
In-Reply-To: <4679F561.4030600@hacksaw.org> (hacksaw@hacksaw.org's message of "Wed\, 20 Jun 2007 23\:49\:53 -0400")

Hacksaw <hacksaw@hacksaw.org> writes:
> So I started writing, and I wrote for quite a while, it was really
> flowing well, and I thought, hey, I should save, because I don't want
> to lose this, but in my reverie, I hit the ^X^C first.
>
> And I was writing in the scratch buffer.
>
> I bet if we took a poll, the number of emacs users who actually use
> the scratch buffer for it's intended usage is very, very low. Most
> either find a file, or open a new one.
>
> But I wasn't in programming mode, so I was in scratch, and lost
> everything I was writing, because scratch isn't backed up by anything.

I agree, this should be changed.

When Emacs is invoked with no file arguments, there's no point the
default buffer be a Lisp interaction buffer.  After all, most users
don't know what to do in such a buffer -- and those who *do* know are
much more likely to know how to customize Emacs to start with a Lisp
Interaction buffer anyway, if they really to!

Meanwhile, a "*scratch*" buffer that were set to trigger a
save-to-file query (if modified) on exit would prevent data-loss
events like the one Hacksaw describes.  

It seems like an obvious win; am I missing something?

Two points:

   - I tested with latest "emacs -q" to see if stuff I typed in
     *scratch* would get saved in tmpfile (~/#*scratch*# or
     something), but as far as I can tell, my text was simply lost on
     exit.

   - It's true that "*scratch*" today opens with this message in it:

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

     But users don't read stuff, we all know that (heck, I'm a user
     who's also a programmer, and I still don't read stuff).  I think
     of that notice as a workaround to a real solution: offering to
     save what the user has typed.

-Karl

  parent reply	other threads:[~2007-06-22  3:57 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21  3:49 A wish, a plea Hacksaw
2007-06-21 18:50 ` Davis Herring
2007-06-21 18:57   ` Stefan Monnier
2007-06-21 19:12     ` Davis Herring
2007-06-22 16:24       ` Richard Stallman
2007-06-21 18:55 ` Lennart Borgman (gmail)
2007-06-22  3:59   ` Karl Fogel
2007-06-21 19:07     ` Lennart Borgman (gmail)
2007-06-21 19:17     ` Nic James Ferrier
2007-06-21 21:53       ` Frank Schmitt
2007-06-22  0:36       ` Taylor Venable
2007-06-21 19:43     ` Juanma Barranquero
2007-06-22  3:57 ` Karl Fogel [this message]
2007-06-21 20:56   ` Jason Rumney
2007-06-22  6:27     ` Karl Fogel
2007-06-21 21:36       ` Nic James Ferrier
2007-06-22 16:24       ` Richard Stallman
2007-06-22 17:27         ` Karl Fogel
2007-06-22 21:53           ` Richard Stallman
2007-06-21 21:19   ` Sascha Wilde
2007-06-21 21:26     ` Nic James Ferrier
2007-06-22  6:36     ` Karl Fogel
2007-06-21 22:08       ` Jason Rumney
2007-06-21 23:04         ` Drew Adams
2007-06-22  6:51           ` csant
2007-06-22 16:24           ` Richard Stallman
2007-06-22 17:12             ` Drew Adams
2007-06-22 21:53               ` Richard Stallman
2007-06-25 20:47               ` Juri Linkov
2007-06-25 21:05                 ` David Kastrup
2007-06-25 21:30                   ` Drew Adams
2007-06-25 21:30                 ` Drew Adams
2007-06-22  8:03         ` Sascha Wilde
2007-06-22  8:11           ` David Kastrup
2007-06-22  8:21             ` Nic James Ferrier
2007-06-22  8:33             ` Karl Fogel
2007-06-22 12:37               ` Eli Zaretskii
2007-06-22 12:43                 ` David Kastrup
2007-06-22 12:51                   ` Jason Rumney
2007-06-22 13:08                     ` David Kastrup
2007-06-22 13:16                       ` David Kastrup
2007-06-22 12:57                   ` Eli Zaretskii
2007-06-22 18:46                 ` Glenn Morris
2007-06-22 19:50                   ` Karl Fogel
2007-06-22 19:58                     ` Glenn Morris
2007-06-22 20:22                       ` Lennart Borgman (gmail)
2007-06-22 10:23             ` Initial splash screen (was Re: A wish, a plea) Stephen Berman
2007-06-22 11:43               ` Initial splash screen David Kastrup
2007-06-22 14:19                 ` Stephen Berman
2007-06-22 20:09                   ` David Kastrup
2007-06-22 23:07                     ` Stephen Berman
2007-06-22 21:53               ` Initial splash screen (was Re: A wish, a plea) Richard Stallman
2007-06-22 22:11                 ` Lennart Borgman (gmail)
2007-06-23 13:19                   ` Richard Stallman
2007-06-23 14:57                     ` Initial splash screen David Kastrup
2007-06-22 22:46                 ` Initial splash screen (was Re: A wish, a plea) Stephen Berman
2007-06-23  6:42                   ` Initial splash screen David Kastrup
2007-06-23 10:43                     ` Stephen Berman
2007-06-23 18:27                     ` Richard Stallman
2007-06-23 19:05                       ` David Kastrup
2007-06-25 13:19                         ` Richard Stallman
2007-06-25 13:34                           ` Mathias Dahl
2007-06-25 13:38                             ` David Kastrup
2007-06-22 18:51             ` A wish, a plea Richard Stallman
2007-06-22 20:05               ` David Kastrup
2007-06-23 13:19                 ` Richard Stallman
2007-06-23 14:45                   ` David Kastrup
2007-06-23 19:39                     ` Stefan Monnier
2007-06-24 14:41                     ` Richard Stallman
2007-06-22 19:02             ` Ryan Yeske
2007-06-28  1:04             ` Davis Herring
2007-06-22 16:24         ` Richard Stallman
2007-06-22 16:36           ` Jason Rumney
2007-06-22 21:53             ` Richard Stallman
2007-06-23  6:21               ` David Kastrup
2007-06-23 18:27                 ` Richard Stallman
2007-06-23 18:58                   ` Alfred M. Szmidt
2007-06-23 19:07                   ` David Kastrup
2007-06-24 14:41                     ` Richard Stallman
2007-06-23 19:47                   ` Hacksaw
2007-06-24 15:13                     ` Sascha Wilde
2007-06-24 17:18                       ` Hacksaw
2007-06-24 23:46                         ` Richard Stallman
2007-06-25  8:07                           ` Sascha Wilde
2007-06-21 23:18       ` Andreas Schwab
2007-06-22  7:57       ` Sascha Wilde
2007-06-22  8:01         ` Karl Fogel
2007-06-22  8:16         ` Juanma Barranquero
2007-06-22  8:32           ` David Kastrup
2007-06-22  9:06             ` Juanma Barranquero
2007-06-22  9:20               ` David Kastrup
2007-06-22  9:55                 ` Juanma Barranquero
2007-06-22  8:01 ` Kim F. Storm
2007-06-22  8:15   ` Jason Rumney
2007-06-22  8:19   ` Nick Roberts
2007-06-22 11:58     ` David House
2007-06-22  8:20   ` Nic James Ferrier
2007-06-22 13:19     ` Drew Adams
2007-06-22 13:33       ` Nic James Ferrier
2007-06-22 14:23       ` Kim F. Storm
2007-06-22 14:34         ` Nic James Ferrier
2007-06-22 15:10           ` David House
2007-06-22 15:31         ` Drew Adams
2007-06-23 23:48       ` Johan Bockgård
2007-06-24  0:06         ` Drew Adams
2007-06-24  0:15           ` David Kastrup
2007-06-24  1:17             ` Drew Adams
2007-06-24 10:15               ` Juanma Barranquero
2007-06-24 14:05                 ` Drew Adams
2007-06-24 14:22                   ` Juanma Barranquero
2007-06-24 14:28                     ` David Kastrup
2007-06-25 20:47         ` Juri Linkov
2007-06-25 21:28           ` Drew Adams
2007-06-22  8:41   ` Glyn Millington
2007-06-22 11:54     ` Nic James Ferrier
2007-06-22 12:33       ` Glyn Millington
2007-06-22  9:03   ` Juanma Barranquero
2007-06-22 14:02   ` Denis Bueno

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d4zomyiw.fsf@red-bean.com \
    --to=kfogel@red-bean.com \
    --cc=emacs-devel@gnu.org \
    --cc=hacksaw@hacksaw.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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