From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: History info in C-h f Date: Sat, 29 Sep 2018 14:01:31 -0400 Message-ID: References: <87h8i849j1.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1538244016 28847 195.159.176.226 (29 Sep 2018 18:00:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2018 18:00:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: John Shahid Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 29 20:00:12 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6JXH-0007PL-JY for ged-emacs-devel@m.gmane.org; Sat, 29 Sep 2018 20:00:11 +0200 Original-Received: from localhost ([::1]:51944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6JZO-0000x1-29 for ged-emacs-devel@m.gmane.org; Sat, 29 Sep 2018 14:02:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6JYh-0000vz-TE for emacs-devel@gnu.org; Sat, 29 Sep 2018 14:01:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6JYb-0001qX-Gq for emacs-devel@gnu.org; Sat, 29 Sep 2018 14:01:39 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6JYb-0001q3-Bt for emacs-devel@gnu.org; Sat, 29 Sep 2018 14:01:33 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w8TI1Vo1021924; Sat, 29 Sep 2018 14:01:31 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 66C34AE099; Sat, 29 Sep 2018 14:01:31 -0400 (EDT) In-Reply-To: <87h8i849j1.fsf@gmail.com> (John Shahid's message of "Sat, 29 Sep 2018 11:18:26 -0400") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6384=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6384> : inlines <6908> : streams <1799877> : uri <2720653> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:230146 Archived-At: >> With this hack (which can go into your ~/.emacs), `C-h f defmacro` >> dutifully informs you that `defmacro` was added to Emacs-1.2 (at least, >> if you're on `master` and have upgraded very recently), whereas `C-h >> f advice-add` informs you that it was only introduced in Emacs-24.4. > Does it make sense to add a feature to `defun'. I'm thinking another > optional min version arg that would set a property on the symbol. That > can be used by "C-h f" to display the minimum version. I can see that > being useful to package/library maintainers and not just Emacs. I definitely don't want this to be something that needs manual intervention, except maybe for some very rare cases. > I had to get rid of this error, otherwise "C-h f" won't work on > primitves (e.g. `defun' that is used to document other features) or > symbols that are found in NEWS.1-17 That's what (at least, if you're on `master` and have upgraded very recently) was referring to. I fixed the etc/NEWS.1-17 and NEWS.18 to match the expected format, but that's only in master and only pushed yesterday. Stefan