all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@red-bean.com>
To: rms@gnu.org
Cc: hacksaw@hacksaw.org, emacs-devel@gnu.org, jasonr@gnu.org
Subject: Re: A wish, a plea
Date: Fri, 22 Jun 2007 10:27:41 -0700	[thread overview]
Message-ID: <87ps3nq4qa.fsf@red-bean.com> (raw)
In-Reply-To: <E1I1lwF-0007Es-1t@fencepost.gnu.org> (Richard Stallman's message of "Fri\, 22 Jun 2007 12\:24\:47 -0400")

Richard Stallman <rms@gnu.org> writes:
> We can't get rid of the problem by changing the initial buffer.  Emacs
> normally starts up with no files visited, and it has to have some
> current buffer.  Whatever that buffer is, it will raise the same issue.
>
> So I think we should do these things:
>
> 1. Arrange to set buffer-offer-save to t in *scratch*
> if it is ever changed.

If a buffer starts out unchanged, and is never changed, then
buffer-offer-save won't cause the user to be prompted to save on exit,
right?  (IOW, I think the above is equivalent to just "set
buffer-offer-save to t".)  If we have our own initial text in the
buffer, we can just initialize buffer-modified-p to nil.

> 2. Turn on auto-saving for it.  (Just how Emacs should check for an
> auto-save file for *scratch* could take some fine tuning.)

Yes, for whatever initial selected buffer we have ("*unnamed*" or
"*scratch*" or whatever).

> 3. Maybe also start it out read-only.

What would this solve?

(I've seen a lot of new users flail around with vi, wondering why they
can't just start typing when they open it.)

> 4. Maybe also pop up a warning if the user types more than 500
> self-inserting characters in *scratch* without ever doing Lisp
> evaluation.

As long as we're autosaving, I'm not sure that's necessary.  (I'm
assuming that proposal applies to any default-selected buffer, whether
"*scratch*" or some other name.)

-Karl

  reply	other threads:[~2007-06-22 17:27 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
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 [this message]
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

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

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