From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Error when calling describe-variable/key/function() in help-fns+.el Date: Tue, 2 Sep 2008 08:30:47 -0700 Message-ID: <002b01c90d10$e175c780$0200a8c0@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220369554 6439 80.91.229.12 (2 Sep 2008 15:32:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 15:32:34 +0000 (UTC) To: "=?iso-8859-1?Q?'Nordl=F6w'?=" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 02 17:33:29 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KaXsc-00043m-M8 for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 17:33:19 +0200 Original-Received: from localhost ([127.0.0.1]:32933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaXrd-0001lD-HF for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 11:32:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaXrK-0001kS-JY for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 11:31:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaXrI-0001jj-Tu for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 11:31:58 -0400 Original-Received: from [199.232.76.173] (port=45419 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaXrI-0001je-Qf for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 11:31:56 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:44581) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KaXrH-0001R9-Qi for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 11:31:56 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m82FUft3022361; Tue, 2 Sep 2008 10:30:42 -0500 Original-Received: from acsmt706.oracle.com (acsmt706.oracle.com [141.146.40.84]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m82FUcSm014544; Tue, 2 Sep 2008 09:30:39 -0600 Original-Received: from dradamslap1 (/141.144.81.160) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 02 Sep 2008 08:30:37 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AckNAmkIT+fN/L7/SWGjp9rjlqQf6AABsD7g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57188 Archived-At: > I get the following error: > > Debugger entered--Lisp error: (void-function describe-simplify-lib- > file-name) > describe-simplify-lib-file-name(nil) > describe-variable(nil nil nil) > call-interactively(describe-variable nil nil) > > when I try to use describe-variable() > > I searched for describe-simplify-lib-file-name in my emacs configs and > found it in only once in help-fns+.el. > > Then I looked into lisp/Changelog and found the following entry that > mentions describe-simplify-lib-file-name(). I am using Emacs version > 23.0.60.1. > > 2008-09-01 Martin Rudalics > > * help-fns.el (describe-simplify-lib-file-name) > (find-source-lisp-file): Removed. > (find-lisp-object-file-name): New function giving preference to > files found via load-path instead of loaddefs.el. > (describe-function-1): Use new function instead of the removed > ones. (Bugs #587, #669, #690) > * faces.el (describe-face): Use > find-lisp-object-file-name instead > of describe-simplify-lib-file-name. Hi Per, This is the cost of living on the bleeding edge. ;-) In my code (e.g. help-fns+.el), I don't yet support Emacs 23, which is still unstable and not yet released. To the extent I have time, however, I try to adapt my code to changes I notice in Emacs 23. I don't yet have a Windows binary for any changes that were made on 9/01, and I probably won't have such until next month (thanks, Lennart!). And Savannah seems to be down currently (savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/), so I can't get to the latest source code. I've replaced `describe-simplify-lib-file-name' with `find-lisp-object-file-name' if it's available. Dunno if that will suffice here. Sorry for the inconvenience, and thanks for your report. Let me know if this change does the trick.