GNU bug report logs -
#21024
help-xref-button in header line doesn't work (PATCH attached)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21024 in the body.
You can then email your comments to 21024 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21024
; Package
emacs
.
(Fri, 10 Jul 2015 01:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 10 Jul 2015 01:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
1. Copy this snippet to scratch buffer and eval it.
(define-button-type 'hello-world
:supertype 'help-xref
'help-function (lambda ()
(message "Hello World")))
(setq header-line-format
(make-text-button "Hello World" nil 'type 'hello-world))
2. Click on the header buton
3. Note the following stack trace
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
(#("Hello World" 0 11 (button (t) category hello-world-button)) . 10))
button-start((#("Hello World" 0 11 (button (t) category
hello-world-button)) . 10))
help-button-action((#("Hello World" 0 11 (button (t) category
hello-world-button)) . 10))
button-activate((#("Hello World" 0 11 (button (t) category
hello-world-button)) . 10) t)
push-button((mouse-2 (#<window 18 on *Backtrace*> header-line (103 .
14) 11071944 (#("Hello World" 0 11 (button (t) category
hello-world-button)) . 10) nil (10 . -1) nil (3 . 14) (10 . 18))))
funcall-interactively(push-button (mouse-2 (#<window 18 on
*Backtrace*> header-line (103 . 14) 11071944 (#("Hello World" 0 11
(button (t) category hello-world-button)) . 10) nil (10 . -1) nil (3 .
14) (10 . 18))))
call-interactively(push-button nil nil)
command-execute(push-button)
----------------------------------------------------------------
This bug is related to bug#12817: 24.2; The button library does not
work on the header line. The sole difference here is that button is a
help-xref button.
See http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-12/msg00203.html
The related commit is 24fc948039
----------------------------------------------------------------
Without getting in to nitty gritties of the "area buttons", the fix is
fairly simple once you notice that `help-do-xref' doesn't use the
first argument.
See the attached patch.
----------------------------------------------------------------
(I am working on a dictionary client for Emacs. I will circulate the
module -- I call it edictc.el -- in another week. The package uses
xref links in header line, FWIW.)
[help-mode.diff (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21024
; Package
emacs
.
(Tue, 23 Feb 2016 09:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 21024 <at> debbugs.gnu.org (full text, mbox):
Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com> writes:
> This bug is related to bug#12817: 24.2; The button library does not
> work on the header line. The sole difference here is that button is a
> help-xref button.
>
> See http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-12/msg00203.html
>
> The related commit is 24fc948039
Thanks for the patch; applied to emacs-25.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 23 Feb 2016 09:48:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 25.2, send any further explanations to
21024 <at> debbugs.gnu.org and Vaidheeswaran C <vaidheeswaran.chinnaraju <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 23 Feb 2016 09:48:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Mar 2016 11:24:03 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:07 GMT)
Full text and
rfc822 format available.
bug Marked as fixed in versions 26.1.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:07 GMT)
Full text and
rfc822 format available.
bug No longer marked as fixed in versions 25.2.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:07 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 01 Jan 2017 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.