annotate man/ebrowse.texi @ 83895:9ed352eb80b4

*** empty log message ***
author Glenn Morris <rgm@gnu.org>
date Wed, 05 Sep 2007 03:22:50 +0000
parents 5d7efa451fbe
children 02b9a9aa5b0c e6fdae9180d4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3 @comment %**start of header
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4 @setfilename ../info/ebrowse
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5 @settitle A Class Browser for C++
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6 @setchapternewpage odd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
7 @syncodeindex fn cp
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8 @comment %**end of header
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
10 @copying
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 This file documents Ebrowse, a C++ class browser for GNU Emacs.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12
75249
4ad431d8e164 Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 75087
diff changeset
13 Copyright @copyright{} 2000, 2001, 2002, 2003, 2004,
4ad431d8e164 Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 75087
diff changeset
14 2005, 2006, 2007 Free Software Foundation, Inc.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
16 @quotation
32315
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
17 Permission is granted to copy, distribute and/or modify this document
65555
69b3598a61c5 Update all manuals to specify GFDL version 1.2.
Romain Francoise <romain@orebokech.com>
parents: 64890
diff changeset
18 under the terms of the GNU Free Documentation License, Version 1.2 or
32315
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
19 any later version published by the Free Software Foundation; with no
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
20 Invariant Sections, with the Front-Cover texts being ``A GNU
36161
f6ba7a00b9e1 Upcase "mouse" in @kbd.
Richard M. Stallman <rms@gnu.org>
parents: 35951
diff changeset
21 Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
32315
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
22 license is included in the section entitled ``GNU Free Documentation
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
23 License'' in the Emacs manual.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24
32315
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
25 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
26 this GNU Manual, like GNU software. Copies published by the Free
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
27 Software Foundation raise funds for GNU development.''
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
28
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
29 This document is part of a collection distributed under the GNU Free
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
30 Documentation License. If you want to distribute this document
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
31 separately from the collection, you can do so by adding a copy of the
0da9507401c4 Convert to GFDL.
Dave Love <fx@gnu.org>
parents: 30807
diff changeset
32 license to the document, as described in section 6 of the license.
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
33 @end quotation
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
34 @end copying
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
36 @dircategory Emacs
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
37 @direntry
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
38 * Ebrowse: (ebrowse). A C++ class browser for Emacs.
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
39 @end direntry
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
40
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41 @titlepage
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
42 @title Ebrowse User's Manual
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
43 @sp 4
73256
952084cca45e Remove Emacs version "21" from title.
Richard M. Stallman <rms@gnu.org>
parents: 73186
diff changeset
44 @subtitle Ebrowse/Emacs
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
45 @sp 5
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
46 @author Gerd Moellmann
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
47 @page
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
48 @vskip 0pt plus 1filll
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 38440
diff changeset
49 @insertcopying
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50 @end titlepage
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52 @node Top, Overview, (dir), (dir)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
54 @ifnottex
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55 You can browse C++ class hierarchies from within Emacs by using
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 Ebrowse.
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
57 @end ifnottex
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 @menu
73186
e97a83ab15b9 Fix a typo.
Eli Zaretskii <eliz@gnu.org>
parents: 69681
diff changeset
60 * Overview:: What is it and how does it work?
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61 * Generating browser files:: How to process C++ source files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 * Loading a Tree:: How to start browsing
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63 * Tree Buffers:: Traversing class hierarchies
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64 * Member Buffers:: Looking at member information
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65 * Tags-like Functions:: Finding members from source files
77235
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
66 * GNU Free Documentation License:: The license for this documentation.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 * Concept Index:: An entry for each concept defined
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 @end menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73 @node Overview, Generating browser files, Top, Top
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74 @chapter Introduction
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76 When working in software projects using C++, I frequently missed
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 software support for two things:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 @itemize @bullet
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 When you get a new class library, or you have to work on source code you
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 haven't written yourself (or written sufficiently long ago), you need a
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
83 tool to let you navigate class hierarchies and investigate
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
84 features of the software. Without such a tool you often end up
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
85 @command{grep}ing through dozens or even hundreds of files.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 Once you are productive, it would be nice to have a tool that knows your
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 sources and can help you while you are editing source code. Imagine to
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 be able to jump to the definition of an identifier while you are
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 editing, or something that can complete long identifier names because it
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92 knows what identifiers are defined in your program@dots{}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93 @end itemize
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 The design of Ebrowse reflects these two needs.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
97 How does it work?
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
99 @cindex parser for C++ sources
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100 A fast parser written in C is used to process C++ source files.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 The parser generates a data base containing information about classes,
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
102 members, global functions, defines, types etc.@: found in the sources.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104 The second part of Ebrowse is a Lisp program. This program reads
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 the data base generated by the parser. It displays its contents in
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106 various forms and allows you to perform operations on it, or do
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107 something with the help of the knowledge contained in the data base.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
109 @cindex major modes, of Ebrowse buffers
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110 @dfn{Navigational} use of Ebrowse is centered around two
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 types of buffers which define their own major modes:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
113 @cindex tree buffer
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114 @dfn{Tree buffers} are used to view class hierarchies in tree form.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115 They allow you to quickly find classes, find or view class declarations,
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 perform operations like query replace on sets of your source files, and
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117 finally tree buffers are used to produce the second buffer form---member
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
118 buffers. @xref{Tree Buffers}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
120 @cindex member buffer
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 Members are displayed in @dfn{member buffers}. Ebrowse
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 distinguishes between six different types of members; each type is
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123 displayed as a member list of its own:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 @itemize @bullet
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
127 Instance member variables;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
130 Instance member functions;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
133 Static member variables;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
136 Static member functions;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
139 Friends/Defines. The list of defines is contained in the friends
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
140 list of the pseudo-class @samp{*Globals*};
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 Types (@code{enum}s, and @code{typedef}s defined with class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 scope).@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 @end itemize
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 You can switch member buffers from one list to another, or to another
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148 class. You can include inherited members in the display, you can set
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 filters that remove categories of members from the display, and most
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150 importantly you can find or view member declarations and definitions
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
151 with a keystroke. @xref{Member Buffers}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 These two buffer types and the commands they provide support the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 navigational use of the browser. The second form resembles Emacs' Tags
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 package for C and other procedural languages. Ebrowse's commands of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156 this type are not confined to special buffers; they are most often used
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 while you are editing your source code.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 To list just a subset of what you can use the Tags part of Ebrowse for:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 @itemize @bullet
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 Jump to the definition or declaration of an identifier in your source
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
164 code, with an electric position stack that lets you easily navigate
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165 back and forth.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168 Complete identifiers in your source with a completion list containing
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169 identifiers from your source code only.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172 Perform search and query replace operations over some or all of your
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 source files.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 Show all identifiers matching a regular expression---and jump to one of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177 them, if you like.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178 @end itemize
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 @node Generating browser files, Loading a Tree, Overview, Top
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 @chapter Processing Source Files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
187 @cindex @command{ebrowse}, the program
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
188 @cindex class data base creation
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189 Before you can start browsing a class hierarchy, you must run the parser
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
190 @command{ebrowse} on your source files in order to generate a Lisp data
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
191 base describing your program.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
192
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
193 @cindex command line for @command{ebrowse}
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
194 The operation of @command{ebrowse} can be tailored with command line
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195 options. Under normal circumstances it suffices to let the parser use
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196 its default settings. If you want to do that, call it with a command
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
197 line like:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
198
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200 ebrowse *.h *.cc
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203 @noindent
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
204 or, if your shell doesn't allow all the file names to be specified on
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
205 the command line,
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
206
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208 ebrowse --files=@var{file}
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
209 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 @noindent
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212 where @var{file} contains the names of the files to be parsed, one
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
213 per line.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
214
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
215 @findex --help
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
216 When invoked with option @samp{--help}, @command{ebrowse} prints a list of
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
217 available command line options.@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
219 @menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
220 * Input files:: Specifying which files to parse
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221 * Output file:: Changing the output file name
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222 * Structs and unions:: Omitting @code{struct}s and @code{union}s
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223 * Matching:: Setting regular expression lengths
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224 * Verbosity:: Getting feedback for lengthy operations
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225 @end menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
229
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
230 @comment name, next, prev, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
231 @node Input files, Output file, Generating browser files, Generating browser files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
232 @section Specifying Input Files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
233
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234 @table @samp
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
235 @cindex input files, for @command{ebrowse}
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
236 @item file
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
237 Each file name on the command line tells @command{ebrowse} to parse
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
238 that file.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
240 @cindex response files
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
241 @findex --files
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
242 @item --files=@var{file}
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
243 This command line switch specifies that @var{file} contains a list of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244 file names to parse. Each line in @var{file} must contain one file
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245 name. More than one option of this kind is allowed. You might, for
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246 instance, want to use one file for header files, and another for source
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
247 files.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
249 @cindex standard input, specifying input files
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
250 @item standard input
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
251 When @command{ebrowse} finds no file names on the command line, and no
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252 @samp{--file} option is specified, it reads file names from standard
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
253 input. This is sometimes convenient when @command{ebrowse} is used as part
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
254 of a command pipe.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
256 @findex --search-path
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
257 @item --search-path=@var{paths}
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
258 This option lets you specify search paths for your input files.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
259 @var{paths} is a list of directory names, separated from each other by a
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260 either a colon or a semicolon, depending on the operating system.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
261 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
262
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
263 @cindex header files
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
264 @cindex friend functions
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265 It is generally a good idea to specify input files so that header files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266 are parsed before source files. This facilitates the parser's work of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
267 properly identifying friend functions of a class.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
268
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
269
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
270
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
271 @comment name, next, prev, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
272 @node Output file, Structs and unions, Input files, Generating browser files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
273 @section Changing the Output File Name
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
274
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
275 @table @samp
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
276 @cindex output file name
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
277 @findex --output-file
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
278 @cindex @file{BROWSE} file
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279 @item --output-file=@var{file}
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
280 This option instructs @command{ebrowse} to generate a Lisp data base with
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281 name @var{file}. By default, the data base is named @file{BROWSE}, and
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
282 is written in the directory in which @command{ebrowse} is invoked.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
283
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284 If you regularly use data base names different from the default, you
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
285 might want to add this to your init file:
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287 @lisp
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
288 (add-to-list 'auto-mode-alist '(@var{NAME} . ebrowse-tree-mode))
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289 @end lisp
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
290
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
291 @noindent
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292 where @var{NAME} is the Lisp data base name you are using.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
293
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
294 @findex --append
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
295 @cindex appending output to class data base
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296 @item --append
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
297 By default, each run of @command{ebrowse} erases the old contents of the
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
298 output file when writing to it. You can instruct @command{ebrowse} to
38440
9967daaa0231 Fix typo.
Pavel Janík <Pavel@Janik.cz>
parents: 38430
diff changeset
299 append its output to an existing file produced by @command{ebrowse}
38430
f8ffa9c41f7a Some clarification for --append.
Gerd Moellmann <gerd@gnu.org>
parents: 36332
diff changeset
300 with this command line option.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
301 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
302
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
304
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
305
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306 @comment name, next, prev, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
307 @node Structs and unions, Matching, Output file, Generating browser files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
308 @section Structs and Unions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
309 @cindex structs
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
310 @cindex unions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
311
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
312 @table @samp
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
313 @findex --no-structs-or-unions
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314 @item --no-structs-or-unions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
315 This switch suppresses all classes in the data base declared as
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
316 @code{struct} or @code{union} in the output.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
318 This is mainly useful when you are converting an existing
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
319 C program to C++, and do not want to see the old C structs in a class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
320 tree.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
321 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
323
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
324
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
325
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
326 @comment name, next, prev, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
327 @node Matching, Verbosity, Structs and unions, Generating browser files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
328 @section Regular Expressions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
329
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
330 @cindex regular expressions, recording
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
331 The parser @command{ebrowse} normally writes regular expressions to its
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
332 output file that help the Lisp part of Ebrowse to find functions,
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
333 variables etc.@: in their source files.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
335 You can instruct @command{ebrowse} to omit these regular expressions by
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
336 calling it with the command line switch @samp{--no-regexps}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
338 When you do this, the Lisp part of Ebrowse tries to guess, from member
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
339 or class names, suitable regular expressions to locate that class or
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 member in source files. This works fine in most cases, but the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
341 automatic generation of regular expressions can be too weak if unusual
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
342 coding styles are used.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
344 @table @samp
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
345 @findex --no-regexps
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
346 @item --no-regexps
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
347 This option turns off regular expression recording.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
348
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
349 @findex --min-regexp-length
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
350 @cindex minimum regexp length for recording
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
351 @item --min-regexp-length=@var{n}
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
352 The number @var{n} following this option specifies the minimum length of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
353 the regular expressions recorded to match class and member declarations
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
354 and definitions. The default value is set at compilation time of
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
355 @command{ebrowse}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
356
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
357 The smaller the minimum length, the higher the probability that
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
358 Ebrowse will find a wrong match. The larger the value, the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
359 larger the output file and therefore the memory consumption once the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360 file is read from Emacs.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
361
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
362 @findex --max-regexp-length
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
363 @cindex maximum regexp length for recording
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
364 @item --max-regexp-length=@var{n}
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
365 The number following this option specifies the maximum length of the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366 regular expressions used to match class and member declarations and
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
367 definitions. The default value is set at compilation time of
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
368 @command{ebrowse}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
370 The larger the maximum length, the higher the probability that the
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371 browser will find a correct match, but the larger the value the larger
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372 the output file and therefore the memory consumption once the data is
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
373 read. As a second effect, the larger the regular expression, the higher
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
374 the probability that it will no longer match after editing the file.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
375 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
376
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
377
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
378
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
380 @node Verbosity, , Matching, Generating browser files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
381 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382 @section Verbose Mode
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
383 @cindex verbose operation
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
384
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385 @table @samp
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
386 @findex --verbose
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
387 @item --verbose
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
388 When this option is specified on the command line, @command{ebrowse} prints
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
389 a period for each file parsed, and it displays a @samp{+} for each
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
390 class written to the output file.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
392 @findex --very-verbose
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
393 @item --very-verbose
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
394 This option makes @command{ebrowse} print out the names of the files and
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
395 the names of the classes seen.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
396 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
397
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
398
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
399
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
400
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
401 @node Loading a Tree, Tree Buffers, Generating browser files, Top
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
402 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
403 @chapter Starting to Browse
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
404 @cindex loading
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
405 @cindex browsing
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
406
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
407 You start browsing a class hierarchy parsed by @command{ebrowse} by just
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
408 finding the @file{BROWSE} file with @kbd{C-x C-f}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
409
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
410 An example of a tree buffer display is shown below.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
411
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
412 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
413 | Collection
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
414 | IndexedCollection
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
415 | Array
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
416 | FixedArray
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
417 | Set
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
418 | Dictionary
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
419 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
420
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
421 @cindex mouse highlight in tree buffers
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
422 When you run Emacs on a display which supports colors and the mouse, you
36332
1b818d2add6e (Loading a Tree): Remove doubled `that'.
Gerd Moellmann <gerd@gnu.org>
parents: 36161
diff changeset
423 will notice that certain areas in the tree buffer are highlighted
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
424 when you move the mouse over them. This highlight marks mouse-sensitive
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
425 regions in the buffer. Please notice the help strings in the echo area
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
426 when the mouse moves over a sensitive region.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
427
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
428 @cindex context menu
36161
f6ba7a00b9e1 Upcase "mouse" in @kbd.
Richard M. Stallman <rms@gnu.org>
parents: 35951
diff changeset
429 A click with @kbd{Mouse-3} on a mouse-sensitive region opens a context
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
430 menu. In addition to this, each buffer also has a buffer-specific menu
36161
f6ba7a00b9e1 Upcase "mouse" in @kbd.
Richard M. Stallman <rms@gnu.org>
parents: 35951
diff changeset
431 that is opened with a click with @kbd{Mouse-3} somewhere in the buffer
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
432 where no highlight is displayed.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
433
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
434
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
435
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
436 @comment ****************************************************************
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
437 @comment ***
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
438 @comment *** TREE BUFFERS
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
439 @comment ***
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
440 @comment ****************************************************************
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
441
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
442 @node Tree Buffers, Member Buffers, Loading a Tree, Top
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
443 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
444 @chapter Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
445 @cindex tree buffer mode
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
446 @cindex class trees
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
447
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
448 Class trees are displayed in @dfn{tree buffers} which install their own
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
449 major mode. Most Emacs keys work in tree buffers in the usual way,
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
450 e.g.@: you can move around in the buffer with the usual @kbd{C-f},
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
451 @kbd{C-v} etc., or you can search with @kbd{C-s}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
452
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
453 Tree-specific commands are bound to simple keystrokes, similar to
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
454 @code{Gnus}. You can take a look at the key bindings by entering
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
455 @kbd{?} which calls @code{M-x describe-mode} in both tree and member
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
456 buffers.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
457
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
458 @menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
459 * Source Display:: Viewing and finding a class declaration
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
460 * Member Display:: Showing members, switching to member buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
461 * Go to Class:: Finding a class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
462 * Quitting:: Discarding and burying the tree buffer
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
463 * File Name Display:: Showing file names in the tree
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
464 * Expanding and Collapsing:: Expanding and collapsing branches
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
465 * Tree Indentation:: Changing the tree indentation
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
466 * Killing Classes:: Removing class from the tree
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
467 * Saving a Tree:: Saving a modified tree
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
468 * Statistics:: Displaying class tree statistics
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
469 * Marking Classes:: Marking and unmarking classes
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
470 @end menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
471
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
472
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
473
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
474 @node Source Display, Member Display, Tree Buffers, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
475 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
476 @section Viewing and Finding Class Declarations
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
477 @cindex viewing, class
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
478 @cindex finding a class
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
479 @cindex class declaration
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
480
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
481 You can view or find a class declaration when the cursor is on a class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
482 name.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
483
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
484 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
485 @item SPC
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
486 This command views the class declaration if the database
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
487 contains informations about it. If you don't parse the entire source
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
488 you are working on, some classes will only be known to exist but the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
489 location of their declarations and definitions will not be known.@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
490
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
491 @item RET
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
492 Works like @kbd{SPC}, except that it finds the class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
493 declaration rather than viewing it, so that it is ready for
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
494 editing.@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
495 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
496
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
497 The same functionality is available from the menu opened with
36161
f6ba7a00b9e1 Upcase "mouse" in @kbd.
Richard M. Stallman <rms@gnu.org>
parents: 35951
diff changeset
498 @kbd{Mouse-3} on the class name.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
499
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
500
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
501
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
502
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
503 @node Member Display, Go to Class, Source Display, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
504 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
505 @section Displaying Members
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
506 @cindex @samp{*Members*} buffer
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
507 @cindex @samp{*Globals*}
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
508 @cindex freezing a member buffer
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
509 @cindex member lists, in tree buffers
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
510
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
511 Ebrowse distinguishes six different kinds of members, each of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
512 which is displayed as a separate @dfn{member list}: instance variables,
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
513 instance functions, static variables, static functions, friend
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
514 functions, and types.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
515
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
516 Each of these lists can be displayed in a member buffer with a command
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
517 starting with @kbd{L} when the cursor is on a class name. By default,
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
518 there is only one member buffer named @dfn{*Members*} that is reused
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
519 each time you display a member list---this has proven to be more
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
520 practical than to clutter up the buffer list with dozens of member
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
521 buffers.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
522
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
523 If you want to display more than one member list at a time you can
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
524 @dfn{freeze} its member buffer. Freezing a member buffer prevents it
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
525 from being overwritten the next time you display a member list. You can
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
526 toggle this buffer status at any time.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
527
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
528 Every member list display command in the tree buffer can be used with a
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
529 prefix argument (@kbd{C-u}). Without a prefix argument, the command will
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
530 pop to a member buffer displaying the member list. With prefix argument,
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
531 the member buffer will additionally be @dfn{frozen}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
532
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
533 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
534 @cindex instance member variables, list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
535 @item L v
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
536 This command displays the list of instance member variables.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
537
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
538 @cindex static variables, list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
539 @item L V
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
540 Display the list of static variables.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
541
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
542 @cindex friend functions, list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
543 @item L d
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
544 Display the list of friend functions. This list is used for defines if
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
545 you are viewing the class @samp{*Globals*} which is a place holder for
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
546 global symbols.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
547
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
548 @cindex member functions, list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
549 @item L f
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
550 Display the list of member functions.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
551
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
552 @cindex static member functions, list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
553 @item L F
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
554 Display the list of static member functions.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
555
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
556 @cindex types, list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
557 @item L t
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
558 Display a list of types.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
559 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
560
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
561 These lists are also available from the class' context menu invoked with
36161
f6ba7a00b9e1 Upcase "mouse" in @kbd.
Richard M. Stallman <rms@gnu.org>
parents: 35951
diff changeset
562 @kbd{Mouse-3} on the class name.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
563
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
564
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
565
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
566
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
567 @node Go to Class, Quitting, Member Display, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
568 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
569 @section Finding a Class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
570 @cindex locate class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
571 @cindex expanding branches
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
572 @cindex class location
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
573
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
574 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
575 @cindex search for class
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
576 @item /
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
577 This command reads a class name from the minibuffer with completion and
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
578 positions the cursor on the class in the class tree.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
579
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
580 If the branch of the class tree containing the class searched for is
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
581 currently collapsed, the class itself and all its base classes are
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
582 recursively made visible. (See also @ref{Expanding and
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
583 Collapsing}.)@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
584
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
585 This function is also available from the tree buffer's context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
586
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
587 @item n
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
588 Repeat the last search done with @kbd{/}. Each tree buffer has its own
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
589 local copy of the regular expression last searched in it.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
590 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
591
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
592
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
593
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
594
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
595 @node Quitting, File Name Display, Go to Class, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
596 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
597 @section Burying a Tree Buffer
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
598 @cindex burying tree buffer
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
599
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
600 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
601 @item q
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
602 Is a synonym for @kbd{M-x bury-buffer}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
603 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
604
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
605
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
606
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
607
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
608 @node File Name Display, Expanding and Collapsing, Quitting, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
609 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
610 @section Displaying File Names
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
611
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
612 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
613 @cindex file names in tree buffers
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
614 @item T f
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
615 This command toggles the display of file names in a tree buffer. If
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
616 file name display is switched on, the names of the files containing the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
617 class declaration are shown to the right of the class names. If the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
618 file is not known, the string @samp{unknown} is displayed.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
619
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
620 This command is also provided in the tree buffer's context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
621
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
622 @item s
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
623 Display file names for the current line, or for the number of lines
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
624 given by a prefix argument.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
625 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
626
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
627 Here is an example of a tree buffer with file names displayed.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
628
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
629 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
630 | Collection (unknown)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
631 | IndexedCollection (indexedcltn.h)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
632 | Array (array.h)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
633 | FixedArray (fixedarray.h)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
634 | Set (set.h)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
635 | Dictionary (dict.h)
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
636 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
637
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
638
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
639
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
640
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
641 @node Expanding and Collapsing, Tree Indentation, File Name Display, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
642 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
643 @section Expanding and Collapsing a Tree
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
644 @cindex expand tree branch
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
645 @cindex collapse tree branch
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
646 @cindex branches of class tree
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
647 @cindex class tree, collapse or expand
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
648
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
649 You can expand and collapse parts of a tree to reduce the complexity of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
650 large class hierarchies. Expanding or collapsing branches of a tree has
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
651 no impact on the functionality of other commands, like @kbd{/}. (See
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
652 also @ref{Go to Class}.)@refill
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
653
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
654 Collapsed branches are indicated with an ellipsis following the class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
655 name like in the example below.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
656
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
657 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
658 | Collection
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
659 | IndexedCollection...
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
660 | Set
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
661 | Dictionary
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
662 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
663
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
664 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
665 @item -
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
666 This command collapses the branch of the tree starting at the class the
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
667 cursor is on.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
668
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
669 @item +
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
670 This command expands the branch of the tree starting at the class the
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
671 cursor is on. Both commands for collapsing and expanding branches are
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
672 also available from the class' object menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
673
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
674 @item *
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
675 This command expands all collapsed branches in the tree.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
676 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
677
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
678
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
679
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
680
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
681 @node Tree Indentation, Killing Classes, Expanding and Collapsing, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
682 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
683 @section Changing the Tree Indentation
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
684 @cindex tree indentation
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
685 @cindex indentation of the tree
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
686
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
687 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
688 @item T w
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
689 This command reads a new indentation width from the minibuffer and
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
690 redisplays the tree buffer with the new indentation It is also
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
691 available from the tree buffer's context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
692 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
693
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
694
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
695
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
696
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
697 @node Killing Classes, Saving a Tree, Tree Indentation, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
698 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
699 @section Removing Classes from the Tree
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
700 @cindex killing classes
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
701 @cindex class, remove from tree
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
702
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
703 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
704 @item C-k
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
705 This command removes the class the cursor is on and all its derived
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
706 classes from the tree. The user is asked for confirmation before the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
707 deletion is actually performed.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
708 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
709
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
710
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
711
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
712
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
713 @node Saving a Tree, Statistics, Killing Classes, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
714 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
715 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
716 @section Saving a Tree
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
717 @cindex save tree to a file
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
718 @cindex tree, save to a file
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
719 @cindex class tree, save to a file
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
720
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
721 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
722 @item C-x C-s
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
723 This command writes a class tree to the file from which it was read.
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
724 This is useful after classes have been deleted from a tree.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
725
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
726 @item C-x C-w
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
727 Writes the tree to a file whose name is read from the minibuffer.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
728 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
729
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
730
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
731
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
732
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
733 @node Statistics, Marking Classes, Saving a Tree, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
734 @comment node-name, next, previous, up
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
735 @cindex statistics for a tree
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
736 @cindex tree statistics
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
737 @cindex class statistics
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
738
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
739 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
740 @item x
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
741 Display statistics for the tree, like number of classes in it, number of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
742 member functions, etc. This command can also be found in the buffer's
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
743 context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
744 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
745
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
746
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
747
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
748
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
749 @node Marking Classes, , Statistics, Tree Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
750 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
751 @cindex marking classes
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
752 @cindex operations on marked classes
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
753
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
754 Classes can be marked for operations similar to the standard Emacs
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
755 commands @kbd{M-x tags-search} and @kbd{M-x tags-query-replace} (see
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
756 also @xref{Tags-like Functions}.)@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
757
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
758 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
759 @cindex toggle mark
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
760 @item M t
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
761 Toggle the mark of the line point is in or for as many lines as given by
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
762 a prefix command. This command can also be found in the class' context
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
763 menu.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
764
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
765 @cindex unmark all
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
766 @item M a
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
767 Unmark all classes. With prefix argument @kbd{C-u}, mark all classes in
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
768 the tree. Since this command operates on the whole buffer, it can also be
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
769 found in the buffer's object menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
770 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
771
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
772 Marked classes are displayed with an @code{>} in column one of the tree
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
773 display, like in the following example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
774
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
775 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
776 |> Collection
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
777 | IndexedCollection...
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
778 |> Set
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
779 | Dictionary
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
780 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
781
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
782
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
783
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
784
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
785 @c ****************************************************************
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
786 @c ***
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
787 @c *** MEMBER BUFFERS
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
788 @c ***
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
789 @c ****************************************************************
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
790
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
791 @node Member Buffers, Tags-like Functions, Tree Buffers, Top
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
792 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
793 @chapter Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
794 @cindex members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
795 @cindex member buffer mode
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
796
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
797 @cindex class members, types
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
798 @cindex types of class members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
799 @dfn{Member buffers} are used to operate on lists of members of a class.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
800 Ebrowse distinguishes six kinds of lists:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
801
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
802 @itemize @bullet
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
803 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
804 Instance variables (normal member variables);
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
805 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
806 Instance functions (normal member functions);
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
807 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
808 Static variables;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
809 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
810 Static member functions;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
811 @item
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
812 Friend functions;
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
813 @item
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
814 Types (@code{enum}s and @code{typedef}s defined with class scope.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
815 Nested classes will be shown in the class tree like normal classes.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
816 @end itemize
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
817
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
818 Like tree buffers, member buffers install their own major mode. Also
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
819 like in tree buffers, menus are provided for certain areas in the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
820 buffer: members, classes, and the buffer itself.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
821
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
822 @menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
823 * Switching Member Lists:: Choosing which members to display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
824 * Finding/Viewing:: Modifying source code
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
825 * Inherited Members:: Display of Inherited Members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
826 * Searching Members:: Finding members in member buffer
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
827 * Switching to Tree:: Going back to the tree buffer
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
828 * Filters:: Selective member display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
829 * Attributes:: Display of @code{virtual} etc.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
830 * Long and Short Display:: Comprehensive and verbose display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
831 * Regexp Display:: Showing matching regular expressions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
832 * Switching Classes:: Displaying another class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
833 * Killing/Burying:: Getting rid of the member buffer
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
834 * Column Width:: Display style
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
835 * Redisplay:: Redrawing the member list
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
836 * Getting Help:: How to get help for key bindings
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
837 @end menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
838
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
839
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
840
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
841
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
842 @node Switching Member Lists, Finding/Viewing, Member Buffers, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
843 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
844 @section Switching Member Lists
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
845 @cindex member lists, in member buffers
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
846 @cindex static members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
847 @cindex friends
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
848 @cindex types
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
849 @cindex defines
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
850
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
851 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
852 @cindex next member list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
853 @item L n
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
854 This command switches the member buffer display to the next member list.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
855
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
856 @cindex previous member list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
857 @item L p
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
858 This command switches the member buffer display to the previous member
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
859 list.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
860
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
861 @item L f
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
862 Switch to the list of member functions.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
863
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
864 @cindex static
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
865 @item L F
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
866 Switch to the list of static member functions.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
868 @item L v
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
869 Switch to the list of member variables.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
870
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
871 @item L V
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
872 Switch to the list of static member variables.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
873
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
874 @item L d
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
875 Switch to the list of friends or defines.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
876
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
877 @item L t
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
878 Switch to the list of types.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
879 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
880
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
881 Both commands cycle through the member list.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
882
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
883 Most of the commands are also available from the member buffer's
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
884 context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
885
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
886
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
887
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
888
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
889 @node Finding/Viewing, Inherited Members, Switching Member Lists, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
890 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
891 @section Finding and Viewing Member Source
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
892 @cindex finding members, in member buffers
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
893 @cindex viewing members, in member buffers
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
894 @cindex member definitions, in member buffers
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
895 @cindex member declarations, in member buffers
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
896 @cindex definition of a member, in member buffers
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
897 @cindex declaration of a member, in member buffers
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
898
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
899 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
900 @item RET
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
901 This command finds the definition of the member the cursor is on.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
902 Finding involves roughly the same as the standard Emacs tags facility
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
903 does---loading the file and searching for a regular expression matching
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
904 the member.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
905
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
906 @item f
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
907 This command finds the declaration of the member the cursor is on.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
908
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
909 @item SPC
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
910 This is the same command as @kbd{RET}, but views the member definition
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
911 instead of finding the member's source file.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
912
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
913 @item v
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
914 This is the same command as @kbd{f}, but views the member's declaration
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
915 instead of finding the file the declaration is in.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
916 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
917
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
918 You can install a hook function to perform actions after a member or
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
919 class declaration or definition has been found, or when it is not found.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
920
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
921 All the commands described above can also be found in the context menu
36161
f6ba7a00b9e1 Upcase "mouse" in @kbd.
Richard M. Stallman <rms@gnu.org>
parents: 35951
diff changeset
922 displayed when clicking @kbd{Mouse-2} on a member name.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
923
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
924
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
925
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
926
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
927 @node Inherited Members, Searching Members, Finding/Viewing, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
928 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
929 @section Display of Inherited Members
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
930 @cindex superclasses, members
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
931 @cindex base classes, members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
932 @cindex inherited members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
933
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
934 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
935 @item D b
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
936 This command toggles the display of inherited members in the member
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
937 buffer. This is also in the buffer's context menu.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
938 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
939
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
940
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
941
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
942
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
943 @node Searching Members, Switching to Tree, Inherited Members, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
944 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
945 @section Searching Members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
946 @cindex searching members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
947
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
948 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
949 @item G v
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
950 Position the cursor on a member whose name is read from the minibuffer;
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
951 only members shown in the current member buffer appear in the completion
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
952 list.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
953
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
954 @item G m
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
955 Like the above command, but all members for the current class appear in
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
956 the completion list. If necessary, the current member list is switched
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
957 to the one containing the member.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
958
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
959 With a prefix argument (@kbd{C-u}), all members in the class tree,
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
960 i.e.@: all members the browser knows about appear in the completion
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
961 list. The member display will be switched to the class and member list
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
962 containing the member.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
963
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
964 @item G n
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
965 Repeat the last member search.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
966 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
967
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
968 Look into the buffer's context menu for a convenient way to do this with
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
969 a mouse.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
970
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
971
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
972
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
973 @node Switching to Tree, Filters, Searching Members, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
974 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
975 @section Switching to Tree Buffer
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
976 @cindex tree buffer, switch to
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
977 @cindex buffer switching
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
978 @cindex switching buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
979
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
980 @table @kbd
68313
20ff812ba5b3 Use @key for TAB.
Eli Zaretskii <eliz@gnu.org>
parents: 65555
diff changeset
981 @item @key{TAB}
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
982 Pop up the tree buffer to which the member buffer belongs.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
983
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
984 @item t
68313
20ff812ba5b3 Use @key for TAB.
Eli Zaretskii <eliz@gnu.org>
parents: 65555
diff changeset
985 Do the same as @key{TAB} but also position the cursor on the class
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
986 displayed in the member buffer.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
987 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
988
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
989
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
990
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
991
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
992 @node Filters, Attributes, Switching to Tree, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
993 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
994 @section Filters
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
995 @cindex filters
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
996
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
997 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
998 @cindex @code{public} members
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
999 @item F a u
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1000 This command toggles the display of @code{public} members. The
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1001 @samp{a} stands for `access'.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1002
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1003 @cindex @code{protected} members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1004 @item F a o
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1005 This command toggles the display of @code{protected} members.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1006
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1007 @cindex @code{private} members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1008 @item F a i
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1009 This command toggles the display of @code{private} members.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1010
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1011 @cindex @code{virtual} members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1012 @item F v
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1013 This command toggles the display of @code{virtual} members.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1014
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1015 @cindex @code{inline} members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1016 @item F i
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1017 This command toggles the display of @code{inline} members.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1018
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1019 @cindex @code{const} members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1020 @item F c
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1021 This command toggles the display of @code{const} members.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1022
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1023 @cindex pure virtual members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1024 @item F p
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1025 This command toggles the display of pure virtual members.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1026
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1027 @cindex remove filters
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1028 @item F r
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1029 This command removes all filters.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1030 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1031
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1032 These commands are also found in the buffer's context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1033
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1034
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1035
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1036
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1037 @node Attributes, Long and Short Display, Filters, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1038 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1039 @section Displaying Member Attributes
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1040 @cindex attributes
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1041 @cindex member attribute display
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1042
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1043 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1044 @item D a
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1045 Toggle the display of member attributes (default is on).
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1046
36332
1b818d2add6e (Loading a Tree): Remove doubled `that'.
Gerd Moellmann <gerd@gnu.org>
parents: 36161
diff changeset
1047 The nine member attributes Ebrowse knows about are displayed
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1048 as a list a single-characters flags enclosed in angle brackets in front
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1049 the of the member's name. A @samp{-} at a given position means that
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1050 the attribute is false. The list of attributes from left to right is
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1051
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1052 @table @samp
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1053 @cindex @code{template} attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1054 @item T
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1055 The member is a template.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1056
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1057 @cindex @code{extern "C"} attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1058 @item C
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1059 The member is declared @code{extern "C"}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1060
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1061 @cindex @code{virtual} attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1062 @item v
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1063 Means the member is declared @code{virtual}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1064
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1065 @cindex @code{inline}
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1066 @item i
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1067 The member is declared @code{inline}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1068
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1069 @cindex @code{const} attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1070 @item c
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1071 The member is @code{const}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1072
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1073 @cindex pure virtual function attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1074 @item 0
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1075 The member is a pure virtual function.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1076
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1077 @cindex @code{mutable} attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1078 @item m
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1079 The member is declared @code{mutable}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1080
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1081 @cindex @code{explicit} attribute
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1082 @item e
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1083 The member is declared @code{explicit}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1084
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1085 @item t
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1086 The member is a function with a throw list.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1087 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1088 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1089
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1090 This command is also in the buffer's context menu.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1091
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1092
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1093
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1094 @node Long and Short Display, Regexp Display, Attributes, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1095 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1096 @section Long and Short Member Display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1097 @cindex display form
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1098 @cindex long display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1099 @cindex short display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1100
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1101 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1102 @item D l
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1103 This command toggles the member buffer between short and long display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1104 form. The short display form displays member names, only:
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1105
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1106 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1107 | isEmpty contains hasMember create
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1108 | storeSize hash isEqual restoreGuts
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1109 | saveGuts
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1110 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1111
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1112 The long display shows one member per line with member name and regular
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1113 expressions matching the member (if known):
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1114
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1115 @example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1116 | isEmpty Bool isEmpty () const...
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1117 | hash unsigned hash () const...
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1118 | isEqual int isEqual (...
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1119 @end example
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1120
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1121 Regular expressions will only be displayed when the Lisp database has
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1122 not been produced with the @command{ebrowse} option @samp{--no-regexps}.
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1123 @xref{Matching, --no-regexps, Regular Expressions}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1124 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1125
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1126
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1127
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1128
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1129 @node Regexp Display, Switching Classes, Long and Short Display, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1130 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1131 @section Display of Regular Expressions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1132 @cindex regular expression display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1133
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1134 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1135 @item D r
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1136 This command toggles the long display form from displaying the regular
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1137 expressions matching the member declarations to those expressions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1138 matching member definitions.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1139 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1140
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1141 Regular expressions will only be displayed when the Lisp database has
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1142 not been produced with the @command{ebrowse} option @samp{--no-regexps},
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1143 see @ref{Matching, --no-regexps, Regular Expressions}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1144
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1145
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1146
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1147
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1148 @node Switching Classes, Killing/Burying, Regexp Display, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1149 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1150 @section Displaying Another Class
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1151 @cindex base class, display
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1152 @cindex derived class, display
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1153 @cindex superclass, display
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1154 @cindex subclass, display
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1155 @cindex class display
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1156
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1157 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1158 @item C c
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1159 This command lets you switch the member buffer to another class. It
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1160 reads the name of the new class from the minibuffer with completion.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1161
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1162 @item C b
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1163 This is the same command as @kbd{C c} but restricts the classes shown in
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1164 the completion list to immediate base classes, only. If only one base
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1165 class exists, this one is immediately shown in the minibuffer.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1166
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1167 @item C d
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1168 Same as @kbd{C b}, but for derived classes.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1169
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1170 @item C p
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1171 Switch to the previous class in the class hierarchy on the same level as
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1172 the class currently displayed.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1173
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1174 @item C n
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1175 Switch to the next sibling of the class in the class tree.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1176 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1177
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1178
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1179
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1180
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1181 @node Killing/Burying, Column Width, Switching Classes, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1182 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1183 @section Burying a Member Buffer
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1184 @cindex burying member buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1185
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1186 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1187 @item q
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1188 This command is a synonym for @kbd{M-x bury-buffer}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1189 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1190
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1191
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1192
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1193
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1194 @node Column Width, Redisplay, Killing/Burying, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1195 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1196 @section Setting the Column Width
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1197 @cindex column width
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1198 @cindex member indentation
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1199 @cindex indentation, member
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1200
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1201 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1202 @item D w
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1203 This command sets the column width depending on the display form used
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1204 (long or short display).
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1205 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1206
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1207
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1208
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1209
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1210 @node Redisplay, Getting Help, Column Width, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1211 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1212 @section Forced Redisplay
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1213 @cindex redisplay of member buffers
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1214
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1215 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1216 @item C-l
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1217 This command forces a redisplay of the member buffer. If the width
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1218 of the window displaying the member buffer is changed this command
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1219 redraws the member list with the appropriate column widths and number of
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
1220 columns.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1221 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1222
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1223
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1224
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1225
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1226 @node Getting Help, , Redisplay, Member Buffers
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1227 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1228 @cindex help
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1229
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1230 @table @kbd
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1231 @item ?
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1232 This key is bound to @code{describe-mode}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1233 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1234
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1235
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1236
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1237
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1238 @comment **************************************************************
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1239 @comment *** TAGS LIKE FUNCTIONS
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1240 @comment **************************************************************
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1241
77235
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1242 @node Tags-like Functions, GNU Free Documentation License, Member Buffers, Top
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1243 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1244 @chapter Tags-like Functions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1245
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1246 Ebrowse provides tags functions similar to those of the standard
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1247 Emacs Tags facility, but better suited to the needs of C++ programmers.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1248
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1249 @menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1250 * Finding and Viewing:: Going to a member declaration/definition
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1251 * Position Stack:: Moving to previous locations
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1252 * Search & Replace:: Searching and replacing over class tree files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1253 * Members in Files:: Listing all members in a given file
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1254 * Apropos:: Listing members matching a regular expression
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1255 * Symbol Completion:: Completing names while editing
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1256 * Member Buffer Display:: Quickly display a member buffer for some
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1257 identifier
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1258 @end menu
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1259
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1260
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1261
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1262 @node Finding and Viewing, Position Stack, Tags-like Functions, Tags-like Functions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1263 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1264 @section Finding and Viewing Members
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1265 @cindex finding class member, in C++ source
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1266 @cindex viewing class member, in C++ source
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1267 @cindex tags
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1268 @cindex member definition, finding, in C++ source
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1269 @cindex member declaration, finding, in C++ source
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1270
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1271 The functions in this section are similar to those described in
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1272 @ref{Source Display}, and also in @ref{Finding/Viewing}, except that
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1273 they work in a C++ source buffer, not in member and tree buffers created
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1274 by Ebrowse.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1275
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1276 @table @kbd
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1277 @item C-c C-m f
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1278 Find the definition of the member around point. If you invoke this
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1279 function with a prefix argument, the declaration is searched.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1280
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1281 If more than one class contains a member with the given name you can
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1282 select the class with completion. If there is a scope declaration in
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1283 front of the member name, this class name is used as initial input for
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1284 the completion.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1285
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1286 @item C-c C-m F
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1287 Find the declaration of the member around point.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1288
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1289 @item C-c C-m v
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1290 View the definition of the member around point.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1291
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1292 @item C-c C-m V
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1293 View the declaration of the member around point.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1294
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1295 @item C-c C-m 4 f
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1296 Find a member's definition in another window.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1297
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1298 @item C-c C-m 4 F
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1299 Find a member's declaration in another window.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1300
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1301 @item C-c C-m 4 v
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1302 View a member's definition in another window.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1303
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1304 @item C-c C-m 4 V
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1305 View a member's declaration in another window.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1306
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1307 @item C-c C-m 5 f
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1308 Find a member's definition in another frame.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1309
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1310 @item C-c C-m 5 F
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1311 Find a member's declaration in another frame.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1312
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1313 @item C-c C-m 5 v
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1314 View a member's definition in another frame.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1315
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1316 @item C-c C-m 5 V
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1317 View a member's declaration in another frame.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1318 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1319
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1320
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1321
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1322 @node Position Stack, Search & Replace, Finding and Viewing, Tags-like Functions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1323 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1324 @section The Position Stack
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1325 @cindex position stack
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1326
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1327 When jumping to a member declaration or definition with one of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1328 Ebrowse's commands, the position from where you performed the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1329 jump and the position where you jumped to are recorded in a
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1330 @dfn{position stack}. There are several ways in which you can quickly
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1331 move to positions in the stack:@refill
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1332
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1333 @table @kbd
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1334 @cindex return to original position
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1335 @item C-c C-m -
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1336 This command sets point to the previous position in the position stack.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1337 Directly after you performed a jump, this will put you back to the
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1338 position where you came from.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1339
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
1340 The stack is not popped, i.e.@: you can always switch back and forth
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1341 between positions in the stack. To avoid letting the stack grow to
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1342 infinite size there is a maximum number of positions defined. When this
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1343 number is reached, older positions are discarded when new positions are
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1344 pushed on the stack.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1345
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1346 @item C-c C-m +
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1347 This command moves forward in the position stack, setting point to
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1348 the next position stored in the position stack.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1349
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1350 @item C-c C-m p
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
1351 Displays an electric buffer showing all positions saved in the stack.
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
1352 You can select a position by pressing @kbd{SPC} in a line. You can
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1353 view a position with @kbd{v}.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1354 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1355
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1356
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1357
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1358
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1359 @node Search & Replace, Members in Files, Position Stack, Tags-like Functions
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1360 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1361 @section Searching and Replacing
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1362 @cindex searching multiple C++ files
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1363 @cindex replacing in multiple C++ files
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1364 @cindex restart tags-operation
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1365
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1366 Ebrowse allows you to perform operations on all or a subset of the files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1367 mentioned in a class tree. When you invoke one of the following
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1368 functions and more than one class tree is loaded, you must choose a
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1369 class tree to use from an electric tree menu. If the selected tree
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1370 contains marked classes, the following commands operate on the files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1371 mentioned in the marked classes only. Otherwise all files in the class
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1372 tree are used.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1373
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1374 @table @kbd
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1375 @item C-c C-m s
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1376 This function performs a regular expression search in the chosen set of
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1377 files.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1378
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1379 @item C-c C-m u
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1380 This command performs a search for calls of a given member which is
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1381 selected in the usual way with completion.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1382
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1383 @item C-c C-m %
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1384 Perform a query replace over the set of files.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1385
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1386 @item C-c C-m ,
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
1387 All three operations above stop when finding a match. You can restart
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1388 the operation with this command.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1389
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1390 @item C-c C-m n
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
1391 This restarts the last tags operation with the next file in the list.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1392 @end table
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1393
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1394
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1395
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1396
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1397 @node Members in Files, Apropos, Search & Replace, Tags-like Functions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1398 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1399 @section Members in Files
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1400 @cindex files
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1401 @cindex members in file, listing
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1402 @cindex list class members in a file
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1403 @cindex file, members
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1404
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1405 The command @kbd{C-c C-m l}, lists all members in a given file. The file
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1406 name is read from the minibuffer with completion.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1407
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1408
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1409
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1410
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1411 @node Apropos, Symbol Completion, Members in Files, Tags-like Functions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1412 @comment node-name, next, previous, up
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 47737
diff changeset
1413 @section Member Apropos
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1414 @cindex apropos on class members
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1415 @cindex members, matching regexp
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1416
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1417 The command @kbd{C-c C-m a} can be used to display all members matching a
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1418 given regular expression. This command can be very useful if you
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1419 remember only part of a member name, and not its beginning.
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1420
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1421 A special buffer is popped up containing all identifiers matching the
30807
a788b278d7e6 Minor English and formatting changes.
Dave Love <fx@gnu.org>
parents: 29713
diff changeset
1422 regular expression, and what kind of symbol it is (e.g.@: a member
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1423 function, or a type). You can then switch to this buffer, and use the
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1424 command @kbd{C-c C-m f}, for example, to jump to a specific member.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1425
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1426
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1427
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1428
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1429 @node Symbol Completion, Member Buffer Display, Apropos, Tags-like Functions
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1430 @comment node-name, next, previous, up
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1431 @section Symbol Completion
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1432 @cindex completion
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1433 @cindex symbol completion
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1434
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1435 The command @kbd{C-c C-m @key{TAB}} completes the symbol in front of point.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1436
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1437
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1438
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1439
77235
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1440 @node Member Buffer Display, , Symbol Completion, Tags-like Functions
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1441 @section Quick Member Display
29107
203ba1f77b7b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28867
diff changeset
1442 @cindex member buffer, for member at point
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1443
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1444 You can quickly display a member buffer containing the member the cursor
75087
420404d9fc69 Change C-c b to C-c C-m.
Richard M. Stallman <rms@gnu.org>
parents: 73256
diff changeset
1445 in on with the command @kbd{C-c C-m m}.
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1446
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1447
77235
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1448 @node GNU Free Documentation License, Concept Index, Tags-like Functions, Top
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1449 @appendix GNU Free Documentation License
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1450 @include doclicense.texi
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1451
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1452
88224dc74061 Include GFDL.
Chong Yidong <cyd@stupidchicken.com>
parents: 75249
diff changeset
1453 @node Concept Index, , GNU Free Documentation License, Top
28867
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1454 @unnumbered Concept Index
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1455 @printindex cp
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1456
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1457 @contents
48daf6eb57cd *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1458 @bye
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
1459
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
1460 @ignore
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
1461 arch-tag: 52fe78ac-a1c4-48e7-815e-0a31acfad4bf
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
1462 @end ignore