annotate INSTALL.BZR @ 110523:a5ad4f188e19

Synch Semantic to CEDET 1.0. Move CEDET ChangeLog entries to new file lisp/cedet/ChangeLog. * semantic.el (semantic-version): Update to 2.0. (semantic-mode-map): Add "," and "m" bindings. (navigate-menu): Update. * semantic/symref.el (semantic-symref-calculate-rootdir): New function. (semantic-symref-detect-symref-tool): Use it. * semantic/symref/grep.el (semantic-symref-grep-shell): New var. (semantic-symref-perform-search): Use it. Calculate root dir with semantic-symref-calculate-rootdir. (semantic-symref-derive-find-filepatterns): Improve error message. * semantic/symref/list.el (semantic-symref-results-mode-map): New bindings. (semantic-symref-auto-expand-results): New option. (semantic-symref-results-dump): Obey auto-expand. (semantic-symref-list-expand-all, semantic-symref-regexp) (semantic-symref-list-contract-all) (semantic-symref-list-map-open-hits) (semantic-symref-list-update-open-hits) (semantic-symref-list-create-macro-on-open-hit) (semantic-symref-list-call-macro-on-open-hits): New functions. (semantic-symref-list-menu-entries) (semantic-symref-list-menu): New vars. (semantic-symref-list-map-open-hits): Move cursor to beginning of match before calling the mapped function. * semantic/doc.el (semantic-documentation-comment-preceeding-tag): Do nothing if the mode doesn't provide comment-start-skip. * semantic/scope.el (semantic-analyze-scope-nested-tags-default): Strip duplicates. (semantic-analyze-scoped-inherited-tag-map): Take the tag we are looking for as part of the scoped tags list. * semantic/html.el (semantic-default-html-setup): Add senator-step-at-tag-classes. * semantic/decorate/include.el (semantic-decoration-on-unknown-includes): Change light bgcolor. (semantic-decoration-on-includes-highlight-default): Check that the include tag has a postion. * semantic/complete.el (semantic-collector-local-members): (semantic-complete-read-tag-local-members) (semantic-complete-jump-local-members): New class and functions. (semantic-complete-self-insert): Save excursion before completing. * semantic/analyze/complete.el (semantic-analyze-possible-completions-default): If no completions are found, return the raw by-name-only completion list. Add FLAGS arguments. Add support for 'no-tc (type constraint) and 'no-unique, or no stripping duplicates. (semantic-analyze-possible-completions-default): Add FLAGS arg. * semantic/util-modes.el (semantic-stickyfunc-show-only-functions-p): New option. (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for the very first line in a buffer. * semantic/util.el (semantic-hack-search) (semantic-recursive-find-nonterminal-by-name) (semantic-current-tag-interactive): Deleted. (semantic-describe-buffer): Fix expand-nonterminal. Add lex-syntax-mods, type relation separator char, and command separation char. (semantic-sanity-check): Only message if called interactively. * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the :filename property and the tag position. * semantic/lex-spp.el (semantic-lex-spp-lex-text-string): Add recursion limit. * semantic/imenu.el (semantic-imenu-bucketize-type-members): Make this buffer local, not the obsoleted variable. * semantic/idle.el: Add breadcrumbs support. (semantic-idle-summary-current-symbol-info-default) (semantic-idle-tag-highlight) (semantic-idle-completion-list-default): Use semanticdb-without-unloaded-file-searches for speed, and to conform to the controls that specify if the idle timer is supposed to be parsing unparsed includes. (semantic-idle-symbol-highlight-face) (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*. Callers changed. (semantic-idle-work-parse-neighboring-files-flag): Default to nil. (semantic-idle-work-update-headers-flag): New var. (semantic-idle-work-for-one-buffer): Use it. (semantic-idle-local-symbol-highlight): Rename from semantic-idle-tag-highlight. (semantic-idle-truncate-long-summaries): New option. * semantic/ia.el (semantic-ia-cache) (semantic-ia-get-completions): Deleted. Callers changed. (semantic-ia-show-variants): New command. (semantic-ia-show-doc): If doc is empty, don't make a temp buffer. (semantic-ia-show-summary): If there isn't anything to show, say so. * semantic/grammar.el (semantic-grammar-create-package): Save the buffer even in batch mode. * semantic/fw.el (semanticdb-without-unloaded-file-searches): New macro. * semantic/dep.el (semantic-dependency-find-file-on-path): Fix case dereferencing ede-object when it is a list. * semantic/db-typecache.el (semanticdb-expand-nested-tag) (semanticdb-typecache-faux-namespace): New functions. (semanticdb-typecache-file-tags) (semanticdb-typecache-merge-streams): Use them. (semanticdb-typecache-file-tags): When deriving tags from a file, give the mode a chance to monkey with the tag copy. (semanticdb-typecache-find-default): Wrap find in save-excursion. (semanticdb-typecache-find-by-name-helper): Merge found names down. * semantic/db-global.el (semanticdb-enable-gnu-global-in-buffer): Don't show messages if GNU Global is not available and we don't want to throw an error. * semantic/db-find.el (semanticdb-find-result-nth-in-buffer): When trying to normalize the tag to a buffer, don't error if set-buffer method doesn't exist. * semantic/db-file.el (semanticdb-save-db): Simplify msg. * semantic/db.el (semanticdb-refresh-table): If forcing a refresh on a file not in a buffer, use semantic-find-file-noselect and delete the buffer after use. (semanticdb-current-database-list): When calculating root via hooks, force it through true-filename and skip the list of possible roots. * semantic/ctxt.el (semantic-ctxt-imported-packages): New. * semantic/analyze/debug.el (semantic-analyzer-debug-insert-tag): Reset standard output to current buffer. (semantic-analyzer-debug-global-symbol) (semantic-analyzer-debug-missing-innertype): Change "prefix" to "symbol" in messages. * semantic/analyze/refs.el: (semantic-analyze-refs-impl) (semantic-analyze-refs-proto): When calculating value, make sure the found tag is 'similar' to the originating tag. (semantic--analyze-refs-find-tags-with-parent): Attempt to identify matches via imported symbols of parents. (semantic--analyze-refs-full-lookup-with-parents): Do a deep search during the brute search. * semantic/analyze.el (semantic-analyze-find-tag-sequence-default): Be robust to calculated scopes being nil. * semantic/bovine/c.el (semantic-c-describe-environment): Add project macro symbol array. (semantic-c-parse-lexical-token): Add recursion limit. (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag): New overrides. (semantic-expand-c-tag-namelist): Split a full type from a typedef out to its own tag. (semantic-expand-c-tag-namelist): Do not split out a typedef'd inline type if it is an anonymous type. (semantic-c-reconstitute-token): Use the optional initializers as a clue that some function is probably a constructor. When defining the type of these constructors, split the parent name, and use only the class part, if applicable. * semantic/bovine/c-by.el: * semantic/wisent/python-wy.el: Regenerate.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 18 Sep 2010 22:49:54 -0400
parents 4d2a82992443
children ac52af4a044c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
106802
b92c3979701c Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents: 106667
diff changeset
1 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
75587
68cfc1db0d26 Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents: 72914
diff changeset
2 Free Software Foundation, Inc.
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
3 See the end of the file for license conditions.
75587
68cfc1db0d26 Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents: 72914
diff changeset
4
68cfc1db0d26 Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents: 72914
diff changeset
5
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
6 Building and Installing Emacs from Bazaar
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
7
101131
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
8 If this is the first time you go through it, you'll need to configure
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
9 before bootstrapping:
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
10
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
11 $ ./configure
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
12
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
13 Some of the files that are included in the Emacs tarball, such as
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
14 byte-compiled Lisp files, are not stored in Bazaar. Therefore, to
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
15 build from Bazaar you must run "make bootstrap" instead of just "make":
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
16
106667
7ef5489936c5 Fix bazaar update instructions
Andreas Schwab <schwab@linux-m68k.org>
parents: 106655
diff changeset
17 $ bzr pull
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
18 $ make bootstrap
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
19
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
20 Normally, it is not necessary to use "make bootstrap" after every
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
21 update from Bazaar. "make" should work in 90% of the cases and be
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
22 much quicker.
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
23
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
24 $ make
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
25
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
26 (If you want to install the Emacs binary, type "make install" instead
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
27 of "make" in the last command.)
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
28
95687
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
29 Occasionally the file "lisp/loaddefs.el" (and similar automatically
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
30 generated files, such as esh-groups.el, and *-loaddefs.el in some
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
31 subdirectories of lisp/, e.g. mh-e/ and calendar/) will need to be
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
32 updated to reflect new autoloaded functions. If you see errors (rather
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
33 than warnings) about undefined lisp functions during compilation, that
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
34 may be the reason. Another symptom may be an error saying that
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
35 "loaddefs.el" could not be found; this is due to a change in the way
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
36 loaddefs.el was handled in version control, and should only happen
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
37 once, for users that are updating old sources. Finally, sometimes
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
38 there can be build failures related to *loaddefs.el (e.g. "required
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
39 feature `esh-groups' was not provided"). In that case, follow the
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
40 instructions below.
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
41
93899
b6020a64025d Improve previous change.
Glenn Morris <rgm@gnu.org>
parents: 93871
diff changeset
42 To update loaddefs.el (and similar files), do:
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
43
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
44 $ cd lisp
96069
b0615674c5b7 Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents: 95722
diff changeset
45 $ make autoloads
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
46
66301
6f111b7dd138 Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents: 54679
diff changeset
47 If either of the above partial procedures fails, try "make bootstrap".
104860
216634f325ab Don't mention maintainer-clean, since `make bootstrap' does this now.
Glenn Morris <rgm@gnu.org>
parents: 102349
diff changeset
48 If CPU time is not an issue, the most thorough way to rebuild, and
216634f325ab Don't mention maintainer-clean, since `make bootstrap' does this now.
Glenn Morris <rgm@gnu.org>
parents: 102349
diff changeset
49 avoid any spurious problems, is always to use this method.
93869
f06f50495cd9 Mention deleting loaddefs, maintainer-clean.
Glenn Morris <rgm@gnu.org>
parents: 79751
diff changeset
50
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
51 Users of non-Posix systems (MS-Windows etc.) should run the
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
52 platform-specific configuration scripts (nt/configure.bat, config.bat,
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
53 etc.) before "make bootstrap" or "make"; the rest of the procedure is
96069
b0615674c5b7 Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents: 95722
diff changeset
54 applicable to those systems as well.
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
55
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
56 Questions, requests, and bug reports about the Bazaar versions of Emacs
106802
b92c3979701c Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents: 106667
diff changeset
57 should be sent to bug-gnu-emacs@gnu.org rather than gnu.emacs.help.
b92c3979701c Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents: 106667
diff changeset
58 Ideally, use M-x report-emacs-bug RET.
54055
6a13a0f9d22b Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents: 53439
diff changeset
59
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
60 Because the Bazaar version of Emacs is a work in progress, it will
97932
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
61 sometimes fail to build. Please wait a day or so (and check the bug
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
62 and development mailing list archives) before reporting such problems.
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
63 In most cases, the problem is known about and is just waiting for
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
64 someone to fix it.
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
65
54055
6a13a0f9d22b Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents: 53439
diff changeset
66
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
67
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
68 This file is part of GNU Emacs.
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
69
94719
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
70 GNU Emacs is free software: you can redistribute it and/or modify
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
71 it under the terms of the GNU General Public License as published by
94719
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
72 the Free Software Foundation, either version 3 of the License, or
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
73 (at your option) any later version.
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
74
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
75 GNU Emacs is distributed in the hope that it will be useful,
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
76 but WITHOUT ANY WARRANTY; without even the implied warranty of
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
77 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
78 GNU General Public License for more details.
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
79
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
80 You should have received a copy of the GNU General Public License
94719
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
81 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.