Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
15bcde04
Commit
15bcde04
authored
Apr 01, 2007
by
Karl Berry
Browse files
wording matters
parent
3b98edbd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
24 deletions
+32
-24
lispref/ChangeLog
lispref/ChangeLog
+7
-0
lispref/commands.texi
lispref/commands.texi
+4
-4
lispref/keymaps.texi
lispref/keymaps.texi
+2
-2
lispref/loading.texi
lispref/loading.texi
+18
-17
lispref/processes.texi
lispref/processes.texi
+1
-1
No files found.
lispref/ChangeLog
View file @
15bcde04
2007
-
04
-
01
Karl
Berry
<
karl
@
gnu
.
org
>
*
processes
.
texi
(
Low
-
Level
Network
):
typo
.
*
loading
.
texi
(
Hooks
for
Loading
):
avoid
double
"the"
.
*
keymaps
.
texi
(
Key
Sequences
):
no
double
"and"
.
(
Changing
Key
Bindings
):
shorten
to
improve
line
break
.
2007
-
03
-
31
Glenn
Morris
<
rgm
@
gnu
.
org
>
*
os
.
texi
(
Timers
):
Fix
description
of
run
-
at
-
time
TIME
formats
.
...
...
lispref/commands.texi
View file @
15bcde04
...
...
@@ -1605,19 +1605,19 @@ command in the @code{special-event-map} (@pxref{Active Keymaps}).
The command is called with no arguments, and the specific signal event is
available in @code{last-input-event}. For example:
@example
@
small
example
(defun sigusr-handler ()
(interactive)
(message "Caught signal %S" last-input-event))
(define-key special-event-map [sigusr1] 'sigusr-handler)
@end example
@end
small
example
To test the signal handler, you can make Emacs send a signal to itself:
@example
@
small
example
(signal-process (emacs-pid) 'sigusr1)
@end example
@end
small
example
@end table
If one of these events arrives in the middle of a key sequence---that
...
...
lispref/keymaps.texi
View file @
15bcde04
...
...
@@ -53,7 +53,7 @@ vector. Unless otherwise stated, any Emacs Lisp function that accepts
a key sequence as an argument can handle both representations.
In the string representation, alphanumeric characters ordinarily
stand for themselves; for example, @code{"a"} represents @kbd{a}
and
stand for themselves; for example, @code{"a"} represents @kbd{a}
and @code{"2"} represents @kbd{2}. Control character events are
prefixed by the substring @code{"\C-"}, and meta characters by
@code{"\M-"}; for example, @code{"\C-x"} represents the key @kbd{C-x}.
...
...
@@ -1278,7 +1278,7 @@ bindings in a keymap makes no difference for keyboard input, but it
does matter for menu keymaps (@pxref{Menu Keymaps}).
@end defun
Here is an
example
that
creates a sparse keymap and makes a number of
This
example creates a sparse keymap and makes a number of
bindings in it:
@smallexample
...
...
lispref/loading.texi
View file @
15bcde04
...
...
@@ -64,22 +64,23 @@ forms in it, and closes the file.
To find the file, @code{load} first looks for a file named
@file{@var{filename}.elc}, that is, for a file whose name is
@var{filename} with @samp{.elc} appended. If such a file exists, it is
loaded. If there is no file by that name, then @code{load} looks for a
file named @file{@var{filename}.el}. If that file exists, it is loaded.
Finally, if neither of those names is found, @code{load} looks for a
file named @var{filename} with nothing appended, and loads it if it
exists. (The @code{load} function is not clever about looking at
@var{filename}. In the perverse case of a file named @file{foo.el.el},
evaluation of @code{(load "foo.el")} will indeed find it.)
If Auto Compression mode is enabled, as it is by default, then
if @code{load} can not find a file, it searches for a compressed
version of the file before trying other file names. It decompresses
and loads it if it exists. It looks for compressed versions by
appending the suffixes in @code{jka-compr-load-suffixes} to the file
name. The value of this variable must be a list of strings. Its
standard value is @code{(".gz")}.
@var{filename} with the extension @samp{.elc} appended. If such a
file exists, it is loaded. If there is no file by that name, then
@code{load} looks for a file named @file{@var{filename}.el}. If that
file exists, it is loaded. Finally, if neither of those names is
found, @code{load} looks for a file named @var{filename} with nothing
appended, and loads it if it exists. (The @code{load} function is not
clever about looking at @var{filename}. In the perverse case of a
file named @file{foo.el.el}, evaluation of @code{(load "foo.el")} will
indeed find it.)
If Auto Compression mode is enabled, as it is by default, then if
@code{load} can not find a file, it searches for a compressed version
of the file before trying other file names. It decompresses and loads
it if it exists. It looks for compressed versions by appending each
of the suffixes in @code{jka-compr-load-suffixes} to the file name.
The value of this variable must be a list of strings. Its standard
value is @code{(".gz")}.
If the optional argument @var{nosuffix} is non-@code{nil}, then
@code{load} does not try the suffixes @samp{.elc} and @samp{.el}. In
...
...
@@ -958,7 +959,7 @@ element looks like this:
The key @var{regexp-or-feature} is either a regular expression or a
symbol, and the value is a list of forms. The forms are evaluated when
the key matches the
the
absolute true name of the file being
the key matches the absolute true name of the file being
@code{load}ed or the symbol being @code{provide}d.
@end defvar
...
...
lispref/processes.texi
View file @
15bcde04
...
...
@@ -1726,7 +1726,7 @@ sets its remote peer address to @var{address}.
@section Low-Level Network Access
You can also create network connections by operating at a lower
level tha
t
that of @code{open-network-stream}, using
level tha
n
that of @code{open-network-stream}, using
@code{make-network-process}.
@menu
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment