Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6e104790
Commit
6e104790
authored
Apr 19, 2010
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Plain Diff
Merge from emacs-23
parents
b5feea0f
79d74ac5
Changes
48
Hide whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
735 additions
and
219 deletions
+735
-219
admin/notes/bugtracker
admin/notes/bugtracker
+16
-7
doc/emacs/ChangeLog
doc/emacs/ChangeLog
+39
-0
doc/emacs/ack.texi
doc/emacs/ack.texi
+3
-2
doc/emacs/custom.texi
doc/emacs/custom.texi
+37
-4
doc/emacs/dired.texi
doc/emacs/dired.texi
+7
-1
doc/emacs/emacs.texi
doc/emacs/emacs.texi
+2
-0
doc/emacs/help.texi
doc/emacs/help.texi
+3
-1
doc/emacs/maintaining.texi
doc/emacs/maintaining.texi
+75
-4
doc/emacs/mark.texi
doc/emacs/mark.texi
+13
-14
doc/emacs/misc.texi
doc/emacs/misc.texi
+1
-1
doc/emacs/programs.texi
doc/emacs/programs.texi
+68
-0
doc/emacs/trouble.texi
doc/emacs/trouble.texi
+4
-0
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+14
-0
doc/lispref/abbrevs.texi
doc/lispref/abbrevs.texi
+2
-2
doc/lispref/buffers.texi
doc/lispref/buffers.texi
+1
-1
doc/lispref/windows.texi
doc/lispref/windows.texi
+5
-5
doc/misc/ChangeLog
doc/misc/ChangeLog
+21
-7
doc/misc/gnus-coding.texi
doc/misc/gnus-coding.texi
+20
-14
doc/misc/gnus.texi
doc/misc/gnus.texi
+7
-2
doc/misc/info.texi
doc/misc/info.texi
+9
-1
etc/ChangeLog
etc/ChangeLog
+4
-0
etc/MORE.STUFF
etc/MORE.STUFF
+4
-0
etc/NEWS.23
etc/NEWS.23
+42
-23
leim/ChangeLog
leim/ChangeLog
+4
-0
leim/quail/vntelex.el
leim/quail/vntelex.el
+1
-1
lib-src/ChangeLog
lib-src/ChangeLog
+6
-0
lisp/ChangeLog
lisp/ChangeLog
+96
-67
lisp/cedet/ede/pmake.el
lisp/cedet/ede/pmake.el
+3
-4
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+10
-1
lisp/gnus/nnir.el
lisp/gnus/nnir.el
+1
-1
lisp/gnus/nnrss.el
lisp/gnus/nnrss.el
+1
-1
lisp/gnus/smime.el
lisp/gnus/smime.el
+1
-1
lisp/help.el
lisp/help.el
+3
-4
lisp/htmlfontify.el
lisp/htmlfontify.el
+2
-0
lisp/ido.el
lisp/ido.el
+6
-2
lisp/info.el
lisp/info.el
+53
-16
lisp/language/indian.el
lisp/language/indian.el
+12
-10
lisp/minibuffer.el
lisp/minibuffer.el
+32
-6
lisp/progmodes/fortran.el
lisp/progmodes/fortran.el
+23
-1
lisp/progmodes/grep.el
lisp/progmodes/grep.el
+2
-2
lisp/textmodes/tex-mode.el
lisp/textmodes/tex-mode.el
+1
-1
lisp/vc-git.el
lisp/vc-git.el
+4
-1
lisp/vc-hg.el
lisp/vc-hg.el
+23
-6
src/ChangeLog
src/ChangeLog
+31
-0
src/dired.c
src/dired.c
+3
-3
src/frame.h
src/frame.h
+1
-1
src/nsmenu.m
src/nsmenu.m
+1
-1
src/s/darwin.h
src/s/darwin.h
+18
-0
No files found.
admin/notes/bugtracker
View file @
6e104790
...
...
@@ -4,7 +4,7 @@ The Emacs Bug Tracker can be found at http://debbugs.gnu.org/
*
Quick
-
start
guide
This
is
95
%
of
all
you
will
ever
need
.
This
is
95
%
of
all
you
will
ever
need
to
know
.
**
How
do
I
report
a
bug
?
Use
M
-
x
report
-
emacs
-
bug
,
or
send
mail
to
bug
-
gnu
-
emacs
@
gnu
.
org
.
...
...
@@ -34,8 +34,12 @@ tags 123 moreinfo|unreproducible|wontfix|patch
For
a
list
of
all
bugs
,
see
http
://
debbugs
.
gnu
.
org
/
db
/
pa
/
lemacs
.
html
This
is
a
static
page
,
updated
once
a
day
.
There
is
also
a
dynamic
list
,
generated
on
request
,
but
since
there
are
many
bug
reports
this
is
slow
and
not
recommended
.
list
,
generated
on
request
.
This
accepts
various
options
,
eg
to
see
the
most
recent
bugs
:
http
://
debbugs
.
gnu
.
org
/
cgi
/
pkgreport
.
cgi
?
newest
=
100
Or
follow
the
links
on
the
front
page
http
://
debbugs
.
gnu
.
org
.
**
How
do
I
report
a
bug
in
Emacs
now
?
The
same
way
as
you
always
did
.
Send
mail
to
bug
-
gnu
-
emacs
@
gnu
.
org
,
...
...
@@ -92,6 +96,9 @@ mail with the bug report number in. If you do not do this, each reply
in
the
subsequent
discussion
will
end
up
creating
a
new
bug
.
This
is
annoying
.
(
So
annoying
that
a
form
of
message
-
id
tracking
has
been
implemented
to
hopefully
stop
this
happening
,
but
it
is
still
better
to
use
X
-
Debbugs
-
CC
.)
If
a
new
report
contains
X
-
Debbugs
-
CC
in
the
input
,
this
is
converted
to
a
real
Cc
header
in
the
output
.
(
See
Bug
#
1720
).
It
is
also
merged
into
the
Resent
-
CC
header
(
see
below
).
...
...
@@ -191,8 +198,7 @@ Package: emacs
Version: 23.0.60
Severity: minor
Optionally, add a sub-package, eg Package: emacs,calendar.
This can include tags. Some things (e.g. submitter) don'
t
seem
to
This can also include tags. Some things (e.g. submitter) don'
t
seem
to
work
here
.
Otherwise
,
send
mail
to
the
control
server
,
control
@
debbugs
.
gnu
.
org
.
...
...
@@ -229,7 +235,7 @@ http://debbugs.gnu.org/...
123
#
given
bug
number
123
;
mbox
=
yes
#
mbox
version
of
given
bug
package
#
bugs
in
given
package
(
don
't use "emacs" - too many bugs!)
package
#
bugs
in
given
package
from
:
submitter
@
email
.
address
severity
:
severity
#
all
bugs
of
given
severity
tag
:
tag
#
all
bugs
with
given
tag
...
...
@@ -281,6 +287,9 @@ to construct the relevant url yourself rather than just typing in a
search box. The only piece you really need to add is the "users"
portion, the rest has the same syntax as normal.
**** To browse bugs by usertag:
http://debbugs.gnu.org/cgi/pkgindex.cgi?indexon=users
**** To find all bugs usertagged by a given email address:
http://debbugs.gnu.org/cgi/pkgreport.cgi?users=bug-gnu-emacs@gnu.org
...
...
@@ -359,7 +368,7 @@ fixed 123 23.0.60
notfixed
123
23.0.60
***
To
assign
or
reassign
a
bug
to
a
package
or
list
of
packages
:
reassign
1234
emacs
,
cc
-
mode
reassign
1234
emacs
**
To
remove
spam
from
the
tracker
,
move
it
to
the
`
spam
' pseudo-package:
reassign 123 spam
...
...
doc/emacs/ChangeLog
View file @
6e104790
2010-04-18 Chong Yidong <cyd@stupidchicken.com>
* programs.texi (Semantic): New node.
* maintaining.texi (EDE): New node.
* emacs.texi: Update node listing.
* misc.texi (Gnus): Use the `C-h i' keybinding for info.
2010-04-18 Glenn Morris <rgm@gnu.org>
* emacs.texi (Acknowledgments): Remove duplicate.
* maintaining.texi (VC Directory Commands): Mention stashes and shelves.
2010-04-18 Glenn Morris <rgm@gnu.org>
* dired.texi (Misc Dired Features): Mention VC diff and log.
* maintaining.texi (Old Revisions, VC Change Log):
Mention that diff and log work in Dired buffers.
* help.texi (Help Summary): Mention M-x info-finder.
* ack.texi (Acknowledgments): Add mpc.el.
* custom.texi (Specifying File Variables, Directory Variables):
Document new commands for manipulating local variable lists.
2010-04-18 Glenn Morris <rgm@gnu.org>
* trouble.texi (Contributing): Add cindex entry.
Mention etc/CONTRIBUTE.
2010-04-18 Chong Yidong <cyd@stupidchicken.com>
* mark.texi (Persistent Mark): Copyedits. Replace undo example with
query-replace (Bug#5774).
2010-04-16 Glenn Morris <rgm@gnu.org>
* ack.texi, emacs.texi (Acknowledgments): Update for Org changes.
...
...
doc/emacs/ack.texi
View file @
6e104790
...
...
@@ -801,8 +801,9 @@ a directory-level front end to the CVS version control system;
@
file
{
reveal
.
el
},
a
minor
mode
for
automatically
revealing
invisible
text
;
@
file
{
smerge
-
mode
.
el
},
a
minor
mode
for
resolving
@
code
{
diff3
}
conflicts
;
@
file
{
diff
-
mode
.
el
},
a
mode
for
viewing
and
editing
context
diffs
;
@
file
{
css
-
mode
.
el
}
for
Cascading
Style
Sheets
;
and
@
file
{
bibtex
-
style
.
el
}
for
BibTeX
Style
files
.
diffs
;
@
file
{
css
-
mode
.
el
}
for
Cascading
Style
Sheets
;
@
file
{
bibtex
-
style
.
el
}
for
BibTeX
Style
files
;
and
@
file
{
mpc
.
el
},
a
client
for
the
``
Music
Player
Daemon
''
.
@
item
Morioka
Tomohiko
wrote
several
packages
for
MIME
support
in
Gnus
and
...
...
doc/emacs/custom.texi
View file @
6e104790
@
c
This
is
part
of
the
Emacs
manual
.
@
c
Copyright
(
C
)
1985
,
1986
,
1987
,
1993
,
1994
,
1995
,
1997
,
2000
,
2001
,
@
c
2002
,
2003
,
2004
,
2005
,
2006
,
2007
,
2008
,
2009
,
2010
Free
Software
Foundation
,
Inc
.
@
c
2002
,
2003
,
2004
,
2005
,
2006
,
2007
,
2008
,
2009
,
2010
@
c
Free
Software
Foundation
,
Inc
.
@
c
See
file
emacs
.
texi
for
copying
conditions
.
@
node
Customization
,
Quitting
,
Amusements
,
Top
@
chapter
Customization
...
...
@@ -1086,11 +1087,22 @@ You can specify any number of variable/value pairs in this way, each
pair
with
a
colon
and
semicolon
as
shown
above
.
The
special
variable
/
value
pair
@
code
{
mode
:
@
var
{
modename
};},
if
present
,
specifies
a
major
or
minor
mode
;
if
you
use
this
to
specify
a
major
mode
,
it
should
come
first
in
the
line
.
The
@
var
{
value
}
s
are
are
used
mode
,
it
should
come
first
in
the
line
.
The
@
var
{
value
}
s
are
used
literally
,
and
not
evaluated
.
Here
is
an
example
that
specifies
Lisp
mode
and
sets
two
variables
with
numeric
values
:
@
findex
add
-
file
-
local
-
variable
-
prop
-
line
@
findex
delete
-
file
-
local
-
variable
-
prop
-
line
@
findex
copy
-
dir
-
locals
-
to
-
file
-
locals
-
prop
-
line
You
can
use
the
command
@
code
{
add
-
file
-
local
-
variable
-
prop
-
line
}
instead
of
adding
entries
by
hand
.
It
prompts
for
a
variable
and
value
,
and
adds
them
to
the
first
line
in
the
appropriate
way
.
The
command
@
code
{
delete
-
file
-
local
-
variable
-
prop
-
line
}
deletes
a
variable
from
the
line
.
The
command
@
code
{
copy
-
dir
-
locals
-
to
-
file
-
locals
-
prop
-
line
}
copies
directory
-
local
variables
(@
pxref
{
Directory
Variables
})
to
the
first
line
.
Here
is
an
example
first
line
that
specifies
Lisp
mode
and
sets
two
variables
with
numeric
values
:
@
smallexample
;;
-*-
mode
:
Lisp
;
fill
-
column
:
75
;
comment
-
column
:
50
;
-*-
...
...
@@ -1144,6 +1156,17 @@ won't confuse other programs that the file is intended for. The
example
above
is
for
the
C
programming
language
,
where
comment
lines
start
with
@
samp
{/*}
and
end
with
@
samp
{*/}.
@
findex
add
-
file
-
local
-
variable
@
findex
delete
-
file
-
local
-
variable
@
findex
copy
-
dir
-
locals
-
to
-
file
-
locals
You
can
construct
the
local
variables
list
yourself
,
or
use
the
command
@
code
{
add
-
file
-
local
-
variable
}.
This
prompts
for
a
variable
and
value
,
and
adds
them
to
the
list
.
If
necessary
,
it
also
adds
the
start
and
end
markers
.
The
command
@
code
{
delete
-
file
-
local
-
variable
}
deletes
a
variable
from
the
list
.
The
command
@
code
{
copy
-
dir
-
locals
-
to
-
file
-
locals
}
copies
directory
-
local
variables
(@
pxref
{
Directory
Variables
})
to
the
list
.
As
with
the
@
samp
{-*-}
line
,
the
variables
in
a
local
variables
list
are
used
literally
,
and
are
not
evaluated
first
.
If
you
want
to
split
a
long
string
across
multiple
lines
of
the
file
,
you
can
use
...
...
@@ -1323,6 +1346,16 @@ style for any C or Java source file. Finally, it specifies a different
subdirectory of the directory where you put the @file{.dir-locals.el}
file.
@findex add-dir-local-variable
@findex delete-dir-local-variable
@findex copy-file-locals-to-dir-locals
You can edit the @file{.dir-locals.el} file by hand, or use the
command @code{add-dir-local-variable}. This prompts for a mode (or
subdirectory), variable and value, and adds an entry to the file.
The command @code{delete-dir-local-variable} deletes an entry. The
command @code{copy-file-locals-to-dir-locals} copies file local
variables (@pxref{File Variables}) to the @file{.dir-locals.el} file.
@findex dir-locals-set-class-variables
@findex dir-locals-set-directory-class
Another method of specifying directory-local variables is to explicitly
...
...
doc/emacs/dired.texi
View file @
6e104790
@c This is part of the Emacs manual.
@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001,
@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions.
@node Dired, Calendar/Diary, Rmail, Top
@chapter Dired, the Directory Editor
...
...
@@ -1339,6 +1340,11 @@ names into arguments for other Emacs commands. It also displays what
it added to the kill ring, so you can use it to display the list of
currently marked files in the echo area.
@cindex Dired and version control
If the directory you are visiting is under version control
(@pxref{Version Control}), then the normal VC diff and log commands
will operate on the selected files.
@findex dired-compare-directories
The command @kbd{M-x dired-compare-directories} is used to compare
the current Dired buffer with another directory. It marks all the files
...
...
doc/emacs/emacs.texi
View file @
6e104790
...
...
@@ -649,6 +649,7 @@ Editing Programs
* Hideshow:: Displaying blocks selectively.
* Symbol Completion:: Completion on symbol names of your program or language.
* Glasses:: Making identifiersLikeThis more readable.
* Semantic:: Suite of editing tools based on source code parsing.
* Misc for Programs:: Other Emacs features useful for editing programs.
* C Modes:: Special commands of C, C++, Objective-C,
Java, and Pike modes.
...
...
@@ -763,6 +764,7 @@ Maintaining Large Programs
* Change Log:: Maintaining a change history for your program.
* Tags:: Go directly to any function in your program in one
command. Tags remembers which file it is in.
* EDE:: An integrated development environment for Emacs.
* Emerge:: A convenient way of merging two versions of a program.
Version Control
...
...
doc/emacs/help.texi
View file @
6e104790
...
...
@@ -133,7 +133,9 @@ Display documentation of the current major mode (@code{describe-mode}).
@item C-h n
Display news of recent Emacs changes (@code{view-emacs-news}).
@item C-h p
Find packages by topic keyword (@code{finder-by-keyword}).
Find packages by topic keyword (@code{finder-by-keyword}). For an
alternative interface to the same information, try the @code{info-finder}
command.
@item C-h r
Display the Emacs manual in Info (@code{info-emacs-manual}).
@item C-h s
...
...
doc/emacs/maintaining.texi
View file @
6e104790
...
...
@@ -14,6 +14,7 @@ programs.
*
Change
Log
::
Maintaining
a
change
history
for
your
program
.
*
Tags
::
Go
directly
to
any
function
in
your
program
in
one
command
.
Tags
remembers
which
file
it
is
in
.
*
EDE
::
An
integrated
development
environment
for
Emacs
.
@
ifnottex
*
Emerge
::
A
convenient
way
of
merging
two
versions
of
a
program
.
@
end
ifnottex
...
...
@@ -653,7 +654,8 @@ its own (@code{vc-revision-other-window}).
@item C-x v =
Compare the files in the current fileset with the working revision(s)
you started from (@code{vc-diff}). With a prefix argument, prompt for
two revisions of the current fileset and compare them.
two revisions of the current fileset and compare them. You can call
this command from a Dired buffer (@pxref{Dired}).
@item C-x v D
Compare the entire tree corresponding to the current fileset with the
...
...
@@ -895,6 +897,7 @@ i.e. the ones you enter via the @samp{*VC-Log*} buffer. @xref{Log
Buffer}.) Point is centered at the revision of the file currently
being visited. With a prefix argument, the command prompts for the
revision to center on, and the maximum number of revisions to display.
You can call this command from a Dired buffer (@pxref{Dired}).
@findex vc-print-root-log
Type @kbd{C-x v L} (@code{vc-print-root-log}) to display a
...
...
@@ -1145,9 +1148,14 @@ directory buffer will be used.
@
kbd
{
M
-
s
a
C
-
M
-
s
}
does
an
incremental
search
on
the
marked
files
.
Commands
are
also
accessible
from
the
VC
-
dir
menu
.
Note
that
some
VC
backends
use
the
VC
-
dir
menu
to
make
available
extra
backend
specific
commands
.
@
cindex
stashes
in
version
control
@
cindex
shelves
in
version
control
Commands
are
also
accessible
from
the
VC
-
dir
menu
.
Note
that
some
VC
backends
use
the
VC
-
dir
menu
to
make
available
extra
,
backend
-
specific
,
commands
.
For
example
,
Git
and
Bazaar
allow
you
to
manipulate
@
dfn
{
stashes
}
and
@
dfn
{
shelves
}.
(
These
provide
a
mechanism
to
temporarily
store
uncommitted
changes
somewhere
out
of
the
way
,
and
bring
them
back
at
a
later
time
.)
Normal
VC
commands
with
the
@
kbd
{
C
-
x
v
}
prefix
work
in
VC
directory
buffers
.
Some
single
-
key
shortcuts
are
available
as
well
;
@
kbd
{=},
...
...
@@ -2260,6 +2268,69 @@ name in the buffer. @xref{Symbol Completion}.
@include emerge-xtra.texi
@end ifnottex
@node EDE
@section Emacs Development Environment
@cindex EDE (Emacs Development Environment)
@cindex Emacs Development Environment
@cindex Integrated development environment
EDE (@dfn{Emacs Development Environment}) is a package that simplifies
the task of creating, building, and debugging large programs with
Emacs. It provides some of the features of an IDE, or @dfn{Integrated
Development Environment}, in Emacs.
This section provides a brief description of EDE usage.
@ifnottex
For full details, see @ref{Top, EDE,, ede, Emacs Development Environment}.
@end ifnottex
@iftex
For full details on Ede, type @kbd{C-h i} and then select the EDE
manual.
@end iftex
EDE is implemented as a global minor mode (@pxref{Minor Modes}). To
enable it, type @kbd{M-x global-ede-mode} or click on the
@samp{Project Support (EDE)} item in the @samp{Tools} menu. You can
also enable EDE each time you start Emacs, by adding the following
line to your initialization file:
@smallexample
(global-ede-mode t)
@end smallexample
@noindent
Activating EDE adds a menu named @samp{Development} to the menu bar.
Many EDE commands, including the ones described below, can be invoked
from this menu.
EDE organizes files into @dfn{projects}, which correspond to
directory trees. The @dfn{project root} is the topmost directory of a
project. To define a new project, visit a file in the desired project
root and type @kbd{M-x ede-new}. This command prompts for a
@dfn{project type}, which refers to the underlying method that EDE
will use to manage the project (@pxref{Creating a Project, EDE,, ede,
Emacs Development Environment}). The most common project types are
@samp{Make}, which uses Makefiles, and @samp{Automake}, which uses GNU
Automake (@pxref{Top, Automake,, automake, Automake}). In both cases,
EDE also creates a file named @file{Project.ede}, which stores
information about the project.
A project may contain one or more @dfn{targets}. A target can be an
object file, executable program, or some other type of file, which is
``built'' from one or more of the files in the project.
To add a new @dfn{target} to a project, type @kbd{C-c . t}
(@code{M-x ede-new-target}). This command also asks if you wish to
``add'' the current file to that target, which means that the target
is to be built from that file. After you have defined a target, you
can add more files to it by typing @kbd{C-c . a}
(@code{ede-add-file}).
To build a target, type @kbd{C-c . c} (@code{ede-compile-target}).
To build all the targets in the project, type @kbd{C-c . C}
(@code{ede-compile-project}). EDE uses the file types to guess how
the target should be built.
@ignore
arch-tag: b9d83dfb-82ea-4ff6-bab5-05a3617091fb
@end ignore
doc/emacs/mark.texi
View file @
6e104790
...
...
@@ -387,10 +387,10 @@ Mark}), or with shift-selection (@pxref{Shift Selection}).
@findex transient-mark-mode
To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}.
This command toggles the mode; you can use the same command to turn
Transient Mark mode
on again. You can also t
urn off
Transient Mark
mode using the
menu
bar:
in the @samp{Options}
menu, toggle the
@samp{Active Region Highlighting} menu item
.
This command toggles the mode; you can use the same command to turn
it
on again. You can also t
oggle
Transient Mark
mode using the
@samp{Active Region Highlighting}
menu
item
in the @samp{Options}
menu
.
Here are the details of how Emacs behaves when Transient Mark mode
is off:
...
...
@@ -415,13 +415,12 @@ Many commands that move point long distances, like @kbd{M-<} and
@kbd{C-s}, first set the mark where point was.
@item
Some commands, which ordinarily operate on the region when the mark is
active, instead act on the entire buffer. For instance, @kbd{C-x u}
normally reverses changes within the region if the mark is active;
when Transient Mark mode is off, it acts on the entire buffer.
However, you can type @kbd{C-u C-x u} to make it operate on the
region. @xref{Undo}. Other commands that act this way are identified
in their own documentation.
Some commands, which ordinarily act on the region when the mark is
active, no longer do so. For example, normally @kbd{M-%}
(@code{query-replace}) performs replacements within the region, if the
mark is active. When Transient Mark mode is off, it always operates
from point to the end of the buffer. Commands that act this way are
identified in their own documentation.
@end itemize
While Transient Mark mode is off, you can activate it temporarily
...
...
@@ -437,9 +436,9 @@ command twice.)
@item C-u C-x C-x
@kindex C-u C-x C-x
Activate the mark
without changing it;
enable Transient Mark mode
just
once, until
the mark is deactivated. (This is the @kbd{C-x C-x}
command,
@code{exchange-point-and-mark}, with a prefix argument.)
Activate the mark
and
enable Transient Mark mode
temporarily, until
the mark is
next
deactivated. (This is the @kbd{C-x C-x}
command,
@code{exchange-point-and-mark}, with a prefix argument.)
@end table
These commands set or activate the mark, and enable Transient Mark
...
...
doc/emacs/misc.texi
View file @
6e104790
...
...
@@ -203,7 +203,7 @@ Here we introduce Gnus and describe several basic features.
For full details, see @ref{Top, Gnus,, gnus, The Gnus Manual}.
@end ifnottex
@iftex
For full details on Gnus, type @kbd{
M-x info
} and then select the Gnus
For full details on Gnus, type @kbd{
C-h i
} and then select the Gnus
manual.
@end iftex
...
...
doc/emacs/programs.texi
View file @
6e104790
...
...
@@ -39,6 +39,7 @@ Highlight program syntax (@pxref{Font Lock}).
* Hideshow:: Displaying blocks selectively.
* Symbol Completion:: Completion on symbol names of your program or language.
* Glasses:: Making identifiersLikeThis more readable.
* Semantic:: Suite of editing tools based on source code parsing.
* Misc for Programs:: Other Emacs features useful for editing programs.
* C Modes:: Special commands of C, C++, Objective-C,
Java, and Pike modes.
...
...
@@ -1387,6 +1388,73 @@ current buffer; you can also add @code{glasses-mode} to the mode hook
of the programming language major modes in which you normally want
to use Glasses mode.
@node Semantic
@section Semantic
@cindex Semantic package
Semantic is a package that provides language-aware editing commands
based on @code{source code parsers}. This section provides a brief
description of Semantic;
@ifnottex
for full details, see @ref{Top, Semantic,, semantic, Semantic}.
@end ifnottex
@iftex
for full details, type @kbd{C-h i} (@code{info}) and then select the
Semantic manual.
@end iftex
Most of the ``language aware'' features in Emacs, such as font lock
(@pxref{Font Lock}), rely on ``rules of thumb''@footnote{Regular
expressions and syntax tables.} that usually give good results but are
never completely exact. In contrast, the parsers used by Semantic
have an exact understanding of programming language syntax. This
allows Semantic to provide search, navigation, and completion commands
that are powerful and precise.
To begin using Semantic, type @kbd{M-x semantic-mode} or click on
the menu item named @samp{Source Code Parsers (Semantic)} in the
@samp{Tools} menu. This enables Semantic mode, a global minor mode.
When Semantic mode is enabled, Emacs automatically attempts to
parses each file you visit. Currently, Semantic understands C, C++,
Scheme, Javascript, Java, HTML, and Make. Within each parsed buffer,
the following commands are available:
@table @kbd
@item C-c , j
@kindex C-c , j
Prompt for the name of a function defined in the current file, and
move point there (@code{semantic-complete-jump-local}).
@item C-c , J
@kindex C-c , J
Prompt for the name of a function defined in any file Emacs has
parsed, and move point there (@code{semantic-complete-jump}).
@item C-c , @key{SPC}
@kindex C-c , @key{SPC}
Display a list of possible completions for the symbol at point
(@code{semantic-complete-analyze-inline}). This also activates a set
of special keybindings for choosing a completion: @key{RET} accepts
the current completion, @kbd{M-n} and @kbd{M-p} cycle through possible
completions, @key{TAB} completes as far as possible and then cycles,
and @kbd{C-g} or any other key aborts completion.
@item C-c , l
@kindex C-c , l
Display a list of the possible completions of the symbol at point, in
another window (@code{semantic-analyze-possible-completions}).
@end table
@noindent
In addition to the above commands, the Semantic package provides a
variety of other ways to make use of parser information. For
instance, you can use it to display a list of completions when Emacs
is idle.
@ifnottex
@xref{Top, Semantic,, semantic, Semantic}, for details.
@end ifnottex
@node Misc for Programs
@section Other Features Useful for Editing Programs
...
...
doc/emacs/trouble.texi
View file @
6e104790
...
...
@@ -1008,6 +1008,7 @@ form that is clearly safe to install.
@node Contributing, Service, Bugs, Top
@section Contributing to Emacs Development
@cindex contributing to Emacs
If you would like to help pretest Emacs releases to assure they work
well, or if you would like to work on improving Emacs, please contact
...
...
@@ -1027,6 +1028,9 @@ repository where it is actively maintained by a group of developers.
See the Emacs project page
@url{http://savannah.gnu.org/projects/emacs/} for details.
For more information on how to contribute, see the @file{etc/CONTRIBUTE}
file in the Emacs distribution.
@node Service, Copying, Contributing, Top
@section How To Get Help with GNU Emacs
...
...
doc/lispref/ChangeLog
View file @
6e104790
2010
-
04
-
14
Juri
Linkov
<
juri
@
jurta
.
org
>
Fix
@
deffn
without
category
.
*
abbrevs
.
texi
(
Abbrev
Expansion
):
Replace
@
deffn
with
@
defun
for
`
abbrev
-
insert
'.
* buffers.texi (Indirect Buffers): Add category `Command'
to
@
deffn
of
`
clone
-
indirect
-
buffer
'.
* windows.texi (Cyclic Window Ordering): Replace @deffn with @defun
for `next-window'
and
`
previous
-
window
'. Add category `Command'
to
@
deffn
of
`
pop
-
to
-
buffer
'.
2010-04-01 Chong Yidong <cyd@stupidchicken.com>
* nonascii.texi (Text Representations): Don'
t
mark
...
...
doc/lispref/abbrevs.texi
View file @
6e104790
...
...
@@ -281,7 +281,7 @@ function returns @code{nil} as its value, then @code{expand-abbrev}
returns @code{nil} even though expansion did occur.
@end deffn
@def
f
n abbrev-insert abbrev &optional name start end
@def
u
n abbrev-insert abbrev &optional name start end
This function inserts the abbrev expansion of @code{abbrev}, replacing
the text between @code{start} and @code{end}. If @code{start} is
omitted, it defaults to point. @code{name}, if non-@code{nil}, should
...
...
@@ -289,7 +289,7 @@ be the name by which this abbrev was found (a string); it is used to
figure out whether to adjust the capitalization of the expansion. The
function returns @code{abbrev} if the abbrev was successfully
inserted.
@end def
f
n
@end def
u
n
@deffn Command abbrev-prefix-mark &optional arg
This command marks the current location of point as the beginning of
...
...
doc/lispref/buffers.texi
View file @
6e104790
...
...
@@ -1135,7 +1135,7 @@ non-@code{nil}, the initial state is copied from the actual base
buffer, not from @var{base-buffer}.
@end deffn
@deffn clone-indirect-buffer newname display-flag &optional norecord
@deffn
Command
clone-indirect-buffer newname display-flag &optional norecord
This function creates and returns a new indirect buffer that shares
the current buffer's base buffer and copies the rest of the current
buffer's attributes. (If the current buffer is not indirect, it is
...
...
doc/lispref/windows.texi
View file @
6e104790
...
...
@@ -525,7 +525,7 @@ horizontal, the ordering is top to bottom in the left part, and so on.
In general, within each set of siblings at any level in the window tree
(@pxref{Window Tree}), the order is left to right, or top to bottom.
@def
f
n next-window &optional window minibuf all-frames
@def
u
n next-window &optional window minibuf all-frames
@cindex minibuffer window, and @code{next-window}
This function returns the window following @var{window} in the cyclic
ordering of windows. This is the window @kbd{C-x o} selects if typed
...
...
@@ -588,13 +588,13 @@ buffer @samp{windows.texi}:
@result{} #<window 56 on windows.texi>
@end group
@end example
@end def
f
n
@end def
u
n
@def
f
n previous-window &optional window minibuf all-frames
@def
u
n previous-window &optional window minibuf all-frames
This function returns the window preceding @var{window} in the cyclic
ordering of windows. The other arguments specify which windows to
include in the cycle, as in @code{next-window}.
@end def
f
n
@end def
u
n
@deffn Command other-window count &optional all-frames
This function selects another window in the cyclic ordering of windows.
...
...
@@ -827,7 +827,7 @@ This function updates the buffer list just like @code{switch-to-buffer}
unless @var{norecord} is non-@code{nil}.
@end deffn
@deffn pop-to-buffer buffer-or-name &optional other-window norecord
@deffn
Command
pop-to-buffer buffer-or-name &optional other-window norecord
This command makes @var{buffer-or-name} the current buffer and switches
to it in some window, preferably not the window previously selected.
The ``popped-to'' window becomes the selected window. Its frame is
...
...
doc/misc/ChangeLog
View file @
6e104790
2010-04-18 Teodor Zlatanov <tzz@lifelogs.com>
* gnus.texi (Gnus Versions, Oort Gnus): Mention the Git repo instead of
the CVS repo. Put the Git repo in the news section.
* gnus-coding.texi (Gnus Maintainance Guide): Fix title typo.
Removed some mentions of CVS. Mention the new Git repo.
2010-04-18 Andreas Seltenreich <seltenreich@gmx.de>
* gnus.texi (Score File Format): Fix typo. Reported by Štěpán Němec.
(Mail Group Commands): Add index entry.
2010-04-18 Glenn Morris <rgm@gnu.org>
* info.texi (Search Index): Mention Emacs's Info-virtual-index.
2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>