all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: [RFC] Added an option to store content of the *scratch* buffer in a file.
Date: Thu, 06 Jun 2013 08:59:06 -0400	[thread overview]
Message-ID: <87bo7jwg2t.fsf@lifelogs.com> (raw)
In-Reply-To: e8b5d5467a0db76cc7d5144b5dc153adbed7be92.1370464030.git.mina86@mina86.com

On Wed,  5 Jun 2013 23:00:40 +0200 Michal Nazarewicz <mpn@google.com> wrote: 

MN>  I've been using this functionality for years now and, in my opinion,
MN>  it's absolutely awesome.  It makes *scratch* to extremely useful
MN>  buffer indeed!

MN>  I haven't tested this patch extensively yet (since I've been using
MN>  a simpler version of the code[1]), so at this point I'm just asking
MN>  for feedback.  If you guys are interested in this, I'll test the code
MN>  properly and send another version at later date.

I like it!

I would make the parameter accept a string (a file name) instead of
'file:

nil => old default behavior
t => concat(emacs-directory "scratch")
"filename" => use that file

That way I can save my scratch buffer in a custom directory (something
available over the network for instance).

MN>  PS. I hope you don't mind I'm using git to send the patch.

It's readable for me.

Ted




  reply	other threads:[~2013-06-06 12:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 21:00 [RFC] Added an option to store content of the *scratch* buffer in a file Michal Nazarewicz
2013-06-06 12:59 ` Ted Zlatanov [this message]
2013-06-07 17:37   ` Michal Nazarewicz
2013-06-07 21:46     ` Ted Zlatanov
2013-06-07 18:06 ` Glenn Morris
2013-06-07 22:42   ` Michal Nazarewicz
2013-06-08  1:25     ` Stefan Monnier
2013-06-10  9:33       ` Michal Nazarewicz

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=87bo7jwg2t.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@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.