From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#16792: 24.3.50; wish: following a variable name should show the value from initial buffer Date: Tue, 18 Feb 2014 16:03:04 +0100 Message-ID: <8761ocbwxj.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392735862 11324 80.91.229.3 (18 Feb 2014 15:04:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 15:04:22 +0000 (UTC) To: 16792@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 18 16:04:26 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 1WFmDh-0001XT-GX for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 16:04:25 +0100 Original-Received: from localhost ([::1]:50026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFmDg-00044b-Qq for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 10:04:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFmDU-00044I-IO for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:04:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFmDL-0000YD-5U for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:04:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFmDL-0000Y9-28 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFmDK-0002Bz-KQ for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2014 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13927358238394 (code B ref -1); Tue, 18 Feb 2014 15:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2014 15:03:43 +0000 Original-Received: from localhost ([127.0.0.1]:58563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFmD0-0002BH-EJ for submit@debbugs.gnu.org; Tue, 18 Feb 2014 10:03:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFmCx-0002Ay-1K for submit@debbugs.gnu.org; Tue, 18 Feb 2014 10:03:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFmCi-0000SQ-9K for submit@debbugs.gnu.org; Tue, 18 Feb 2014 10:03:33 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFmCi-0000SL-6c for submit@debbugs.gnu.org; Tue, 18 Feb 2014 10:03:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFmCa-00041J-Su for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:03:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFmCT-0000Mi-Kg for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:03:16 -0500 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:27277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFmCT-0000Ld-4n for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 10:03:09 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAHAPN0A1OkD3Xp/2dsb2JhbABZrD+CRQGWDnSDPSQ0AYhQARSaWI9omFgBiH2HdIcqhCIEmCyGMItzgW+BPzs Original-Received: from wifi-nat233.ulb.ac.be (HELO LDLC-portable) ([164.15.117.233]) by smtp.ulb.ac.be with ESMTP; 18 Feb 2014 16:03:06 +0100 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:85817 Archived-At: Hello, Consider the following~: (with-current-buffer (get-buffer-create "foo") ;; change a variable locally (setq-local beginning-of-defun-function #'beginning-of-line) ;; describe a function that references the above variable (describe-function 'beginning-of-defun) (switch-to-buffer "*Help*") ;; go to the reference and follow it (search-forward "beginning-of-defun-functio") (execute-kbd-macro (kbd "RET"))) The second line is: : Its value is nil I somewhat expected to see: : Its value is beginning-of-line : Local in buffer foo; global value is nil If the old buffer is killed before following the reference, I guess I'd like to be warned about it and see the global value instead. What do you think ? -- Nico.