GNU bug report logs -
#10702
24.0.92; broken widget in Man
Previous Next
Reported by: sds <at> gnu.org
Date: Thu, 2 Feb 2012 19:53:02 UTC
Severity: minor
Tags: moreinfo, unreproducible
Found in version 24.0.92
Fixed in version 24.0.94
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10702 in the body.
You can then email your comments to 10702 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#10702
; Package
emacs
.
(Thu, 02 Feb 2012 19:53:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
sds <at> gnu.org
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 02 Feb 2012 19:53:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In GNU Emacs 24.0.92.8 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2012-01-24 on t520sds
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
configured using `configure '--with-wide-int''
emacs -Q
M-x man RET
2 stat RET
navigate to <sys/stat.h> and hit RET or mouse2 on it
==>
Debugger entered--Lisp error: (error #("Cannot find header file: sys/stat.h" 25 26 (face bold) 26 27 (face bold) 27 28 (face bold) 28 29 (face bold) 29 30 (face bold) 30 31 (face bold) 31 32 (face bold) 32 33 (face bold) 33 34 (face bold) 34 35 (face bold)))
signal(error (#("Cannot find header file: sys/stat.h" 25 26 (face bold) 26 27 (face bold) 27 28 (face bold) 28 29 (face bold) 29 30 (face bold) 30 31 (face bold) 31 32 (face bold) 32 33 (face bold) 33 34 (face bold) 34 35 (face bold))))
error("Cannot find header file: %s" #("sys/stat.h" 0 1 (face bold) 1 2 (face bold) 2 3 (face bold) 3 4 (face bold) 4 5 (face bold) 5 6 (face bold) 6 7 (face bold) 7 8 (face bold) 8 9 (face bold) 9 10 (face bold)))
#[(button) "\302\303\".\304 !?\205. \305\306 \")\207" [button w button-get Man-target-string Man-view-header-file error "Cannot find header file: %s"] 3](#<overlay from 204 to 225 in *Man 2 stat*>)
push-button(219 t)
push-button((mouse-2 (#<window 674 on *Man 2 stat*> 219 (133 . 98) 448684219 nil 219 (22 . 7) nil (1 . 7) (6 . 13))))
call-interactively(push-button nil nil)
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://openvotingconsortium.org http://truepeace.org http://jihadwatch.org
http://palestinefacts.org http://mideasttruth.com http://memri.org
War doesn't determine who's right, just who's left.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10702
; Package
emacs
.
(Thu, 02 Feb 2012 20:14:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10702 <at> debbugs.gnu.org (full text, mbox):
Sam Steingold wrote:
> emacs -Q
> M-x man RET
> 2 stat RET
> navigate to <sys/stat.h> and hit RET or mouse2 on it
> ==>
>
> Debugger entered--Lisp error: (error #("Cannot find header file: sys/stat.h" 25 26 (face bold) 26 27 (face bold) 27 28 (face bold) 28 29 (face bold) 29 30 (face bold) 30 31 (face bold) 31 32 (face bold) 32 33 (face bold) 33 34 (face bold) 34 35 (face bold)))
I can't reproduce this in the current trunk.
If /usr/include/sys/stat.h is present I warp to it, if not then
I just get the expected error message as shown above: Cannot find header file:
sys/stat.h.
Do you have a readable sys/stat.h somewhere in Man-header-file-path on
your system?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10702
; Package
emacs
.
(Fri, 03 Feb 2012 04:47:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 10702 <at> debbugs.gnu.org (full text, mbox):
I'm going to take a guess that you don't in fact have a
/usr/include/sys/stat.h file on your system, because you are using a
multi-arch system where this file has moved to eg
/usr/include/x86_64-linux-gnu/sys/stat.h
I don't know how many possible architecture locations exist, but
I guess it would do no harm to add them all to Man-header-file-path,
since only one is likely to exist on most systems.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10702
; Package
emacs
.
(Fri, 03 Feb 2012 05:06:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 10702 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris wrote:
> I don't know how many possible architecture locations exist,
There seems to be a ridiculous number of possibilities:
http://wiki.debian.org/Multiarch/Tuples
I suggest something like this instead:
(defcustom Man-header-file-path
(let ((arch (with-temp-buffer
(when (eq 0 (ignore-errors
(call-process "gcc" nil '(t nil) nil
"-print-multiarch")))
(goto-char (point-min))
(buffer-substring (point) (line-end-position)))))
(base '("/usr/include" "/usr/local/include")))
(if (zerop (length arch))
base
(append base (list (expand-file-name arch "/usr/include")))))
"C Header file search path used in Man."
:type '(repeat string)
:version "24.1" ; add multiarch
:group 'man)
There seem to be a few other places in Emacs that use usr/include (eg
ffap-c-path), so perhaps this should be centralized somewhere.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10702
; Package
emacs
.
(Fri, 03 Feb 2012 13:36:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 10702 <at> debbugs.gnu.org (full text, mbox):
>> I don't know how many possible architecture locations exist,
> There seems to be a ridiculous number of possibilities:
> http://wiki.debian.org/Multiarch/Tuples
> I suggest something like this instead:
> (defcustom Man-header-file-path
> (let ((arch (with-temp-buffer
> (when (eq 0 (ignore-errors
> (call-process "gcc" nil '(t nil) nil
> "-print-multiarch")))
> (goto-char (point-min))
> (buffer-substring (point) (line-end-position)))))
> (base '("/usr/include" "/usr/local/include")))
> (if (zerop (length arch))
> base
> (append base (list (expand-file-name arch "/usr/include")))))
> "C Header file search path used in Man."
> :type '(repeat string)
> :version "24.1" ; add multiarch
> :group 'man)
Sounds about right, yes.
> There seem to be a few other places in Emacs that use usr/include (eg
> ffap-c-path), so perhaps this should be centralized somewhere.
Yes, after 24.1,
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10702
; Package
emacs
.
(Fri, 03 Feb 2012 20:54:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 10702 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier wrote:
>> There seem to be a few other places in Emacs that use usr/include (eg
>> ffap-c-path), so perhaps this should be centralized somewhere.
>
> Yes, after 24.1,
OK. Do you want some, all, or none of the following individual users
fixing for 24.1?
Man-header-file-path
cc-search-directories
ffap-c-path
semantic-c-dependency-system-include-path
semantic-gcc-setup
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10702
; Package
emacs
.
(Mon, 06 Feb 2012 13:35:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 10702 <at> debbugs.gnu.org (full text, mbox):
>>> There seem to be a few other places in Emacs that use usr/include (eg
>>> ffap-c-path), so perhaps this should be centralized somewhere.
>> Yes, after 24.1,
> OK. Do you want some, all, or none of the following individual users
> fixing for 24.1?
> Man-header-file-path
> cc-search-directories
> ffap-c-path
> semantic-c-dependency-system-include-path
> semantic-gcc-setup
I'd recommend not to touch the semantic-*.
And I wouldn't bother with cc-search-directories which doesn't even bother
to obey the prefix naming convention.
So if you can fix the remaining two, with a clear comment about the
duplication and need for unification, then that'd be wonderful,
Stefan
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 22 Feb 2012 08:38:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
sds <at> gnu.org
:
bug acknowledged by developer.
(Wed, 22 Feb 2012 08:38:03 GMT)
Full text and
rfc822 format available.
Message #28 received at 10702-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.0.94
Fixed Man-header-file-path.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 21 Mar 2012 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.