From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Embedded changelog from Michelle Bini Date: Sun, 8 Nov 2020 21:33:50 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21251"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ (1036f0e) (2020-10-18) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 08 19:50:02 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbplK-0005Q6-6b for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 19:50:02 +0100 Original-Received: from localhost ([::1]:40604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbplJ-0002zc-8W for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 13:50:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbpkC-0002ZM-QV for emacs-devel@gnu.org; Sun, 08 Nov 2020 13:48:52 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:52427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbpkB-0004D4-5C for emacs-devel@gnu.org; Sun, 08 Nov 2020 13:48:52 -0500 Original-Received: from localhost ([::ffff:197.157.34.177]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0005.000000005FA83D8E.000056B6; Sun, 08 Nov 2020 18:48:45 +0000 Content-Disposition: inline Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 13:17:11 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258919 Archived-At: Here it is: https://www.emacswiki.org/emacs/EmbeddedChangelog This package allows you to add entries to an embedded changelog in an Emacs Lisp source file, like this: ;;; History: ;; 2002-02-27 Michele Bini ;; ;; * embedded-changelog.el (embedded-changelog-add-entry): Left ;; margin set to 2. ;; (embedded-changelog-write-file): Return true. Use ;; set-buffer-modified-p. Ask about adding a Code section before ;; adding an History one. ;; (embedded-changelog-left-margin): New variable. To install it add the following to you ~/.emacs: (autoload 'embedded-changelog-add-entry "/path/to/embeddedchangelog.el" nil t) To use it invoke M-x embedded-changelog-add-entry while visiting your emacs lisp source file. You will be warped to a buffer editing the changelog. When you save the buffer the changes will be saved to the original source file with proper indentation/filling.