From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brent Goodrick Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text Date: Sat, 10 Jan 2009 12:41:38 -0800 Message-ID: <18793.2050.407742.672702@hungover.brentg.com> Reply-To: Brent Goodrick , 1851@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231621428 8446 80.91.229.12 (10 Jan 2009 21:03:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2009 21:03:48 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 22:04:59 2009 Return-path: Envelope-to: geb-bug-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 1LLl0m-0000Pn-9G for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2009 22:04:53 +0100 Original-Received: from localhost ([127.0.0.1]:33428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLkzW-0002LI-6Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2009 16:03:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLkzS-0002L1-9x for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:03:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLkzR-0002Kp-NP for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:03:30 -0500 Original-Received: from [199.232.76.173] (port=34781 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLkzR-0002Km-K6 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:03:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54854) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLkzQ-0000D3-N9 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:03:29 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0AL3PmN018840; Sat, 10 Jan 2009 13:03:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0AKo3cK015005; Sat, 10 Jan 2009 12:50:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Brent Goodrick Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 10 Jan 2009 20:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1851 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123162011213614 (code B ref -1); Sat, 10 Jan 2009 20:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 10 Jan 2009 20:41:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0AKfm4U013608 for ; Sat, 10 Jan 2009 12:41:49 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:47406) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LLkdD-0004O2-W6 for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 15:40:32 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LLkeP-0003yJ-8T for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 15:41:47 -0500 Original-Received: from rv-out-0708.google.com ([209.85.198.246]:64298) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLkeO-0003y8-N4 for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 15:41:45 -0500 Original-Received: by rv-out-0708.google.com with SMTP id k29so12016623rvb.6 for ; Sat, 10 Jan 2009 12:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:content-transfer-encoding:message-id:date:to:subject :x-mailer; bh=EwDD/DuEy/m64SPdBlBzRkW4Z5b4ibFCTAmgYTuDQCs=; b=c82wURJyd3pnTRG9bDQ+bbCLmkOrSGjI+tYDebcXXymkUnrlcH241HK3wnwsY9oEGZ LM8F2IPr16yizHvoysxGHtIkItapupOGy2AUqg/AJwv3NqWpa5ytZbaUxA93/HzbpCC/ S4+CH4sI2/nizmTfqj+m+4fGYnrBlXVPI4gF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:subject:x-mailer; b=xfvtENwtBGOABVq3z51xgkg//M+6OOloi2Z5rAhxH2N/ffOXz5kU2L/N942kGz/UWH rl5KriPsF9Wx6XUvrh/1KlbNkyffJp+V0Xbs+HQ6o+ajUqfREa/drSrk2mNghrWyt6xI +6MRduhkhVrGlMxGk1iLSGPCCKhS2ZqEcHZ+A= Original-Received: by 10.140.170.12 with SMTP id s12mr2933355rve.166.1231620102680; Sat, 10 Jan 2009 12:41:42 -0800 (PST) Original-Received: from hungover.brentg.com.thisisbogus.com ([76.14.208.3]) by mx.google.com with ESMTPS id f42sm4117002rvb.5.2009.01.10.12.41.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 10 Jan 2009 12:41:42 -0800 (PST) X-Mailer: VM viewmail-606 under 23.0.60.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 10 Jan 2009 16:03:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23980 gmane.emacs.pretest.bugs:23670 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Do the following to reproduce: 1. Invoke emacs with -q. 2. C-h f help-xref-button 3. Verify that you see a help mode buffer with this text: > help-xref-button is a Lisp function in `help-mode.el'. > > (help-xref-button match-number type &rest args) > > Make a hyperlink for cross-reference text previously matched. > match-number is the subexpression of interest in the last matched > regexp. type is the type of button to use. Any remaining arguments are > passed to the button's help-function when it is invoked. > See `help-make-xrefs'. > > [back] 4. Hit the TAB key in that buffer to position over help-mode.el 5. Hit the return key. At this point, you should be in the file .../share/emacs/23.0.60/lisp/help-mode.el.gz or some similarly named .el.gz file. 6. Copy the full defun body of the help-xref-button function and paste it into a new file, say, in /tmp/newfile.el 7. When in the buffer for newfile.el, type M-x eval-buffer 8. Redo step 2 and 3, but notice that the Lisp function in `help-mode.el' still remains just that. It should instead read `newfile.el'. Clicking on the link for `help-mode.el' brings me back to the original definition, not the one I have redefined in newfile.el If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/brentg/emacs_from_source/install/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11) of 2009-01-10 on hungover Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit' '--with-xft' '--prefix=/home/brentg/emacs_from_source/install'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t erc-list-mode: t erc-menu-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-netsplit-mode: t desktop-save-mode: t iswitchb-mode: t erc-ring-mode: t erc-services-mode: t erc-networks-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t display-time-mode: t shell-dirtrack-mode: t delete-selection-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: 1 transient-mark-mode: t Recent input: C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-l C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-M-SPC M-; C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-l C-p C-p C-f C-e M-b C-M-SPC C-z C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-e M-( s e t q SPC m y - b a c k SPC C-v M-b C-M-SPC M-( C-a C-x C-s C-c d M-O M-P M-O C-g C-f M-P M-b M-b M-b M-b M-b C-k C-p C-p C-p C-e M-b M-b C-M-a C-M-SPC M-; C-x C-s C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-a C-n C-n C-p C-M-SPC M-; C-x C-s C-a C-n C-n C-n C-n C-M-SPC M-; C-x C-s M-P C-p C-p C-p C-p C-p C-p C-p C-p M-x r e p o r r t - b u g e m b u Recent messages: Pushed a window configuration. Mark set line-move-visual: Beginning of buffer [4 times] Mark set Wrote /home/brentg/tmp/help-scrap.el Mark set Wrote /home/brentg/tmp/help-scrap.el Mark set Wrote /home/brentg/tmp/help-scrap.el History item: 1