unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text
@ 2009-01-10 20:41 ` Brent Goodrick
  2009-01-10 21:06   ` 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
  0 siblings, 2 replies; 3+ messages in thread
From: Brent Goodrick @ 2009-01-10 20:41 UTC (permalink / raw)
  To: emacs-pretest-bug


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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text
  2009-01-10 20:41 ` bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text Brent Goodrick
@ 2009-01-10 21:06   ` 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
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2009-01-10 21:06 UTC (permalink / raw)
  To: Brent Goodrick; +Cc: 1851

Brent Goodrick wrote:

> 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

I can't reproduce this with emacs -Q. (I assume you saved newfile.el,
it wasn't explicit.)






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1851: marked as done (23.0.60; eval-buffer on a file  containing help-xref-button doesn't update help mode text)
  2009-01-10 20:41 ` bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text Brent Goodrick
  2009-01-10 21:06   ` Glenn Morris
@ 2009-01-12  1:25   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2009-01-12  1:25 UTC (permalink / raw)
  To: Brent Goodrick

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]


Your message dated Sat, 10 Jan 2009 22:05:40 -0800
with message-id <18793.35892.694346.782762@hungover.brentg.com>
and subject line Re: bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text
has caused the Emacs bug report #1851,
regarding 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1851: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1851
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 8570 bytes --]

From: Brent Goodrick <bgoodr@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 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>


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



[-- Attachment #3: Type: message/rfc822, Size: 3396 bytes --]

From: Brent Goodrick <bgoodr@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Subject: Re: 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 22:05:40 -0800
Message-ID: <18793.35892.694346.782762@hungover.brentg.com>


Glenn Morris writes:
 > Brent Goodrick wrote:
 > 
 > > 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
 > 
 > I can't reproduce this with emacs -Q. (I assume you saved newfile.el,
 > it wasn't explicit.)

Sigh. Now I can't either.  And I believe I had saved the file.  I had
tried this a number of ways, too. Hmmm, I guess just close/ignore this
for now. Thanks for trying to reproduce it.

Brent


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-12  1:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <18793.35892.694346.782762@hungover.brentg.com>
2009-01-10 20:41 ` bug#1851: 23.0.60; eval-buffer on a file containing help-xref-button doesn't update help mode text Brent Goodrick
2009-01-10 21:06   ` 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

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).