unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Brent Goodrick <bgoodr@gmail.com>
To: emacs-pretest-bug@gnu.org
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	[thread overview]
Message-ID: <18793.2050.407742.672702@hungover.brentg.com> (raw)


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 <return> 
M-( s e t q SPC m y - b a c k SPC C-v <tab> M-b C-M-SPC 
M-( C-a C-x C-s C-c d <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> M-O M-P M-O C-g C-f M-P M-b M-b M-b M-b M-b 
C-k <return> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> C-p C-p C-p C-e M-b M-b <C-return> C-M-a 
<down-mouse-1> <mouse-1> <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> C-M-SPC M-; C-x C-s <down-mouse-1> 
<mouse-1> 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 <down-mouse-1> <mouse-1> C-a C-n C-n C-n C-n 
C-M-SPC M-; C-x C-s <help-echo> <down-mouse-1> <mouse-1> 
M-P <return> <down-mouse-1> <mouse-1> C-p C-p C-p C-p 
C-p C-p C-p C-p M-x r e p o r <backspace> r t - b u 
g <tab> <backspace> <backspace> <backspace> <backspace> 
e m <tab> b u <tab> <return>

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






             reply	other threads:[~2009-01-10 20:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18793.35892.694346.782762@hungover.brentg.com>
2009-01-10 20:41 ` Brent Goodrick [this message]
2009-01-10 21:06   ` bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text Glenn Morris
2009-01-12  1:25   ` bug#1851: marked as done (23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18793.2050.407742.672702@hungover.brentg.com \
    --to=bgoodr@gmail.com \
    --cc=1851@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).