From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Lowercase text after full stop on describe-variable Date: Mon, 24 Jun 2002 18:29:40 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020624182600.F148.LEKTU@terra.es> References: <20020624134828.2CD6.LEKTU@terra.es> <200206241523.g5OFN8B02270@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1024936222 20595 127.0.0.1 (24 Jun 2002 16:30:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2002 16:30:22 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17MWjN-0005M4-00 for ; Mon, 24 Jun 2002 18:30:21 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17MWkb-0007Cr-00 for ; Mon, 24 Jun 2002 18:31:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17MWjU-0004TW-00; Mon, 24 Jun 2002 12:30:28 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17MWiy-0004NY-00 for ; Mon, 24 Jun 2002 12:29:57 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g5OGTYY21849; Mon, 24 Jun 2002 18:29:40 +0200 Original-To: "Stefan Monnier" In-Reply-To: <200206241523.g5OFN8B02270@rum.cs.yale.edu> X-Mailer: Becky! ver. 2.05 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5156 And BTW, I'm wondering what's the reason you didn't include the equivalent functionality for obsolescent functions, like in the simple patch below (a slight modification of your describe-variable patch). Is there some complication I'm missing? /L/e/k/t/u Index: help-fns.el =================================================================== RCS file: /cvs/emacs/lisp/help-fns.el,v retrieving revision 1.10 diff -u -2 -r1.10 help-fns.el --- help-fns.el 23 Jun 2002 21:02:45 -0000 1.10 +++ help-fns.el 24 Jun 2002 16:25:40 -0000 @@ -278,4 +278,13 @@ (princ arglist) (terpri)))) + (let ((obsolete (get function 'byte-obsolete-info))) + (when obsolete + (terpri) + (princ "This function is obsolete") + (if (caddr obsolete) (princ (format " since %s" (caddr obsolete)))) + (princ ".") (terpri) + (princ (if (stringp (car obsolete)) (car obsolete) + (format "Use `%s' instead." (car obsolete)))) + (terpri))) (let ((doc (documentation function))) (if doc