From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add `notes' function to store random notes across Emacs restarts. Date: Mon, 17 Jun 2013 12:44:42 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371487490 15709 80.91.229.3 (17 Jun 2013 16:44:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 16:44:50 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Michal Nazarewicz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 18:44:50 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UocXx-0000bk-AO for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 18:44:49 +0200 Original-Received: from localhost ([::1]:34395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UocXw-00015o-Nb for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 12:44:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UocXt-00015j-Gh for emacs-devel@gnu.org; Mon, 17 Jun 2013 12:44:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UocXs-00008c-88 for emacs-devel@gnu.org; Mon, 17 Jun 2013 12:44:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UocXs-00008T-4A; Mon, 17 Jun 2013 12:44:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16566699" Original-Received: from 69-165-149-114.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jun 2013 12:44:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D076D62CA7; Mon, 17 Jun 2013 12:44:42 -0400 (EDT) In-Reply-To: (Michal Nazarewicz's message of "Mon, 17 Jun 2013 18:13:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160511 Archived-At: > * 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