From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 18 10:03:43 2014 Received: (at submit) by debbugs.gnu.org; 18 Feb 2014 15:03:43 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 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 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 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 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 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 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 24.3.50; wish: following a variable name should show the value from initial buffer Message-ID: <8761ocbwxj.fsf@yahoo.fr> Date: Tue, 18 Feb 2014 16:03:04 +0100 MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 18 11:46:08 2014 Received: (at 16792) by debbugs.gnu.org; 18 Feb 2014 16:46:08 +0000 Received: from localhost ([127.0.0.1]:58649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFno7-00051y-72 for submit@debbugs.gnu.org; Tue, 18 Feb 2014 11:46:07 -0500 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:48175) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFno5-00051r-JR for 16792@debbugs.gnu.org; Tue, 18 Feb 2014 11:46:06 -0500 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E3A6E84D33; Tue, 18 Feb 2014 11:46:04 -0500 (EST) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 1FE851E5913; Tue, 18 Feb 2014 11:45:42 -0500 (EST) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 05445B40FE; Tue, 18 Feb 2014 11:45:41 -0500 (EST) From: Stefan Monnier To: Nicolas Richard Subject: Re: bug#16792: 24.3.50; wish: following a variable name should show the value from initial buffer Message-ID: References: <8761ocbwxj.fsf@yahoo.fr> Date: Tue, 18 Feb 2014 11:45:41 -0500 In-Reply-To: <8761ocbwxj.fsf@yahoo.fr> (Nicolas Richard's message of "Tue, 18 Feb 2014 16:03:04 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 16792 Cc: 16792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) So you're saying that describe-function should remember in which buffer it was invoked, in case we use describe-variable from the resulting *Help* buffer. It's not a terribly bad idea, but to the extent that functions can't be buffer-local, it'd be an ad-hoc hack. It wouldn't be the first ad-hoc hack by the long shot, but I'm not sure I'd like to add this one. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 00:48:54 2021 Received: (at 16792) by debbugs.gnu.org; 30 May 2021 04:48:54 +0000 Received: from localhost ([127.0.0.1]:58107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDNd-0004Lr-QN for submit@debbugs.gnu.org; Sun, 30 May 2021 00:48:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDNb-0004Lc-Va for 16792@debbugs.gnu.org; Sun, 30 May 2021 00:48:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6XWFInnmuDN8P8GD9SUDJyeUaSxkzX7gpsDxspdMaDM=; b=AeBx/VDlDyRNshSn4NxBEKlY4C SPLRstS4jC0PWWq5m0yxQknaZHoRXM8KlqZtCVcHz7SJiWemyeRyzvgwDNB2Doxc3l+MN770s8Lwi lfbjfATZeAc1pfR35XLcacRfwYDhU/w+4NB6KBKnm4O9jiRw12ecbC/MDrAlddd00LN0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnDNT-00062J-BI; Sun, 30 May 2021 06:48:45 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#16792: 24.3.50; wish: following a variable name should show the value from initial buffer References: <8761ocbwxj.fsf@yahoo.fr> X-Now-Playing: Crosby, Stills, Nash & Young's _So Far_: "Ohio" Date: Sun, 30 May 2021 06:48:42 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 18 Feb 2014 11:45:41 -0500") Message-ID: <874kek6d3p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > It's not a terribly bad idea, but to the extent that functions can't be > buffer-local, it'd be an ad-hoc hack. It wouldn't be the first ad-hoc > hack by the long shot, but I'm not sure I'd like to [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16792 Cc: Nicolas Richard , 16792@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: > It's not a terribly bad idea, but to the extent that functions can't be > buffer-local, it'd be an ad-hoc hack. It wouldn't be the first ad-hoc > hack by the long shot, but I'm not sure I'd like to add this one. No, it sounds somewhat confusing, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 00:48:58 2021 Received: (at control) by debbugs.gnu.org; 30 May 2021 04:48:58 +0000 Received: from localhost ([127.0.0.1]:58110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDNi-0004MA-16 for submit@debbugs.gnu.org; Sun, 30 May 2021 00:48:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDNg-0004Lj-Q5 for control@debbugs.gnu.org; Sun, 30 May 2021 00:48:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Awz4W9qLE/4teKGd7KEkWIQDiXGqhSdwqW0IPRNPsr8=; b=BRTmSrOcDaPAc4q1YnUcXibgTf YAR+rPnfVnzxSg2XZTmCEm3p2i1IBCoy9M/rUDlIYtI/8GZYZUa7TA6Qm7BA05kNwh/6DXCjokquj UzZFJCHVjJUQORDL7DTW8sIL30wnfyStg+5VTaCUl+ejWo3x49a7okffnXkr3/fQK5z8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnDNZ-00062T-C2 for control@debbugs.gnu.org; Sun, 30 May 2021 06:48:51 +0200 Date: Sun, 30 May 2021 06:48:48 +0200 Message-Id: <8735u46d3j.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16792 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 16792 wontfix close 16792 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 16792 wontfix close 16792 quit From unknown Sat Jun 21 03:22:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Jun 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator