all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug in ebrowse
@ 2005-05-27 15:35 Markus Gritsch
  0 siblings, 0 replies; 9+ messages in thread
From: Markus Gritsch @ 2005-05-27 15:35 UTC (permalink / raw)


Hi,

the C++ header file which led to the problematic BROWSE file reads

namespace test {
     class Base
     {
     };

     class B : public Base
     {
     };
}

class A : public test::Base
{
};

The *Tree* is then displayed as

   *Globals*
   test
   test::Base
     test::B

The class A seems to be missing.


Thanks for reading,
Markus

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

* Bug in ebrowse
@ 2006-07-08 15:31 Richard Stallman
  2006-07-11 16:41 ` Chong Yidong
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Stallman @ 2006-07-08 15:31 UTC (permalink / raw)


Can someone please DTRT and ack?

------- Start of forwarded message -------
Date: Fri, 7 Jul 2006 10:48:51 -0400
From: "Ping Liang" <ping.liang@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: Using ebrowse...
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed 
	version=3.0.4

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:

The problem happens when using ebrowse.  Here are the steps.

1) create the BROWSE file
2) visit this file. ebrowse will be "reading data" and all is fine.
3) in the "c++ tree" buffer, move the cursor to a class and do "L-v".
4) the "members" buffer shows up with class info - good.
5) goto "c++ buffer" again and repeat 3)
6) error occurs: (wrong-type-argument number-or-marker-p nil);
traceback is as follows.

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  ebrowse-draw-member-short-fn(([ebrowse-ms "A" nil 0 nil "  A();" 83
0 nil "A::A()\n{" 152]) [ebrowse-ts [ebrowse-cs "A" nil 0 "test.cc"
"class A {" 69 "test.cc"] nil ([ebrowse-ms "a" nil 0 nil "  int a;"
102 2 nil nil 0] [ebrowse-ms "f" nil 0 nil "  float f;" 113 2 nil nil
0] [ebrowse-ms "lp" nil 0 nil "  long *lp;" 141 2 nil nil 0]
[ebrowse-ms "str" nil 0 nil "  char str[35];" 129 2 nil nil 0])
([ebrowse-ms "A" nil 0 nil "  A();" 83 0 nil "A::A()\n{" 152]) nil nil
nil nil nil nil])
  ebrowse-redisplay-member-buffer()
  ebrowse-display-member-buffer(ebrowse-ts-member-functions nil)
  ebrowse-tree-command:show-member-functions(nil)
  call-interactively(ebrowse-tree-command:show-member-functions)
  ebrowse-popup-menu((keymap "Class" (Functions menu-item "Functions"
ebrowse-tree-command:show-member-functions ([76 102] . "  (L f)")
:help "Display a list of member functions") (Variables menu-item
"Variables" ebrowse-tree-command:show-member-variables ([76 118] . "
(L v)") :help "Display a list of member variables") (Static\ Functions
menu-item "Static Functions"
ebrowse-tree-command:show-static-member-functions ([76 70] . "  (L
F)") :help "Display a list of static member functions") (Static\
Variables menu-item "Static Variables"
ebrowse-tree-command:show-static-member-variables ([76 86] . "  (L
V)") :help "Display a list of static member variables") (Friends/\
Defines menu-item "Friends/ Defines" ebrowse-tree-command:show-friends
([76 100] . "  (L d)") :help "Display a list of friends of a class")
(Types menu-item "Types" ebrowse-tree-command:show-types ([76 116] . "
 (L t)") :help "Display a list of types defined in a class") (nil
menu-item "-----------------") (View menu-item "View"
ebrowse-view-class-declaration ([32] . "  (SPC)") :enable (eq ... ...)
:help "View class declaration") (Find menu-item "Find"
ebrowse-find-class-declaration ([13] . "  (RET)") :enable (eq ... ...)
:help "Find class declaration in file") (nil menu-item
"-----------------") (Mark menu-item "Mark"
ebrowse-toggle-mark-at-point ([77 116] . "  (M t)") :enable (eq ...
...) :help "Mark class point is on") (nil menu-item
"-----------------") (Collapse menu-item "Collapse"
ebrowse-collapse-branch ([45] . "  (-)") :enable (eq ... ...) :help
"Collapse subtree under class point is on") (Expand menu-item "Expand"
ebrowse-expand-branch ([43] . "  (+)") :enable (eq ... ...) :help
"Expand subtree under class point is on")) (down-mouse-3 (#<window 3
on *Tree*> 15 (18 . 19) 40184769 nil 15 (2 . 1) nil (4 . 6) (7 .
13))))
  ebrowse-mouse-3-in-tree-buffer((down-mouse-3 (#<window 3 on *Tree*>
15 (18 . 19) 40184769 nil 15 (2 . 1) nil (4 . 6) (7 . 13))))
  call-interactively(ebrowse-mouse-3-in-tree-buffer)
  recursive-edit()

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
/usr/local/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-06-17 on localhost.localdomain
X server distributor `The XFree86 Project, Inc', version 11.0.40300000
Important settings:
  value of $LC_ALL: en_US
  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
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  display-time-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<debug-on-error> <down-mouse-1> <mouse-1> C-x d <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> d e v <tab> c <tab> <return>
n f <help-echo> <help-echo> <down-mouse-3> <down-mouse-3>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <about> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<about> <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <report-emacs-b
ug>

