From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#11476: 23.1; which-func-cleanup-function call and documentation mismatch Date: Wed, 05 Feb 2014 16:52:51 -0800 Message-ID: <87y51pxdss.fsf@building.gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391648115 998 80.91.229.3 (6 Feb 2014 00:55:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 00:55:15 +0000 (UTC) Cc: 11476@debbugs.gnu.org, Jack Duthen To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 06 01:55:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WBDFM-0005m1-DL for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Feb 2014 01:55:16 +0100 Original-Received: from localhost ([::1]:33957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDFM-0003Rl-28 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 19:55:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDFE-0003NU-4T for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 19:55:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBDF8-0001me-RW for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 19:55:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDF8-0001lt-Ms for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 19:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBDF7-00077w-NF for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 19:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Feb 2014 00:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11476 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 11476-submit@debbugs.gnu.org id=B11476.139164805127305 (code B ref 11476); Thu, 06 Feb 2014 00:55:01 +0000 Original-Received: (at 11476) by debbugs.gnu.org; 6 Feb 2014 00:54:11 +0000 Original-Received: from localhost ([127.0.0.1]:51602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBDEJ-00076L-3I for submit@debbugs.gnu.org; Wed, 05 Feb 2014 19:54:11 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:55353) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBDEH-00076D-EV for 11476@debbugs.gnu.org; Wed, 05 Feb 2014 19:54:10 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBDE2-0007yE-4K; Thu, 06 Feb 2014 01:53:54 +0100 In-Reply-To: (Glenn Morris's message of "Tue, 26 Jun 2012 17:45:09 -0400") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WBDE2-0007yE-4K MailScanner-NULL-Check: 1392252835.27204@8O25CWhOwkNaC/U8wC1XsA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84670 Archived-At: Glenn Morris writes: > Jack Duthen wrote: > >> emacs -Q >> open any emacs-lisp file and move point inside any function >> M-x imenu-add-menubar-index >> M-x which-func-mode >> M-: >> (defun jd-test-which-func-cleanup-function (fun-name) >> (message "Type of fun-name '%s' is %s" fun-name (type-of fun-name)) >> (when (consp fun-name) >> (message "Type of (car fun-name) '%s' is %s" (car fun-name) >> (type-of (car fun-name)))) >> (setq jd-ielm-fun-name fun-name) ; to explore it using ielm >> fun-name) >> M-: (setq which-func-cleanup-function 'jd-test-which-func-cleanup-function) > > I cannot reproduce a problem with this, in either 23.1 or current trunk. > The type remains resolutely a string, never a cons. If it were not a > string, I would think that the which-function mode line would break. More information was requested a year ago, but no further progress seems to have been made. I'm closing this bug report now, but if this problem still persists, please reopen it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/