aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJoakim Verona2013-02-08 00:03:56 +0100
committerJoakim Verona2013-02-08 00:03:56 +0100
commite38ad9acca0c806654313993728f9fabd1090f4f (patch)
tree58e69bc5c3eb17fe9761c2150d622144755c91fd /doc/misc
parentc1f14e5219537daed5ecf420ca6ba3070bdf1142 (diff)
parent9a9d91d9c247adefa7137338d7609d81734f888d (diff)
downloademacs-e38ad9acca0c806654313993728f9fabd1090f4f.tar.gz
emacs-e38ad9acca0c806654313993728f9fabd1090f4f.zip
auto upstream
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog27
-rw-r--r--doc/misc/cl.texi5
-rw-r--r--doc/misc/ede.texi104
-rw-r--r--doc/misc/org.texi27
4 files changed, 116 insertions, 47 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index d4dde056461..7ebaa5534d1 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,30 @@
12013-02-07 Bastien Guerry <bzg@gnu.org>
2
3 * org.texi (References): Clarify an example.
4 (Installation): Fix instructions.
5 (Org-Plot): Fix link.
6 (Checkboxes, Radio lists): Fix typos.
7
82013-02-07 Glenn Morris <rgm@gnu.org>
9
10 * cl.texi (Equality Predicates): Mention memql.
11
122013-02-07 Eric Ludlam <zappo@gnu.org>
13
14 * doc/misc/ede.texi (Creating a project): Make ede-new doc less
15 specific, and only about items it supports, indicating that there
16 might be more. Remove refs to simple project and direct automake
17 from ede new.
18 (Simple projects): Re-write to not talk about ede-simple-project
19 which is deprecated, and instead use the term to mean projects
20 that don't do much management, just project wrapping. Add
21 ede-generic-project link.
22 (ede-generic-project): New node (bug#11441).
23
242013-02-07 Glenn Morris <rgm@gnu.org>
25
26 * cl.texi (Equality Predicates): Fix eq/eql pedantry.
27
12013-02-01 Glenn Morris <rgm@gnu.org> 282013-02-01 Glenn Morris <rgm@gnu.org>
2 29
3 * calc.texi (Help Commands): Update calc-view-news description. 30 * calc.texi (Help Commands): Update calc-view-news description.
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index c3657415078..8da6032d728 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -817,8 +817,9 @@ not compare strings against vectors of integers.
817Also note that the Common Lisp functions @code{member} and @code{assoc} 817Also note that the Common Lisp functions @code{member} and @code{assoc}
818use @code{eql} to compare elements, whereas Emacs Lisp follows the 818use @code{eql} to compare elements, whereas Emacs Lisp follows the
819MacLisp tradition and uses @code{equal} for these two functions. 819MacLisp tradition and uses @code{equal} for these two functions.
820In Emacs, use @code{memq} (or @code{cl-member}) and @code{assq} (or 820The functions @code{cl-member} and @code{cl-assoc} use @code{eql},
821@code{cl-assoc}) to get functions which use @code{eql} for comparisons. 821as in Common Lisp. The standard Emacs Lisp functions @code{memq} and
822@code{assq} use @code{eq}, and the standard @code{memql} uses @code{eql}.
822 823
823@node Control Structure 824@node Control Structure
824@chapter Control Structure 825@chapter Control Structure
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi
index cadd815025c..ddee7e6b5d5 100644
--- a/doc/misc/ede.texi
+++ b/doc/misc/ede.texi
@@ -450,9 +450,11 @@ ede-new}, or click on the @samp{Create Project} item in the
450 450
451The @command{ede-new} command prompts for the type of project you 451The @command{ede-new} command prompts for the type of project you
452would like to create. Each project type has its own benefits or 452would like to create. Each project type has its own benefits or
453language specific enhancements. @ede{} supports four different 453language specific enhancements. Not all projects that @ede{} supports
454project types: @samp{Make}, @samp{Automake}, @samp{direct Automake}, 454also allow creating a new project. Projects such as @code{emacs}
455and @samp{Simple}. 455or @code{linux} are designed to recognize existing projects only.
456Project types such as @samp{Make} and @samp{Automake} do support
457creating new project types with @command{ede-new}.
456 458
457@itemize 459@itemize
458@item 460@item
@@ -468,21 +470,6 @@ Unlike a @samp{Make} project, this project autogenerates a
468@file{Makefile.am} file. @ede{} handles the Automake bootstrapping 470@file{Makefile.am} file. @ede{} handles the Automake bootstrapping
469routines, which import and maintain a @file{configure.am} script and 471routines, which import and maintain a @file{configure.am} script and
470other required files. 472other required files.
471
472@item
473For the @samp{direct Automake} project type, @ede{} reads directly
474from the Automake files.
475
476You cannot create direct Automake projects with the @command{ede-new}
477command. Instead, when you visit a project with existing Automake
478files, @ede{} automatically detects them.
479
480@item
481The @samp{Simple} project type provides light-weight constructs for
482identifying a project root and looking up files. If you already have
483a non-@ede{} project infrastructure, you can use a @samp{Simple}
484project to provide other Emacs packages, such as Semantic, with some
485information about the project. @xref{Simple projects}.
486@end itemize 473@end itemize
487 474
488A subproject is merely a project in a subdirectory of another project. 475A subproject is merely a project in a subdirectory of another project.
@@ -795,24 +782,19 @@ able to find your SDK and compile your programs.
795@node Simple projects 782@node Simple projects
796@section Simple Projects 783@section Simple Projects
797 784
798There is a wide array of Simple projects. The root for simple 785There is a wide array of simple projects. In this case a simple
799projects is the class @code{ede-simple-project}. This handles the 786project is one that detects, or is directed to identify a directory as
800infrastructure of storing a .ede file if needed. 787belonging to a project, but doesn't provide many features of a typical
801 788@ede{} project. Having the project however allows tools such as
802The class @code{ede-simple-project} is designed to be subclassed. 789@semantic{} to find sources and perform project level completions.
803Then key @ede{} methods can be overridden to provide a quick wrapper
804over any project.
805 790
806A second project type is @code{ede-cpp-root}. This project type is
807designed to be created for a directory hierarchy full of C/C++ code.
808It can be configured with minimal lisp knowledge to do header file
809lookup for @semantic{}, improving code completion performance.
810 791
811@menu 792@menu
812* ede-cpp-root:: This project marks the root of a C/C++ code project. 793* ede-cpp-root:: This project marks the root of a C/C++ code project.
813* ede-java-root:: This project marks the root of a Java project. 794* ede-java-root:: This project marks the root of a Java project.
814* ede-emacs:: A project for working with Emacs. 795* ede-emacs:: A project for working with Emacs.
815* ede-linux:: A project for working with Linux kernels. 796* ede-linux:: A project for working with Linux kernels.
797* ede-generic-project:: A project type for wrapping build systems with EDE.
816* Custom Locate:: Customizing how to locate files in a simple project 798* Custom Locate:: Customizing how to locate files in a simple project
817@end menu 799@end menu
818 800
@@ -1045,7 +1027,7 @@ tree, and enables EDE project mode for it.
1045It pre-populates the C Preprocessor symbol map for correct parsing, 1027It pre-populates the C Preprocessor symbol map for correct parsing,
1046and has an optimized include file identification function. 1028and has an optimized include file identification function.
1047 1029
1048@node ede-linux, Custom Locate, ede-emacs, Simple projects 1030@node ede-linux, ede-generic-project, ede-emacs, Simple projects
1049@subsection ede-linux 1031@subsection ede-linux
1050 1032
1051The @code{ede-linux} project will automatically identify a Linux 1033The @code{ede-linux} project will automatically identify a Linux
@@ -1054,7 +1036,60 @@ Kernel source tree, and enable EDE project mode for it.
1054It pre-populates the C Preprocessor symbol map for reasonable parsing, 1036It pre-populates the C Preprocessor symbol map for reasonable parsing,
1055and has an optimized include file identification function. 1037and has an optimized include file identification function.
1056 1038
1057@node Custom Locate, , ede-linux, Simple projects 1039@node ede-generic-project, Custom Locate, ede-linux, Simple projects
1040@subsection ede-generic-project
1041
1042The @code{ede-generic-project} is a project system that makes it easy
1043to wrap up different kinds of build systems as an EDE project.
1044Projects such as @ref{ede-emacs} require coding skills to create.
1045Generic projects also require writing Emacs Lisp code, but the
1046requirements are minimal. You can then use
1047@command{customize-project} to configure build commands, includes, and
1048other options for that project. The configuration is saved in
1049@file{EDEConfig.el}.
1050
1051Generic projects are disabled by default because they have the
1052potential to interfere with other projects. To use the generic
1053project sytem to start detecting projects, you need to enable it.
1054
1055@deffn Command ede-enable-generic-projects
1056Enable generic project loaders.
1057
1058This enables generic loaders for projects that are detected using
1059either a @file{Makefile}, @file{SConstruct}, or @file{CMakeLists}.
1060
1061You do not need to use this command if you create your own generic
1062project type.
1063@end deffn
1064
1065If you want to create your own generic project loader, you need to
1066define your own project and target classes, and create an autoloader.
1067The example for Makefiles looks like this:
1068
1069@example
1070;;; MAKEFILE
1071
1072(defclass ede-generic-makefile-project (ede-generic-project)
1073 ((buildfile :initform "Makefile")
1074 )
1075 "Generic Project for makefiles.")
1076
1077(defmethod ede-generic-setup-configuration ((proj ede-generic-makefile-project) config)
1078 "Setup a configuration for Make."
1079 (oset config build-command "make -k")
1080 (oset config debug-command "gdb ")
1081 )
1082
1083(ede-generic-new-autoloader "generic-makefile" "Make"
1084 "Makefile" 'ede-generic-makefile-project)
1085@end example
1086
1087This example project will detect any directory with the file
1088@file{Makefile} in it as belonging to this project type.
1089Customization of the project will allow you to make build and debug
1090commands more precise.
1091
1092@node Custom Locate, , ede-generic-project, Simple projects
1058@subsection Custom Locate 1093@subsection Custom Locate
1059 1094
1060The various simple project styles all have one major drawback, which 1095The various simple project styles all have one major drawback, which
@@ -1062,8 +1097,6 @@ is that the files in the project are not completely known to EDE@.
1062When the EDE API is used to try and file files by some reference name 1097When the EDE API is used to try and file files by some reference name
1063in the project, then that could fail. 1098in the project, then that could fail.
1064 1099
1065@@TODO - Add ID Utils and CScope examples
1066
1067@ede{} can therefore use some external locate commands, such as the unix 1100@ede{} can therefore use some external locate commands, such as the unix
1068``locate'' command, or ``GNU Global''. 1101``locate'' command, or ``GNU Global''.
1069 1102
@@ -1093,6 +1126,11 @@ You can add your own locate tool but subclassing from
1093methods. See the code in @file{ede-locate.el} for GNU Global as a 1126methods. See the code in @file{ede-locate.el} for GNU Global as a
1094simple example. 1127simple example.
1095 1128
1129@@TODO - Add ID Utils and CScope examples
1130
1131More on idutils and cscope is in the CEDET manual, and they each have
1132their own section.
1133
1096@node Extending EDE, GNU Free Documentation License, Miscellaneous commands, Top 1134@node Extending EDE, GNU Free Documentation License, Miscellaneous commands, Top
1097@chapter Extending @ede{} 1135@chapter Extending @ede{}
1098 1136
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index d41d2848cc6..7b880fc386c 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -2,7 +2,7 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/org 3@setfilename ../../info/org
4@settitle The Org Manual 4@settitle The Org Manual
5@set VERSION 7.9.3d (GNU Emacs 24.3) 5@set VERSION 7.9.3e (GNU Emacs 24.3)
6 6
7@c Use proper quote and backtick for code sections in PDF output 7@c Use proper quote and backtick for code sections in PDF output
8@c Cf. Texinfo manual 14.2 8@c Cf. Texinfo manual 14.2
@@ -903,17 +903,20 @@ $ git clone git://orgmode.org/org-mode.git
903$ make autoloads 903$ make autoloads
904@end example 904@end example
905 905
906Note that @code{make autoloads} is mandatory: it defines Org's version and 906Note that in this case, @code{make autoloads} is mandatory: it defines Org's
907Org's autoloaded functions, respectively in @file{org-version.el} and in 907version in @file{org-version.el} and Org's autoloads in
908@file{org-loaddefs.el}. 908@file{org-loaddefs.el}.
909 909
910Remember to add the correct load-path as described in the method above. 910Remember to add the correct load-path as described in the method above.
911 911
912You can also compile and install Org from this git repository: check 912You can also compile with @code{make}, generate the documentation with
913@code{make help} to get the list of compilation/installation options. 913@code{make doc}, create a local configuration with @code{make config} and
914install Org with @code{make install}. Please run @code{make help} to get
915the list of compilation/installation options.
914 916
915For more detailed explanations on Org's build system, please check the Org 917For more detailed explanations on Org's build system, please check the Org
916Build System page on @uref{http://orgmode.org/worg/dev/org-build-system.html, Worg}. 918Build System page on @uref{http://orgmode.org/worg/dev/org-build-system.html,
919Worg}.
917 920
918@node Activation, Feedback, Installation, Introduction 921@node Activation, Feedback, Installation, Introduction
919@section Activation 922@section Activation
@@ -2444,7 +2447,7 @@ $1..$3 @r{first three fields in the current row}
2444$P..$Q @r{range, using column names (see under Advanced)} 2447$P..$Q @r{range, using column names (see under Advanced)}
2445$<<<..$>> @r{start in third column, continue to the one but last} 2448$<<<..$>> @r{start in third column, continue to the one but last}
2446@@2$1..@@4$3 @r{6 fields between these two fields (same as @code{A2..C4})} 2449@@2$1..@@4$3 @r{6 fields between these two fields (same as @code{A2..C4})}
2447@@-1$-2..@@-1 @r{3 numbers from the column to the left, 2 up to current row} 2450@@-1$-2..@@-1 @r{in the first row up, 3 fields from 2 columns on the left}
2448@@I..II @r{between first and second hline, short for @code{@@I..@@II}} 2451@@I..II @r{between first and second hline, short for @code{@@I..@@II}}
2449@end example 2452@end example
2450 2453
@@ -3023,9 +3026,9 @@ functions.
3023 3026
3024Org-Plot can produce 2D and 3D graphs of information stored in org tables 3027Org-Plot can produce 2D and 3D graphs of information stored in org tables
3025using @file{Gnuplot} @uref{http://www.gnuplot.info/} and @file{gnuplot-mode} 3028using @file{Gnuplot} @uref{http://www.gnuplot.info/} and @file{gnuplot-mode}
3026@uref{http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html}. To see 3029@uref{http://xafs.org/BruceRavel/GnuplotMode}. To see this in action, ensure
3027this in action, ensure that you have both Gnuplot and Gnuplot mode installed 3030that you have both Gnuplot and Gnuplot mode installed on your system, then
3028on your system, then call @code{org-plot/gnuplot} on the following table. 3031call @code{org-plot/gnuplot} on the following table.
3029 3032
3030@example 3033@example
3031@group 3034@group
@@ -4486,7 +4489,7 @@ off a box while there are unchecked boxes above it.
4486@orgcmd{C-c C-c,org-toggle-checkbox} 4489@orgcmd{C-c C-c,org-toggle-checkbox}
4487Toggle checkbox status or (with prefix arg) checkbox presence at point. 4490Toggle checkbox status or (with prefix arg) checkbox presence at point.
4488With a single prefix argument, add an empty checkbox or remove the current 4491With a single prefix argument, add an empty checkbox or remove the current
4489one@footnote{`C-u C-c C-c' on the @emph{first} item of a list with no checkbox 4492one@footnote{@kbd{C-u C-c C-c} on the @emph{first} item of a list with no checkbox
4490will add checkboxes to the rest of the list.}. With a double prefix argument, set it to @samp{[-]}, which is 4493will add checkboxes to the rest of the list.}. With a double prefix argument, set it to @samp{[-]}, which is
4491considered to be an intermediate state. 4494considered to be an intermediate state.
4492@orgcmd{C-c C-x C-b,org-toggle-checkbox} 4495@orgcmd{C-c C-x C-b,org-toggle-checkbox}
@@ -15987,7 +15990,7 @@ Here is a @LaTeX{} example. Let's say that you have this in your
15987\end@{comment@} 15990\end@{comment@}
15988@end example 15991@end example
15989 15992
15990Pressing `C-c C-c' on @code{a new house} and will insert the converted 15993Pressing @kbd{C-c C-c} on @code{a new house} and will insert the converted
15991@LaTeX{} list between the two marker lines. 15994@LaTeX{} list between the two marker lines.
15992 15995
15993@node Dynamic blocks, Special agenda views, Tables in arbitrary syntax, Hacking 15996@node Dynamic blocks, Special agenda views, Tables in arbitrary syntax, Hacking