Recent messages:
Directory has changed on disk; type g to update Dired
dired-get-file-for-visit: No file on this line
byte-code: Buffer is read-only: #<buffer *Members*>
dired-get-file-for-visit: No file on this line [2 times]
ebrowse-redisplay-member-buffer: Wrong type argument: number-or-marker-p, nil
Debug on Error enabled
Sorting. Please be patient...
Displaying...
Entering debugger...
Loading emacsbug...done


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

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

* Re: Bug in ebrowse
  2006-07-08 15:31 Bug in ebrowse Richard Stallman
@ 2006-07-11 16:41 ` Chong Yidong
  2006-07-16 13:51   ` Ping
  0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2006-07-11 16:41 UTC (permalink / raw)
  Cc: emacs-devel

> Can someone please DTRT and ack?

Fixed.

> From: "Ping Liang" <ping.liang@gmail.com>
> Subject: Using ebrowse...
>
> The problem happens when using ebrowse.  Here are the steps.
>
> 1) create the BROWSE file
> 2) visit this file. ebrowse will be "reading data" and all is fine.
> 3) in the "c++ tree" buffer, move the cursor to a class and do "L-v".
> 4) the "members" buffer shows up with class info - good.
> 5) goto "c++ buffer" again and repeat 3)
> 6) error occurs: (wrong-type-argument number-or-marker-p nil);

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

* Re: Bug in ebrowse
  2006-07-11 16:41 ` Chong Yidong
@ 2006-07-16 13:51   ` Ping
  2006-07-16 13:58     ` Ping
  2006-07-16 16:10     ` Chong Yidong
  0 siblings, 2 replies; 9+ messages in thread
From: Ping @ 2006-07-16 13:51 UTC (permalink / raw)



I checked out of ebrowse.el with rev 1.38 and rebuild emacs. The problem is
still there. Do I need to check out other files too?
-- 
View this message in context: http://www.nabble.com/Bug-in-ebrowse-tf1911131.html#a5349003
Sent from the Emacs - Dev forum at Nabble.com.

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

* Re: Bug in ebrowse
  2006-07-16 13:51   ` Ping
@ 2006-07-16 13:58     ` Ping
  2006-07-16 16:10     ` Chong Yidong
  1 sibling, 0 replies; 9+ messages in thread
From: Ping @ 2006-07-16 13:58 UTC (permalink / raw)



In addition to the scenario I described before, I noticed that if I delete
the member buffer everytime before I do "L-v", everything works fine.
-- 
View this message in context: http://www.nabble.com/Bug-in-ebrowse-tf1911131.html#a5349058
Sent from the Emacs - Dev forum at Nabble.com.

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

* Re: Bug in ebrowse
  2006-07-16 13:51   ` Ping
  2006-07-16 13:58     ` Ping
@ 2006-07-16 16:10     ` Chong Yidong
  2006-07-16 18:16       ` Ping
  1 sibling, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2006-07-16 16:10 UTC (permalink / raw)
  Cc: Emacs-devel

Ping <ping.liang@gmail.com> writes:

> I checked out of ebrowse.el with rev 1.38 and rebuild emacs. The
> problem is still there. Do I need to check out other files too?

Probably you didn't byte-compile ebrowse.el.

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

* Re: Bug in ebrowse
  2006-07-16 16:10     ` Chong Yidong
@ 2006-07-16 18:16       ` Ping
  2006-07-16 19:24         ` Chong Yidong
  0 siblings, 1 reply; 9+ messages in thread
From: Ping @ 2006-07-16 18:16 UTC (permalink / raw)



I rebuilt the whole emacs...although I didn't check everything out from CVS,
only ebrowse.el...
-- 
View this message in context: http://www.nabble.com/Bug-in-ebrowse-tf1911131.html#a5351127
Sent from the Emacs - Dev forum at Nabble.com.

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

* Re: Bug in ebrowse
  2006-07-16 18:16       ` Ping
@ 2006-07-16 19:24         ` Chong Yidong
  2006-07-17  0:50           ` Ping
  0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2006-07-16 19:24 UTC (permalink / raw)
  Cc: Emacs-devel

Ping <ping.liang@gmail.com> writes:

> I rebuilt the whole emacs...although I didn't check everything out from CVS,
> only ebrowse.el...

Do a `cvs up' and `make bootstrap'.  If the problem persists, please
send a clear self-contained recipe for whatever the bug you see.

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

* Re: Bug in ebrowse
  2006-07-16 19:24         ` Chong Yidong
@ 2006-07-17  0:50           ` Ping
  0 siblings, 0 replies; 9+ messages in thread
From: Ping @ 2006-07-17  0:50 UTC (permalink / raw)



it works now. thanks.
-- 
View this message in context: http://www.nabble.com/Bug-in-ebrowse-tf1911131.html#a5354224
Sent from the Emacs - Dev forum at Nabble.com.

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

end of thread, other threads:[~2006-07-17  0:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-08 15:31 Bug in ebrowse Richard Stallman
2006-07-11 16:41 ` Chong Yidong
2006-07-16 13:51   ` Ping
2006-07-16 13:58     ` Ping
2006-07-16 16:10     ` Chong Yidong
2006-07-16 18:16       ` Ping
2006-07-16 19:24         ` Chong Yidong
2006-07-17  0:50           ` Ping
  -- strict thread matches above, loose matches on Subject: below --
2005-05-27 15:35 Markus Gritsch

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.