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
90856fe0
Commit
90856fe0
authored
May 29, 2011
by
Paul Eggert
Browse files
Merge from trunk.
parents
55d4c1b2
ca3cf0a5
Changes
56
Hide whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
711 additions
and
488 deletions
+711
-488
ChangeLog
ChangeLog
+8
-1
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+22
-0
doc/lispref/compile.texi
doc/lispref/compile.texi
+1
-1
doc/lispref/display.texi
doc/lispref/display.texi
+14
-13
doc/lispref/elisp.texi
doc/lispref/elisp.texi
+1
-1
doc/lispref/help.texi
doc/lispref/help.texi
+3
-3
doc/lispref/keymaps.texi
doc/lispref/keymaps.texi
+38
-38
doc/lispref/lists.texi
doc/lispref/lists.texi
+1
-1
doc/lispref/minibuf.texi
doc/lispref/minibuf.texi
+7
-6
doc/lispref/modes.texi
doc/lispref/modes.texi
+14
-8
doc/lispref/nonascii.texi
doc/lispref/nonascii.texi
+18
-15
doc/lispref/processes.texi
doc/lispref/processes.texi
+9
-27
doc/lispref/strings.texi
doc/lispref/strings.texi
+4
-4
doc/lispref/text.texi
doc/lispref/text.texi
+3
-10
doc/lispref/tips.texi
doc/lispref/tips.texi
+2
-1
doc/lispref/windows.texi
doc/lispref/windows.texi
+4
-4
etc/NEWS
etc/NEWS
+7
-0
lib/getopt.in.h
lib/getopt.in.h
+5
-5
lib/gnulib.mk
lib/gnulib.mk
+19
-10
lib/intprops.h
lib/intprops.h
+3
-4
lib/makefile.w32-in
lib/makefile.w32-in
+2
-1
lib/stdarg.in.h
lib/stdarg.in.h
+5
-5
lib/stddef.in.h
lib/stddef.in.h
+7
-7
lib/stdint.in.h
lib/stdint.in.h
+6
-6
lib/stdio.in.h
lib/stdio.in.h
+5
-5
lib/stdlib.in.h
lib/stdlib.in.h
+5
-5
lib/sys_stat.in.h
lib/sys_stat.in.h
+5
-5
lib/time.in.h
lib/time.in.h
+2
-2
lib/unistd.in.h
lib/unistd.in.h
+7
-7
lib/verify.h
lib/verify.h
+7
-4
lisp/ChangeLog
lisp/ChangeLog
+52
-0
lisp/bindings.el
lisp/bindings.el
+3
-1
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+9
-0
lisp/gnus/shr.el
lisp/gnus/shr.el
+1
-1
lisp/gnus/smiley.el
lisp/gnus/smiley.el
+3
-1
lisp/image-mode.el
lisp/image-mode.el
+22
-11
lisp/image.el
lisp/image.el
+70
-50
lisp/menu-bar.el
lisp/menu-bar.el
+11
-8
lisp/net/rcirc.el
lisp/net/rcirc.el
+6
-1
lisp/newcomment.el
lisp/newcomment.el
+1
-1
lisp/replace.el
lisp/replace.el
+86
-22
lisp/select.el
lisp/select.el
+0
-4
lisp/startup.el
lisp/startup.el
+0
-3
lisp/url/ChangeLog
lisp/url/ChangeLog
+5
-0
lisp/url/url-cookie.el
lisp/url/url-cookie.el
+3
-9
m4/getloadavg.m4
m4/getloadavg.m4
+3
-7
m4/gl-comp.m4
m4/gl-comp.m4
+1
-1
src/ChangeLog
src/ChangeLog
+27
-1
src/coding.c
src/coding.c
+2
-2
src/emacs.c
src/emacs.c
+9
-0
src/font.c
src/font.c
+30
-31
src/font.h
src/font.h
+36
-36
src/frame.c
src/frame.c
+8
-1
src/image.c
src/image.c
+42
-52
src/xselect.c
src/xselect.c
+45
-46
src/xterm.h
src/xterm.h
+2
-0
No files found.
ChangeLog
View file @
90856fe0
2011-05-
28
Paul Eggert <eggert@cs.ucla.edu>
2011-05-
30
Paul Eggert <eggert@cs.ucla.edu>
Use 'inline', not 'INLINE'.
* configure.in, autogen/config.in (INLINE): Remove.
2011-05-29 Paul Eggert <eggert@cs.ucla.edu>
Adjust to recent gnulib change for @GUARD_PREFIX@.
* lib/makefile.w32-in (getopt_h): Substitute @GUARD_PREFIX@, too.
All uses of _GL_ for guard prefixes in lib/*.h replaced with
_@GUARD_PREFIX@_.
2011-05-27 Paul Eggert <eggert@cs.ucla.edu>
* doc/misc/texinfo.tex, lib/getopt.c, lib/intprops.h: Merge from gnulib.
...
...
doc/lispref/ChangeLog
View file @
90856fe0
2011-05-29 Chong Yidong <cyd@stupidchicken.com>
* help.texi (Accessing Documentation):
* display.texi (Pixel Specification):
* processes.texi (Serial Ports, Serial Ports):
* nonascii.texi (Character Properties, Default Coding Systems):
* text.texi (Changing Properties, Special Properties):
* windows.texi (Window Start and End):
* modes.texi (SMIE Indentation Example, SMIE Tricks):
* keymaps.texi (Searching Keymaps, Tool Bar):
* minibuf.texi (Basic Completion):
* compile.texi (Eval During Compile):
* strings.texi (Formatting Strings): Tweaks to avoid overflowing
7x9 paper in printed manual.
* lists.texi (Sets And Lists): Fix misplaced text.
2011-05-29 Chong Yidong <cyd@stupidchicken.com>
* keymaps.texi (Remapping Commands): Emphasize that the keymap
needs to be active (Bug#8350).
2011-05-28 Chong Yidong <cyd@stupidchicken.com>
* minibuf.texi (Reading File Names): Clarify (Bug#8480).
...
...
doc/lispref/compile.texi
View file @
90856fe0
...
...
@@ -445,7 +445,7 @@ used to load it for compiling, but not executing. For example,
@lisp
(eval-when-compile
(require 'my-macro-package))
;; only macros needed from this
(require 'my-macro-package))
@end lisp
The same sort of thing goes for macros and @code{defsubst} functions
...
...
doc/lispref/display.texi
View file @
90856fe0
...
...
@@ -1441,9 +1441,9 @@ specify a particular attribute for certain text. @xref{Face
Attributes
}.
@
item
A
cons
cell
,
either
of
the
form
@
code
{(
f
oreground
-
color
.
@
var
{
color
-
name
})}
or
@
code
{(
b
ackground
-
color
.
@
var
{
color
-
name
})}.
These
elements
specify
just
the
foreground
color
or
just
the
background
color
.
A
cons
cell
,
either
of
the
form
@
code
{(
f
g
-
color
.
@
var
{
color
-
name
})}
or
@
code
{(
b
g
-
color
.
@
var
{
color
-
name
})}.
These
elements
specify
just
the
foreground
color
or
just
the
background
color
.
@
code
{(
foreground
-
color
.
@
var
{
color
-
name
})}
has
the
same
effect
as
@
code
{(:
foreground
@
var
{
color
-
name
})};
likewise
for
the
background
.
...
...
@@ -3821,9 +3821,10 @@ pixels per inch, millimeter, and centimeter, respectively. The
and height of the current face. An image specification @code{image}
corresponds to the width or height of the image.
The @code{left-fringe}, @code{right-fringe}, @code{left-margin},
@code{right-margin}, @code{scroll-bar}, and @code{text} elements
specify to the width of the corresponding area of the window.
The elements @code{left-fringe}, @code{right-fringe},
@code{left-margin}, @code{right-margin}, @code{scroll-bar}, and
@code{text} specify to the width of the corresponding area of the
window.
The @code{left}, @code{center}, and @code{right} positions can be
used with @code{:align-to} to specify a position relative to the left
...
...
@@ -4652,16 +4653,14 @@ If @var{no-error} is non-@code{nil} and a suitable path can't be
found, don'
t
signal
an
error
.
Instead
,
return
a
list
of
directories
as
before
,
except
that
@
code
{
nil
}
appears
in
place
of
the
image
directory
.
Here
is
an
example
that
uses
a
common
idiom
to
provide
compatibility
with
versions
of
Emacs
that
lack
the
variable
@
code
{
image
-
load
-
path
}:
Here
is
an
example
of
using
@
code
{
image
-
load
-
path
-
for
-
library
}:
@
example
(
defvar
image
-
load
-
path
)
;
shush
compiler
(
let
*
((
load
-
path
(
image
-
load
-
path
-
for
-
library
"mh-e"
"mh-logo.xpm"
))
"mh-e"
"mh-logo.xpm"
))
(
image
-
load
-
path
(
cons
(
car
load
-
path
)
(
when
(
boundp
'image-load-path)
image-load-path))))
image
-
load
-
path
)))
(
mh
-
tool
-
bar
-
folder
-
buttons
-
init
))
@
end
example
@
end
defun
...
...
@@ -5399,8 +5398,10 @@ value) in various ways.
(aref colorcomp-data 2)))
(samp " (sample text) "))
(insert "Color\t: "
(
propertize
samp
'face `(foreground-color . ,cstr))
(propertize samp '
face
`(
background
-
color
.
,
cstr
))
(propertize samp '
face
`(
foreground
-
color
.
,
cstr
))
(
propertize
samp
'face
`(background-color . ,cstr))
"\n"))))
(defun colorcomp (color)
...
...
doc/lispref/elisp.texi
View file @
90856fe0
...
...
@@ -14,7 +14,7 @@
@c in general, keep the following line commented out, unless doing a
@c copy of this manual that will be published. The manual should go
@c onto the distribution in the full, 8.5 x 11" size.
@c
set
smallbook
@c
@
smallbook
@ifset smallbook
@smallbook
...
...
doc/lispref/help.texi
View file @
90856fe0
...
...
@@ -138,9 +138,9 @@ unless @var{verbatim} is non-@code{nil}.
@end defun
@defun documentation function &optional verbatim
This function returns the documentation string of @var{function}.
@code{documentation}
handles macros, named keyboard macros, and
special forms, as well as
ordinary functions.
This function returns the documentation string of @var{function}.
It
handles macros, named keyboard macros, and
special forms, as well as
ordinary functions.
If @var{function} is a symbol, this function first looks for the
@code{function-documentation} property of that symbol; if that has a
...
...
doc/lispref/keymaps.texi
View file @
90856fe0
...
...
@@ -718,17 +718,18 @@ pseudo-Lisp description of the order and conditions for searching
them:
@lisp
(or (if overriding-terminal-local-map
(@var{find-in} overriding-terminal-local-map)
(if overriding-local-map
(@var{find-in} overriding-local-map)
(or (@var{find-in} (get-char-property (point) 'keymap))
(@var{find-in-any} emulation-mode-map-alists)
(@var{find-in-any} minor-mode-overriding-map-alist)
(@var{find-in-any} minor-mode-map-alist)
(if (get-text-property (point) 'local-map)
(@var{find-in} (get-char-property (point) 'local-map))
(@var{find-in} (current-local-map))))))
(or (cond
(overriding-terminal-local-map
(@var{find-in} overriding-terminal-local-map))
(overriding-local-map
(@var{find-in} overriding-local-map))
(or (@var{find-in} (get-char-property (point) 'keymap))
(@var{find-in-any} emulation-mode-map-alists)
(@var{find-in-any} minor-mode-overriding-map-alist)
(@var{find-in-any} minor-mode-map-alist)
(if (get-text-property (point) 'local-map)
(@var{find-in} (get-char-property (point) 'local-map))
(@var{find-in} (current-local-map)))))
(@var{find-in} (current-global-map)))
@end lisp
...
...
@@ -1468,33 +1469,33 @@ Dired mode is set up:
@section Remapping Commands
@cindex remapping commands
A special kind of key binding, using a special ``key sequence''
which includes a command name, has the effect of @dfn{remapping} that
command into another. Here's how it works. You make a key binding
for a key sequence that starts with the dummy event @code{remap},
followed by the command name you want to remap. Specify the remapped
definition as the definition in this binding. The remapped definition
is usually a command name, but it can be any valid definition for
a key binding.
A special kind of key binding can be used to @dfn{remap} one command
to another, without having to refer to the key sequence(s) bound to
the original command. To use this feature, make a key binding for a
key sequence that starts with the dummy event @code{remap}, followed
by the command name you want to remap; for the binding, specify the
new definition (usually a command name, but possibly any other valid
definition for a key binding).
Here's an
example
. S
uppose
that
My mode
uses
special command
s
@code{my-kill-line}
and @code{my-kill-word}
, which should be invoked
instead of
@code{kill-line}
and @code{kill-word}. It can establish
th
is by making these two command-remapping bindings in its keymap
:
For
example
, s
uppose My mode
provides a
special command
@code{my-kill-line}, which should be invoked
instead of
@code{kill-line}
. To establish this, its mode keymap should contain
th
e following remapping
:
@smallexample
(define-key my-mode-map [remap kill-line] 'my-kill-line)
(define-key my-mode-map [remap kill-word] 'my-kill-word)
@end smallexample
Whenever @code{my-mode-map} is an active keymap, if the user types
@kbd{C-k}, Emacs will find the standard global binding of
@code{kill-line} (assuming nobody has changed it). But
@code{my-mode-map} remaps @code{kill-line} to @code{my-kill-line},
so instead of running @code{kill-line}, Emacs runs
@code{my-kill-line}.
@noindent
Then, whenever @code{my-mode-map} is active, if the user types
@kbd{C-k} (the default global key sequence for @code{kill-line}) Emacs
will instead run @code{my-kill-line}.
Remapping only works through a single level. In other words,
Note that remapping only takes place through active keymaps; for
example, putting a remapping in a prefix keymap like @code{ctl-x-map}
typically has no effect, as such keymaps are not themselves active.
In addition, remapping only works through a single level; in the
following example,
@smallexample
(define-key my-mode-map [remap kill-line] 'my-kill-line)
...
...
@@ -1502,11 +1503,10 @@ Remapping only works through a single level. In other words,
@end smallexample
@noindent
does not have the effect of remapping @code{kill-line} into
@code{my-other-kill-line}. If an ordinary key binding specifies
@code{kill-line}, this keymap will remap it to @code{my-kill-line};
if an ordinary binding specifies @code{my-kill-line}, this keymap will
remap it to @code{my-other-kill-line}.
@code{kill-line} is @emph{not} remapped to @code{my-other-kill-line}.
Instead, if an ordinary key binding specifies @code{kill-line}, it is
remapped to @code{my-kill-line}; if an ordinary binding specifies
@code{my-kill-line}, it is remapped to @code{my-other-kill-line}.
To undo the remapping of a command, remap it to @code{nil}; e.g.
...
...
@@ -2636,8 +2636,8 @@ using an indirection through @code{tool-bar-map}.
By default, the global map binds @code{[tool-bar]} as follows:
@example
(global-set-key [tool-bar]
'(menu-item "tool bar" ignore
:filter (lambda (ignore) tool-bar-map)))
'(menu-item "tool bar" ignore
:filter (lambda (ignore) tool-bar-map)))
@end example
@noindent
Thus the tool bar map is derived dynamically from the value of variable
...
...
doc/lispref/lists.texi
View file @
90856fe0
...
...
@@ -1355,10 +1355,10 @@ and the @code{(4)} in the @code{sample-list} are not @code{eq}:
(delq '(4) sample-list)
@result{} (a c (4))
@end group
@end example
If you want to delete elements that are @code{equal} to a given value,
use @code{delete} (see below).
@end example
@defun remq object list
This function returns a copy of @var{list}, with all elements removed
...
...
doc/lispref/minibuf.texi
View file @
90856fe0
...
...
@@ -837,12 +837,13 @@ variable as ``risky'' with a non-@code{nil}
@code{risky-local-variable} property. @xref{File Local Variables}.
@defvar completion-ignore-case
If the value of this variable is non-@code{nil}, Emacs does not
consider case significant in completion. Note, however, that this
variable is overridden by @code{read-file-name-completion-ignore-case}
within @code{read-file-name} (@pxref{Reading File Names}), and by
@code{read-buffer-completion-ignore-case} within @code{read-buffer}
(@pxref{High-Level Completion}).
If the value of this variable is non-@code{nil}, case is not
considered significant in completion. Within @code{read-file-name},
this variable is overridden by
@code{read-file-name-completion-ignore-case} (@pxref{Reading File
Names}); within @code{read-buffer}, it is overridden by
@code{read-buffer-completion-ignore-case} (@pxref{High-Level
Completion}).
@end defvar
@defvar completion-regexp-list
...
...
doc/lispref/modes.texi
View file @
90856fe0
...
...
@@ -1046,8 +1046,8 @@ Turning on text-mode runs the hook `text-mode-hook'."
@end group
@group
;; @r{These four lines are absent from the current version}
;; @r{not because this is done some other way, but
rather
}
;; @r{
because
nowadays Text mode uses the normal definition of paragraphs.}
;; @r{not because this is done some other way, but
because
}
;; @r{nowadays Text mode uses the normal definition of paragraphs.}
(set (make-local-variable 'paragraph-start)
(concat "[ \t]*$\\|" page-delimiter))
(set (make-local-variable 'paragraph-separate) paragraph-start)
...
...
@@ -1139,12 +1139,15 @@ modes should understand the Lisp conventions for comments. The rest of
@smallexample
@group
(set (make-local-variable 'paragraph-start) (concat page-delimiter "\\|$" ))
(set (make-local-variable 'paragraph-separate) paragraph-start)
(set (make-local-variable 'paragraph-start)
(concat page-delimiter "\\|$" ))
(set (make-local-variable 'paragraph-separate)
paragraph-start)
@dots{}
@end group
@group
(set (make-local-variable 'comment-indent-function) 'lisp-comment-indent))
(set (make-local-variable 'comment-indent-function)
'lisp-comment-indent))
@dots{}
@end group
@end smallexample
...
...
@@ -3619,7 +3622,9 @@ natural to have a BNF grammar that looks like this:
(inst ("IF" exp "THEN" insts "ELSE" insts "END")
("CASE" exp "OF" cases "END")
...)
(cases (cases "|" cases) (caselabel ":" insts) ("ELSE" insts))
(cases (cases "|" cases)
(caselabel ":" insts)
("ELSE" insts))
...
@end example
...
...
@@ -3894,9 +3899,10 @@ and is always at the beginning of a line, we can use a more efficient
rule:
@example
((equal token "if")
(and (not (smie-rule-bolp)) (smie-rule-prev-p "else")
(and (not (smie-rule-bolp))
(smie-rule-prev-p "else")
(save-excursion
(sample-smie-backward-token)
;Jump before the "else".
(sample-smie-backward-token)
(cons 'column (current-column)))))
@end example
...
...
doc/lispref/nonascii.texi
View file @
90856fe0
...
...
@@ -374,18 +374,18 @@ properties that Emacs knows about:
@table @code
@item name
This property c
orresponds to the
Unicode
@code{Name} property. The
value is a
string consisting of upper-case Latin letters A to Z,
digits, spaces,
and hyphen @samp{-} characters.
C
orresponds to the @code{Name}
Unicode
property. The
value is a
string consisting of upper-case Latin letters A to Z,
digits, spaces,
and hyphen @samp{-} characters.
@cindex unicode general category
@item general-category
This property c
orresponds to the
Unicode
@code{General_Category}
property. The
value is a symbol whose name is a 2-letter abbreviation
of the
character's classification.
C
orresponds to the @code{General_Category}
Unicode property. The
value is a symbol whose name is a 2-letter abbreviation
of the
character's classification.
@item canonical-combining-class
Corresponds to the
Unicode
@code{Canonical_Combining_Class} property.
Corresponds to the @code{Canonical_Combining_Class}
Unicode
property.
The value is an integer number.
@item bidi-class
...
...
@@ -466,15 +466,18 @@ This function returns the value of @var{char}'s @var{propname} property.
@result{} Nd
@end group
@group
(get-char-code-property ?\u2084 'digit-value) ; subscript 4
;; subscript 4
(get-char-code-property ?\u2084 'digit-value)
@result{} 4
@end group
@group
(get-char-code-property ?\u2155 'numeric-value) ; one fifth
;; one fifth
(get-char-code-property ?\u2155 'numeric-value)
@result{} 0.2
@end group
@group
(get-char-code-property ?\u2163 'numeric-value) ; Roman IV
;; Roman IV
(get-char-code-property ?\u2163 'numeric-value)
@result{} 4
@end group
@end example
...
...
@@ -1449,11 +1452,11 @@ for decoding (in case @var{operation} does decoding), and
@var{encoding-system} is the coding system for encoding (in case
@var{operation} does encoding).
The argument @var{operation} is a symbol
, one of @code{write-region},
@code{start-process}, @code{call-process},
@code{call-process-region},
@code{insert-file-contents}, or
@code{open-network-stream}. These are
the names of the Emacs I/O primitives that can do character code and
eol conversion.
The argument @var{operation} is a symbol
; it should be one of
@code{write-region},
@code{start-process}, @code{call-process},
@code{call-process-region},
@code{insert-file-contents}, or
@code{open-network-stream}. These are the names of the Emacs I/O
primitives that can do character code and
eol conversion.
The remaining arguments should be the same arguments that might be given
to the corresponding I/O primitive. Depending on the primitive, one
...
...
doc/lispref/processes.texi
View file @
90856fe0
...
...
@@ -1794,9 +1794,9 @@ nice values get scheduled more favorably.)
The number of threads in the process.
@item start
The time the process was started, in the
@w{@code{(@var{high}
@var{low} @var{microsec})}} format used by
@code{current-time} and
@code{file-attributes}.
The time
when
the process was started, in the
same
@w{@code{(@var{high}
@var{low} @var{microsec})}} format used by
@code{current-time} and
@code{file-attributes}.
@item etime
The time elapsed since the process started, in the @w{@code{(@var{high}
...
...
@@ -2482,25 +2482,17 @@ Install @var{plist} as the initial plist of the process.
@itemx :parity
@itemx :stopbits
@itemx :flowcontrol
These
arguments
are handled by @code{serial-process-configure}, which
is called
by @code{make-serial-process}.
These are handled by @code{serial-process-configure}, which
is called
by @code{make-serial-process}.
@end table
The original argument list, possibly modified by later configuration,
is available via the function @code{process-contact}.
E
xample
s
:
Here is an e
xample:
@example
(make-serial-process :port "/dev/ttyS0" :speed 9600)
(make-serial-process :port "COM1" :speed 115200 :stopbits 2)
(make-serial-process :port "\\\\.\\COM13" :speed 1200
:bytesize 7 :parity 'odd)
(make-serial-process :port "/dev/tty.BlueConsole-SPP-1"
:speed nil)
@end example
@end defun
...
...
@@ -2560,19 +2552,9 @@ flow control). If @var{flowcontrol} is not given, it defaults to no
flow control.
@end table
@code{serial-process-configure} is called by @code{make-serial-process} for the
initial configuration of the serial port.
Examples:
@example
(serial-process-configure :process "/dev/ttyS0" :speed 1200)
(serial-process-configure :buffer "COM1" :stopbits 1
:parity 'odd :flowcontrol 'hw)
(serial-process-configure :port "\\\\.\\COM13" :bytesize 7)
@end example
@code{serial-process-configure} is called by
@code{make-serial-process} for the initial configuration of the serial
port.
@end defun
@node Byte Packing
...
...
doc/lispref/strings.texi
View file @
90856fe0
...
...
@@ -828,12 +828,12 @@ is not truncated.
@example
@group
(format "The word `%7s'
actually
has %d letters in it."
(format "The word `%7s' has %d letters in it."
"foo" (length "foo"))
@result{} "The word ` foo'
actually
has 3 letters in it."
(format "The word `%7s'
actually
has %d letters in it."
@result{} "The word ` foo' has 3 letters in it."
(format "The word `%7s' has %d letters in it."
"specification" (length "specification"))
@result{} "The word `specification'
actually
has 13 letters in it."
@result{} "The word `specification' has 13 letters in it."
@end group
@end example
...
...
doc/lispref/text.texi
View file @
90856fe0
...
...
@@ -2806,9 +2806,9 @@ construct each part with @code{propertize} and then combine them with
@end smallexample
@end defun
See also the function @code{buffer-substring-no-properties}
(@pxref{Buffer Content
s}
)
which copies text from the
buffer
but does not copy its properties.
@xref{Buffer Contents}, for the function
@code{buffer-substring-no-propertie
s}
,
which copies text from the
buffer
but does not copy its properties.
@node Property Search
@subsection Text Property Search Functions
...
...
@@ -2992,13 +2992,6 @@ face attribute name and @var{value} is a meaningful value for that
attribute. With this feature, you do not need to create a face each
time you want to specify a particular attribute for certain text.
@xref{Face Attributes}.
@item
A cons cell with the form @code{(foreground-color . @var{color-name})}
or @code{(background-color . @var{color-name})}. These are old,
deprecated equivalents for @code{(:foreground @var{color-name})} and
@code{(:background @var{color-name})}. Please convert code that uses
them.
@end itemize
It works to use the latter two forms directly as the value
...
...
doc/lispref/tips.texi
View file @
90856fe0
...
...
@@ -249,7 +249,8 @@ file if you distribute copies. Use a notice like this one:
;;
GNU
General
Public
License
for
more
details
.
;;
You
should
have
received
a
copy
of
the
GNU
General
Public
License
;;
along
with
this
program
.
If
not
,
see
<
http
://
www
.
gnu
.
org
/
licenses
/>.
;;
along
with
this
program
.
If
not
,
see
;;
<
http
://
www
.
gnu
.
org
/
licenses
/>.
@
end
smallexample
If
you
have
signed
papers
to
assign
the
copyright
to
the
Foundation
,
...
...
doc/lispref/windows.texi
View file @
90856fe0
...
...
@@ -1462,10 +1462,10 @@ to the current position of point in @var{window}; @var{window}, to the
selected window. If @var{position} is @code{t}, that means to check the
last visible position in @var{window}.
Th
e @code{pos-visible-in-window-p}
function considers only vertical
scrolling. If @var{position} is
out of view only because @var{window}
has been scrolled horizontally,
@code{pos-visible-in-window-p} returns
non-@code{nil} anyway.
@xref{Horizontal Scrolling}.
Th
is
function considers only vertical
scrolling. If @var{position} is
out of view only because @var{window}
has been scrolled horizontally,
@code{pos-visible-in-window-p} returns
non-@code{nil} anyway.
@xref{Horizontal Scrolling}.
If @var{position} is visible, @code{pos-visible-in-window-p} returns
@code{t} if @var{partially} is @code{nil}; if @var{partially} is
...
...
etc/NEWS
View file @
90856fe0
...
...
@@ -177,6 +177,8 @@ with Xft. To change font, use the X resource font, for example:
Emacs.pane.menubar.font: Courier-12
** On graphical displays, the mode-line no longer ends in dashes.
Also, the first dash (which does not indicate anything) is just
displayed as a space.
** On Nextstep/OSX, the menu bar can be hidden by customizing
ns-auto-hide-menu-bar.
...
...
@@ -386,6 +388,8 @@ between applications.
*** Support for X cut buffers has been removed.
*** Support for X clipboard managers has been added.
** New command `rectangle-number-lines', bound to `C-x r N', numbers
the lines in the current rectangle. With an prefix argument, this
prompts for a number to count from and for a format string.
...
...
@@ -747,6 +751,9 @@ consult.
* New Modes and Packages in Emacs 24.1
** Occur Edit mode applies edits made in *Occur* buffers to the
original buffers. It is bound to C-x C-q in Occur mode.
** New global minor modes electric-pair-mode, electric-indent-mode,
and electric-layout-mode.
...
...
lib/getopt.in.h
View file @
90856fe0
...
...
@@ -16,7 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef _
GL
_GETOPT_H
#ifndef _
@GUARD_PREFIX@
_GETOPT_H
#if __GNUC__ >= 3
@
PRAGMA_SYSTEM_HEADER
@
...
...
@@ -32,10 +32,10 @@
# undef _GL_SYSTEM_GETOPT
#endif
#ifndef _
GL
_GETOPT_H
#ifndef _
@GUARD_PREFIX@
_GETOPT_H
#ifndef __need_getopt
# define _
GL
_GETOPT_H 1
# define _
@GUARD_PREFIX@
_GETOPT_H 1
#endif
/* Standalone applications should #define __GETOPT_PREFIX to an
...
...
@@ -249,5 +249,5 @@ extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv,
/* Make sure we later can get all the definitions and declarations. */
#undef __need_getopt
#endif
/*
getopt.h
*/
#endif
/*
getopt.h
*/
#endif
/*
_@GUARD_PREFIX@_GETOPT_H
*/
#endif
/*
_@GUARD_PREFIX@_GETOPT_H
*/
lib/gnulib.mk
View file @
90856fe0
...
...
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files careadlinkat crypto/md5 crypto/sha1 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdarg stdio strftime strtoumax symlink sys_stat
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk
--conditional-dependencies
--no-libtool --macro-prefix=gl --no-vc-files careadlinkat crypto/md5 crypto/sha1 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdarg stdio strftime strtoumax symlink sys_stat
MOSTLYCLEANFILES
+=
core
*
.stackdump
...
...
@@ -149,7 +149,8 @@ BUILT_SOURCES += $(GETOPT_H)
getopt.h
:
getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
$(AM_V_GEN)
rm
-f
$@
-t
$@
&&
\
{
echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'
;
\
sed
-e
's|@''HAVE_GETOPT_H''@|
$(HAVE_GETOPT_H)
|g'
\
sed
-e
's|@''GUARD_PREFIX''@|GL|g'
\
-e
's|@''HAVE_GETOPT_H''@|
$(HAVE_GETOPT_H)
|g'
\
-e
's|@''INCLUDE_NEXT''@|
$(INCLUDE_NEXT)
|g'
\
-e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g'
\
-e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g'
\
...
...
@@ -278,7 +279,8 @@ if GL_GENERATE_STDARG_H
stdarg.h
:
stdarg.in.h $(top_builddir)/config.status
$(AM_V_GEN)
rm
-f
$@
-t
$@
&&
\
{
echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'
&&
\
sed
-e
's|@''INCLUDE_NEXT''@|
$(INCLUDE_NEXT)
|g'
\
sed
-e
's|@''GUARD_PREFIX''@|GL|g'
\
-e
's|@''INCLUDE_NEXT''@|
$(INCLUDE_NEXT)
|g'
\
-e
's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g'
\
-e
's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g'
\
-e
's|@''NEXT_STDARG_H''@|
$(NEXT_STDARG_H)
|g'
\
...
...
@@ -328,7 +330,8 @@ if GL_GENERATE_STDDEF_H
stddef.h
:
stddef.in.h $(top_builddir)/config.status
$(AM_V_GEN)
rm
-f
$@
-t
$@
&&
\
{
echo
'/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'
&&
\
sed
-e