all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michal Nazarewicz <mpn@google.com>
Cc: Ted Zlatanov <tzz@lifelogs.com>, emacs-devel@gnu.org
Subject: Re: [PATCH] Add `notes' function to store random notes across Emacs restarts.
Date: Mon, 17 Jun 2013 12:44:42 -0400	[thread overview]
Message-ID: <jwv4ncwr97h.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <aae7ac7b461e285690e266c7c48f9b2a7c9446e8.1371479710.git.mina86@mina86.com> (Michal Nazarewicz's message of "Mon, 17 Jun 2013 18:13:04 +0200")

> * list/startup.el (notes): New function creating notes buffer.
> (notes-file, notes-recover-from-auto-save-file, notes-buffer-name)
> (initial-notes-major-mode): New customize variables for customizing
> behaviour of the notes buffer.
> (notes--bury-on-kill-buffer, notes--insert-content): New helper
> functions for `notes' function.
> (notes--buffer): New helper variable for `notes' function.
> (notes--initial-message): New helper constant for `notes' function.

Hmm... this ChangeLog hasn't been updated to reflect the fact that the
code was moved to notes.el.

+(defcustom notes-file (locate-user-emacs-file "notes" ".notes")

The ".notes" part is supposed to be for compatibility with previous
versions of the code which used ~/.notes, but these don't exist AFAIK,
so please just use (locate-user-emacs-file "notes").

BTW, the more I look at it, the more I think it belongs in GNU ELPA.


        Stefan



  reply	other threads:[~2013-06-17 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 16:13 [PATCH] Add `notes' function to store random notes across Emacs restarts Michal Nazarewicz
2013-06-17 16:44 ` Stefan Monnier [this message]
2013-06-17 20:24   ` Michal Nazarewicz
2013-06-17 17:00 ` Juanma Barranquero
2013-06-17 20:39   ` Michal Nazarewicz
2013-06-17 21:06     ` Juanma Barranquero
2013-06-17 23:47       ` Michal Nazarewicz
2013-06-18  7:20         ` martin rudalics
2013-06-18 12:24           ` 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=jwv4ncwr97h.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mpn@google.com \
    --cc=tzz@lifelogs.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.