diff options
| author | Stefan Monnier | 2010-03-24 14:02:56 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-03-24 14:02:56 -0400 |
| commit | e867cb5d30200dd696b012e1ad0964d25c2a7ecc (patch) | |
| tree | 3340026420f168909eaa734232e4890e15bc1626 /doc | |
| parent | b2b8574b8d03673f5673e2154d17c2cb80f59a0b (diff) | |
| parent | efee6a6d9cec2af824b8355c93d8f47b72a685a8 (diff) | |
| download | emacs-e867cb5d30200dd696b012e1ad0964d25c2a7ecc.tar.gz emacs-e867cb5d30200dd696b012e1ad0964d25c2a7ecc.zip | |
Merge from `emacs-23'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 32 | ||||
| -rw-r--r-- | doc/emacs/ack.texi | 6 | ||||
| -rw-r--r-- | doc/emacs/cmdargs.texi | 251 | ||||
| -rw-r--r-- | doc/emacs/dired.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 291 | ||||
| -rw-r--r-- | doc/emacs/indent.texi | 75 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 85 | ||||
| -rw-r--r-- | doc/emacs/xresources.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 3 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/trampver.texi | 2 |
15 files changed, 451 insertions, 340 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 78dc33a6e59..fa454dd976a 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 2010-03-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * ack.texi (Acknowledgments): | ||
| 4 | * emacs.texi (Acknowledgments): Fix ispell attribution. (Bug#5759) | ||
| 5 | |||
| 6 | 2010-03-20 Jan Djärv <jan.h.d@swipnet.se> | ||
| 7 | |||
| 8 | * xresources.texi (Table of Resources): Clarify toolBar number | ||
| 9 | for Gtk+. | ||
| 10 | |||
| 11 | * frames.texi (Menu Bars): menuBarLines => menuBar (bug#5736). | ||
| 12 | |||
| 13 | 2010-03-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 14 | |||
| 15 | * dired.texi (Dired Updating): Document dired-auto-revert-buffer. | ||
| 16 | |||
| 17 | * search.texi (Other Repeating Search): Document multi-isearch-buffers | ||
| 18 | and multi-isearch-buffers-regexp. | ||
| 19 | |||
| 20 | * indent.texi (Indentation): Clarify description of | ||
| 21 | indent-for-tab-command. Document tab-always-indent. | ||
| 22 | |||
| 23 | 2010-03-20 Chong Yidong <cyd@stupidchicken.com> | ||
| 24 | |||
| 25 | * cmdargs.texi (Font X): Move most content to Fonts. | ||
| 26 | |||
| 27 | * frames.texi (Fonts): New node. Document font-use-system-font. | ||
| 28 | |||
| 29 | * emacs.texi (Top): | ||
| 30 | * xresources.texi (Table of Resources): | ||
| 31 | * mule.texi (Defining Fontsets, Charsets): Update xrefs. | ||
| 32 | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | 33 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 34 | ||
| 3 | * Branch for 23.2. | 35 | * Branch for 23.2. |
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi index 09da1e68b2e..d2930485a90 100644 --- a/doc/emacs/ack.texi +++ b/doc/emacs/ack.texi | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, | 2 | @c Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, |
| 3 | @c 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | @c 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 | @c Free Software Foundation, Inc. | ||
| 4 | @c See file emacs.texi for copying conditions. | 5 | @c See file emacs.texi for copying conditions. |
| 5 | @c | 6 | @c |
| 6 | @node Acknowledgments, Screen, Concept Index, Top | 7 | @node Acknowledgments, Screen, Concept Index, Top |
| @@ -600,8 +601,7 @@ R.@: Dodd. He also wrote @file{ls-lisp.el}, a Lisp emulation of the | |||
| 600 | program. | 601 | program. |
| 601 | 602 | ||
| 602 | @item | 603 | @item |
| 603 | Geoff Kuenning and Ken Stevens wrote @file{ispell.el}, a spell-checker | 604 | Ken Stevens wrote @file{ispell.el}, a spell-checker interface. |
| 604 | interface. | ||
| 605 | 605 | ||
| 606 | @item | 606 | @item |
| 607 | David K@ringaccent{a}gedal wrote @file{tempo.el}, providing support for | 607 | David K@ringaccent{a}gedal wrote @file{tempo.el}, providing support for |
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index aefe7b3bfc0..a139e0eb0f4 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -755,10 +755,9 @@ remote machine. | |||
| 755 | @appendixsec Font Specification Options | 755 | @appendixsec Font Specification Options |
| 756 | @cindex font name (X Window System) | 756 | @cindex font name (X Window System) |
| 757 | 757 | ||
| 758 | By default, Emacs displays text in X using a twelve point monospace | 758 | You can use the command line option @samp{-fn @var{font}} (or |
| 759 | font. You can specify a different font using the command line option | 759 | @samp{--font}, which is an alias for @samp{-fn}) to specify a default |
| 760 | @samp{-fn @var{font}} (or @samp{--font}, which is an alias for | 760 | font: |
| 761 | @samp{-fn}). | ||
| 762 | 761 | ||
| 763 | @table @samp | 762 | @table @samp |
| 764 | @item -fn @var{font} | 763 | @item -fn @var{font} |
| @@ -772,252 +771,14 @@ Use @var{font} as the default font. | |||
| 772 | When passing a font specification to Emacs on the command line, you | 771 | When passing a font specification to Emacs on the command line, you |
| 773 | may need to ``quote'' it, by enclosing it in quotation marks, if it | 772 | may need to ``quote'' it, by enclosing it in quotation marks, if it |
| 774 | contains characters that the shell treats specially (e.g. spaces). | 773 | contains characters that the shell treats specially (e.g. spaces). |
| 775 | Here is an example: | 774 | For example: |
| 776 | 775 | ||
| 777 | @smallexample | 776 | @smallexample |
| 778 | emacs -fn "DejaVu Sans Mono-12" | 777 | emacs -fn "DejaVu Sans Mono-12" |
| 779 | @end smallexample | 778 | @end smallexample |
| 780 | 779 | ||
| 781 | @cindex X defaults file | 780 | @xref{Fonts}, for other ways to specify the default font and font name |
| 782 | @cindex X resources file | 781 | formats. |
| 783 | You can also specify the font using your X resources file (usually a | ||
| 784 | file named @file{.Xdefaults} or @file{.Xresources} in your home | ||
| 785 | directory), by adding a line like this: | ||
| 786 | |||
| 787 | @smallexample | ||
| 788 | emacs.font: @var{font} | ||
| 789 | @end smallexample | ||
| 790 | |||
| 791 | @noindent | ||
| 792 | You must restart X, or use the @command{xrdb} command, for the X | ||
| 793 | resources file to take effect. @xref{Resources}. When specifying a | ||
| 794 | font in your X resources file, you should not quote it. | ||
| 795 | |||
| 796 | @cindex fontconfig | ||
| 797 | Emacs recognizes two types of fonts: @dfn{client-side} fonts, which | ||
| 798 | are provided by the Xft and Fontconfig libraries, and | ||
| 799 | @dfn{server-side} fonts, which are provided by the X server itself. | ||
| 800 | Most client-side fonts support advanced font features such as | ||
| 801 | antialiasing and subpixel hinting, while server-side fonts do not. | ||
| 802 | |||
| 803 | There are four different ways to express a ``font name''. The first | ||
| 804 | format consists of @dfn{Fontconfig patterns}. Fontconfig patterns | ||
| 805 | match only client-side fonts provided by Xft and Fontconfig, and have | ||
| 806 | the following form: | ||
| 807 | |||
| 808 | @smallexample | ||
| 809 | @var{fontname}[-@var{fontsize}][:@var{name1}=@var{values1}][:@var{name2}=@var{values2}]... | ||
| 810 | @end smallexample | ||
| 811 | |||
| 812 | @noindent | ||
| 813 | Within this format, any of the elements in braces may be omitted. | ||
| 814 | Here, @var{fontname} is the ``family name'' of the font, such as | ||
| 815 | @samp{Monospace} or @samp{DejaVu Serif}; @var{fontsize} is the ``point | ||
| 816 | size'' of the font (one ``printer's point'' is about 1/72 of an inch); | ||
| 817 | and the @samp{@var{name}=@var{values}} entries specify settings such | ||
| 818 | as the slant and weight of the font. Each @var{values} may be a | ||
| 819 | single value, or a list of values separated by commas. In addition, | ||
| 820 | some property values are valid with only one kind of property name, in | ||
| 821 | which case the @samp{@var{name}=} part may be omitted. | ||
| 822 | |||
| 823 | Here is a list of common font properties: | ||
| 824 | |||
| 825 | @table @samp | ||
| 826 | @item slant | ||
| 827 | One of @samp{italic}, @samp{oblique} or @samp{roman}. | ||
| 828 | |||
| 829 | @item weight | ||
| 830 | One of @samp{light}, @samp{medium}, @samp{demibold}, @samp{bold} or | ||
| 831 | @samp{black}. | ||
| 832 | |||
| 833 | @item style | ||
| 834 | Some fonts define special styles which are a combination of slant and | ||
| 835 | weight. For instance, the font @samp{Dejavu Sans} defines the style | ||
| 836 | @samp{book}. This property, if specified, overrides the slant and | ||
| 837 | weight properties. | ||
| 838 | |||
| 839 | @item width | ||
| 840 | One of @samp{condensed}, @samp{normal}, or @samp{expanded}. | ||
| 841 | |||
| 842 | @item spacing | ||
| 843 | One of @samp{monospace}, @samp{proportional}, @samp{dual-width}, or | ||
| 844 | @samp{charcell}. | ||
| 845 | @end table | ||
| 846 | |||
| 847 | @noindent | ||
| 848 | Here are some examples of Fontconfig patterns: | ||
| 849 | |||
| 850 | @smallexample | ||
| 851 | Monospace | ||
| 852 | Monospace-12 | ||
| 853 | Monospace-12:bold | ||
| 854 | DejaVu Sans Mono:bold:italic | ||
| 855 | Monospace-12:weight=bold:slant=italic | ||
| 856 | @end smallexample | ||
| 857 | |||
| 858 | See the Fontconfig manual for a more detailed description of | ||
| 859 | Fontconfig patterns. This manual is located in the file | ||
| 860 | @file{fontconfig-user.html}, which is distributed with Fontconfig. It | ||
| 861 | is also available online at | ||
| 862 | @url{http://fontconfig.org/fontconfig-user.html}. In particular, the | ||
| 863 | manual describes additional font properties that influence how the | ||
| 864 | font is hinted, antialiased, or scaled. | ||
| 865 | |||
| 866 | The second way to specify a font is to use a @dfn{GTK font | ||
| 867 | description}. Like Fontconfig patterns, GTK font descriptions match | ||
| 868 | only client-side fonts provided by Xft and Fontconfig. They have the | ||
| 869 | syntax | ||
| 870 | |||
| 871 | @smallexample | ||
| 872 | @var{fontname} [@var{properties}] [@var{fontsize}] | ||
| 873 | @end smallexample | ||
| 874 | |||
| 875 | @noindent | ||
| 876 | where @var{fontname} is the family name, @var{properties} is a list of | ||
| 877 | property values separated by spaces, and @var{fontsize} is the point | ||
| 878 | size. The properties that you may specify are as follows: | ||
| 879 | |||
| 880 | @table @samp | ||
| 881 | @item style | ||
| 882 | One of @samp{roman}, @samp{italic} or @samp{oblique}. If omitted, the | ||
| 883 | @samp{roman} style is used. | ||
| 884 | @item weight | ||
| 885 | One of @samp{medium}, @samp{ultra-light}, @samp{light}, | ||
| 886 | @samp{semi-bold}, or @samp{bold}. If omitted, @samp{medium} weight is | ||
| 887 | used. | ||
| 888 | @end table | ||
| 889 | |||
| 890 | @noindent | ||
| 891 | Here are some examples of GTK font descriptions: | ||
| 892 | |||
| 893 | @smallexample | ||
| 894 | Monospace 12 | ||
| 895 | Monospace Bold Italic 12 | ||
| 896 | @end smallexample | ||
| 897 | |||
| 898 | @cindex XLFD | ||
| 899 | @cindex X Logical Font Description | ||
| 900 | The third way to specify a font is to use an @dfn{XLFD} (@dfn{X | ||
| 901 | Logical Font Description}), which is the traditional method for | ||
| 902 | specifying fonts under X. Each XLFD consists of fourteen words or | ||
| 903 | numbers, separated by dashes, like this: | ||
| 904 | |||
| 905 | @smallexample | ||
| 906 | -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 | ||
| 907 | @end smallexample | ||
| 908 | |||
| 909 | @noindent | ||
| 910 | A wildcard character (@samp{*}) in an XLFD matches any sequence of | ||
| 911 | characters (including none), and @samp{?} matches any single | ||
| 912 | character. However, matching is implementation-dependent, and can be | ||
| 913 | inaccurate when wildcards match dashes in a long name. For reliable | ||
| 914 | results, supply all 14 dashes and use wildcards only within a field. | ||
| 915 | Case is insignificant in an XLFD. The syntax for an XLFD is as | ||
| 916 | follows: | ||
| 917 | |||
| 918 | @smallexample | ||
| 919 | -@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} | ||
| 920 | @dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{registry}-@var{encoding} | ||
| 921 | @end smallexample | ||
| 922 | |||
| 923 | @noindent | ||
| 924 | The entries have the following meanings: | ||
| 925 | |||
| 926 | @table @var | ||
| 927 | @item maker | ||
| 928 | The name of the font manufacturer. | ||
| 929 | @item family | ||
| 930 | The name of the font family (e.g. @samp{courier}). | ||
| 931 | @item weight | ||
| 932 | The font weight---normally either @samp{bold}, @samp{medium} or | ||
| 933 | @samp{light}. Some font names support other values. | ||
| 934 | @item slant | ||
| 935 | The font slant---normally @samp{r} (roman), @samp{i} (italic), | ||
| 936 | @samp{o} (oblique), @samp{ri} (reverse italic), or @samp{ot} (other). | ||
| 937 | Some font names support other values. | ||
| 938 | @item widthtype | ||
| 939 | The font width---normally @samp{condensed}, @samp{extended}, | ||
| 940 | @samp{semicondensed} or @samp{normal} (some font names support other | ||
| 941 | values). | ||
| 942 | @item style | ||
| 943 | An optional additional style name. Usually it is empty---most long | ||
| 944 | font names have two hyphens in a row at this point. | ||
| 945 | @item pixels | ||
| 946 | The font height, in pixels. | ||
| 947 | @item height | ||
| 948 | The font height on the screen, measured in tenths of a printer's | ||
| 949 | point. This is the point size of the font, times ten. For a given | ||
| 950 | vertical resolution, @var{height} and @var{pixels} are proportional; | ||
| 951 | therefore, it is common to specify just one of them and use @samp{*} | ||
| 952 | for the other. | ||
| 953 | @item horiz | ||
| 954 | The horizontal resolution, in pixels per inch, of the screen for which | ||
| 955 | the font is intended. | ||
| 956 | @item vert | ||
| 957 | The vertical resolution, in pixels per inch, of the screen for which | ||
| 958 | the font is intended. Normally the resolution of the fonts on your | ||
| 959 | system is the right value for your screen; therefore, you normally | ||
| 960 | specify @samp{*} for this and @var{horiz}. | ||
| 961 | @item spacing | ||
| 962 | This is @samp{m} (monospace), @samp{p} (proportional) or @samp{c} | ||
| 963 | (character cell). | ||
| 964 | @item width | ||
| 965 | The average character width, in pixels, multiplied by ten. | ||
| 966 | @item registry | ||
| 967 | @itemx encoding | ||
| 968 | The X font character set that the font depicts. (X font character | ||
| 969 | sets are not the same as Emacs character sets, but they are similar.) | ||
| 970 | You can use the @command{xfontsel} program to check which choices you | ||
| 971 | have. Normally you should use @samp{iso8859} for @var{registry} and | ||
| 972 | @samp{1} for @var{encoding}. | ||
| 973 | @end table | ||
| 974 | |||
| 975 | Some fonts have shorter nicknames, which you can use instead of a | ||
| 976 | normal font specification. For instance, | ||
| 977 | |||
| 978 | @smallexample | ||
| 979 | -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 | ||
| 980 | @end smallexample | ||
| 981 | |||
| 982 | @noindent | ||
| 983 | is equivalent to @samp{6x13}. This is the fourth and final method of | ||
| 984 | specifying a font. | ||
| 985 | |||
| 986 | @cindex listing system fonts | ||
| 987 | You will probably want to use a fixed-width default font---that is, | ||
| 988 | a font in which all characters have the same width. Here's how to use | ||
| 989 | the @command{fc-list} command to list all fixed-width Xft and | ||
| 990 | Fontconfig fonts available on your system: | ||
| 991 | |||
| 992 | @example | ||
| 993 | fc-list :spacing=mono | ||
| 994 | fc-list :spacing=charcell | ||
| 995 | @end example | ||
| 996 | |||
| 997 | For server-side X fonts, any font with @samp{m} or @samp{c} in the | ||
| 998 | @var{spacing} field of the XLFD is a fixed-width font. Here's how to | ||
| 999 | use the @command{xlsfonts} program to list all the fixed-width fonts | ||
| 1000 | available on your system: | ||
| 1001 | |||
| 1002 | @example | ||
| 1003 | xlsfonts -fn '*x*' | egrep "^[0-9]+x[0-9]+" | ||
| 1004 | xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*' | ||
| 1005 | xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*' | ||
| 1006 | @end example | ||
| 1007 | |||
| 1008 | @noindent | ||
| 1009 | To see what a particular font looks like, use the @command{xfd} command. | ||
| 1010 | For example: | ||
| 1011 | |||
| 1012 | @example | ||
| 1013 | xfd -fn 6x13 | ||
| 1014 | @end example | ||
| 1015 | |||
| 1016 | @noindent | ||
| 1017 | displays the entire font @samp{6x13}. | ||
| 1018 | |||
| 1019 | While running Emacs, you can set the font of a specific kind of text | ||
| 1020 | (@pxref{Faces}), or of a particular frame (@pxref{Frame Parameters}). | ||
| 1021 | 782 | ||
| 1022 | @node Colors | 783 | @node Colors |
| 1023 | @appendixsec Window Color Options | 784 | @appendixsec Window Color Options |
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index aa2d92b3b04..f1a8b0aa9c1 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -1099,6 +1099,15 @@ then updating their lines in the buffer to indicate that status. | |||
| 1099 | If you use @kbd{l} on a subdirectory header line, it updates the | 1099 | If you use @kbd{l} on a subdirectory header line, it updates the |
| 1100 | contents of the corresponding subdirectory. | 1100 | contents of the corresponding subdirectory. |
| 1101 | 1101 | ||
| 1102 | @vindex dired-auto-revert-buffer | ||
| 1103 | If you use @kbd{C-x d} or some other Dired command to visit a | ||
| 1104 | directory that is already being shown in a Dired buffer, Dired | ||
| 1105 | switches to that buffer but does not update it. If the buffer is not | ||
| 1106 | up-to-date, Dired displays a warning telling you to type @key{g} to | ||
| 1107 | update it. You can also tell Emacs to revert each Dired buffer | ||
| 1108 | automatically when you revisit it, by setting the variable | ||
| 1109 | @code{dired-auto-revert-buffer} to a non-@code{nil} value. | ||
| 1110 | |||
| 1102 | @kindex k @r{(Dired)} | 1111 | @kindex k @r{(Dired)} |
| 1103 | @findex dired-do-kill-lines | 1112 | @findex dired-do-kill-lines |
| 1104 | To delete the specified @emph{file lines} from the buffer---not | 1113 | To delete the specified @emph{file lines} from the buffer---not |
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 846359a3168..7e8c2052d94 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -12,8 +12,8 @@ This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@* | |||
| 12 | updated for Emacs version @value{EMACSVER}. | 12 | updated for Emacs version @value{EMACSVER}. |
| 13 | 13 | ||
| 14 | Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, | 14 | Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, |
| 15 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 15 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 16 | Free Software Foundation, Inc. | 16 | 2010 Free Software Foundation, Inc. |
| 17 | 17 | ||
| 18 | @quotation | 18 | @quotation |
| 19 | Permission is granted to copy, distribute and/or modify this document | 19 | Permission is granted to copy, distribute and/or modify this document |
| @@ -502,6 +502,7 @@ Frames and Graphical Displays | |||
| 502 | * Mode Line Mouse:: Mouse clicks on the mode line. | 502 | * Mode Line Mouse:: Mouse clicks on the mode line. |
| 503 | * Creating Frames:: Creating additional Emacs frames with various contents. | 503 | * Creating Frames:: Creating additional Emacs frames with various contents. |
| 504 | * Frame Commands:: Iconifying, deleting, and switching frames. | 504 | * Frame Commands:: Iconifying, deleting, and switching frames. |
| 505 | * Fonts:: Changing the frame font. | ||
| 505 | * Speedbar:: How to make and use a speedbar frame. | 506 | * Speedbar:: How to make and use a speedbar frame. |
| 506 | * Multiple Displays:: How one Emacs job can talk to several displays. | 507 | * Multiple Displays:: How one Emacs job can talk to several displays. |
| 507 | * Special Buffer Frames:: You can make certain buffers have their own frames. | 508 | * Special Buffer Frames:: You can make certain buffers have their own frames. |
| @@ -1371,8 +1372,8 @@ Kahle, Tokuya Kameshima, Lute Kamstra, David Kastrup, David Kaufman, | |||
| 1371 | Henry Kautz, Taichi Kawabata, Howard Kaye, Michael Kifer, Richard King, | 1372 | Henry Kautz, Taichi Kawabata, Howard Kaye, Michael Kifer, Richard King, |
| 1372 | Peter Kleiweg, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: Kolodney, | 1373 | Peter Kleiweg, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: Kolodney, |
| 1373 | David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian | 1374 | David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian |
| 1374 | Kremer, Ryszard Kubiak, Geoff Kuenning, David K@aa{}gedal, Daniel | 1375 | Kremer, Ryszard Kubiak, David K@aa{}gedal, Daniel LaLiberte, |
| 1375 | LaLiberte, Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, | 1376 | Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, |
| 1376 | Vinicius Jose Latorre, Werner Lemberg, Frederic Lepied, Peter | 1377 | Vinicius Jose Latorre, Werner Lemberg, Frederic Lepied, Peter |
| 1377 | Liljenberg, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, | 1378 | Liljenberg, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, |
| 1378 | Juri Linkov, Francis Litterio, Emilio C. Lopes, K@'{a}roly L@H{o}rentey, | 1379 | Juri Linkov, Francis Litterio, Emilio C. Lopes, K@'{a}roly L@H{o}rentey, |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index b890b773765..b4a8500df65 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -39,6 +39,7 @@ so that you can use many of the features described in this chapter. | |||
| 39 | * Mode Line Mouse:: Mouse clicks on the mode line. | 39 | * Mode Line Mouse:: Mouse clicks on the mode line. |
| 40 | * Creating Frames:: Creating additional Emacs frames with various contents. | 40 | * Creating Frames:: Creating additional Emacs frames with various contents. |
| 41 | * Frame Commands:: Iconifying, deleting, and switching frames. | 41 | * Frame Commands:: Iconifying, deleting, and switching frames. |
| 42 | * Fonts:: Changing the frame font. | ||
| 42 | * Speedbar:: How to make and use a speedbar frame. | 43 | * Speedbar:: How to make and use a speedbar frame. |
| 43 | * Multiple Displays:: How one Emacs job can talk to several displays. | 44 | * Multiple Displays:: How one Emacs job can talk to several displays. |
| 44 | * Special Buffer Frames:: You can make certain buffers have their own frames. | 45 | * Special Buffer Frames:: You can make certain buffers have their own frames. |
| @@ -571,25 +572,19 @@ only the initial frame. @xref{Initial Parameters,,, elisp, The Emacs | |||
| 571 | Lisp Reference Manual}, for more information. | 572 | Lisp Reference Manual}, for more information. |
| 572 | 573 | ||
| 573 | @cindex font (default) | 574 | @cindex font (default) |
| 574 | For instance, one way to specify the principal font for all your | 575 | Here is an example of using @code{default-frame-alist} to specify |
| 575 | Emacs frames is to modify @code{default-frame-alist} to specify the | 576 | the default foreground color and font: |
| 576 | @code{font} parameter (@pxref{Font X}): | ||
| 577 | 577 | ||
| 578 | @example | 578 | @example |
| 579 | (add-to-list 'default-frame-alist '(font . "10x20")) | 579 | (add-to-list 'default-frame-alist '(font . "10x20")) |
| 580 | @end example | ||
| 581 | |||
| 582 | @noindent | ||
| 583 | Here's a similar example for specifying a foreground color: | ||
| 584 | |||
| 585 | @example | ||
| 586 | (add-to-list 'default-frame-alist '(foreground-color . "blue")) | 580 | (add-to-list 'default-frame-alist '(foreground-color . "blue")) |
| 587 | @end example | 581 | @end example |
| 588 | 582 | ||
| 589 | @noindent | 583 | @noindent |
| 590 | By putting such customizations in your init file, you can control the | 584 | By putting such customizations in your init file, you can control the |
| 591 | appearance of all the frames Emacs creates, including the initial one. | 585 | appearance of all the frames Emacs creates, including the initial one |
| 592 | @xref{Init File}. | 586 | (@pxref{Init File}). @xref{Fonts}, for other ways to set the default |
| 587 | font. | ||
| 593 | 588 | ||
| 594 | @node Frame Commands | 589 | @node Frame Commands |
| 595 | @section Frame Commands | 590 | @section Frame Commands |
| @@ -645,6 +640,278 @@ select it, the variable should be @code{nil}. The default is | |||
| 645 | a frame that raises, so this variable has no effect in the native | 640 | a frame that raises, so this variable has no effect in the native |
| 646 | MS-Windows build of Emacs. | 641 | MS-Windows build of Emacs. |
| 647 | 642 | ||
| 643 | @node Fonts | ||
| 644 | @section Fonts | ||
| 645 | @cindex fonts | ||
| 646 | |||
| 647 | By default, Emacs displays text in X using a 12-point monospace | ||
| 648 | font. There are several different ways to specify a different font: | ||
| 649 | |||
| 650 | @itemize | ||
| 651 | @item | ||
| 652 | Click on @samp{Set Default Font} in the @samp{Options} menu. To save | ||
| 653 | this for future sessions, click on @samp{Save Options} in the | ||
| 654 | @samp{Options} menu. | ||
| 655 | |||
| 656 | @item | ||
| 657 | Add a line to your init file (@pxref{Init File}), modifying the | ||
| 658 | variable @code{default-frame-alist} to specify the @code{font} | ||
| 659 | parameter (@pxref{Creating Frames}), like this: | ||
| 660 | |||
| 661 | @smallexample | ||
| 662 | (add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-12")) | ||
| 663 | @end smallexample | ||
| 664 | |||
| 665 | @cindex X defaults file | ||
| 666 | @cindex X resources file | ||
| 667 | @item | ||
| 668 | Add an @samp{emacs.font} X resource setting to your X resource file, | ||
| 669 | like this: | ||
| 670 | |||
| 671 | @smallexample | ||
| 672 | emacs.font: DejaVu Sans Mono-12 | ||
| 673 | @end smallexample | ||
| 674 | |||
| 675 | @noindent | ||
| 676 | You must restart X, or use the @command{xrdb} command, for the X | ||
| 677 | resources file to take effect. @xref{Resources}. When specifying a | ||
| 678 | font in your X resources file, you should not quote it. | ||
| 679 | |||
| 680 | @item | ||
| 681 | If you are running Emacs on the GNOME desktop, you can tell Emacs to | ||
| 682 | use the default system font by setting the variable | ||
| 683 | @code{font-use-system-font} to @code{t} (the default is @code{nil}). | ||
| 684 | For this to work, Emacs must be compiled with Gconf support; this is | ||
| 685 | done automatically if the libraries are present at compile time. | ||
| 686 | |||
| 687 | @item | ||
| 688 | Use the command line option @samp{-fn} (or @samp{--font}). @xref{Font | ||
| 689 | X}. | ||
| 690 | @end itemize | ||
| 691 | |||
| 692 | @cindex fontconfig | ||
| 693 | On X, there are four different ways to express a ``font name''. The | ||
| 694 | first is to use a @dfn{Fontconfig pattern}. Fontconfig patterns have | ||
| 695 | the following form: | ||
| 696 | |||
| 697 | @smallexample | ||
| 698 | @var{fontname}[-@var{fontsize}][:@var{name1}=@var{values1}][:@var{name2}=@var{values2}]... | ||
| 699 | @end smallexample | ||
| 700 | |||
| 701 | @noindent | ||
| 702 | Within this format, any of the elements in braces may be omitted. | ||
| 703 | Here, @var{fontname} is the @dfn{family name} of the font, such as | ||
| 704 | @samp{Monospace} or @samp{DejaVu Serif}; @var{fontsize} is the | ||
| 705 | @dfn{point size} of the font (one @dfn{printer's point} is about 1/72 | ||
| 706 | of an inch); and the @samp{@var{name}=@var{values}} entries specify | ||
| 707 | settings such as the slant and weight of the font. Each @var{values} | ||
| 708 | may be a single value, or a list of values separated by commas. In | ||
| 709 | addition, some property values are valid with only one kind of | ||
| 710 | property name, in which case the @samp{@var{name}=} part may be | ||
| 711 | omitted. | ||
| 712 | |||
| 713 | Here is a list of common font properties: | ||
| 714 | |||
| 715 | @table @samp | ||
| 716 | @item slant | ||
| 717 | One of @samp{italic}, @samp{oblique} or @samp{roman}. | ||
| 718 | |||
| 719 | @item weight | ||
| 720 | One of @samp{light}, @samp{medium}, @samp{demibold}, @samp{bold} or | ||
| 721 | @samp{black}. | ||
| 722 | |||
| 723 | @item style | ||
| 724 | Some fonts define special styles which are a combination of slant and | ||
| 725 | weight. For instance, @samp{Dejavu Sans} defines the @samp{book} | ||
| 726 | style, which overrides the slant and weight properties. | ||
| 727 | |||
| 728 | @item width | ||
| 729 | One of @samp{condensed}, @samp{normal}, or @samp{expanded}. | ||
| 730 | |||
| 731 | @item spacing | ||
| 732 | One of @samp{monospace}, @samp{proportional}, @samp{dual-width}, or | ||
| 733 | @samp{charcell}. | ||
| 734 | @end table | ||
| 735 | |||
| 736 | @noindent | ||
| 737 | Here are some examples of Fontconfig patterns: | ||
| 738 | |||
| 739 | @smallexample | ||
| 740 | Monospace | ||
| 741 | Monospace-12 | ||
| 742 | Monospace-12:bold | ||
| 743 | DejaVu Sans Mono:bold:italic | ||
| 744 | Monospace-12:weight=bold:slant=italic | ||
| 745 | @end smallexample | ||
| 746 | |||
| 747 | See the Fontconfig manual for a more detailed description of | ||
| 748 | Fontconfig patterns. This manual is located in the file | ||
| 749 | @file{fontconfig-user.html}, distributed with Fontconfig. It is also | ||
| 750 | available online at @url{http://fontconfig.org/fontconfig-user.html}. | ||
| 751 | In particular, that manual describes additional font properties that | ||
| 752 | influence how the font is hinted, antialiased, or scaled. | ||
| 753 | |||
| 754 | The second way to specify a font is to use a @dfn{GTK font | ||
| 755 | description}. These have the syntax | ||
| 756 | |||
| 757 | @smallexample | ||
| 758 | @var{fontname} [@var{properties}] [@var{fontsize}] | ||
| 759 | @end smallexample | ||
| 760 | |||
| 761 | @noindent | ||
| 762 | where @var{fontname} is the family name, @var{properties} is a list of | ||
| 763 | property values separated by spaces, and @var{fontsize} is the point | ||
| 764 | size. The properties that you may specify are as follows: | ||
| 765 | |||
| 766 | @table @samp | ||
| 767 | @item style | ||
| 768 | One of @samp{roman}, @samp{italic} or @samp{oblique}. If omitted, the | ||
| 769 | @samp{roman} style is used. | ||
| 770 | @item weight | ||
| 771 | One of @samp{medium}, @samp{ultra-light}, @samp{light}, | ||
| 772 | @samp{semi-bold}, or @samp{bold}. If omitted, @samp{medium} weight is | ||
| 773 | used. | ||
| 774 | @end table | ||
| 775 | |||
| 776 | @noindent | ||
| 777 | Here are some examples of GTK font descriptions: | ||
| 778 | |||
| 779 | @smallexample | ||
| 780 | Monospace 12 | ||
| 781 | Monospace Bold Italic 12 | ||
| 782 | @end smallexample | ||
| 783 | |||
| 784 | @cindex XLFD | ||
| 785 | @cindex X Logical Font Description | ||
| 786 | The third way to specify a font is to use an @dfn{XLFD} (@dfn{X | ||
| 787 | Logical Font Description}). This is the traditional method for | ||
| 788 | specifying fonts under X. Each XLFD consists of fourteen words or | ||
| 789 | numbers, separated by dashes, like this: | ||
| 790 | |||
| 791 | @smallexample | ||
| 792 | -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 | ||
| 793 | @end smallexample | ||
| 794 | |||
| 795 | @noindent | ||
| 796 | A wildcard character (@samp{*}) in an XLFD matches any sequence of | ||
| 797 | characters (including none), and @samp{?} matches any single | ||
| 798 | character. However, matching is implementation-dependent, and can be | ||
| 799 | inaccurate when wildcards match dashes in a long name. For reliable | ||
| 800 | results, supply all 14 dashes and use wildcards only within a field. | ||
| 801 | Case is insignificant in an XLFD. The syntax for an XLFD is as | ||
| 802 | follows: | ||
| 803 | |||
| 804 | @smallexample | ||
| 805 | -@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} | ||
| 806 | @dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{registry}-@var{encoding} | ||
| 807 | @end smallexample | ||
| 808 | |||
| 809 | @noindent | ||
| 810 | The entries have the following meanings: | ||
| 811 | |||
| 812 | @table @var | ||
| 813 | @item maker | ||
| 814 | The name of the font manufacturer. | ||
| 815 | @item family | ||
| 816 | The name of the font family (e.g. @samp{courier}). | ||
| 817 | @item weight | ||
| 818 | The font weight---normally either @samp{bold}, @samp{medium} or | ||
| 819 | @samp{light}. Some font names support other values. | ||
| 820 | @item slant | ||
| 821 | The font slant---normally @samp{r} (roman), @samp{i} (italic), | ||
| 822 | @samp{o} (oblique), @samp{ri} (reverse italic), or @samp{ot} (other). | ||
| 823 | Some font names support other values. | ||
| 824 | @item widthtype | ||
| 825 | The font width---normally @samp{condensed}, @samp{extended}, | ||
| 826 | @samp{semicondensed} or @samp{normal} (some font names support other | ||
| 827 | values). | ||
| 828 | @item style | ||
| 829 | An optional additional style name. Usually it is empty---most long | ||
| 830 | font names have two hyphens in a row at this point. | ||
| 831 | @item pixels | ||
| 832 | The font height, in pixels. | ||
| 833 | @item height | ||
| 834 | The font height on the screen, measured in tenths of a printer's | ||
| 835 | point. This is the point size of the font, times ten. For a given | ||
| 836 | vertical resolution, @var{height} and @var{pixels} are proportional; | ||
| 837 | therefore, it is common to specify just one of them and use @samp{*} | ||
| 838 | for the other. | ||
| 839 | @item horiz | ||
| 840 | The horizontal resolution, in pixels per inch, of the screen for which | ||
| 841 | the font is intended. | ||
| 842 | @item vert | ||
| 843 | The vertical resolution, in pixels per inch, of the screen for which | ||
| 844 | the font is intended. Normally the resolution of the fonts on your | ||
| 845 | system is the right value for your screen; therefore, you normally | ||
| 846 | specify @samp{*} for this and @var{horiz}. | ||
| 847 | @item spacing | ||
| 848 | This is @samp{m} (monospace), @samp{p} (proportional) or @samp{c} | ||
| 849 | (character cell). | ||
| 850 | @item width | ||
| 851 | The average character width, in pixels, multiplied by ten. | ||
| 852 | @item registry | ||
| 853 | @itemx encoding | ||
| 854 | The X font character set that the font depicts. (X font character | ||
| 855 | sets are not the same as Emacs character sets, but they are similar.) | ||
| 856 | You can use the @command{xfontsel} program to check which choices you | ||
| 857 | have. Normally you should use @samp{iso8859} for @var{registry} and | ||
| 858 | @samp{1} for @var{encoding}. | ||
| 859 | @end table | ||
| 860 | |||
| 861 | The fourth and final method of specifying a font is to use a ``font | ||
| 862 | nickname''. Certain fonts have shorter nicknames, which you can use | ||
| 863 | instead of a normal font specification. For instance, @samp{6x13} is | ||
| 864 | equivalent to | ||
| 865 | |||
| 866 | @smallexample | ||
| 867 | -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 | ||
| 868 | @end smallexample | ||
| 869 | |||
| 870 | @cindex client-side fonts | ||
| 871 | @cindex server-side fonts | ||
| 872 | On X, Emacs recognizes two types of fonts: @dfn{client-side} fonts, | ||
| 873 | which are provided by the Xft and Fontconfig libraries, and | ||
| 874 | @dfn{server-side} fonts, which are provided by the X server itself. | ||
| 875 | Most client-side fonts support advanced font features such as | ||
| 876 | antialiasing and subpixel hinting, while server-side fonts do not. | ||
| 877 | Fontconfig and GTK patterns match only client-side fonts. | ||
| 878 | |||
| 879 | @cindex listing system fonts | ||
| 880 | You will probably want to use a fixed-width default font---that is, | ||
| 881 | a font in which all characters have the same width. For Xft and | ||
| 882 | Fontconfig fonts, you can use the @command{fc-list} command to list | ||
| 883 | the available fixed-width fonts, like this: | ||
| 884 | |||
| 885 | @example | ||
| 886 | fc-list :spacing=mono fc-list :spacing=charcell | ||
| 887 | @end example | ||
| 888 | |||
| 889 | @noindent | ||
| 890 | For server-side X fonts, you can use the @command{xlsfonts} program to | ||
| 891 | list the available fixed-width fonts, like this: | ||
| 892 | |||
| 893 | @example | ||
| 894 | xlsfonts -fn '*x*' | egrep "^[0-9]+x[0-9]+" | ||
| 895 | xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*' | ||
| 896 | xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*' | ||
| 897 | @end example | ||
| 898 | |||
| 899 | @noindent | ||
| 900 | Any font with @samp{m} or @samp{c} in the @var{spacing} field of the | ||
| 901 | XLFD is a fixed-width font. To see what a particular font looks like, | ||
| 902 | use the @command{xfd} command. For example: | ||
| 903 | |||
| 904 | @example | ||
| 905 | xfd -fn 6x13 | ||
| 906 | @end example | ||
| 907 | |||
| 908 | @noindent | ||
| 909 | displays the entire font @samp{6x13}. | ||
| 910 | |||
| 911 | While running Emacs, you can also set the font of a specific kind of | ||
| 912 | text (@pxref{Faces}), or a particular frame (@pxref{Frame | ||
| 913 | Parameters}). | ||
| 914 | |||
| 648 | @node Speedbar | 915 | @node Speedbar |
| 649 | @section Speedbar Frames | 916 | @section Speedbar Frames |
| 650 | @cindex speedbar | 917 | @cindex speedbar |
| @@ -957,7 +1224,7 @@ menu-bar-mode} or by customizing the variable @code{menu-bar-mode}. | |||
| 957 | With no argument, this command toggles Menu Bar mode, a | 1224 | With no argument, this command toggles Menu Bar mode, a |
| 958 | minor mode. With an argument, the command turns Menu Bar mode on if the | 1225 | minor mode. With an argument, the command turns Menu Bar mode on if the |
| 959 | argument is positive, off if the argument is not positive. You can use | 1226 | argument is positive, off if the argument is not positive. You can use |
| 960 | the X resource @samp{menuBarLines} to control the initial setting of | 1227 | the X resource @samp{menuBar} to control the initial setting of |
| 961 | Menu Bar mode. @xref{Resources}. | 1228 | Menu Bar mode. @xref{Resources}. |
| 962 | 1229 | ||
| 963 | @kindex C-Mouse-3 @r{(when menu bar is disabled)} | 1230 | @kindex C-Mouse-3 @r{(when menu bar is disabled)} |
diff --git a/doc/emacs/indent.texi b/doc/emacs/indent.texi index ad6d60fc28e..7ba3909e49f 100644 --- a/doc/emacs/indent.texi +++ b/doc/emacs/indent.texi | |||
| @@ -37,34 +37,38 @@ Indent from point to the next prespecified tab stop column | |||
| 37 | Indent from point to under an indentation point in the previous line. | 37 | Indent from point to under an indentation point in the previous line. |
| 38 | @end table | 38 | @end table |
| 39 | 39 | ||
| 40 | In most major modes, the @key{TAB} key runs the command | 40 | @noindent |
| 41 | @code{indent-for-tab-command}, which either performs indentation or | 41 | The @key{TAB} key runs @code{indent-for-tab-command} in most major |
| 42 | inserts whitespace at point, depending on the situation. | 42 | modes (in C and related modes, @key{TAB} runs a separate command, |
| 43 | 43 | @code{c-indent-line-or-region}, which behaves similarly). The major | |
| 44 | In programming modes such as Lisp mode and C mode, @key{TAB} indents | 44 | mode determines just what this entails. |
| 45 | the current line if the region is inactive. If the region is active, | 45 | |
| 46 | it indents every line in the region (@pxref{Mark}). Indentation means | 46 | In text modes, @key{TAB} inserts some combination of space and tab |
| 47 | adding or removing some combination of space and tab characters | 47 | characters to advance point to the next tab stop (@pxref{Tab Stops}). |
| 48 | (@dfn{whitespace characters}) at the start of the line, in a way that | 48 | If the region is active and spans multiple lines, it advances the |
| 49 | makes sense given the text in the preceding lines. Exactly how | 49 | first character of each of those lines to the next tab stop |
| 50 | indentation is performed depends on the major mode. @xref{Program | 50 | (@pxref{Using Region}). For the purposes of this command, the |
| 51 | Indent}. | 51 | position of the first non-whitespace character on the preceding line |
| 52 | 52 | is treated as an additional tab stop. Thus, you can use @key{TAB} to | |
| 53 | In text modes, @key{TAB} inserts some whitespace characters to | 53 | ``align'' point with the preceding line. |
| 54 | advance point to the next tab stop (@pxref{Tab Stops}). For the | 54 | |
| 55 | purposes of this command, the position of the first non-whitespace | 55 | In programming modes, @key{TAB} adds or removes some combination of |
| 56 | character on the preceding line is treated as an additional tab stop. | 56 | space and tab characters at the start of the line, in a way that makes |
| 57 | You can therefore use @key{TAB} to ``align'' point with the preceding | 57 | sense given the text in the preceding lines. If the region is active |
| 58 | line. If the region is active, @key{TAB} performs this action on | 58 | and spans multiple lines, all those lines are indented this way. If |
| 59 | every line in the region. | 59 | point was initially within the current line's indentation, it is |
| 60 | positioned after that indentation; otherwise, it remains at same point | ||
| 61 | in the newly-indented text. @xref{Program Indent}. | ||
| 60 | 62 | ||
| 61 | @vindex tab-width | 63 | @vindex tab-width |
| 62 | Indentation is often performed with the help of @dfn{tab characters} | 64 | Normally, indentation commands insert (or remove) an optimal mix of |
| 63 | (@acronym{ASCII} code 9), which are displayed as a stretch of empty space | 65 | @dfn{tab characters} and spaces to align to the desired column. Tab |
| 64 | extending to the next @dfn{display tab stop}. By default, there is | 66 | characters (@acronym{ASCII} code 9) are displayed as a stretch of |
| 65 | one display tab stop every eight columns; the number of columns is | 67 | empty space extending to the next @dfn{display tab stop}. By default, |
| 66 | determined by the variable @code{tab-width}. You can insert a single | 68 | there is one display tab stop every eight columns; the number of |
| 67 | tab character by typing @kbd{C-q @key{TAB}}. @xref{Text Display}. | 69 | columns is determined by the variable @code{tab-width}. You can |
| 70 | insert a single tab character by typing @kbd{C-q @key{TAB}}. | ||
| 71 | @xref{Text Display}. | ||
| 68 | 72 | ||
| 69 | @findex edit-tab-stops | 73 | @findex edit-tab-stops |
| 70 | @findex tab-to-tab-stop | 74 | @findex tab-to-tab-stop |
| @@ -74,11 +78,20 @@ whitespace characters around point, inserting just enough whitespace | |||
| 74 | to advance point up to the next tab stop. By default, this involves | 78 | to advance point up to the next tab stop. By default, this involves |
| 75 | deleting the existing whitespace and inserting a single tab character. | 79 | deleting the existing whitespace and inserting a single tab character. |
| 76 | 80 | ||
| 77 | Normally, most of these indentation commands insert an optimal mix | 81 | @xref{Just Spaces}, for how to disable use of tabs. However, |
| 78 | of tabs and spaces to align to the desired column. @xref{Just | 82 | @kbd{C-q @key{TAB}} always inserts a tab, even when tabs are disabled |
| 79 | Spaces}, for how to disable use of tabs. However, @kbd{C-q @key{TAB}} | 83 | for the indentation commands. |
| 80 | always inserts a tab, even when tabs are disabled for the indentation | 84 | |
| 81 | commands. | 85 | @vindex tab-always-indent |
| 86 | The variable @code{tab-always-indent} tweaks the behavior of the | ||
| 87 | @key{TAB} (@code{indent-for-tab-command}) command. The default value, | ||
| 88 | @code{t}, gives the behavior described above. If you change the value | ||
| 89 | to the symbol @code{complete}, then @key{TAB} first tries to indent | ||
| 90 | the current line, and if the line was already indented, it tries to | ||
| 91 | complete the text at point (@pxref{Symbol Completion}). If the value | ||
| 92 | is @code{nil}, then @key{TAB} indents the current line only if point | ||
| 93 | is at the left margin or in the line's indentation; otherwise, it | ||
| 94 | inserts a real tab character. | ||
| 82 | 95 | ||
| 83 | @menu | 96 | @menu |
| 84 | * Indentation Commands:: Various commands and techniques for indentation. | 97 | * Indentation Commands:: Various commands and techniques for indentation. |
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 5eb1b66324f..00aa9047aec 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -1442,7 +1442,7 @@ field. | |||
| 1442 | fontset is called @code{create-fontset-from-fontset-spec}. You can also | 1442 | fontset is called @code{create-fontset-from-fontset-spec}. You can also |
| 1443 | call this function explicitly to create a fontset. | 1443 | call this function explicitly to create a fontset. |
| 1444 | 1444 | ||
| 1445 | @xref{Font X}, for more information about font naming in X. | 1445 | @xref{Fonts}, for more information about font naming. |
| 1446 | 1446 | ||
| 1447 | @node Modifying Fontsets | 1447 | @node Modifying Fontsets |
| 1448 | @section Modifying Fontsets | 1448 | @section Modifying Fontsets |
| @@ -1619,7 +1619,7 @@ belong to one or more charsets. | |||
| 1619 | that you don't have to worry about them. However, it is sometimes | 1619 | that you don't have to worry about them. However, it is sometimes |
| 1620 | helpful to know some of the underlying details about charsets. | 1620 | helpful to know some of the underlying details about charsets. |
| 1621 | 1621 | ||
| 1622 | One example is font selection (@pxref{Font X}). Each language | 1622 | One example is font selection (@pxref{Fonts}). Each language |
| 1623 | environment (@pxref{Language Environments}) defines a ``priority | 1623 | environment (@pxref{Language Environments}) defines a ``priority |
| 1624 | list'' for the various charsets. When searching for a font, Emacs | 1624 | list'' for the various charsets. When searching for a font, Emacs |
| 1625 | initially attempts to find one that can display the highest-priority | 1625 | initially attempts to find one that can display the highest-priority |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 496b6efe9fb..8c49a3fa699 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1294,13 +1294,25 @@ point to the end of the buffer, or on the region if it is active. | |||
| 1294 | @findex keep-lines | 1294 | @findex keep-lines |
| 1295 | 1295 | ||
| 1296 | @table @kbd | 1296 | @table @kbd |
| 1297 | @item M-x occur @key{RET} @var{regexp} @key{RET} | 1297 | @item M-x multi-isearch-buffers |
| 1298 | Display a list showing each line in the buffer that contains a match | 1298 | Prompt for one or more buffer names, ending with @key{RET}; then, |
| 1299 | for @var{regexp}. To limit the search to part of the buffer, narrow | 1299 | begin a multi-buffer incremental search in those buffers. (If the |
| 1300 | to that part (@pxref{Narrowing}). A numeric argument @var{n} | 1300 | search fails in one buffer, the next @kbd{C-s} tries searching the |
| 1301 | specifies that @var{n} lines of context are to be displayed before and | 1301 | next specified buffer, and so forth.) With a prefix argument, prompt |
| 1302 | after each matching line. Currently, @code{occur} can not correctly | 1302 | for a regexp and begin a multi-buffer incremental search in buffers |
| 1303 | handle multiline matches. | 1303 | matching that regexp. |
| 1304 | |||
| 1305 | @item M-x multi-isearch-buffers-regexp | ||
| 1306 | This command is just like @code{multi-isearch-buffers}, except it | ||
| 1307 | performs an incremental regexp search. | ||
| 1308 | |||
| 1309 | @item M-x occur | ||
| 1310 | Prompt for a regexp, and display a list showing each line in the | ||
| 1311 | buffer that contains a match for it. To limit the search to part of | ||
| 1312 | the buffer, narrow to that part (@pxref{Narrowing}). A numeric | ||
| 1313 | argument @var{n} specifies that @var{n} lines of context are to be | ||
| 1314 | displayed before and after each matching line. Currently, | ||
| 1315 | @code{occur} can not correctly handle multiline matches. | ||
| 1304 | 1316 | ||
| 1305 | @kindex RET @r{(Occur mode)} | 1317 | @kindex RET @r{(Occur mode)} |
| 1306 | @kindex o @r{(Occur mode)} | 1318 | @kindex o @r{(Occur mode)} |
| @@ -1325,41 +1337,42 @@ search is active; this uses the current search string. | |||
| 1325 | @item M-x list-matching-lines | 1337 | @item M-x list-matching-lines |
| 1326 | Synonym for @kbd{M-x occur}. | 1338 | Synonym for @kbd{M-x occur}. |
| 1327 | 1339 | ||
| 1328 | @item M-x multi-occur @key{RET} @var{buffers} @key{RET} @var{regexp} @key{RET} | 1340 | @item M-x multi-occur |
| 1329 | This function is just like @code{occur}, except it is able to search | 1341 | This command is just like @code{occur}, except it is able to search |
| 1330 | through multiple buffers. It asks you to specify the buffer names one by one. | 1342 | through multiple buffers. It asks you to specify the buffer names one |
| 1331 | 1343 | by one. | |
| 1332 | @item M-x multi-occur-in-matching-buffers @key{RET} @var{bufregexp} @key{RET} @var{regexp} @key{RET} | 1344 | |
| 1333 | This function is similar to @code{multi-occur}, except the buffers to | 1345 | @item M-x multi-occur-in-matching-buffers |
| 1334 | search are specified by a regular expression that matches visited | 1346 | This command is similar to @code{multi-occur}, except the buffers to |
| 1335 | file names. With a prefix argument, it uses the regular expression to match | 1347 | search are specified by a regular expression that matches visited file |
| 1336 | buffer names instead. | 1348 | names. With a prefix argument, it uses the regular expression to |
| 1337 | 1349 | match buffer names instead. | |
| 1338 | @item M-x how-many @key{RET} @var{regexp} @key{RET} | 1350 | |
| 1339 | Print the number of matches for @var{regexp} that exist in the buffer | 1351 | @item M-x how-many |
| 1340 | after point. If the region is active, this operates on the region | 1352 | Prompt for a regexp, and print the number of matches for it in the |
| 1341 | instead. | 1353 | buffer after point. If the region is active, this operates on the |
| 1342 | 1354 | region instead. | |
| 1343 | @item M-x flush-lines @key{RET} @var{regexp} @key{RET} | 1355 | |
| 1344 | This command deletes each line that contains a match for @var{regexp}, | 1356 | @item M-x flush-lines |
| 1345 | operating on the text after point; it deletes the current line if it | 1357 | Prompt for a regexp, and delete each line that contains a match for |
| 1346 | contains a match starting after point. If the region is active, it | 1358 | it, operating on the text after point. This command deletes the |
| 1347 | operates on the region instead; if a line partially contained in the | 1359 | current line if it contains a match starting after point. If the |
| 1348 | region contains a match entirely contained in the region, it is | 1360 | region is active, it operates on the region instead; if a line |
| 1349 | deleted. | 1361 | partially contained in the region contains a match entirely contained |
| 1362 | in the region, it is deleted. | ||
| 1350 | 1363 | ||
| 1351 | If a match is split across lines, @code{flush-lines} deletes all those | 1364 | If a match is split across lines, @code{flush-lines} deletes all those |
| 1352 | lines. It deletes the lines before starting to look for the next | 1365 | lines. It deletes the lines before starting to look for the next |
| 1353 | match; hence, it ignores a match starting on the same line at which | 1366 | match; hence, it ignores a match starting on the same line at which |
| 1354 | another match ended. | 1367 | another match ended. |
| 1355 | 1368 | ||
| 1356 | @item M-x keep-lines @key{RET} @var{regexp} @key{RET} | 1369 | @item M-x keep-lines |
| 1357 | This command deletes each line that @emph{does not} contain a match | 1370 | Prompt for a regexp, and delete each line that @emph{does not} contain |
| 1358 | for @var{regexp}, operating on the text after point; if point is not | 1371 | a match for it, operating on the text after point. If point is not at |
| 1359 | at the beginning of a line, it always keeps the current line. If the | 1372 | the beginning of a line, this command always keeps the current line. |
| 1360 | region is active, the command operates on the region instead; it never | 1373 | If the region is active, the command operates on the region instead; |
| 1361 | deletes lines that are only partially contained in the region (a | 1374 | it never deletes lines that are only partially contained in the region |
| 1362 | newline that ends a line counts as part of that line). | 1375 | (a newline that ends a line counts as part of that line). |
| 1363 | 1376 | ||
| 1364 | If a match is split across lines, this command keeps all those lines. | 1377 | If a match is split across lines, this command keeps all those lines. |
| 1365 | @end table | 1378 | @end table |
diff --git a/doc/emacs/xresources.texi b/doc/emacs/xresources.texi index a6aa567741e..75b6e3bbe4c 100644 --- a/doc/emacs/xresources.texi +++ b/doc/emacs/xresources.texi | |||
| @@ -193,7 +193,7 @@ Specifies whether to make the cursor blink. The default is @samp{on}. Use | |||
| 193 | @end ifnottex | 193 | @end ifnottex |
| 194 | 194 | ||
| 195 | @item @code{font} (class @code{Font}) | 195 | @item @code{font} (class @code{Font}) |
| 196 | Font name for the @code{default} font. @xref{Font X}. You can also | 196 | Font name for the @code{default} font. @xref{Fonts}. You can also |
| 197 | specify a fontset name (@pxref{Fontsets}). | 197 | specify a fontset name (@pxref{Fontsets}). |
| 198 | 198 | ||
| 199 | @item @code{fontBackend} (class @code{FontBackend}) | 199 | @item @code{fontBackend} (class @code{FontBackend}) |
| @@ -307,12 +307,14 @@ Name to display in the title bar of the initial Emacs frame. | |||
| 307 | @item @code{toolBar} (class @code{ToolBar}) | 307 | @item @code{toolBar} (class @code{ToolBar}) |
| 308 | @cindex tool bar | 308 | @cindex tool bar |
| 309 | Number of lines to reserve for the tool bar. A zero value suppresses | 309 | Number of lines to reserve for the tool bar. A zero value suppresses |
| 310 | the tool bar. If the value is non-zero and | 310 | the tool bar. For the Emacs tool bar (i.e. not Gtk+), if the value is |
| 311 | @code{auto-resize-tool-bars} is non-@code{nil}, the tool bar's size | 311 | non-zero and @code{auto-resize-tool-bars} is non-@code{nil}, the tool bar's |
| 312 | will be changed automatically so that all tool bar items are visible. | 312 | size will be changed automatically so that all tool bar items are visible. |
| 313 | If the value of @code{auto-resize-tool-bars} is @code{grow-only}, | 313 | If the value of @code{auto-resize-tool-bars} is @code{grow-only}, |
| 314 | the tool bar expands automatically, but does not contract automatically. | 314 | the tool bar expands automatically, but does not contract automatically. |
| 315 | To contract the tool bar, you must redraw the frame by entering @kbd{C-l}. | 315 | To contract the tool bar, you must redraw the frame by entering @kbd{C-l}. |
| 316 | For the Gtk+ tool bar, any non-zero value means on and | ||
| 317 | @code{auto-resize-tool-bars} has no effect. | ||
| 316 | 318 | ||
| 317 | @item @code{useXIM} (class @code{UseXIM}) | 319 | @item @code{useXIM} (class @code{UseXIM}) |
| 318 | @cindex XIM | 320 | @cindex XIM |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1ffd3f182e9..61e1b2fda5c 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2010-03-24 Arni Magnusson <arnima@hafro.is> (tiny change) | ||
| 2 | |||
| 3 | * frames.texi (Cursor Parameters): Fix typo. (Bug#5760) | ||
| 4 | |||
| 5 | 2010-03-24 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * processes.texi (Network Processes): Document seqpacket type. | ||
| 8 | |||
| 1 | 2010-03-20 Dan Nicolaescu <dann@ics.uci.edu> | 9 | 2010-03-20 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 10 | ||
| 3 | * os.texi (System Environment): Do not mention lynxos. | 11 | * os.texi (System Environment): Do not mention lynxos. |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 14a85ea556f..9994210bd17 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -821,7 +821,7 @@ This variable controls how the cursor looks in a window that is not | |||
| 821 | selected. It supports the same values as the @code{cursor-type} frame | 821 | selected. It supports the same values as the @code{cursor-type} frame |
| 822 | parameter; also, @code{nil} means don't display a cursor in | 822 | parameter; also, @code{nil} means don't display a cursor in |
| 823 | nonselected windows, and @code{t} (the default) means use a standard | 823 | nonselected windows, and @code{t} (the default) means use a standard |
| 824 | modificatoin of the usual cursor type (solid box becomes hollow box, | 824 | modification of the usual cursor type (solid box becomes hollow box, |
| 825 | and bar becomes a narrower bar). | 825 | and bar becomes a narrower bar). |
| 826 | @end defopt | 826 | @end defopt |
| 827 | 827 | ||
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 0dc3946f7e0..85628bdfac6 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -2059,7 +2059,8 @@ necessary to make it unique. | |||
| 2059 | @item :type @var{type} | 2059 | @item :type @var{type} |
| 2060 | Specify the communication type. A value of @code{nil} specifies a | 2060 | Specify the communication type. A value of @code{nil} specifies a |
| 2061 | stream connection (the default); @code{datagram} specifies a datagram | 2061 | stream connection (the default); @code{datagram} specifies a datagram |
| 2062 | connection. Both connections and servers can be of either type. | 2062 | connection; @code{seqpacket} specifies a ``sequenced packet stream'' |
| 2063 | connection. Both connections and servers can be of these types. | ||
| 2063 | 2064 | ||
| 2064 | @item :server @var{server-flag} | 2065 | @item :server @var{server-flag} |
| 2065 | If @var{server-flag} is non-@code{nil}, create a server. Otherwise, | 2066 | If @var{server-flag} is non-@code{nil}, create a server. Otherwise, |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 136a1eea0fb..1204e757771 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-24 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * trampver.texi: Update release number. | ||
| 4 | |||
| 1 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * Branch for 23.2. | 7 | * Branch for 23.2. |
diff --git a/doc/misc/trampver.texi b/doc/misc/trampver.texi index 8456a1e0d11..c8608edf6b6 100644 --- a/doc/misc/trampver.texi +++ b/doc/misc/trampver.texi | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | @c In the Tramp CVS, the version number is auto-frobbed from | 9 | @c In the Tramp CVS, the version number is auto-frobbed from |
| 10 | @c configure.ac, so you should edit that file and run | 10 | @c configure.ac, so you should edit that file and run |
| 11 | @c "autoconf && ./configure" to change the version number. | 11 | @c "autoconf && ./configure" to change the version number. |
| 12 | @set trampver 2.1.18-pre | 12 | @set trampver 2.1.18-23.2 |
| 13 | 13 | ||
| 14 | @c Other flags from configuration | 14 | @c Other flags from configuration |
| 15 | @set instprefix /usr/local | 15 | @set instprefix /usr/local |