Skip to content

Commit d56f600

Browse files
author
Yuuki Harano
committed
Merge branch 'master' of https://github.com/emacs-mirror/emacs into pgtk
2 parents f2a6699 + 959bbf3 commit d56f600

File tree

234 files changed

+38018
-28133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+38018
-28133
lines changed

admin/merge-gnulib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ GNULIB_MODULES='
5050
AVOIDED_MODULES='
5151
btowc close dup fchdir fstat langinfo lock
5252
malloc-posix mbrtowc mbsinit memchr mkdir msvc-inval msvc-nothrow nl_langinfo
53-
openat-die opendir raise
53+
openat-die opendir pthread-h raise
5454
save-cwd select setenv sigprocmask stat stdarg stdbool
5555
threadlib tzset unsetenv utime utime-h
5656
wchar wcrtomb wctype-h

doc/emacs/ack.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Borgman, Baoqiu Cui, Dan Davison, Christian Egli, Eric S. Fraga, Daniel German,
285285
Jackson, Martyn Jago, Thorsten Jolitz, Jambunathan K, Tokuya Kameshima, Sergey Litvinov, David Maus, Ross Patterson, Juan Pechiar, Sebastian Rose, Eric Schulte,
286286
Paul Sexton, Ulf Stegemann, Andy Stewart, Christopher Suckling, David O'Toole, John Wiegley, Zhang Weize,
287287
Piotr Zieliński, and others also wrote various Org mode components.
288-
For more information, @pxref{History and acknowledgments,,, org, The Org Manual}.
288+
For more information, @pxref{History and Acknowledgments,,, org, The Org Manual}.
289289

290290
@item
291291
Scott Draves wrote @file{tq.el}, help functions for maintaining

doc/emacs/calendar.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,7 @@ variables' values are 120.
15991599
The timeclock package adds up time intervals, so you can (for
16001600
instance) keep track of how much time you spend working on particular
16011601
projects. (A more advanced alternative is to use the Org Mode's
1602-
facilities for clocking time, @pxref{Clocking work time,,,org, The Org
1602+
facilities for clocking time, @pxref{Clocking Work Time,,,org, The Org
16031603
Manual}).
16041604

16051605
@findex timeclock-in

doc/emacs/frames.texi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,9 +1302,9 @@ variable @code{tab-bar-tab-name-function}.
13021302
@end table
13031303

13041304
@vindex tab-bar-new-tab-choice
1305-
By default, a new tab starts with the current buffer that was
1306-
current before calling the command that adds a new tab. To start a
1307-
new tab with other buffers, customize the variable
1305+
By default, a new tab starts with the buffer that was
1306+
current before calling the command that adds a new tab.
1307+
To start a new tab with other buffers, customize the variable
13081308
@code{tab-bar-new-tab-choice}.
13091309

13101310
The following commands are used to delete and operate on tabs:

doc/emacs/killing.texi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ Kill to the end of the sentence (@code{kill-sentence}).
219219
Kill the following balanced expression (@code{kill-sexp}). @xref{Expressions}.
220220
@item M-z @var{char}
221221
Kill through the next occurrence of @var{char} (@code{zap-to-char}).
222+
@item M-x zap-up-to-char @var{char}
223+
Kill up to, but not including, the next occurrence of @var{char}.
222224
@end table
223225

224226
@kindex C-w
@@ -248,6 +250,10 @@ search backward and kill text before point. A history of previously
248250
used characters is maintained and can be accessed via the
249251
@kbd{M-p}/@kbd{M-n} keystrokes. This is mainly useful if the
250252
character to be used has to be entered via a complicated input method.
253+
@findex zap-up-to-char
254+
A similar command @code{zap-up-to-char} kills from point up to, but
255+
not including the next occurrence of a character, with numeric
256+
argument acting as a repeat count.
251257

252258
@node Kill Options
253259
@subsection Options for Killing

doc/emacs/maintaining.texi

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,7 @@ the file contents without distraction from the annotations.
946946

947947
@node VC Change Log
948948
@subsection VC Change Log
949+
@cindex VC change log
949950

950951
@table @kbd
951952
@item C-x v l
@@ -993,15 +994,25 @@ version-controlled directory tree (RCS, SCCS, CVS, and SRC do not
993994
support this feature). With a prefix argument, the command prompts
994995
for the maximum number of revisions to display. A numeric prefix
995996
argument specifies the maximum number of revisions without prompting.
996-
When the numeric prefix argument is @kbd{M-1}, the command prompts
997-
for the revision ID, and displays its log entry with a diff of changes.
997+
When the numeric prefix argument is 1, as in @w{@kbd{C-1 C-x v L}} or
998+
@w{@kbd{C-u 1 C-x v L}}, the command prompts for the revision ID, and
999+
displays the log entry of that revision together with the changes
1000+
(diffs) it introduced. (Some less capable version control systems,
1001+
such as RCS and CVS, don't have commands to show a revision log with
1002+
its diffs; for them the command displays only the log entry, and you
1003+
can request to show the diffs by typing @kbd{d} or @kbd{D}, see
1004+
below.)
9981005

9991006
The @kbd{C-x v L} history is shown in a compact form, usually
10001007
showing only the first line of each log entry. However, you can type
10011008
@key{RET} (@code{log-view-toggle-entry-display}) in the
10021009
@file{*vc-change-log*} buffer to reveal the entire log entry for the
10031010
revision at point. A second @key{RET} hides it again.
10041011

1012+
@kindex C-x v I
1013+
@kindex C-x v O
1014+
@findex vc-log-incoming
1015+
@findex vc-log-outgoing
10051016
On a decentralized version control system, the @kbd{C-x v I}
10061017
(@code{vc-log-incoming}) command displays a log buffer showing the
10071018
changes that will be applied, the next time you run the version
@@ -1014,6 +1025,8 @@ specific repository. Similarly, @kbd{C-x v O}
10141025
another repository, the next time you run the push command; with a
10151026
prefix argument, it prompts for a specific destination repository.
10161027

1028+
@cindex VC log buffer, commands in
1029+
@cindex vc-log buffer
10171030
In the @file{*vc-change-log*} buffer, you can use the following keys
10181031
to move between the logs of revisions and of files, and to examine and
10191032
compare past revisions (@pxref{Old Revisions}):
@@ -1426,11 +1439,13 @@ Mercurial in its normal mode of operation, each branch has its own
14261439
working directory tree, so switching between branches just involves
14271440
switching directories. On Git, branches are normally @dfn{co-located}
14281441
in the same directory, and switching between branches is done using
1429-
the @command{git checkout} command, which changes the contents of the
1442+
the @kbd{git checkout} command, which changes the contents of the
14301443
working tree to match the branch you switch to. Bazaar also supports
1431-
co-located branches, in which case the @command{bzr switch} command
1444+
co-located branches, in which case the @kbd{bzr switch} command
14321445
will switch branches in the current directory. With Subversion, you
1433-
switch to another branch using the @command{svn switch} command.
1446+
switch to another branch using the @kbd{svn switch} command. With
1447+
Mercurial, command @kbd{hg update} is used to swith to another
1448+
branch.
14341449

14351450
The VC command to switch to another branch in the current directory
14361451
is @kbd{C-x v r @var{branch-name} @key{RET}} (@code{vc-retrieve-tag}).
@@ -1477,8 +1492,8 @@ On a decentralized version control system, the command @kbd{C-x v P}
14771492
(@code{vc-push}) updates another location with changes from the
14781493
current branch. With a prefix argument, it prompts for the exact
14791494
version control command to run, which lets you specify where to push
1480-
changes; the default is @command{bzr push} with Bazaar, @command{git
1481-
push} with Git, and @command{hg push} with Mercurial. The default
1495+
changes; the default is @kbd{bzr push} with Bazaar, @kbd{git
1496+
push} with Git, and @kbd{hg push} with Mercurial. The default
14821497
commands always push to a default location determined by the version
14831498
control system from your branch configuration.
14841499

@@ -1507,11 +1522,11 @@ control system.
15071522

15081523
Amongst decentralized version control systems, @kbd{C-x v +} is
15091524
currently supported only by Bazaar, Git, and Mercurial. With Bazaar,
1510-
it calls @command{bzr pull} for ordinary branches (to pull from a
1511-
master branch into a mirroring branch), and @command{bzr update} for a
1525+
it calls @kbd{bzr pull} for ordinary branches (to pull from a
1526+
master branch into a mirroring branch), and @kbd{bzr update} for a
15121527
bound branch (to pull from a central repository). With Git, it calls
1513-
@command{git pull} to fetch changes from a remote repository and merge
1514-
it into the current branch. With Mercurial, it calls @command{hg pull
1528+
@kbd{git pull} to fetch changes from a remote repository and merge
1529+
it into the current branch. With Mercurial, it calls @kbd{hg pull
15151530
-u} to fetch changesets from the default remote repository and update
15161531
the working directory.
15171532

@@ -1542,11 +1557,12 @@ two branches.
15421557

15431558
On a decentralized version control system, merging is done with the
15441559
command @kbd{C-x v m} (@code{vc-merge}). On Bazaar, this prompts for
1545-
the exact arguments to pass to @command{bzr merge}, offering a
1560+
the exact arguments to pass to @kbd{bzr merge}, offering a
15461561
sensible default if possible. On Git, this prompts for the name of a
15471562
branch to merge from, with completion (based on the branch names known
1548-
to the current repository). The output from running the merge command
1549-
is shown in a separate buffer.
1563+
to the current repository). With Mercurial, this prompts for argument
1564+
to pass to @kbd{hg merge}. The output from running the merge
1565+
command is shown in a separate buffer.
15501566

15511567
On a centralized version control system like CVS, @kbd{C-x v m}
15521568
prompts for a branch ID, or a pair of revision IDs (@pxref{Switching

doc/emacs/text.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ org-agenda}. This command prompts for what you want to see: a list of
14521452
things to do this week, a list of TODO items with specific keywords,
14531453
etc.
14541454
@ifnottex
1455-
@xref{Agenda views,,,org, The Org Manual}, for details.
1455+
@xref{Agenda Views,,,org, The Org Manual}, for details.
14561456
@end ifnottex
14571457

14581458
@node Org Authoring

doc/lispref/display.texi

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,7 @@ This function returns the name of the font of face @var{face}.
28932893

28942894
If the optional argument @var{frame} is specified, it returns the name
28952895
of the font of @var{face} for that frame. If @var{frame} is omitted or
2896-
@code{nil}, the selected frame is used. And, in this case, if the
2896+
@code{nil}, the selected frame is used. In the latter case, if the
28972897
optional third argument @var{character} is supplied, it returns the font
28982898
name used for @var{character}.
28992899
@end defun
@@ -3934,12 +3934,14 @@ was remapped. @xref{Face Remapping}.
39343934

39353935
@defun default-font-width
39363936
This function returns the average width in pixels of the font used by
3937-
the current buffer's default face.
3937+
the current buffer's default face, as that face is defined for the
3938+
selected frame.
39383939
@end defun
39393940

39403941
@defun default-font-height
39413942
This function returns the height in pixels of the font used by the
3942-
current buffer's default face.
3943+
current buffer's default face, as that face is defined for the
3944+
selected frame.
39433945
@end defun
39443946

39453947
@defun window-font-width &optional window face

doc/lispref/files.texi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,6 @@ its copyright notice.
489489
@c Emacs 19 feature
490490
@defopt after-save-hook
491491
This normal hook runs after a buffer has been saved in its visited file.
492-
One use of this hook is in Fast Lock mode; it uses this hook to save the
493-
highlighting information in a cache file.
494492
@end defopt
495493

496494
@defopt file-precious-flag

0 commit comments

Comments
 (0)