Update X Resources chapter of Emacs manual.

* doc/emacs/xresources.texi (X Resources): Describe GTK+ case first.
(Resources): Don't use borderWidth as an example, since it doesn't
work with GTK+.
(Table of Resources): Clarify role of several resources, including
the Emacs 24 behavior of cursorBlink etc.
(Face Resources): Node deleted.  Recommend using Customize
instead.  Add paragraph to `Table of Resources' node summarizing
how to use X resources for changing faces.
(Lucid Resources): Rewrite, omitting description of font names,
referring to the Fonts node instead.
(LessTif Resources): Copyedits.
(GTK resources): Rewrite, describing the difference between gtk2
and gtk3.
(GTK Resource Basics): New node.
(GTK Widget Names, GTK Names in Emacs): Rewrite.
(GTK styles): Just refer to Fonts node for GTK font format.

* doc/emacs/display.texi (Faces): Document the cursor face.
This commit is contained in:
Chong Yidong 2012-01-15 23:26:39 +08:00
parent 861df97752
commit 06848b82dc
6 changed files with 333 additions and 794 deletions

View file

@ -144,7 +144,7 @@ emacs-xtra.texi
emerge-xtra.texi
entering.texi cyd
files.texi cyd
fixit.texi
fixit.texi cyd
fortran-xtra.texi
frames.texi cyd
glossary.texi
@ -175,7 +175,7 @@ trouble.texi cyd
vc-xtra.texi cyd
vc1-xtra.texi cyd
windows.texi cyd
xresources.texi
xresources.texi cyd
** Check the Lisp manual.

View file

@ -1,3 +1,24 @@
2012-01-15 Chong Yidong <cyd@gnu.org>
* xresources.texi (X Resources): Describe GTK+ case first.
(Resources): Don't use borderWidth as an example, since it doesn't
work with GTK+.
(Table of Resources): Clarify role of several resources, including
the Emacs 24 behavior of cursorBlink etc.
(Face Resources): Node deleted. Recommend using Customize
instead. Add paragraph to `Table of Resources' node summarizing
how to use X resources for changing faces.
(Lucid Resources): Rewrite, omitting description of font names,
referring to the Fonts node instead.
(LessTif Resources): Copyedits.
(GTK resources): Rewrite, describing the difference between gtk2
and gtk3.
(GTK Resource Basics): New node.
(GTK Widget Names, GTK Names in Emacs): Rewrite.
(GTK styles): Just refer to Fonts node for GTK font format.
* display.texi (Faces): Document the cursor face.
2012-01-14 Chong Yidong <cyd@gnu.org>
* cmdargs.texi (Action Arguments): No need to mention

View file

