emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/doc/emacs cmdargs.texi


From: Chong Yidong
Subject: [Emacs-diffs] emacs/doc/emacs cmdargs.texi
Date: Tue, 09 Dec 2008 14:27:57 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/12/09 14:27:57

Modified files:
        doc/emacs      : cmdargs.texi 

Log message:
        (Font X): Move discussion of quoting to top.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/emacs/cmdargs.texi?cvsroot=emacs&r1=1.10&r2=1.11

Patches:
Index: cmdargs.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/emacs/cmdargs.texi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- cmdargs.texi        23 Nov 2008 04:33:23 -0000      1.10
+++ cmdargs.texi        9 Dec 2008 14:27:56 -0000       1.11
@@ -793,9 +793,17 @@
 Use @var{font} as the default font.
 @end table
 
+When passing a font specification to Emacs on the command line, you
+may need to ``quote'' it, by enclosing it in quotation marks, if it
+contains characters that the shell treats specially (e.g. spaces).
+Here is an example:
+
address@hidden
+emacs -fn "DejaVu Sans Mono-12"
address@hidden smallexample
+
 @cindex X defaults file
 @cindex X resources file
-
   You can also specify the font using your X resources file (usually a
 file named @file{.Xdefaults} or @file{.Xresources} in your home
 directory), by adding a line like this:
@@ -806,7 +814,8 @@
 
 @noindent
 You must restart X, or use the @command{xrdb} command, for the X
-resources file to take effect.  @xref{Resources}.
+resources file to take effect.  @xref{Resources}.  When specifying a
+font in your X resources file, you should not quote it.
 
 @cindex fontconfig
   There are four different ways to express a ``font name''.  The first
@@ -834,20 +843,6 @@
 Monospace-12:weight=bold:slant=italic
 @end smallexample
 
address@hidden
-When passing a font specification to Emacs on the command line, you
-may need to ``quote'' it, by enclosing it in quotation marks, if it
-contains characters that the shell treats specially (e.g. spaces).
-For example:
-
address@hidden
-emacs -fn "DejaVu Sans Mono-12"
address@hidden smallexample
-
address@hidden
-When specifying a font in your X resources file, you should not quote
-it.
-
   The second way to specify a font is to use the @dfn{GTK format}.
 This has the syntax
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]