]> code.delx.au - gnu-emacs/blobdiff - lispref/anti.texi
(Time Conversion): decode-time arg is optional.
[gnu-emacs] / lispref / anti.texi
index 1b9fa426d861df0075c7038d7d892e4116750ce5..7925a8831df294b1d1fc482ee26a6db2053e7cf8 100644 (file)
@@ -1,8 +1,11 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 1999 Free Software Foundation, Inc. 
+@c Copyright (C) 1999 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
-@node Antinews, Index, Standard Hooks, Top
+
+@c This node must have no pointers.
+
+@node Antinews, GNU Free Documentation License, System Interface, Top
 @appendix Emacs 20 Antinews
 
 For those users who live backwards in time, here is information about
@@ -16,6 +19,7 @@ the following section, we carry this information back to Emacs
 @itemize @bullet
 @item
 The @code{push} and @code{pop} macros are not defined.
+Neither are @code{dolist} and @code{dotimes}.
 
 @item
 You can't display images in buffers.  (Emacs is meant for editing text.)
@@ -26,14 +30,20 @@ The @code{display} text property has no special meaning; you can use it
 freely in Lisp programs, with no effects except what you implement for
 yourself.  With no images, who needs the @code{display} text property?
 
+@item
+The @code{field} text property has no special meaning; buffers are no
+longer subdivided into fields.  (The division of information into
+fields is always rather arbitrary.)
+
 @item
 Faces have fewer attributes.  The attributes @code{:family},
 @code{:height}, @code{:width}, @code{:weight}, and @code{:slant},
 have been replaced with a font name, a ``bold'' flag, and an
 ``italic'' flag.
 
-The attributes @code{:overline}, @code{:strike-through}
-and @code{:box} have been eliminated too.
+The attributes @code{:overline}, @code{:strike-through} and @code{:box}
+have been eliminated too.  Underlining now always has the same color as
+the text---using any other color would be bad taste.
 
 With fewer font attributes, there are no functions
 @code{set-face-attribute} and @code{face-attribute}.  Instead, you
@@ -42,8 +52,33 @@ set them with functions such as @code{set-face-font}.  (These functions
 were available in Emacs 21, but are not as useful there.)
 
 @item
-There are no facilities for playing sound.  This means Emacs will
-respect your peace and quiet, aside from occasional beeps.
+The standard faces @code{scroll-bar}, @code{menu}, @code{border},
+@code{cursor}, and @code{mouse} have been eliminated.  They are rather
+strange, as faces, and therefore shouldn't really exist.  You can use
+@code{set-border-color}, @code{set-cursor-color} and
+@code{set-mouse-color} to specify the colors for the frame border, the
+text cursor, and the mouse cursor.  To specify menu colors, use X
+resources.
+
+@item
+Colors and other face attributes are no longer supported on character
+terminals, so you no longer have to worry about terminals making faces
+at you.
+
+@item
+Emacs will respect your peace and quiet, aside from occasional beeps,
+because there are no facilities for playing sounds.
+
+@item
+Emacs 20 provides a complex and badly designed method for handling
+character composition for languages such as Thai that display several
+letters as a single combined image.  We are too ashamed of it to tell
+you any more than that.
+
+@item
+@code{delete-and-extract-region} has been deleted; instead, use
+@code{buffer-substring} to extract the text, then use
+@code{delete-region} to delete it.
 
 @item
 Regular expressions do not support the POSIX character classes
@@ -65,10 +100,23 @@ and background colors, so you cannot specify different colors for
 the scroll bars.
 
 @item
-For simplicity, all ASCII characters now have the same height and width.
-(Certain characters, such as Chinese characters, always have have twice
+For simplicity, all @sc{ascii} characters now have the same height and width.
+(Certain characters, such as Chinese characters, always have twice
 the standard width.)  All characters are created equal.
 
+@item
+You can now resize any Emacs window, and size changes in one window can
+propagate to all others.  Windows can no longer use
+@code{window-size-fixed} to get special privileges.
+
+@item
+The function @code{intern-soft} no longer accepts a symbol as argument.
+
+@item
+The function @code{bitmap-spec-p} has been renamed to
+@code{pixmap-spec-p} to encourage users to practice Emacs' help system
+while trying to find it.
+
 @item
 Tooltips operate using ordinary Emacs frames.
 
@@ -90,10 +138,14 @@ Vertical fractional scrolling does not exist.
 The functions @code{format} and @code{message} ignore and discard text
 properties.
 
+@item
+The function @code{propertize} does not exist;
+you can get the job done using @code{set-text-properties}.
+
 @item
 Colors are supported only on window systems, not on text-only terminals.
 So the support functions for colors on text-only terminals are
-not needed.
+not needed, and have been eliminated.
 
 @item
 The functions @code{color-values}, @code{color-defined-p} and
@@ -104,6 +156,12 @@ The functions @code{color-values}, @code{color-defined-p} and
 Windows cannot be made fixed-width or fixed-height;
 Emacs will adjust the size of all windows when it needs to.
 
+@item
+The string used as the value of the @code{before-string} or
+@code{after-string} property must contain only characters that display
+as a single column---control characters, including tabs and newlines,
+will give strange results.
+
 @item
 The minibuffer prompt does not actually appear in content of the
 minibuffer; it is displayed specially in the minibuffer window.
@@ -118,9 +176,13 @@ The function @code{buffer-size} always reports on the
 current buffer.
 
 @item
-The function @code{assoc-delete-all} has itself been deleted. 
+The function @code{assq-delete-all} has itself been deleted.
 So there!
 
+@item
+The keyword @code{:set-after} no longer does anything in
+@code{defcustom}.
+
 @item
 The variable @code{small-temporary-file-directory} has no special
 meaning.  There's only one variable for specifying which directory to
@@ -129,7 +191,14 @@ Emacs features use it anyway.  Some use the @code{TMP} environment
 variable, and some use the @code{TMPDIR} environment variable.
 
 @item
-The variable  @code{inhibit-modification-hooks}
+If the second argument of @code{save-some-buffers}, @var{pred}, is not
+@code{nil}, then the precise value no longer matters.  Any
+non-@code{nil} value means the same as @code{t}: offer to save each
+non-file buffer that has a non-@code{nil} value for
+@code{buffer-offer-save}.
+
+@item
+The variable @code{inhibit-modification-hooks}
 has no special meaning.
 
 @item
@@ -201,13 +270,13 @@ The meaning of the second argument to @code{read-char},
 they use the current input method if the argument is if @code{nil}.
 
 @item
-The function @code{with-temp-message} has been eliminated. 
+The function @code{with-temp-message} has been eliminated.
 
 @item
-The function @code{clear-this-command-keys} has been eliminated. 
+The function @code{clear-this-command-keys} has been eliminated.
 
 @item
-The functions @code{gap-position} and @code{gap-size} have been eliminated. 
+The functions @code{gap-position} and @code{gap-size} have been eliminated.
 
 @item
 In @code{modify-face}, an argument of @code{(nil)} has no special