@ -3,135 +3,19 @@
@c See file emacs.texi for copying conditions.
@node Antinews, Mac OS / GNUstep, X Resources, Top
@appendix Emacs 22 Antinews
@appendix Emacs 23 Antinews
@c Update the emacs.texi Antinews menu entry with the above version number.
For those users who live backwards in time, here is information
about downgrading to Emacs version 22.3. We hope you will enjoy the
about downgrading to Emacs version 23.4. We hope you will enjoy the
greater simplicity that results from the absence of many Emacs
@value{EMACSVER} features.
@itemize @bullet
@item
We have switched to a character representation specially designed for
Emacs. Rather than forcing all the widely used scripts into artificial
alignment, as Unicode does, Emacs treats them all equally, giving
each one a place in the space of character codes. We have eliminated
the confusing practice, in Emacs 23, whereby one character can belong
to multiple character sets. Now each script has its own variant, and
they all are different as far as Emacs is concerned. For example,
there's a Latin-1 c-cedilla character, and there's a Latin-2
c-cedilla; searching a buffer for the Latin-1 variant only finds that
variant, but not the others.
@item
Emacs now uses its own special internal encoding for non-@acronym{ASCII}
characters, known as @samp{emacs-mule}. This was imperative to
support several different variants of the same character, each one
belonging to its own script: @samp{emacs-mule} marks each character
with its script, to better discern them from one another.
@item
For simplicity, the functions @code{encode-coding-region} and
@code{decode-coding-region} no longer accept an argument saying where
to store the result of their conversions. The result always replaces
the original, so there's no need to look for it elsewhere.
@item
Emacs no longer performs font anti-aliasing. If your fonts look ugly,
try choosing a larger font and increasing the screen resolution.
Admittedly, this becomes difficult as you go further back in time,
since available screen resolutions will decrease.
@item
The Fontconfig font library is no longer supported. To specify a
font, you must use an XLFD (X Logical Font Descriptor). The other
ways of specifying fonts---so-called ``Fontconfig'' and ``GTK'' font
names---are redundant, so they have been removed.
@item
Transient Mark mode is now disabled by default. Furthermore, some
commands that operate specifically on the region when it is active and
Transient Mark mode is enabled (such as @code{fill-paragraph}
@code{ispell-word}, and @code{indent-for-tab-command}), no longer do
so.
@item
Holding @key{shift} while typing a motion command no longer creates a
temporarily active region, since that's inconsistent with how Emacs
normally handles keybindings. The variable @code{shift-select-mode}
has been deleted. You can, however, still create temporarily active
regions by dragging the mouse.
@item
The line motion commands, @kbd{C-n} and @kbd{C-p}, now move by logical
text lines, not screen lines. Even if a long text line is continued
over multiple screen lines, @kbd{C-n} and @kbd{C-p} treat it as a
single line, because that's ultimately what it is.
@item
Visual Line mode, which provides ``word wrap'' functionality, has been
removed. You can still use Long Lines mode to gain an approximation
of word wrapping, though this has some drawbacks---for instance,
syntax highlighting often doesn't work well on wrapped lines.
@item
@kbd{C-l} now runs @code{recenter} instead of
@code{recenter-top-bottom}. This always sets the current line at the
center of the window, instead of cycling through the center, top, and
bottom of the window on successive invocations. This lets you type
@kbd{C-l C-l C-l C-l} to be @emph{absolutely sure} that you have
recentered the line.
@item
The way Emacs generates possible minibuffer completions is now much
simpler to understand. It matches alternatives to the text before
point, ignoring the text after point; it also does not attempt to
perform partial completion if the first completion attempt fails.
@item
Typing @kbd{M-n} at the start of the minibuffer history list no longer
attempts to generate guesses of possible minibuffer input. It instead
does the straightforward thing, by issuing the message @samp{End of
history; no default available}.
@item
Individual buffers can no longer display faces specially. The text
scaling commands @kbd{C-x C-+}, @kbd{C-x C--}, and @kbd{C-x C-0} have
been removed, and so has the buffer face menu bound to
@kbd{S-down-mouse-1}.
@item
VC no longer supports fileset-based operations on distributed version
control systems (DVCSs) such as Arch, Bazaar, Subversion, Mercurial,
and Git. For instance, multi-file commits will be performed by
committing one file at a time. As you go further back in time, we
will remove DVCS support entirely, so you should migrate your projects
to CVS.
@item
Rmail now uses a special file format, Babyl format, specifically designed
for storing and editing mail. When you visit a file in Rmail, or get new
mail, Rmail converts it automatically to Babyl format.
@item
Emacs can no longer display frames on X windows and text terminals
(ttys) simultaneously. If you start Emacs as an X application, it
can only create X frames; if you start Emacs on a tty, it can only use
that tty. No more confusion about which type of frame
@command{emacsclient} will use in any given Emacs session!
@item
Emacs can no longer be started as a daemon. You can be sure that if
you don't see Emacs, then it's not running.
@item
Emacs has added support for many soon-to-be-non-obsolete platforms,
including VMS, DECstation, SCO Unix, and systems lacking alloca.
Support for Sun windows has been added.
FIXME
@item
To keep up with decreasing computer memory capacity and disk space, many
other functions and files have been eliminated in Emacs 22.3.
other functions and files have been eliminated in Emacs 23.4.
@end itemize

View file

@ -489,10 +489,20 @@ support a limited range of colors.
changes for future Emacs sessions. @xref{Face Customization}. A face
does not have to specify every single attribute; often it inherits
most attributes from another face. Any ultimately unspecified
attribute is taken from a face named @code{default}, whose attributes
are all specified. The @code{default} face is the default for
displaying text, and its background color is also used as the frame's
background color.
attribute is taken from the face named @code{default}.
The @code{default} face is the default for displaying text, and all
of its attributes are specified. Its background color is also used as
the frame's background color.
@cindex cursor face
Another special face is the @code{cursor} face. On graphical
displays, the background color of this face is used to draw the text
cursor. None of the other attributes of this face have any effect;
the foreground color for text under the cursor is taken from the
background color of the underlying text. On text terminals, the
appearance of the text cursor is determined by the terminal, not by
the @code{cursor} face.
You can also use X resources to specify attributes of any particular
face. @xref{Resources}.

View file

@ -210,7 +210,7 @@ Appendices
* GNU Free Documentation License:: The license for this documentation.
* Emacs Invocation:: Hairy startup options.
* X Resources:: X resources for customizing Emacs.
* Antinews:: Information about Emacs version 22.
* Antinews:: Information about Emacs version 23.
* Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep.
* Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
* Manifesto:: What's GNU? Gnu's Not Unix!
@ -1124,15 +1124,15 @@ X Options and Resources
* Resources:: Using X resources with Emacs (in general).
* Table of Resources:: Table of specific X resources that affect Emacs.
* Face Resources:: X resources for customizing faces.
* Lucid Resources:: X resources for Lucid menus.
* LessTif Resources:: X resources for LessTif and Motif menus.
* GTK resources:: Resources for GTK widgets.
GTK resources
* GTK widget names:: How widgets in GTK are named in general.
* GTK Names in Emacs:: GTK widget names in Emacs.
* GTK Resource Basics:: Basic usage of GTK+ resources.
* GTK Widget Names:: How GTK+ widgets are named.
* GTK Names in Emacs:: GTK+ widgets used by Emacs.
* GTK styles:: What can be customized in a GTK widget.
Emacs and Mac OS / GNUstep

File diff suppressed because it is too large Load diff