Merge from origin/emacs-26
e5a2933
(origin/emacs-26) lisp/vc/: documentation fixesf21f8e6
Document 'desktop-files-not-to-save'd8917eb
Improve documentation of Profiling featuresb228839
Improve indexing of "performance" in ELisp manualab67b3e
Minor change in Emacs manual's VC chapterc352434
Avoid memory corruption with specpdl overflow + edebug (Bug#3...593bbda
Document comment-fill-column in the manual (Bug#11636)bd4cc8d
* doc/emacs/dired.texi (Marks vs Flags): Copyedits.69107f3
; Fix doc typos related to indefinite articlesaaad1e6
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...5906418
More fixes for the Emacs manual9ab3df1
; Fix doc typos related to indefinite articles66a4e65
; Fix doc typos related to indefinite articles35e5c57
; Fix doc typos related to indefinite articles
This commit is contained in:
commit
4fa90ff8f5
118 changed files with 288 additions and 240 deletions
|
@ -917,8 +917,8 @@ variablearg-opt-name
|
|||
( ,$1 )
|
||||
| semantic-list arg-list
|
||||
( (car ( EXPAND $1 function-pointer )) $2)
|
||||
;; Klaus Berndl: This allows variableargs without a arg-name being
|
||||
;; parsed correct even if there several pointers (*)
|
||||
;; Klaus Berndl: This allows variableargs without an arg-name being
|
||||
;; parsed correctly even if there several pointers (*)
|
||||
| opt-stars
|
||||
( "" ,$1 nil nil nil )
|
||||
;
|
||||
|
|
|
@ -85,7 +85,7 @@ regard to completeness.
|
|||
code (keymap.c and print.c).
|
||||
|
||||
* Rationalize character syntax and its relationship to the Unicode
|
||||
database. (Applies mainly to symbol an punctuation syntax.)
|
||||
database. (Applies mainly to symbol and punctuation syntax.)
|
||||
|
||||
* Fontset handling and customization needs work. We want to relate
|
||||
fonts to scripts, probably based on the Unicode blocks. The
|
||||
|
|
|
@ -578,9 +578,9 @@ command will look in the buffer without revisiting the file, so the results
|
|||
might be inconsistent with the file on disk if its contents have changed
|
||||
since it was last visited. If you don't want this, you may wish to
|
||||
revert the files you have visited in your buffers, or to turn on
|
||||
the @code{auto-revert} mode in those buffers, before invoking this
|
||||
command. @xref{Reverting}. If you prefer that this command always
|
||||
revisits the file, without having to revert the file or enable
|
||||
@code{auto-revert} mode in those buffers, before invoking this
|
||||
command. @xref{Reverting}. If you prefer that this command should always
|
||||
revisit the file, without you having to revert the file or enable
|
||||
@code{auto-revert} mode, you might want to set
|
||||
@code{dired-always-read-filesystem} to non-@code{nil}.
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@ changed.
|
|||
The Emacs version control interface is called @dfn{VC}@. VC
|
||||
commands work with several different version control systems;
|
||||
currently, it supports Bazaar, CVS, Git, Mercurial, Monotone, RCS,
|
||||
SCCS/CSSC, and Subversion. Of these, the GNU project distributes CVS,
|
||||
RCS, and Bazaar.
|
||||
SRC, SCCS/CSSC, and Subversion. Of these, the GNU project distributes
|
||||
CVS, RCS, and Bazaar.
|
||||
|
||||
VC is enabled automatically whenever you visit a file governed by a
|
||||
version control system. To disable VC entirely, set the customizable
|
||||
|
@ -80,9 +80,7 @@ current buffer, use the command @code{vc-refresh-state}. This command
|
|||
is useful when you perform version control commands outside Emacs
|
||||
(e.g., from the shell prompt), or if you put the buffer's file under a
|
||||
different version control system, or remove it from version control
|
||||
entirely. A companion command @code{vc-state-refresh} does the same,
|
||||
but does not consider switching the version control system or removal
|
||||
from VC.
|
||||
entirely.
|
||||
|
||||
@menu
|
||||
* Introduction to VC:: How version control works in general.
|
||||
|
@ -185,12 +183,12 @@ everything you can do with RCS can be done through VC.
|
|||
|
||||
@cindex CVS
|
||||
@item
|
||||
CVS is the free version control system that was, until recently (circa
|
||||
2008), used by the majority of free software projects. Nowadays, it
|
||||
is slowly being superseded by newer systems. CVS allows concurrent
|
||||
multi-user development either locally or over the network. Unlike
|
||||
newer systems, it lacks support for atomic commits and file
|
||||
moving/renaming. VC supports all basic editing operations under CVS.
|
||||
CVS is the free version control system that was, until circa 2008,
|
||||
used by the majority of free software projects. Since then, it has
|
||||
been superseded by newer systems. CVS allows concurrent multi-user
|
||||
development either locally or over the network. Unlike newer systems,
|
||||
it lacks support for atomic commits and file moving/renaming. VC
|
||||
supports all basic editing operations under CVS.
|
||||
|
||||
@cindex SVN
|
||||
@cindex Subversion
|
||||
|
@ -322,13 +320,14 @@ possible.
|
|||
@subsubsection Changeset-based vs File-based Version Control
|
||||
|
||||
@cindex file-based version control
|
||||
On SCCS, RCS, CVS, and other early version control systems, version
|
||||
control operations are @dfn{file-based}: each file has its own comment
|
||||
and revision history separate from that of all other files. Newer
|
||||
systems, beginning with Subversion, are @dfn{changeset-based}: a
|
||||
commit may include changes to several files, and the entire set of
|
||||
changes is handled as a unit. Any comment associated with the change
|
||||
does not belong to a single file, but to the changeset itself.
|
||||
On SCCS, RCS, CVS, and other early version control systems (and also
|
||||
in SRC), version control operations are @dfn{file-based}: each file
|
||||
has its own comment and revision history separate from that of all
|
||||
other files. Newer systems, beginning with Subversion, are
|
||||
@dfn{changeset-based}: a commit may include changes to several files,
|
||||
and the entire set of changes is handled as a unit. Any comment
|
||||
associated with the change does not belong to a single file, but to
|
||||
the changeset itself.
|
||||
|
||||
@cindex changeset-based version control
|
||||
Changeset-based version control is more flexible and powerful than
|
||||
|
@ -344,7 +343,7 @@ all of it.
|
|||
@cindex distributed version control
|
||||
Early version control systems were designed around a
|
||||
@dfn{centralized} model in which each project has only one repository
|
||||
used by all developers. SCCS, RCS, CVS, and Subversion share this
|
||||
used by all developers. SCCS, RCS, CVS, Subversion, and SRC share this
|
||||
kind of model. One of its drawbacks is that the repository is a choke
|
||||
point for reliability and efficiency.
|
||||
|
||||
|
@ -526,7 +525,7 @@ desired log entry for the new revision, followed by @kbd{C-c C-c} to
|
|||
commit. @xref{Log Buffer}.
|
||||
|
||||
If committing to a shared repository, the commit may fail if the
|
||||
repository that has been changed since your last update. In that
|
||||
repository has been changed since your last update. In that
|
||||
case, you must perform an update before trying again. On a
|
||||
decentralized version control system, use @kbd{C-x v +}
|
||||
(@pxref{Pulling / Pushing}) or @kbd{C-x v m} (@pxref{Merging}).
|
||||
|
@ -609,7 +608,7 @@ if the fileset can be managed by more than one version control system,
|
|||
and Emacs fails to detect the correct one.
|
||||
|
||||
@item
|
||||
Otherwise, if using CVS or RCS, you can specify a revision ID.
|
||||
Otherwise, if using CVS, RCS or SRC, you can specify a revision ID.
|
||||
|
||||
If the fileset is modified (or locked), this makes Emacs commit with
|
||||
that revision ID@. You can create a new branch by supplying an
|
||||
|
@ -660,11 +659,10 @@ Author: J. R. Hacker <jrh@@example.com>
|
|||
|
||||
@noindent
|
||||
Apart from the @samp{Author} header, Emacs recognizes the headers
|
||||
@samp{Date} (a manually-specified commit time) and @samp{Fixes} (a
|
||||
reference to a bug fixed by the change). Not all version control
|
||||
systems recognize all headers: Bazaar recognizes all three headers,
|
||||
while Git, Mercurial, and Monotone recognize only @samp{Author} and
|
||||
@samp{Date}. If you specify a header for a system that does not
|
||||
@samp{Summary} (a one-line summary of the changeset), @samp{Date} (a
|
||||
manually-specified commit time), and @samp{Fixes} (a reference to a
|
||||
bug fixed by the change). Not all version control systems recognize
|
||||
all headers. If you specify a header for a system that does not
|
||||
support it, the header is treated as part of the log entry.
|
||||
|
||||
@kindex C-c C-f @r{(Log Edit mode)}
|
||||
|
@ -969,9 +967,9 @@ file listed on the current line.
|
|||
@findex log-view-toggle-entry-display
|
||||
@kbd{C-x v L} (@code{vc-print-root-log}) displays a
|
||||
@file{*vc-change-log*} buffer showing the history of the entire
|
||||
version-controlled directory tree (RCS, SCCS, and CVS do not support
|
||||
this feature). With a prefix argument, the command prompts for the
|
||||
maximum number of revisions to display.
|
||||
version-controlled directory tree (RCS, SCCS, CVS, and SRC do not
|
||||
support this feature). With a prefix argument, the command prompts
|
||||
for the maximum number of revisions to display.
|
||||
|
||||
The @kbd{C-x v L} history is shown in a compact form, usually
|
||||
showing only the first line of each log entry. However, you can type
|
||||
|
@ -1048,7 +1046,7 @@ if you set the value to zero, that removes the limit. You can also
|
|||
increase the number of revisions shown in an existing
|
||||
@file{*vc-change-log*} buffer by clicking on the @samp{Show 2X
|
||||
entries} or @samp{Show unlimited entries} buttons at the end of the
|
||||
buffer. However, RCS, SCCS, and CVS do not support this feature.
|
||||
buffer. However, RCS, SCCS, CVS, and SRC do not support this feature.
|
||||
|
||||
@kindex C-x v h
|
||||
@findex vc-region-history
|
||||
|
@ -1189,7 +1187,7 @@ but is not yet committed, while @file{temp.txt} is not under version
|
|||
control (@pxref{Registering}).
|
||||
|
||||
The @samp{*} characters next to the entries for @file{README} and
|
||||
@file{src/main.c} indicate that the user has marked out these files as
|
||||
@file{src/main.c} indicate that the user has marked these files as
|
||||
the current VC fileset
|
||||
@iftex
|
||||
(see below).
|
||||
|
@ -1280,7 +1278,7 @@ point is on a directory entry, unmark all files in that directory tree
|
|||
files and directories.
|
||||
|
||||
@item x
|
||||
Hide files with @samp{up-to-date} status
|
||||
Hide files with @samp{up-to-date} or @samp{ignored} status
|
||||
(@code{vc-dir-hide-up-to-date}). With a prefix argument, hide items
|
||||
whose state is that of the item at point.
|
||||
@end table
|
||||
|
@ -1352,7 +1350,7 @@ Switch to a branch (@code{vc-retrieve-tag}). @xref{Switching Branches}.
|
|||
context menu invoked by @kbd{mouse-2}. Furthermore, some VC backends
|
||||
use the menu to provide extra backend-specific commands. For example,
|
||||
Git and Bazaar allow you to manipulate @dfn{stashes} and @dfn{shelves}
|
||||
(where are a way to temporarily put aside uncommitted changes, and
|
||||
(which are a way to temporarily put aside uncommitted changes, and
|
||||
bring them back at a later time).
|
||||
|
||||
@node Branches
|
||||
|
@ -1517,7 +1515,7 @@ is shown in a separate buffer.
|
|||
prompts for a branch ID, or a pair of revision IDs (@pxref{Switching
|
||||
Branches}); then it finds the changes from that branch, or the changes
|
||||
between the two revisions you specified, and merges those changes into
|
||||
the current VC fileset. If you just type @key{RET}, Emacs simply
|
||||
the current VC fileset. If you just type @kbd{@key{RET}}, Emacs simply
|
||||
merges any changes that were made on the same branch since you checked
|
||||
the file out.
|
||||
|
||||
|
|
|
@ -2434,6 +2434,11 @@ To disable this, set @code{desktop-restore-frames} to @code{nil}.
|
|||
(See that variable's documentation for some related options
|
||||
that you can customize to fine-tune this behavior.)
|
||||
|
||||
@vindex desktop-files-not-to-save
|
||||
Information about buffers visiting remote files is not saved by
|
||||
default. Customize the variable @code{desktop-files-not-to-save} to
|
||||
change this.
|
||||
|
||||
@vindex frameset-filter-alist
|
||||
When the desktop restores the frame and window configuration, it
|
||||
uses the recorded values of frame parameters, disregarding any
|
||||
|
|
|
@ -965,13 +965,13 @@ the line is blank (i.e., empty or containing only whitespace
|
|||
characters), the comment is indented to the same position where
|
||||
@kbd{@key{TAB}} would indent to (@pxref{Basic Indent}). If the line
|
||||
is non-blank, the comment is placed after the last non-whitespace
|
||||
character on the line; normally, Emacs tries putting it at the column
|
||||
specified by the variable @code{comment-column} (@pxref{Options for
|
||||
Comments}), but if the line already extends past that column, it puts
|
||||
the comment at some suitable position, usually separated from the
|
||||
non-comment text by at least one space. In each case, Emacs places
|
||||
point after the comment's starting delimiter, so that you can start
|
||||
typing the comment text right away.
|
||||
character on the line. Emacs tries to fit the comment between the
|
||||
columns specified by the variables @code{comment-column} and
|
||||
@code{comment-fill-column} (@pxref{Options for Comments}), if
|
||||
possible. Otherwise, it will choose some other suitable position,
|
||||
usually separated from the non-comment text by at least one space. In
|
||||
each case, Emacs places point after the comment's starting delimiter,
|
||||
so that you can start typing the comment text right away.
|
||||
|
||||
You can also use @kbd{M-;} to align an existing comment. If a line
|
||||
already contains the comment-start string, @kbd{M-;} realigns it to
|
||||
|
@ -1064,13 +1064,16 @@ comment. Enable the @code{comment-close-slash} clean-up for this.
|
|||
@subsection Options Controlling Comments
|
||||
|
||||
@vindex comment-column
|
||||
@vindex comment-fill-column
|
||||
@kindex C-x ;
|
||||
@findex comment-set-column
|
||||
As mentioned in @ref{Comment Commands}, when the @kbd{M-j} command
|
||||
adds a comment to a line, it tries to place the comment at the column
|
||||
specified by the buffer-local variable @code{comment-column}. You can
|
||||
set either the local value or the default value of this buffer-local
|
||||
variable in the usual way (@pxref{Locals}). Alternatively, you can
|
||||
adds a comment to a line, it tries to place the comment between the
|
||||
columns specified by the buffer-local variables @code{comment-column}
|
||||
and @code{comment-fill-column} (or if that is @code{nil}, then the
|
||||
value of @code{fill-column}, @pxref{Fill Commands}). You can set
|
||||
either the local value or the default value of these buffer-local
|
||||
variables in the usual way (@pxref{Locals}). Alternatively, you can
|
||||
type @kbd{C-x ;} (@code{comment-set-column}) to set the value of
|
||||
@code{comment-column} in the current buffer to the column where point
|
||||
is currently located. @kbd{C-u C-x ;} sets the comment column to
|
||||
|
|
|
@ -1585,7 +1585,7 @@ use it, add the @samp{--tls} flag to @code{rmail-movemail-flags}.
|
|||
If your incoming mail is stored on a local machine in a format other
|
||||
than Unix mailbox, you will need the Mailutils @command{movemail} to
|
||||
retrieve it. @xref{Movemail}, for the detailed description of
|
||||
@command{movemail} versions. For example, to access mail from a inbox in
|
||||
@command{movemail} versions. For example, to access mail from an inbox in
|
||||
@code{maildir} format located in @file{/var/spool/mail/in}, you would
|
||||
include the following in the Rmail inbox list:
|
||||
|
||||
|
|
|
@ -113,8 +113,9 @@ Prompt for a file name, delete the file from the working tree, and
|
|||
schedule the deletion for committing.
|
||||
|
||||
@item M-x vc-rename-file
|
||||
Prompt for two file names, @var{var} and @var{old}, rename them in the
|
||||
working tree, and schedule the renaming for committing.
|
||||
Prompt for two file names, @var{old} and @var{new}, rename them in the
|
||||
working tree, and schedule the renaming for committing. The @var{old}
|
||||
file defaults to the current buffer's file name if it is under VC.
|
||||
@end table
|
||||
|
||||
@findex vc-delete-file
|
||||
|
@ -268,7 +269,7 @@ with the file's version control type.
|
|||
@vindex vc-handled-backends
|
||||
The variable @code{vc-handled-backends} determines which version
|
||||
control systems VC should handle. The default value is @code{(RCS CVS
|
||||
SVN SCCS Bzr Git Hg Mtn Arch)}, so it contains all the version systems
|
||||
SVN SCCS SRC Bzr Git Hg Mtn)}, so it contains all the version systems
|
||||
that are currently supported. If you want VC to ignore one or more of
|
||||
these systems, exclude its name from the list. To disable VC
|
||||
entirely, set this variable to @code{nil}.
|
||||
|
|
|
@ -11799,7 +11799,7 @@ Uses recursion."
|
|||
@end group
|
||||
@end smallexample
|
||||
|
||||
What happens when we call this function with a argument of 7?
|
||||
What happens when we call this function with an argument of 7?
|
||||
|
||||
The first instance of the @code{triangle-recursively} function adds
|
||||
the number 7 to the value returned by a second instance of
|
||||
|
@ -20821,7 +20821,7 @@ The function @code{1+} which adds one to its argument, is executed on
|
|||
|
||||
Contrast this with @code{apply}, which applies its first argument to
|
||||
all the remaining.
|
||||
(@xref{Readying a Graph, , Readying a Graph}, for a explanation of
|
||||
(@xref{Readying a Graph, , Readying a Graph}, for an explanation of
|
||||
@code{apply}.)
|
||||
|
||||
@need 1250
|
||||
|
|
|
@ -667,7 +667,7 @@ reason.
|
|||
|
||||
@defun ask-user-about-supersession-threat filename
|
||||
This function is used to ask a user how to proceed after an attempt to
|
||||
modify an buffer visiting file @var{filename} when the file is newer
|
||||
modify a buffer visiting file @var{filename} when the file is newer
|
||||
than the buffer text. Emacs detects this because the modification
|
||||
time of the file on disk is newer than the last save-time and its contents
|
||||
have changed.
|
||||
|
|
|
@ -918,51 +918,65 @@ be cleaner to combine them.
|
|||
@section Profiling
|
||||
@cindex profiling
|
||||
@cindex profile
|
||||
@cindex performance analysis
|
||||
@cindex measuring resource usage
|
||||
@cindex memory usage
|
||||
|
||||
If your program is working correctly, but you want to make it run more
|
||||
quickly or efficiently, the first thing to do is @dfn{profile} your
|
||||
code so that you know how it is using resources. If you find that one
|
||||
particular function is responsible for a significant portion of the
|
||||
runtime, you can start looking for ways to optimize that piece.
|
||||
If your program is working correctly, but not fast enough, and you
|
||||
want to make it run more quickly or efficiently, the first thing to do
|
||||
is @dfn{profile} your code so that you know where it spends most of
|
||||
the execution time. If you find that one particular function is
|
||||
responsible for a significant portion of the execution time, you can
|
||||
start looking for ways to optimize that piece.
|
||||
|
||||
Emacs has built-in support for this. To begin profiling, type
|
||||
@kbd{M-x profiler-start}. You can choose to profile by processor
|
||||
usage, memory usage, or both. After doing some work, type
|
||||
@kbd{M-x profiler-report} to display a summary buffer for each
|
||||
resource that you chose to profile. The names of the report buffers
|
||||
include the times at which the reports were generated, so you can
|
||||
generate another report later on without erasing previous results.
|
||||
When you have finished profiling, type @kbd{M-x profiler-stop} (there
|
||||
is a small overhead associated with profiling).
|
||||
usage, memory usage, or both. Then run the code you'd like to speed
|
||||
up. After that, type @kbd{M-x profiler-report} to display a summary
|
||||
buffer for each resource (cpu and memory) that you chose to profile.
|
||||
The names of the report buffers include the times at which the reports
|
||||
were generated, so you can generate another report later on without
|
||||
erasing previous results. When you have finished profiling, type
|
||||
@kbd{M-x profiler-stop} (there is a small overhead associated with
|
||||
profiling, so we don't recommend leaving it active except when you are
|
||||
actually running the code you want to examine).
|
||||
|
||||
The profiler report buffer shows, on each line, a function that was
|
||||
called, followed by how much resource (processor or memory) it used in
|
||||
absolute and percentage times since profiling started. If a given
|
||||
called, followed by how much resources (cpu or memory) it used in
|
||||
absolute and percentage terms since profiling started. If a given
|
||||
line has a @samp{+} symbol at the left-hand side, you can expand that
|
||||
line by typing @kbd{@key{RET}}, in order to see the function(s) called
|
||||
by the higher-level function. Use a prefix argument (@kbd{C-u
|
||||
@key{RET}}) to see the whole call tree below a function. Pressing
|
||||
@kbd{@key{RET}} again will collapse back to the original state.
|
||||
|
||||
Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function.
|
||||
Press @kbd{d} to view a function's documentation.
|
||||
You can save a profile to a file using @kbd{C-x C-w}.
|
||||
You can compare two profiles using @kbd{=}.
|
||||
Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function
|
||||
at point. Press @kbd{d} to view a function's documentation. You can
|
||||
save a profile to a file using @kbd{C-x C-w}. You can compare two
|
||||
profiles using @kbd{=}.
|
||||
|
||||
@c FIXME reversed calltree?
|
||||
|
||||
@cindex @file{elp.el}
|
||||
@cindex timing programs
|
||||
The @file{elp} library offers an alternative approach. See the file
|
||||
@file{elp.el} for instructions.
|
||||
The @file{elp} library offers an alternative approach, which is useful
|
||||
when you know in advance which Lisp function(s) you want to profile.
|
||||
Using that library, you begin by setting @code{elp-function-list} to
|
||||
the list of function symbols---those are the functions you want to
|
||||
profile. Then type @w{@kbd{M-x elp-instrument-list @key{RET} nil
|
||||
@key{RET}}} to arrange for profiling those functions. After running
|
||||
the code you want to profile, invoke @w{@kbd{M-x elp-results}} to
|
||||
display the current results. See the file @file{elp.el} for more
|
||||
detailed instructions. This approach is limited to profiling
|
||||
functions written in Lisp, it cannot profile Emacs primitives.
|
||||
|
||||
@cindex @file{benchmark.el}
|
||||
@cindex benchmarking
|
||||
You can check the speed of individual Emacs Lisp forms using the
|
||||
@file{benchmark} library. See the functions @code{benchmark-run} and
|
||||
@code{benchmark-run-compiled} in @file{benchmark.el}.
|
||||
You can measure the time it takes to evaluate individual Emacs Lisp
|
||||
forms using the @file{benchmark} library. See the macros
|
||||
@code{benchmark-run} and @code{benchmark-run-compiled} in
|
||||
@file{benchmark.el}. You can also use the @code{benchmark} command
|
||||
for timing forms interactively.
|
||||
|
||||
@c Not worth putting in the printed manual.
|
||||
@ifnottex
|
||||
|
|
|
@ -898,7 +898,7 @@ lines inserted.
|
|||
|
||||
@cindex coverage testing (Edebug)
|
||||
@cindex frequency counts
|
||||
@cindex performance analysis
|
||||
@cindex performance analysis (Edebug)
|
||||
Edebug provides rudimentary coverage testing and display of execution
|
||||
frequency.
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ standard keyword from the @code{finder-known-keywords} list.
|
|||
as explained in @ref{Packaging Basics}. In the above example, a magic
|
||||
comment autoloads @code{superfrobnicator-mode}.
|
||||
|
||||
@xref{Package Archives}, for a explanation of how to add a
|
||||
@xref{Package Archives}, for an explanation of how to add a
|
||||
single-file package to a package archive.
|
||||
|
||||
@node Multi-file Packages
|
||||
|
|
|
@ -2981,7 +2981,7 @@ optional argument @var{append} is non-@code{nil}, @var{face} is
|
|||
appended to the end of the list instead. Note that in a face list,
|
||||
the first occurring value for each attribute takes precedence.
|
||||
|
||||
For example, the following code would assign a italicized green face
|
||||
For example, the following code would assign an italicized green face
|
||||
to the text between @var{start} and @var{end}:
|
||||
|
||||
@example
|
||||
|
|
|
@ -862,7 +862,7 @@ If the optional argument @var{pixelwise} is non-@code{nil},
|
|||
A positive @var{delta} moves the edge downwards or to the right; a
|
||||
negative @var{delta} moves it upwards or to the left. If the edge
|
||||
cannot be moved as far as specified by @var{delta}, this function
|
||||
moves it as far as possible but does not signal a error.
|
||||
moves it as far as possible but does not signal an error.
|
||||
|
||||
This function tries to resize windows adjacent to the edge that is
|
||||
moved. If this is not possible for some reason (e.g., if that adjacent
|
||||
|
|
|
@ -243,7 +243,7 @@ Interesting point. When wrapping skeletons around successive regions, they are
|
|||
put at these places. Point is left at first @code{_} where nothing is wrapped.
|
||||
@item @code{>}
|
||||
Indent line according to major mode. When following element is @code{_}, and
|
||||
there is a interregion that will be wrapped here, indent that interregion.
|
||||
there is an interregion that will be wrapped here, indent that interregion.
|
||||
@item @code{&}
|
||||
Logical and. If preceding element moved point, i.e., usually inserted
|
||||
something, do following element.
|
||||
|
|
|
@ -2408,7 +2408,7 @@ could achieve this with code like this in your @file{.emacs}:
|
|||
@end group
|
||||
@end example
|
||||
|
||||
In a programming team, a hook is a also a good place for each member
|
||||
In a programming team, a hook is also a good place for each member
|
||||
to put his own personal preferences. For example, you might be the
|
||||
only person in your team who likes Auto-newline minor mode. You could
|
||||
have it enabled by default by placing the following in your
|
||||
|
|
|
@ -753,7 +753,7 @@ privileges, you have several options:
|
|||
Info files don't actually need to be installed before being used.
|
||||
You can use a prefix argument for the @code{info} command and specify
|
||||
the name of the Info file in the minibuffer. This goes to the node
|
||||
named @samp{Top} in that file. For example, to view a Info file named
|
||||
named @samp{Top} in that file. For example, to view an Info file named
|
||||
@file{@var{info-file}} in your home directory, you can type this:
|
||||
|
||||
@example
|
||||
|
@ -3419,7 +3419,7 @@ version of Emacs, and see @ref{Current GNU distributions}, for a list of
|
|||
archive sites that make GNU software available.
|
||||
|
||||
@node Finding a package with particular functionality
|
||||
@section How do I find a Emacs Lisp package that does XXX?
|
||||
@section How do I find an Emacs Lisp package that does XXX?
|
||||
@cindex Package, finding
|
||||
@cindex Finding an Emacs Lisp package
|
||||
@cindex Functionality, finding a particular package
|
||||
|
|
|
@ -1022,7 +1022,7 @@ So that the user can enter @samp{info chmod}, for example.
|
|||
|
||||
@item Create a mode @code{eshell-browse}
|
||||
|
||||
It would treat the Eshell buffer as a outline. Collapsing the outline
|
||||
It would treat the Eshell buffer as an outline. Collapsing the outline
|
||||
hides all of the output text. Collapsing again would show only the
|
||||
first command run in each directory
|
||||
|
||||
|
|
|
@ -441,7 +441,7 @@ machine news.yourprovider.net login YourUserName password YourPassword
|
|||
@noindent
|
||||
.
|
||||
Make sure that the file isn't readable to others if you
|
||||
work on a OS which is capable of doing so. (Under Unix
|
||||
work on an OS which is capable of doing so. (Under Unix
|
||||
say
|
||||
@example
|
||||
chmod 600 ~/.authinfo
|
||||
|
@ -1449,7 +1449,7 @@ all those email addresses?
|
|||
|
||||
@subsubheading Answer
|
||||
|
||||
There's an very basic solution for this, mail aliases.
|
||||
There's a very basic solution for this, mail aliases.
|
||||
You can store your mail addresses in a ~/.mailrc file using a simple
|
||||
alias syntax:
|
||||
|
||||
|
@ -2012,7 +2012,7 @@ server by typing @samp{J a}. If you
|
|||
make a mistake, or change your mind, you can undo this
|
||||
action by typing @samp{J r}. When
|
||||
you're done, type 'q' to return to the group buffer.
|
||||
Now the next time you enter a group on a agentized
|
||||
Now the next time you enter a group on an agentized
|
||||
server, the headers will be stored on disk and read from
|
||||
there the next time you enter the group.
|
||||
|
||||
|
@ -2293,7 +2293,7 @@ When the term Emacs is used in this FAQ, it means either GNU
|
|||
Emacs or XEmacs.
|
||||
|
||||
@item Message
|
||||
In this FAQ message means a either a mail or a posting to a
|
||||
In this FAQ message means either a mail or a posting to a
|
||||
Usenet Newsgroup or to some other fancy back end, no matter
|
||||
of which kind it is.
|
||||
|
||||
|
|
|
@ -12989,7 +12989,7 @@ of these examples works:
|
|||
|
||||
@subsubheading Embedding clickable images
|
||||
For clickable images, provide a link whose description is another link to an
|
||||
image file. For example, to embed a image @file{org-mode-unicorn.png} which
|
||||
image file. For example, to embed an image @file{org-mode-unicorn.png} which
|
||||
when clicked jumps to @uref{http://Orgmode.org} website, do the following
|
||||
|
||||
@example
|
||||
|
|
|
@ -1340,7 +1340,7 @@ currently part of Supercite, but contributions are welcome!
|
|||
|
||||
Regi works by interpreting frames with the function
|
||||
@code{regi-interpret}. A frame is a list of arbitrary size where each
|
||||
element is a entry of the following form:
|
||||
element is an entry of the following form:
|
||||
|
||||
@example
|
||||
(@var{pred} @var{func} [@var{negate-p} [@var{case-fold-search}]])
|
||||
|
@ -1709,7 +1709,7 @@ of information from the info alist.
|
|||
@item @code{sc-mail-field-query} (@kbd{C-c C-p f})
|
||||
Allows you to interactively view, modify, add, and delete info alist
|
||||
key-value pairs. With no argument, you are prompted (with completion)
|
||||
for a info key. The value associated with that key is displayed in the
|
||||
for an info key. The value associated with that key is displayed in the
|
||||
minibuffer. With an argument, this command will first ask if you want
|
||||
to view, modify, add, or delete an info key. Viewing is identical to
|
||||
running the command with no arguments.
|
||||
|
|
|
@ -70,7 +70,7 @@ For changes in Emacs 23.1 and later, see the main Emacs NEWS file.
|
|||
|
||||
* Version 2.02d:
|
||||
|
||||
** Fixed a minor installation problem with a Emacs 19.29 byte-compiler bug.
|
||||
** Fixed a minor installation problem with an Emacs 19.29 byte-compiler bug.
|
||||
|
||||
** Removed archaic "macedit" package (superseded by "edmacro").
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ whether it is possible to deduce the tag name from the pattern, and make
|
|||
an unnamed tag in those cases. The name deduced from the pattern of an
|
||||
unnamed tag is the implicit name of that tag.
|
||||
When the user looks for a tag, and Emacs finds no explicit tag names
|
||||
that match it, Emacs then looks for an tag whose implicit tag name
|
||||
that match it, Emacs then looks for a tag whose implicit tag name
|
||||
matches the request. etags.c uses implicit tag names when possible, in
|
||||
order to reduce the size of the tags file.
|
||||
An implicit tag name is deduced from the pattern by discarding the
|
||||
|
|
15
etc/NEWS.20
15
etc/NEWS.20
|
@ -4130,17 +4130,16 @@ is an alternative to using the keymap itself.
|
|||
** Changes in invisibility features
|
||||
|
||||
*** Isearch can now temporarily show parts of the buffer which are
|
||||
hidden by an overlay with a invisible property, when the search match
|
||||
hidden by an overlay with an invisible property, when the search match
|
||||
is inside that portion of the buffer. To enable this the overlay
|
||||
should have a isearch-open-invisible property which is a function that
|
||||
would be called having the overlay as an argument, the function should
|
||||
make the overlay visible.
|
||||
should have an isearch-open-invisible property, which is a function that
|
||||
would be called with the overlay as an argument, and should make it visible.
|
||||
|
||||
During incremental search the overlays are shown by modifying the
|
||||
invisible and intangible properties, if beside this more actions are
|
||||
needed the overlay should have a isearch-open-invisible-temporary
|
||||
which is a function. The function is called with 2 arguments: one is
|
||||
the overlay and the second is nil when it should show the overlay and
|
||||
invisible and intangible properties. If more actions are
|
||||
needed, the overlay should have an isearch-open-invisible-temporary property,
|
||||
which is a function. The function is called with 2 arguments: one is
|
||||
the overlay, and the second is nil when it should show the overlay and
|
||||
t when it should hide it.
|
||||
|
||||
*** add-to-invisibility-spec, remove-from-invisibility-spec
|
||||
|
|
|
@ -4348,7 +4348,7 @@ integer. This is a required property.
|
|||
`:pt-height HEIGHT'
|
||||
|
||||
HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT
|
||||
must be a integer. This is an required property.
|
||||
must be an integer. This is a required property.
|
||||
|
||||
`:bounding-box BOX'
|
||||
|
||||
|
@ -4868,7 +4868,7 @@ temporarily to nil, for example
|
|||
(enlarge-window 10))
|
||||
|
||||
Likewise, an attempt to split a fixed-height window vertically,
|
||||
or a fixed-width window horizontally results in a error.
|
||||
or a fixed-width window horizontally results in an error.
|
||||
|
||||
** The cursor-type frame parameter is now supported on MS-DOS
|
||||
terminals. When Emacs starts, it by default changes the cursor shape
|
||||
|
|
|
@ -4895,7 +4895,7 @@ described above and specifies the total height of the line, causing a
|
|||
varying number of pixels to be inserted after the line to make it line
|
||||
exactly that many pixels high.
|
||||
|
||||
If the `line-spacing' property value is an positive integer, the value
|
||||
If the `line-spacing' property value is a positive integer, the value
|
||||
is used as additional pixels to insert after the display line; this
|
||||
overrides the default frame `line-spacing' and any buffer local value of
|
||||
the `line-spacing' variable.
|
||||
|
|
|
@ -148,7 +148,7 @@ directories in published site-maps.
|
|||
**** Scheme: support for tables
|
||||
**** Scheme: new variable: ~org-babel-scheme-null-to~
|
||||
|
||||
This new custom option allows to use a empty list or null symbol to
|
||||
This new custom option allows you to use an empty list or null symbol to
|
||||
format the table output, initially assigned to ~hlines~.
|
||||
|
||||
**** Scheme: new header ~:prologue~
|
||||
|
|
|
@ -399,7 +399,7 @@ use instead of point."
|
|||
(defun holidays (&optional arg)
|
||||
"Display the holidays for last month, this month, and next month.
|
||||
If called with an optional prefix argument ARG, prompts for month and year.
|
||||
This function is suitable for execution in a init file."
|
||||
This function is suitable for execution in an init file."
|
||||
(interactive "P")
|
||||
(save-excursion
|
||||
(let* ((completion-ignore-case t)
|
||||
|
|
|
@ -623,7 +623,7 @@ Todo mode revisit this file or, with option
|
|||
file was last visited.
|
||||
|
||||
If you call this command before you have created any todo file in
|
||||
the current format, and you have an todo file in old format, it
|
||||
the current format, and you have a todo file in old format, it
|
||||
will ask you whether to convert that file and show it.
|
||||
Otherwise, calling this command before any todo file exists
|
||||
prompts for a file name and an initial category (defaulting to
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
;; Need a way to reconfigure a project, and have it affect all open buffers.
|
||||
;; From Tobias Gerdin:
|
||||
;;
|
||||
;; >>3) Is there any way to refresh a ede-cpp-root-project dynamically? I have
|
||||
;; >>3) Is there any way to refresh an ede-cpp-root-project dynamically? I have
|
||||
;; >>some file open part of the project, fiddle with the include paths and would
|
||||
;; >>like the open buffer to notice this when I re-evaluate the
|
||||
;; >>ede-cpp-root-project constructor.
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
;;
|
||||
;; Basic Model:
|
||||
;;
|
||||
;; A directory belongs to a project if a ede-project-autoload structure
|
||||
;; A directory belongs to a project if an ede-project-autoload structure
|
||||
;; matches your directory.
|
||||
;;
|
||||
;; A toplevel project is one where there is no active project above
|
||||
|
|
|
@ -121,7 +121,7 @@ See `semantic-analyze-scoped-tags' for details.")
|
|||
:type buffer
|
||||
:documentation "The buffer this context is derived from.")
|
||||
(errors :initarg :errors
|
||||
:documentation "Any errors thrown an caught during analysis.")
|
||||
:documentation "Any errors thrown and caught during analysis.")
|
||||
)
|
||||
"Base analysis data for any context.")
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ For mode authors, use
|
|||
`defcustom-mode-local-semantic-dependency-system-include-path'
|
||||
to create a mode-specific variable to control this.
|
||||
|
||||
When searching for a file associated with a name found in an tag of
|
||||
When searching for a file associated with a name found in a tag of
|
||||
class include, this path will be inspected for includes of type
|
||||
`system'. Some include tags are agnostic to this setting and will
|
||||
check both the project and system directories.")
|
||||
|
|
|
@ -408,7 +408,7 @@ TYPE name does not exist. Otherwise signal an error."
|
|||
SPECS must be a list of (TYPE . TOKENS) elements, where:
|
||||
|
||||
TYPE is the name of the type symbol to define.
|
||||
TOKENS is an list of (TOKSYM . MATCHER) elements, where:
|
||||
TOKENS is a list of (TOKSYM . MATCHER) elements, where:
|
||||
|
||||
TOKSYM is any lexical token symbol.
|
||||
MATCHER is a string or regexp a text must match to be a such
|
||||
|
|
|
@ -782,7 +782,7 @@ If there is no function, disable the header line."
|
|||
(goto-char (semantic-tag-start tag))
|
||||
;; Klaus Berndl <klaus.berndl@sdm.de>:
|
||||
;; goto the tag name; this is especially needed for languages
|
||||
;; like c++ where a often used style is like:
|
||||
;; like c++ where an often used style is like:
|
||||
;; void
|
||||
;; ClassX::methodM(arg1...)
|
||||
;; {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
;; Emacs Lisp specific handlers. To use these handlers in your
|
||||
;; template, add the :name part to your template argument list.
|
||||
;;
|
||||
;; Error if not in a Emacs Lisp mode
|
||||
;; Error if not in an Emacs Lisp mode
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
|
|
@ -1192,7 +1192,7 @@ For example, the MH-E package updates this alist as follows:
|
|||
|
||||
The value of PACKAGE needs to be unique and it needs to match the
|
||||
PACKAGE value appearing in the :package-version keyword. Since
|
||||
the user might see the value in a error message, a good choice is
|
||||
the user might see the value in an error message, a good choice is
|
||||
the official name of the package, such as MH-E or Gnus.")
|
||||
|
||||
;;;###autoload
|
||||
|
|
|
@ -393,7 +393,8 @@ or `desktop-modes-not-to-save'."
|
|||
;; Skip tramp and ange-ftp files
|
||||
(defcustom desktop-files-not-to-save
|
||||
"\\(^/[^/:]*:\\|(ftp)$\\)"
|
||||
"Regexp identifying files whose buffers are to be excluded from saving."
|
||||
"Regexp identifying files whose buffers are to be excluded from saving.
|
||||
The default value excludes buffers visiting remote files."
|
||||
:type '(choice (const :tag "None" nil)
|
||||
regexp)
|
||||
:group 'desktop)
|
||||
|
|
|
@ -96,7 +96,8 @@ result. The overhead of the `lambda's is accounted for."
|
|||
;;;###autoload
|
||||
(defun benchmark (repetitions form)
|
||||
"Print the time taken for REPETITIONS executions of FORM.
|
||||
Interactively, REPETITIONS is taken from the prefix arg.
|
||||
Interactively, REPETITIONS is taken from the prefix arg, and
|
||||
the command prompts for the form to benchmark.
|
||||
For non-interactive use see also `benchmark-run' and
|
||||
`benchmark-run-compiled'."
|
||||
(interactive "p\nxForm: ")
|
||||
|
|
|
@ -641,7 +641,7 @@ list of a symbol.")
|
|||
|
||||
(defun edebug-form-data-symbol ()
|
||||
"Return the edebug data symbol of the form where point is in.
|
||||
If point is not inside a edebuggable form, cause error."
|
||||
If point is not inside an edebuggable form, signal an error."
|
||||
(or (edebug--form-data-name (edebug-get-form-data-entry (point)))
|
||||
(error "Not inside instrumented form")))
|
||||
|
||||
|
|
|
@ -278,8 +278,9 @@ Argument FUNSYM is the symbol of a defined function."
|
|||
(defun elp-instrument-list (&optional list)
|
||||
"Instrument, for profiling, all functions in `elp-function-list'.
|
||||
Use optional LIST if provided instead.
|
||||
If called interactively, read LIST using the minibuffer."
|
||||
(interactive "PList of functions to instrument: ") ;FIXME: Doesn't work?!
|
||||
If called interactively, prompt for LIST in the minibuffer;
|
||||
type \"nil\" to use `elp-function-list'."
|
||||
(interactive "xList of functions to instrument: ")
|
||||
(unless (listp list)
|
||||
(signal 'wrong-type-argument (list 'listp list)))
|
||||
(mapcar #'elp-instrument-function (or list elp-function-list)))
|
||||
|
|
|
@ -411,7 +411,7 @@ If the EWOC is empty, nil is returned."
|
|||
((>= pos (ewoc--node-start-marker (ewoc--node-nth dll -2)))
|
||||
(ewoc--node-nth dll -2))
|
||||
|
||||
;; We now know that pos is within a elem.
|
||||
;; We now know that pos is within an elem.
|
||||
(t
|
||||
;; Make an educated guess about which of the three known
|
||||
;; node'es (the first, the last, or GUESS) is nearest.
|
||||
|
|
|
@ -1750,7 +1750,7 @@ with PKG-DESC entry removed."
|
|||
"Return a list of dependencies for PACKAGE sorted by dependency.
|
||||
PACKAGE is included as the first element of the returned list.
|
||||
ONLY is an alist associating package names to package objects.
|
||||
Only these packages will be in the return value an their cdrs are
|
||||
Only these packages will be in the return value and their cdrs are
|
||||
destructively set to nil in ONLY."
|
||||
(let ((out))
|
||||
(dolist (dep (package-desc-reqs package))
|
||||
|
|
|
@ -267,7 +267,7 @@ You should bind this variable with `let', but do not set it globally.")
|
|||
(defvar epa-exit-buffer-function #'quit-window)
|
||||
|
||||
(define-widget 'epa-key 'push-button
|
||||
"Button for representing a epg-key object."
|
||||
"Button for representing an epg-key object."
|
||||
:format "%[%v%]"
|
||||
:button-face-get 'epa--key-widget-button-face-get
|
||||
:value-create 'epa--key-widget-value-create
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
;;
|
||||
;; echo x$(+ 1 2) "String $(+ 1 2)"
|
||||
;;
|
||||
;; To pass a Lisp symbol as a argument, use the alternate quoting
|
||||
;; To pass a Lisp symbol as an argument, use the alternate quoting
|
||||
;; syntax, since the single quote character is far too overused in
|
||||
;; shell syntax:
|
||||
;;
|
||||
|
|
|
@ -87,7 +87,7 @@ variable's value to take effect."
|
|||
"Called each time a process is exec'd by `eshell-gather-process-output'.
|
||||
It is passed one argument, which is the process that was just started.
|
||||
It is useful for things that must be done each time a process is
|
||||
executed in a eshell mode buffer (e.g., `process-kill-without-query').
|
||||
executed in an eshell mode buffer (e.g., `process-kill-without-query').
|
||||
In contrast, `eshell-mode-hook' is only executed once when the buffer
|
||||
is created."
|
||||
:type 'hook
|
||||
|
|
|
@ -698,7 +698,7 @@ Otherwise, VALUE must be a property list of the form:
|
|||
|
||||
`(:color COLOR :style STYLE)'.
|
||||
|
||||
COLOR can be a either a color name string or `foreground-color'.
|
||||
COLOR can be either a color name string or `foreground-color'.
|
||||
STYLE can be either `line' or `wave'.
|
||||
If a keyword/value pair is missing from the property list, a
|
||||
default value will be used for the value.
|
||||
|
|
|
@ -1081,7 +1081,7 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered."
|
|||
;; * strip trailing "@" and ":"
|
||||
;; * no commas (good for latex)
|
||||
(file "--:\\\\${}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
|
||||
;; An url, or maybe a email/news message-id:
|
||||
;; An url, or maybe an email/news message-id:
|
||||
(url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?")
|
||||
;; Find a string that does *not* contain a colon:
|
||||
(nocolon "--9$+<>@-Z_[:alpha:]~" "<@" "@>;.,!?")
|
||||
|
|
|
@ -424,7 +424,7 @@ DESCRIPTOR should be an object returned by `file-notify-add-watch'."
|
|||
;; TODO:
|
||||
;; * Watching a /dir/file may receive events for dir.
|
||||
;; (This may be the desired behaviour.)
|
||||
;; * Watching a file in a already watched directory
|
||||
;; * Watching a file in an already watched directory
|
||||
;; If the file is created and *then* a watch is added to that file, the
|
||||
;; watch might receive events which occurred prior to it being created,
|
||||
;; due to the way events are propagated during idle time. Note: This
|
||||
|
|
|
@ -1835,7 +1835,7 @@ If SYNTACTIC-KEYWORDS is non-nil, it means these keywords are used for
|
|||
(eval keywords)))))
|
||||
|
||||
(defun font-lock-value-in-major-mode (values)
|
||||
"If VALUES is an list, use `major-mode' as a key and return the `assq' value.
|
||||
"If VALUES is a list, use `major-mode' as a key and return the `assq' value.
|
||||
VALUES should then be an alist on the form ((MAJOR-MODE . VALUE) ...) where
|
||||
MAJOR-MODE may be t.
|
||||
If VALUES isn't a list, return VALUES."
|
||||
|
|
|
@ -284,7 +284,7 @@
|
|||
:group 'gnus-outlook-deuglify)
|
||||
|
||||
(defcustom gnus-outlook-display-hook nil
|
||||
"A hook called after an deuglified article has been prepared.
|
||||
"A hook called after a deuglified article has been prepared.
|
||||
It is run after `gnus-article-prepare-hook'."
|
||||
:version "22.1"
|
||||
:type 'hook
|
||||
|
|
|
@ -451,7 +451,7 @@ manipulated as follows:
|
|||
(defvar gnus-agent-mode-status '(gnus-agent-mode " Plugged"))
|
||||
|
||||
(defun gnus-agent-mode ()
|
||||
"Minor mode for providing a agent support in Gnus buffers."
|
||||
"Minor mode for providing agent support in Gnus buffers."
|
||||
(let* ((buffer (progn (string-match "^gnus-\\(.*\\)-mode$"
|
||||
(symbol-name major-mode))
|
||||
(match-string 1 (symbol-name major-mode))))
|
||||
|
|
|
@ -443,7 +443,7 @@ A group name is decoded according to
|
|||
decoded again according to `nnmail-pathname-coding-system',
|
||||
`file-name-coding-system', or `default-file-name-coding-system'.
|
||||
|
||||
It is used when asking for a original group name from a cache
|
||||
It is used when asking for an original group name from a cache
|
||||
directory name, in which non-ASCII characters might have been unified
|
||||
into the ones of a certain charset particularly if the `utf-8' coding
|
||||
system for example was used.")
|
||||
|
|
|
@ -365,7 +365,7 @@ category."))
|
|||
(unless (or group topic)
|
||||
(error "No group on current line"))
|
||||
(when (and group topic)
|
||||
(error "Both a group an topic on current line"))
|
||||
(error "Both a group and topic on current line"))
|
||||
(unless (or topic (setq info (gnus-get-info group)))
|
||||
(error "Killed group; can't be edited"))
|
||||
;; Ready.
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
(defcustom gnus-convert-image-to-x-face-command
|
||||
"convert -scale 48x48! %s xbm:- | xbm2xface.pl"
|
||||
"Command for converting an image to an X-Face.
|
||||
The command must take a image filename (use \"%s\") as input.
|
||||
The command must take an image filename (use \"%s\") as input.
|
||||
The output must be the X-Face header data on stdout."
|
||||
:version "22.1"
|
||||
:group 'gnus-fun
|
||||
|
|
|
@ -2378,11 +2378,11 @@ This variable is persisted in the user's .newsrc.eld file.")
|
|||
|
||||
;; Propagate flags to server, with the following exceptions:
|
||||
;; `seen' is private to each gnus installation
|
||||
;; `cache' is a internal gnus flag for each gnus installation
|
||||
;; `download' is a agent flag private to each gnus installation
|
||||
;; `cache' is an internal gnus flag for each gnus installation
|
||||
;; `download' is an agent flag private to each gnus installation
|
||||
;; `unsend' are for nndraft groups only
|
||||
;; `score' is not a proper mark
|
||||
;; `bookmark': don't propagated it, or fix the bug in update-mark.
|
||||
;; `bookmark': don't propagate it, or fix the bug in update-mark.
|
||||
(defconst gnus-article-unpropagated-mark-lists
|
||||
'(seen cache download unsend score bookmark unexist)
|
||||
"Marks that shouldn't be propagated to back ends.
|
||||
|
|
|
@ -890,7 +890,7 @@ This discards the buffer's undo information."
|
|||
(error "Invalid hex digit `%c'" ch)))))
|
||||
|
||||
(defun hexl-oct-char-to-integer (character)
|
||||
"Take a char and return its value as if it was a octal digit."
|
||||
"Take a char and return its value as if it was an octal digit."
|
||||
(if (and (>= character ?0) (<= character ?7))
|
||||
(- character ?0)
|
||||
(error "Invalid octal digit `%c'" character)))
|
||||
|
|
|
@ -1630,7 +1630,7 @@ TEXT-ID marks a unique position within a block. It is set to
|
|||
value of `point' at the current buffer position.
|
||||
|
||||
TEXT-BEGINS-BLOCK-P is a boolean and is non-nil if the current
|
||||
span also begins a invisible portion of text.
|
||||
span also begins an invisible portion of text.
|
||||
|
||||
An implementation can use TEXT-BLOCK, TEXT-ID,
|
||||
TEXT-BEGINS-BLOCK-P to implement fold/unfold-on-mouse-click like
|
||||
|
|
|
@ -60,11 +60,11 @@
|
|||
"Base URL for getting gravatars.")
|
||||
|
||||
(defun gravatar-hash (mail-address)
|
||||
"Create an hash from MAIL-ADDRESS."
|
||||
"Create a hash from MAIL-ADDRESS."
|
||||
(md5 (downcase mail-address)))
|
||||
|
||||
(defun gravatar-build-url (mail-address)
|
||||
"Return an URL to retrieve MAIL-ADDRESS gravatar."
|
||||
"Return a URL to retrieve MAIL-ADDRESS gravatar."
|
||||
(format "%s/%s?d=404&r=%s&s=%d"
|
||||
gravatar-base-url
|
||||
(gravatar-hash mail-address)
|
||||
|
|
|
@ -823,7 +823,7 @@
|
|||
'("FreeMono" . "iso10646-1") nil 'prepend)
|
||||
|
||||
;; Since standard-fontset-spec on X uses fixed-medium font, which
|
||||
;; gets mapped to a iso8859-1 variant, we would like to prefer its
|
||||
;; gets mapped to an iso8859-1 variant, we would like to prefer its
|
||||
;; iso10646-1 variant for symbols, where the coverage is known to be
|
||||
;; good.
|
||||
(dolist (symbol-subgroup
|
||||
|
|
|
@ -410,7 +410,7 @@ or else nil to insert it at the beginning.
|
|||
|
||||
DELETED's elements are elements of OLD-HEADERS.
|
||||
CHANGED's elements have the form (OLD . NEW)
|
||||
where OLD is a element of OLD-HEADERS and NEW is an element of NEW-HEADERS."
|
||||
where OLD is an element of OLD-HEADERS and NEW is an element of NEW-HEADERS."
|
||||
|
||||
(let ((reverse-new (reverse new-headers))
|
||||
inserted deleted changed)
|
||||
|
|
|
@ -831,7 +831,7 @@ This assumes that a temporary buffer is set up."
|
|||
(expand-file-name "flists" dir)))))))))
|
||||
|
||||
(defun mh-file-command-p (file)
|
||||
"Return t if file FILE is the name of a executable regular file."
|
||||
"Return t if file FILE is the name of an executable regular file."
|
||||
(and (file-regular-p file) (file-executable-p file)))
|
||||
|
||||
(defun mh-variant-set-variant (variant)
|
||||
|
|
|
@ -1242,7 +1242,7 @@ MESSAGE number."
|
|||
"message/rfc822"
|
||||
(if (string= "" description) nil description)
|
||||
"inline"))
|
||||
(t (error "The message number, %s, is not a integer" msg)))))
|
||||
(t (error "The message number, %s, is not an integer" msg)))))
|
||||
|
||||
(defun mh-mh-forward-message (&optional description folder messages)
|
||||
"Add tag to forward a message.
|
||||
|
|
|
@ -443,7 +443,7 @@ search all folders."
|
|||
(setq redo-flag t))
|
||||
((mh-folder-exists-p new-folder)
|
||||
;; Folder exists but we don't have it open. That means they are
|
||||
;; stale results from a old flists search. Clear it out.
|
||||
;; stale results from an old flists search. Clear it out.
|
||||
(mh-exec-cmd-quiet nil "rmf" new-folder)))
|
||||
(setq message (mh-search "+" mh-flists-results-folder
|
||||
redo-flag window-config)
|
||||
|
@ -1583,7 +1583,7 @@ If the folder returned doesn't exist then it is created."
|
|||
chosen-name))
|
||||
|
||||
(defun mh-index-folder-search-regexp (folder)
|
||||
"If FOLDER was created by a index search, return the search regexp.
|
||||
"If FOLDER was created by an index search, return the search regexp.
|
||||
Return nil if FOLDER doesn't exist or the .mhe_index file is
|
||||
garbled."
|
||||
(ignore-errors
|
||||
|
@ -1912,7 +1912,7 @@ origin-index) map is updated too."
|
|||
|
||||
(defun mh-index-update-single-msg (msg checksum origin-map)
|
||||
"Update various maps for one message.
|
||||
MSG is a index folder message, CHECKSUM its MD5 hash and
|
||||
MSG is an index folder message, CHECKSUM its MD5 hash and
|
||||
ORIGIN-MAP, if non-nil, a hash table containing which maps each
|
||||
message in the index folder to the folder and message that it was
|
||||
copied from. The function updates the hash tables
|
||||
|
|
|
@ -202,7 +202,7 @@ For the meaning of the rest of the parameters, see `gnutls-boot-parameters'."
|
|||
"boot: %s" params)
|
||||
|
||||
(when (gnutls-errorp ret)
|
||||
;; This is a error from the underlying C code.
|
||||
;; This is an error from the underlying C code.
|
||||
(signal 'gnutls-error (list process ret)))
|
||||
|
||||
process))
|
||||
|
|
|
@ -92,7 +92,7 @@ replaced with the file.
|
|||
MIME-TYPE is a regular expression being matched against the
|
||||
actual MIME type. It is implicitly surrounded with ^ and $.
|
||||
|
||||
TEST is an lisp form which is evaluated in order to test if the
|
||||
TEST is a lisp form which is evaluated in order to test if the
|
||||
entry should be chosen. The `test' entry is optional.
|
||||
|
||||
When selecting a viewer for a given MIME type, the first viewer
|
||||
|
@ -555,7 +555,7 @@ MAILCAPS if set; otherwise (on Unix) use the path from RFC 1524, plus
|
|||
(defun mailcap-mailcap-entry-passes-test (info)
|
||||
"Replace the test clause of INFO itself with a boolean for some cases.
|
||||
This function supports only `test -n $DISPLAY' and `test -z $DISPLAY',
|
||||
replaces them with t or nil. As for others or if INFO has a interactive
|
||||
replaces them with t or nil. As for others or if INFO has an interactive
|
||||
spec (needsterm, needsterminal, or needsx11) but DISPLAY is not set,
|
||||
the test clause will be unchanged."
|
||||
(let ((test (assq 'test info)) ; The test clause
|
||||
|
|
|
@ -208,7 +208,7 @@ Signal an error if it is not."
|
|||
(nreverse (xsdre-compile-regexp re nil))))
|
||||
|
||||
(defun xsdre-compile-regexp (re accum)
|
||||
"Return a Emacs regular expression for the symbolic regexp RE.
|
||||
"Return an Emacs regular expression for the symbolic regexp RE.
|
||||
Returns a list of strings whose head is the regexp for RE
|
||||
and whose tail is ACCUM."
|
||||
(cond ((not (consp re))
|
||||
|
@ -271,7 +271,7 @@ and whose tail is ACCUM."
|
|||
(t (xsdre-compile-char-class re accum))))
|
||||
|
||||
(defun xsdre-compile-char-class (cc accum)
|
||||
"Return a Emacs regular expression for the symbolic character class CC.
|
||||
"Return an Emacs regular expression for the symbolic character class CC.
|
||||
Returns a list of strings whose head is the regexp for CC
|
||||
and whose tail is ACCUM."
|
||||
(cons (if (integerp cc)
|
||||
|
@ -450,7 +450,7 @@ LOWER ::= UNICODE
|
|||
UPPER ::= UNICODE
|
||||
SYMBOLIC-CHAR-CLASS ::= SYMBOL
|
||||
|
||||
where UNICODE is a integer specifying a Unicode code-point and
|
||||
where UNICODE is an integer specifying a Unicode code-point and
|
||||
SYMBOLIC-CHAR-CLASS is a symbol which has either a `xsdre-char-class'
|
||||
property whose value is a CHAR-CLASS, or a `xsdre-ranges' property
|
||||
whose value is a range-list."
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
(declare-function org-trim "org" (s &optional keep-lead))
|
||||
|
||||
(defvar org-babel-default-header-args:calc nil
|
||||
"Default arguments for evaluating an calc source block.")
|
||||
"Default arguments for evaluating a calc source block.")
|
||||
|
||||
(defun org-babel-expand-body:calc (body _params)
|
||||
"Expand BODY according to PARAMS, return the expanded body." body)
|
||||
|
|
|
@ -363,7 +363,7 @@ a window into the `org-babel-get-src-block-info' function."
|
|||
;;;###autoload
|
||||
(defun org-babel-expand-src-block-maybe ()
|
||||
"Conditionally expand a source block.
|
||||
Detect if this is context for a org-babel src-block and if so
|
||||
Detect if this is context for an org-babel src-block and if so
|
||||
then run `org-babel-expand-src-block'."
|
||||
(interactive)
|
||||
(org-babel-when-in-src-block
|
||||
|
@ -372,7 +372,7 @@ then run `org-babel-expand-src-block'."
|
|||
;;;###autoload
|
||||
(defun org-babel-load-in-session-maybe ()
|
||||
"Conditionally load a source block in a session.
|
||||
Detect if this is context for a org-babel src-block and if so
|
||||
Detect if this is context for an org-babel src-block and if so
|
||||
then run `org-babel-load-in-session'."
|
||||
(interactive)
|
||||
(org-babel-when-in-src-block
|
||||
|
@ -383,7 +383,7 @@ then run `org-babel-load-in-session'."
|
|||
;;;###autoload
|
||||
(defun org-babel-pop-to-session-maybe ()
|
||||
"Conditionally pop to a session.
|
||||
Detect if this is context for a org-babel src-block and if so
|
||||
Detect if this is context for an org-babel src-block and if so
|
||||
then run `org-babel-switch-to-session'."
|
||||
(interactive)
|
||||
(org-babel-when-in-src-block
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
(defvar org-babel-default-header-args:org
|
||||
'((:results . "raw silent") (:exports . "code"))
|
||||
"Default arguments for evaluating a org source block.")
|
||||
"Default arguments for evaluating an org source block.")
|
||||
|
||||
(defvar org-babel-org-default-header
|
||||
"#+TITLE: default empty header\n"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
;; (http://picolisp.com/5000/-2.html). PicoLisp is included in some
|
||||
;; GNU/Linux Distributions, and can be downloaded here:
|
||||
;; http://software-lab.de/down.html. It ships with a picolisp-mode and
|
||||
;; a inferior-picolisp-mode for Emacs (to be found in the /lib/el/
|
||||
;; an inferior-picolisp-mode for Emacs (to be found in the /lib/el/
|
||||
;; directory).
|
||||
|
||||
;; Although it might seem more natural to use Emacs Lisp for most
|
||||
|
|
|
@ -1394,7 +1394,7 @@ the default behavior."
|
|||
;;;###autoload
|
||||
(defun org-clock-in-last (&optional arg)
|
||||
"Clock in the last closed clocked item.
|
||||
When already clocking in, send an warning.
|
||||
When already clocking in, send a warning.
|
||||
With a universal prefix argument, select the task you want to
|
||||
clock in from the last clocked in tasks.
|
||||
With two universal prefix arguments, start clocking using the
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
;;; Commentary:
|
||||
|
||||
;; When this module is active `org-store-link' (often on key C-c l) in
|
||||
;; a eww buffer stores a link to the current url of the eww buffer.
|
||||
;; an EWW buffer stores a link to the current url of the eww buffer.
|
||||
|
||||
;; In an eww buffer function `org-eww-copy-for-org-mode' kills either
|
||||
;; In an EWW buffer function `org-eww-copy-for-org-mode' kills either
|
||||
;; a region or the whole buffer if no region is set and transforms the
|
||||
;; text on the fly so that it can be pasted into an Org buffer with
|
||||
;; hot links.
|
||||
|
@ -58,7 +58,7 @@
|
|||
;; Store Org-link in eww-mode buffer
|
||||
(org-link-set-parameters "eww" :follow #'eww :store #'org-eww-store-link)
|
||||
(defun org-eww-store-link ()
|
||||
"Store a link to the url of a Eww buffer."
|
||||
"Store a link to the url of an EWW buffer."
|
||||
(when (eq major-mode 'eww-mode)
|
||||
(org-store-link-props
|
||||
:type "eww"
|
||||
|
|
|
@ -663,7 +663,7 @@ to deal with new-style links.")
|
|||
;;; Org specific functions:
|
||||
|
||||
(defun org-protocol-create-for-org ()
|
||||
"Create a Org protocol project for the current file's project.
|
||||
"Create an Org protocol project for the current file's project.
|
||||
The visited file needs to be part of a publishing project in
|
||||
`org-publish-project-alist' for this to work. The function
|
||||
delegates most of the work to `org-protocol-create'."
|
||||
|
|
|
@ -2697,7 +2697,7 @@ holding contextual information."
|
|||
|
||||
(defun org-html-format-inlinetask-default-function
|
||||
(todo todo-type priority text tags contents info)
|
||||
"Default format function for a inlinetasks.
|
||||
"Default format function for inlinetasks.
|
||||
See `org-html-format-inlinetask-function' for details."
|
||||
(format "<div class=\"inlinetask\">\n<b>%s</b>%s\n%s</div>"
|
||||
(org-html-format-headline-default-function
|
||||
|
|
|
@ -2125,7 +2125,7 @@ holding contextual information."
|
|||
|
||||
(defun org-latex-format-inlinetask-default-function
|
||||
(todo _todo-type priority title tags contents _info)
|
||||
"Default format function for a inlinetasks.
|
||||
"Default format function for inlinetasks.
|
||||
See `org-latex-format-inlinetask-function' for details."
|
||||
(let ((full-title
|
||||
(concat (when todo (format "\\textbf{\\textsf{\\textsc{%s}}} " todo))
|
||||
|
|
|
@ -600,8 +600,7 @@ allow document of a given class (irrespective of its source
|
|||
format) to be converted to any of the export formats associated
|
||||
with that class.
|
||||
|
||||
See default setting of this variable for an typical
|
||||
configuration."
|
||||
See default setting of this variable for a typical configuration."
|
||||
:group 'org-export-odt
|
||||
:version "24.1"
|
||||
:type
|
||||
|
@ -1938,7 +1937,7 @@ holding contextual information."
|
|||
|
||||
(defun org-odt-format-inlinetask-default-function
|
||||
(todo todo-type priority name tags contents)
|
||||
"Default format function for a inlinetasks.
|
||||
"Default format function for inlinetasks.
|
||||
See `org-odt-format-inlinetask-function' for details."
|
||||
(format "\n<text:p text:style-name=\"%s\">%s</text:p>"
|
||||
"Text_20_body"
|
||||
|
|
|
@ -958,7 +958,7 @@ holding contextual information."
|
|||
|
||||
(defun org-texinfo-format-inlinetask-default-function
|
||||
(todo _todo-type priority title tags contents)
|
||||
"Default format function for a inlinetasks.
|
||||
"Default format function for inlinetasks.
|
||||
See `org-texinfo-format-inlinetask-function' for details."
|
||||
(let ((full-title
|
||||
(concat (when todo (format "@strong{%s} " todo))
|
||||
|
|
|
@ -2479,7 +2479,7 @@ and the offset."
|
|||
(forward-word-strictly -1))
|
||||
|
||||
;; If there is a parameter list, and we have a function declaration
|
||||
;; or a access to subprogram declaration
|
||||
;; or access to subprogram declaration
|
||||
(let ((num-back 1))
|
||||
(if (and (= (following-char) ?\()
|
||||
(save-excursion
|
||||
|
|
|
@ -415,13 +415,13 @@ Invoke right after `ada-function-spec' or `ada-procedure-spec'."
|
|||
|
||||
|
||||
(define-skeleton ada-entry-family-prompt-discriminant
|
||||
"Insert a entry specification, prompting for the entry name."
|
||||
"Insert an entry specification, prompting for the entry name."
|
||||
"[discriminant name]: "
|
||||
str)
|
||||
|
||||
|
||||
(define-skeleton ada-entry-family
|
||||
"Insert a entry specification, prompting for the entry name."
|
||||
"Insert an entry specification, prompting for the entry name."
|
||||
"[entry name]: "
|
||||
"entry " str
|
||||
" (" (ada-entry-family-prompt-discriminant) ")"
|
||||
|
|
|
@ -1562,7 +1562,7 @@ The search for a correct position is as follows:
|
|||
|
||||
* If search is within an area where options can be inserted, use the
|
||||
position of point. Inside the options section and if point is in
|
||||
the middle of a option definition, skip the rest of it.
|
||||
the middle of an option definition, skip the rest of it.
|
||||
* If an options section already exists, insert the options at the end.
|
||||
If only the beginning of the area is visible, insert at the
|
||||
beginning.
|
||||
|
|
|
@ -3304,7 +3304,7 @@ comment at the start of cc-engine.el for more info."
|
|||
(point)
|
||||
here)))
|
||||
pa+1 ; pos just after an opening PAren (or brace).
|
||||
(ren+1 from) ; usually a pos just after an closing paREN etc.
|
||||
(ren+1 from) ; usually a pos just after a closing paREN etc.
|
||||
; Is actually the pos. to scan for a (/{/[ from,
|
||||
; which sometimes is after a silly )/}/].
|
||||
paren+1 ; Pos after some opening or closing paren.
|
||||
|
@ -10345,7 +10345,7 @@ comment at the start of cc-engine.el for more info."
|
|||
b-pos)))
|
||||
|
||||
(defun c-backward-typed-enum-colon ()
|
||||
;; We're at a "{" which might be the opening brace of a enum which is
|
||||
;; We're at a "{" which might be the opening brace of an enum which is
|
||||
;; strongly typed (by a ":" followed by a type). If this is the case, leave
|
||||
;; point before the colon and return t. Otherwise leave point unchanged and return nil.
|
||||
;; Match data will be clobbered.
|
||||
|
|
|
@ -360,7 +360,7 @@ Example:
|
|||
(setq char (aref method p)
|
||||
p (1+ p))
|
||||
(cond
|
||||
;; Is CHAR part of a objc token?
|
||||
;; Is CHAR part of an objc token?
|
||||
((and (not inargvar) ; Ignore if CHAR is part of an argument variable.
|
||||
(eq 0 betweenparen) ; Ignore if CHAR is in parentheses.
|
||||
(or (and (<= ?a char) (<= char ?z))
|
||||
|
|
|
@ -622,7 +622,7 @@ that requires a literal mode spec at compile time."
|
|||
;; buffer local value has its own alist structure.
|
||||
(setq c-offsets-alist (copy-alist c-offsets-alist))
|
||||
|
||||
;; setup the comment indent variable in a Emacs version portable way
|
||||
;; setup the comment indent variable in an Emacs version portable way
|
||||
(set (make-local-variable 'comment-indent-function) 'c-comment-indent)
|
||||
;; What sort of comments are default for M-;?
|
||||
(setq c-block-comment-flag c-block-comment-is-default)
|
||||
|
|
|
@ -919,7 +919,7 @@ from a different message."
|
|||
|
||||
;; COLUMN and LINE are numbers parsed from an error message. COLUMN and maybe
|
||||
;; LINE will be nil for a message that doesn't contain them. Then the
|
||||
;; location refers to a indented beginning of line or beginning of file.
|
||||
;; location refers to an indented beginning of line or beginning of file.
|
||||
;; Once any location in some file has been jumped to, the list is extended to
|
||||
;; (COLUMN LINE FILE-STRUCTURE MARKER TIMESTAMP . VISITED)
|
||||
;; for all LOCs pertaining to that file.
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
:group 'icon)
|
||||
|
||||
(defcustom icon-brace-imaginary-offset 0
|
||||
"Imagined indentation of a Icon open brace that actually follows a statement."
|
||||
"Imagined indentation of an Icon open brace that actually follows a statement."
|
||||
:type 'integer
|
||||
:group 'icon)
|
||||
|
||||
|
|
|
@ -422,7 +422,7 @@
|
|||
(string-delimiter . ,(rx (and
|
||||
;; Match even number of backslashes.
|
||||
(or (not (any ?\\ ?\' ?\")) point
|
||||
;; Quotes might be preceded by a escaped quote.
|
||||
;; Quotes might be preceded by an escaped quote.
|
||||
(and (or (not (any ?\\)) point) ?\\
|
||||
(* ?\\ ?\\) (any ?\' ?\")))
|
||||
(* ?\\ ?\\)
|
||||
|
@ -925,7 +925,7 @@ keyword
|
|||
(back-to-indentation)
|
||||
(python-syntax-closing-paren-p))
|
||||
(cons :inside-paren-at-closing-nested-paren start))
|
||||
;; This line starts from a opening block in its own line.
|
||||
;; This line starts from an opening block in its own line.
|
||||
((save-excursion
|
||||
(goto-char start)
|
||||
(when (and
|
||||
|
@ -1641,7 +1641,7 @@ ARG move forward only one sexp, else move backwards."
|
|||
|
||||
(defun python-nav--lisp-forward-sexp-safe (&optional arg)
|
||||
"Safe version of standard `forward-sexp'.
|
||||
When at end of sexp (i.e. looking at a opening/closing paren)
|
||||
When at end of sexp (i.e. looking at an opening/closing paren)
|
||||
skips it instead of throwing an error. With positive ARG move
|
||||
forward only one sexp, else move backwards."
|
||||
(let* ((arg (if (or (not arg) (> arg 0)) 1 -1))
|
||||
|
|
|
@ -3019,7 +3019,7 @@ If INFO is supplied it is used, else it is calculated."
|
|||
;; line -- it is the PREVIOUS line which is continued, not the one
|
||||
;; we are going to!
|
||||
;; Also, we want to treat a whole "here document" as one big line,
|
||||
;; because we may want to a align to the beginning of it.
|
||||
;; because we may want to align to the beginning of it.
|
||||
;;
|
||||
;; What we do:
|
||||
;; - go back to previous non-empty line
|
||||
|
|
|
@ -2774,7 +2774,7 @@ local variable."
|
|||
|
||||
;; Our start must be between them
|
||||
(goto-char last)
|
||||
;; Find an beginning-of-stmt that's not in a comment
|
||||
;; Find a beginning-of-stmt that's not in a comment
|
||||
(while (and (re-search-forward regexp next t 1)
|
||||
(nth 7 (syntax-ppss)))
|
||||
(goto-char (match-end 0)))
|
||||
|
@ -4225,7 +4225,7 @@ the call to \\[sql-product-interactive] with
|
|||
(symbolp product)) product)
|
||||
(t sql-product))) ; Default to sql-product
|
||||
|
||||
;; If we have a product and it has a interactive mode
|
||||
;; If we have a product and it has an interactive mode
|
||||
(if product
|
||||
(when (sql-get-product-feature product :sqli-comint-func)
|
||||
;; If no new name specified, try to pop to an active SQL
|
||||
|
|
|
@ -4890,7 +4890,7 @@ Key bindings:
|
|||
(set (make-local-variable 'indent-tabs-mode) vhdl-indent-tabs-mode)
|
||||
(set (make-local-variable 'hippie-expand-verbose) nil)
|
||||
|
||||
;; setup the comment indent variable in a Emacs version portable way
|
||||
;; setup the comment indent variable in an Emacs version portable way
|
||||
;; ignore any byte compiler warnings you might get here
|
||||
(when (boundp 'comment-indent-function)
|
||||
(set (make-local-variable 'comment-indent-function) 'vhdl-comment-indent))
|
||||
|
|
|
@ -154,7 +154,7 @@ setting it to (upcase), for example.")
|
|||
|
||||
(defvar tempo-local-tags '((tempo-tags . nil))
|
||||
"A list of locally installed tag completion lists.
|
||||
It is a association list where the car of every element is a symbol
|
||||
It is an association list where the car of every element is a symbol
|
||||
whose variable value is a template list. The cdr part, if non-nil,
|
||||
is a function or a regexp that defines the string to match. See the
|
||||
documentation for the function `tempo-complete-tag' for more info.
|
||||
|
|
|
@ -60,7 +60,7 @@ they'll frustrate you after you've forgotten about them.
|
|||
For another, the X keysyms provide a standard set of names that Emacs knows
|
||||
about. It tries to bind many of them to useful things at startup, before your
|
||||
.emacs is read (so you can override them). In some ways, the X keysym standard
|
||||
is a admittedly poor one; it's incomplete, and not well matched to the set of
|
||||
is an admittedly poor one; it's incomplete, and not well matched to the set of
|
||||
'virtual keys' that UNIX terminfo(3) provides. But, trust us, the alternatives
|
||||
were worse.
|
||||
|
||||
|
|
|
@ -1025,78 +1025,78 @@ If DRAW-HOW is `artist-do-poly':
|
|||
|
||||
(defsubst artist-go-get-keyword (info-variant-part)
|
||||
"Retrieve the keyword component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 0))
|
||||
|
||||
(defsubst artist-go-get-symbol (info-variant-part)
|
||||
"Retrieve the symbol component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 1))
|
||||
|
||||
(defsubst artist-go-get-mode-line (info-variant-part)
|
||||
"Retrieve the mode line component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 2))
|
||||
|
||||
(defsubst artist-go-get-arrow-pred (info-variant-part)
|
||||
"Retrieve the arrow predicate component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 3))
|
||||
|
||||
(defsubst artist-go-get-arrow-set-fn (info-variant-part)
|
||||
"Retrieve the arrow set component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 4))
|
||||
|
||||
(defsubst artist-go-get-init-fn (info-variant-part)
|
||||
"Retrieve the init function component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 5))
|
||||
|
||||
(defsubst artist-go-get-prep-fill-fn (info-variant-part)
|
||||
"Retrieve the fill preparation function component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 6))
|
||||
|
||||
(defsubst artist-go-get-exit-fn (info-variant-part)
|
||||
"Retrieve the exit component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 7))
|
||||
|
||||
(defsubst artist-go-get-draw-how (info-variant-part)
|
||||
"Retrieve the draw how component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 8))
|
||||
|
||||
(defsubst artist-go-get-draw-fn (info-variant-part)
|
||||
"Retrieve the draw function component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part."
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part."
|
||||
(elt info-variant-part 9))
|
||||
|
||||
(defsubst artist-go-get-undraw-fn (info-variant-part)
|
||||
"Retrieve the undraw function component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part.
|
||||
This interval function component is available only if the `draw-how'
|
||||
component is other than `artist-do-continously' or 1."
|
||||
(elt (elt info-variant-part 10) 0))
|
||||
|
||||
(defsubst artist-go-get-interval-fn (info-variant-part)
|
||||
"Retrieve the interval function component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part.
|
||||
This interval function component is available only if the `draw-how'
|
||||
component is `artist-do-continously'."
|
||||
(elt (elt info-variant-part 10) 0))
|
||||
|
||||
(defsubst artist-go-get-fill-pred (info-variant-part)
|
||||
"Retrieve the fill predicate component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part.
|
||||
This interval function component is available only if the `draw-how'
|
||||
component is other than `artist-do-continously' or 1."
|
||||
(elt (elt info-variant-part 10) 1))
|
||||
|
||||
(defsubst artist-go-get-fill-fn (info-variant-part)
|
||||
"Retrieve the fill function component from an INFO-VARIANT-PART.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from a info-part.
|
||||
An INFO-VARIANT-PART is the shifted or unshifted info from an info-part.
|
||||
This interval function component is available only if the `draw-how'
|
||||
component is other than `artist-do-continously' or 1."
|
||||
(elt (elt info-variant-part 10) 2))
|
||||
|
|
|
@ -1732,7 +1732,7 @@ FLYSPELL-BUFFER."
|
|||
;;*---------------------------------------------------------------------*/
|
||||
;;* flyspell-properties-at-p ... */
|
||||
;;* ------------------------------------------------------------- */
|
||||
;;* Is there an highlight properties at position pos? */
|
||||
;;* Is there a highlight property at position pos? */
|
||||
;;*---------------------------------------------------------------------*/
|
||||
(defun flyspell-properties-at-p (pos)
|
||||
"Return t if there is a text property at POS, not counting `local-map'.
|
||||
|
|
|
@ -1405,7 +1405,7 @@ the text, so that the text has to be repeated outside the index macro.
|
|||
Needed for `reftex-index-selection-or-word' and for indexing from the
|
||||
phrase buffer.
|
||||
|
||||
The final entry may also be a symbol if this entry has a association
|
||||
The final entry may also be a symbol if this entry has an association
|
||||
in the variable `reftex-index-macros-builtin' to specify the main
|
||||
indexing package you are using. Valid values are currently
|
||||
default The LaTeX default - unnecessary to specify this one
|
||||
|
|
|
@ -631,7 +631,7 @@ After interpretation of ARGS the results are concatenated as for
|
|||
&aux
|
||||
(char (rst-Ado--validate-char char-arg))
|
||||
(-style 'simple)))
|
||||
;; Construct a over-and-under section header.
|
||||
;; Construct an over-and-under section header.
|
||||
(:constructor
|
||||
rst-Ado-new-over-and-under
|
||||
(char-arg
|
||||
|
@ -696,7 +696,7 @@ Return CHAR if so or signal an error otherwise."
|
|||
|
||||
(defun rst-Ado-is-over-and-under (self)
|
||||
;; testcover: ok.
|
||||
"Return non-nil if SELF is a over-and-under section adornment."
|
||||
"Return non-nil if SELF is an over-and-under section adornment."
|
||||
(cl-check-type self rst-Ado)
|
||||
(eq (rst-Ado--style self) 'over-and-under))
|
||||
|
||||
|
@ -834,7 +834,7 @@ Return ADO if so or signal an error otherwise."
|
|||
|
||||
(defun rst-Hdr-is-over-and-under (self)
|
||||
;; testcover: ok.
|
||||
"Return non-nil if SELF is a over-and-under section header."
|
||||
"Return non-nil if SELF is an over-and-under section header."
|
||||
(cl-check-type self rst-Hdr)
|
||||
(rst-Ado-is-over-and-under (rst-Hdr-ado self)))
|
||||
|
||||
|
@ -937,7 +937,7 @@ This type is immutable."
|
|||
(or (null und-beg) (integer-or-marker-p und-beg))
|
||||
(or (null und-end) (integer-or-marker-p und-end)))
|
||||
(signal 'args-out-of-range
|
||||
'("For a over-and-under section adornment all match pairs must be set."))))))
|
||||
'("For an over-and-under section adornment all match pairs must be set."))))))
|
||||
match)
|
||||
|
||||
(defun rst-Ttl--validate-indent (indent ado)
|
||||
|
@ -1224,7 +1224,7 @@ as well but give an additional message."
|
|||
;; Makes paragraphs in region as a bullet list.
|
||||
(rst-define-key map [?\C-c ?\C-l ?\C-b] #'rst-bullet-list-region
|
||||
[?\C-c ?\C-b])
|
||||
;; Makes paragraphs in region as a enumeration.
|
||||
;; Makes paragraphs in region an enumeration.
|
||||
(rst-define-key map [?\C-c ?\C-l ?\C-e] #'rst-enumerate-region
|
||||
[?\C-c ?\C-e])
|
||||
;; Converts bullets to an enumeration.
|
||||
|
@ -1529,7 +1529,7 @@ file."
|
|||
(defcustom rst-default-indent 1
|
||||
"Number of characters to indent the section title.
|
||||
This is only used while toggling adornment styles when switching
|
||||
from a simple adornment style to a over-and-under adornment
|
||||
from a simple adornment style to an over-and-under adornment
|
||||
style. In addition this is used in cases where the adornments
|
||||
found in the buffer are to be used but the indentation for
|
||||
over-and-under adornments is inconsistent across the buffer."
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
;; That should be a directory containing image files.
|
||||
;; from dired, C-t m enter in thumbs-mode with all marked files
|
||||
;; C-t a enter in thumbs-mode with all files in current-directory
|
||||
;; In thumbs-mode, pressing <return> on a image will bring you in image view
|
||||
;; In thumbs-mode, pressing <return> on an image will bring you in image view
|
||||
;; mode for that image. C-h m will give you a list of available keybinding.
|
||||
|
||||
;;; History:
|
||||
|
|
|
@ -1163,7 +1163,7 @@ Has a preference of looking backwards."
|
|||
(goto-char (match-end 0)))
|
||||
|
||||
(defun change-log-get-method-definition ()
|
||||
"For Objective C, return the method name if we are in a method."
|
||||
"For Objective C, return the method name if we are in a method."
|
||||
(let ((change-log-get-method-definition-md "["))
|
||||
(save-excursion
|
||||
(if (re-search-backward "^@implementation\\s-*\\([A-Za-z_]*\\)" nil t)
|
||||
|
|
|
@ -227,7 +227,7 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
|
|||
(concat name "\0"))))))))
|
||||
|
||||
(defun vc-git--state-code (code)
|
||||
"Convert from a string to a added/deleted/modified state."
|
||||
"Convert from a string to an added/deleted/modified state."
|
||||
(pcase (string-to-char code)
|
||||
(?M 'edited)
|
||||
(?A 'added)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue