Mercurial > hg > xemacs-beta
comparison man/w3.texi @ 44:8d2a9b52c682 r19-15prefinal
Import from CVS: tag r19-15prefinal
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:55:10 +0200 |
parents | e04119814345 |
children | 6a22abad6937 |
comparison
equal
deleted
inserted
replaced
43:23cafc5d2038 | 44:8d2a9b52c682 |
---|---|
10 @c Info formatted files are provided in the distribution, and you can | 10 @c Info formatted files are provided in the distribution, and you can |
11 @c retrieve dvi, postscript, and PDF versions from the web site or FTP | 11 @c retrieve dvi, postscript, and PDF versions from the web site or FTP |
12 @c site: http://www.cs.indiana.edu/elisp/w3/docs.html | 12 @c site: http://www.cs.indiana.edu/elisp/w3/docs.html |
13 @c | 13 @c |
14 @setfilename w3.info | 14 @setfilename w3.info |
15 @settitle Emacs-W3 User's Manual | 15 @settitle Emacs/W3 User's Manual |
16 @iftex | 16 @iftex |
17 @finalout | 17 @finalout |
18 @end iftex | 18 @end iftex |
19 @c @setchapternewpage odd | 19 @c @setchapternewpage odd |
20 @c @smallbook | 20 @c @smallbook |
25 @synindex cp fn | 25 @synindex cp fn |
26 @synindex vr fn | 26 @synindex vr fn |
27 @dircategory World Wide Web | 27 @dircategory World Wide Web |
28 @dircategory GNU Emacs Lisp | 28 @dircategory GNU Emacs Lisp |
29 @direntry | 29 @direntry |
30 * W3: (w3). Emacs-W3 World Wide Web browser. | 30 * W3: (w3). Emacs/W3 World Wide Web browser. |
31 @end direntry | 31 @end direntry |
32 @ifinfo | 32 @ifinfo |
33 This file documents the Emacs-W3 World Wide Web browser. | 33 This file documents the Emacs/W3 World Wide Web browser. |
34 | 34 |
35 Copyright (C) 1993, 1994, 1995, 1996 William M. Perry | 35 Copyright (C) 1993, 1994, 1995, 1996 William M. Perry |
36 Copyright (C) 1996, 1997 Free Software Foundation | 36 Copyright (C) 1996, 1997 Free Software Foundation |
37 | 37 |
38 Permission is granted to make and distribute verbatim copies of | 38 Permission is granted to make and distribute verbatim copies of |
48 @end ignore | 48 @end ignore |
49 @end ifinfo | 49 @end ifinfo |
50 @c | 50 @c |
51 @titlepage | 51 @titlepage |
52 @sp 6 | 52 @sp 6 |
53 @center @titlefont{Emacs-W3} | 53 @center @titlefont{Emacs/W3} |
54 @center @titlefont{User's Manual} | 54 @center @titlefont{User's Manual} |
55 @sp 4 | 55 @sp 4 |
56 @center Third Edition, Emacs-W3 Version 3.0 | 56 @center Third Edition, Emacs/W3 Version 3.0 |
57 @sp 1 | 57 @sp 1 |
58 @center February 1997 | 58 @center February 1997 |
59 @sp 5 | 59 @sp 5 |
60 @center William M. Perry | 60 @center William M. Perry |
61 @center @i{wmperry@@cs.indiana.edu} | 61 @center @i{wmperry@@cs.indiana.edu} |
72 @page | 72 @page |
73 @ifinfo | 73 @ifinfo |
74 @node Top, Getting Started, (dir), (dir) | 74 @node Top, Getting Started, (dir), (dir) |
75 @top W3 | 75 @top W3 |
76 | 76 |
77 Users can browse the World Wide Web from within Emacs by using Emacs-W3. | 77 Users can browse the World Wide Web from within Emacs by using Emacs/W3. |
78 All of the widely used (and even some not very widely used) @sc{url} | 78 All of the widely used (and even some not very widely used) @sc{url} |
79 schemes are supported, and it is very easy to add new methods as the | 79 schemes are supported, and it is very easy to add new methods as the |
80 need arises. | 80 need arises. |
81 | 81 |
82 Emacs-W3 provides some core functionality that can be readily re-used | 82 Emacs/W3 provides some core functionality that can be readily re-used |
83 from any program in Emacs. Users and other package writers are | 83 from any program in Emacs. Users and other package writers are |
84 encouraged to @i{Web-enable} their applications and daily work routines | 84 encouraged to @i{Web-enable} their applications and daily work routines |
85 with the library. | 85 with the library. |
86 | 86 |
87 Emacs-W3 is completely customizable, both from Emacs-Lisp and from | 87 Emacs/W3 is completely customizable, both from Emacs-Lisp and from |
88 stylesheets @xref{Stylesheets} If there is any aspect of Emacs-W3 that | 88 stylesheets @xref{Stylesheets} If there is any aspect of Emacs/W3 that |
89 cannot be modified to your satisfaction, please send mail to the | 89 cannot be modified to your satisfaction, please send mail to the |
90 @t{w3-beta@@indiana.edu} mailing list with any suggestions. | 90 @t{w3-beta@@indiana.edu} mailing list with any suggestions. |
91 @xref{Reporting Bugs} | 91 @xref{Reporting Bugs} |
92 | 92 |
93 @menu | 93 @menu |
94 * Getting Started:: Getting up and running with Emacs-W3 | 94 * Getting Started:: Getting up and running with Emacs/W3 |
95 * Basic Usage:: Basic movement and usage of Emacs-W3. | 95 * Basic Usage:: Basic movement and usage of Emacs/W3. |
96 * Compatibility:: Explanation of compatibility with | 96 * Compatibility:: Explanation of compatibility with |
97 other browsers. | 97 other browsers. |
98 * Stylesheets:: How to control the look of web pages | 98 * Stylesheets:: How to control the look of web pages |
99 * Supported URLs:: What @sc{URL} schemes are supported. | 99 * Supported URLs:: What @sc{URL} schemes are supported. |
100 * MIME Support:: Support for @sc{mime} | 100 * MIME Support:: Support for @sc{mime} |
107 * More Help:: How to get more help---mailing lists, | 107 * More Help:: How to get more help---mailing lists, |
108 newsgroups, etc. | 108 newsgroups, etc. |
109 * Future Directions:: Plans for future revisions | 109 * Future Directions:: Plans for future revisions |
110 | 110 |
111 Appendices: | 111 Appendices: |
112 * Reporting Bugs:: How to report a bug in Emacs-W3. | 112 * Reporting Bugs:: How to report a bug in Emacs/W3. |
113 * Dealing with Firewalls:: How to get around your firewall. | 113 * Dealing with Firewalls:: How to get around your firewall. |
114 * Proxy Gateways:: Using a proxy gateway with Emacs-W3. | 114 * Proxy Gateways:: Using a proxy gateway with Emacs/W3. |
115 * Installing SSL:: Turning on @sc{ssl} support. | 115 * Installing SSL:: Turning on @sc{ssl} support. |
116 * Mailcap Files:: An explanation of Mailcap files. | 116 * Mailcap Files:: An explanation of Mailcap files. |
117 * Down with DoubleClick:: Annoyed by advertisements? Read this! | 117 * Down with DoubleClick:: Annoyed by advertisements? Read this! |
118 | 118 |
119 Indices: | 119 Indices: |
127 @cindex Clueless in Seattle | 127 @cindex Clueless in Seattle |
128 @cindex Getting Started | 128 @cindex Getting Started |
129 @kindex M-x w3 | 129 @kindex M-x w3 |
130 @vindex w3-default-homepage | 130 @vindex w3-default-homepage |
131 @findex w3 | 131 @findex w3 |
132 If installed correctly, starting Emacs-W3 is quite painless. Just type | 132 If installed correctly, starting Emacs/W3 is quite painless. Just type |
133 @kbd{M-x w3} in a running Emacs session. This will retrieve the default | 133 @kbd{M-x w3} in a running Emacs session. This will retrieve the default |
134 page that has been configured (@pxref{Preferences Panel}) - by default the | 134 page that has been configured (@pxref{Preferences Panel}) - by default the |
135 documentation for Emacs-W3 at Indiana University. | 135 documentation for Emacs/W3 at Indiana University. |
136 | 136 |
137 If the default page is not retrieved correctly at startup, you will have | 137 If the default page is not retrieved correctly at startup, you will have |
138 to do some customization (@pxref{Preferences Panel}). | 138 to do some customization (@pxref{Preferences Panel}). |
139 | 139 |
140 Once started, you can use the mouse and the menu or use the following | 140 Once started, you can use the mouse and the menu or use the following |
172 @item quit W3 mode | 172 @item quit W3 mode |
173 press the @kbd{q} key. | 173 press the @kbd{q} key. |
174 @end table | 174 @end table |
175 | 175 |
176 @menu | 176 @menu |
177 * Downloading:: Where to download Emacs-W3. | 177 * Downloading:: Where to download Emacs/W3. |
178 * Building and Installing:: Compiling and installing from source. | 178 * Building and Installing:: Compiling and installing from source. |
179 * Startup Files:: What is where, and why. | 179 * Startup Files:: What is where, and why. |
180 * Preferences Panel:: Quick configuration of common options. | 180 * Preferences Panel:: Quick configuration of common options. |
181 @end menu | 181 @end menu |
182 | 182 |
183 @node Downloading, Building and Installing, Getting Started, Getting Started | 183 @node Downloading, Building and Installing, Getting Started, Getting Started |
184 @section Downloading | 184 @section Downloading |
185 | 185 |
186 :: WORK :: What you need, and why | 186 :: WORK :: What you need, and why |
187 :: WORK :: Where to download Emacs, XEmacs, various platforms | 187 :: WORK :: Where to download Emacs, XEmacs, various platforms |
188 :: WORK :: Where to download Emacs-W3 | 188 :: WORK :: Where to download Emacs/W3 |
189 :: WORK :: Where to download related utilities (netpbm, xv, gimp, etc.) | 189 :: WORK :: Where to download related utilities (netpbm, xv, gimp, etc.) |
190 | 190 |
191 @node Building and Installing, Startup Files, Downloading, Getting Started | 191 @node Building and Installing, Startup Files, Downloading, Getting Started |
192 @section Building and Installing | 192 @section Building and Installing |
193 | 193 |
198 @section Startup Files | 198 @section Startup Files |
199 @cindex Startup files | 199 @cindex Startup files |
200 @cindex Default stylesheet | 200 @cindex Default stylesheet |
201 | 201 |
202 :: WORK :: startup files | 202 :: WORK :: startup files |
203 This section should document where emacs-w3 looks for its startup files, | 203 This section should document where Emacs/W3 looks for its startup files, |
204 and what each one does. 'profile' 'stylesheet' 'hotlist' 'history' etc. | 204 and what each one does. 'profile' 'stylesheet' 'hotlist' 'history' etc. |
205 | 205 |
206 @node Preferences Panel, , Startup Files, Getting Started | 206 @node Preferences Panel, , Startup Files, Getting Started |
207 @section Preferences Panel | 207 @section Preferences Panel |
208 @cindex Preferences | 208 @cindex Preferences |
217 @kindex space | 217 @kindex space |
218 @kindex backspace | 218 @kindex backspace |
219 @kindex return | 219 @kindex return |
220 @kindex tab | 220 @kindex tab |
221 @kindex M-tab | 221 @kindex M-tab |
222 Emacs-W3 is similar to the Info package all Emacs users hold near and | 222 Emacs/W3 is similar to the Info package all Emacs users hold near and |
223 dear to their hearts (@xref{Top,,Info,info, The Info Manual}, for a | 223 dear to their hearts (@xref{Top,,Info,info, The Info Manual}, for a |
224 description of Info). Basically, @kbd{space} and @kbd{backspace} | 224 description of Info). Basically, @kbd{space} and @kbd{backspace} |
225 control scrolling, and @kbd{return} or the middle mouse button follows a | 225 control scrolling, and @kbd{return} or the middle mouse button follows a |
226 hypertext link. The @kbd{tab} and @kbd{Meta-tab} keys maneuver around the | 226 hypertext link. The @kbd{tab} and @kbd{Meta-tab} keys maneuver around the |
227 various links on the page. | 227 various links on the page. |
228 | 228 |
229 @b{NOTE:} Starting with Emacs-W3 3.0, form entry areas in a page can be | 229 @b{NOTE:} Starting with Emacs/W3 3.0, form entry areas in a page can be |
230 typed directly into. This is one of the main differences in navigation | 230 typed directly into. This is one of the main differences in navigation |
231 from version 2.0. If you are used to using the @kbd{f} and @kbd{b} keys | 231 from version 2.0. If you are used to using the @kbd{f} and @kbd{b} keys |
232 to navigate around a buffer, I suggest training yourself to always use | 232 to navigate around a buffer, I suggest training yourself to always use |
233 @kbd{tab} and @kbd{M-tab} - it will save time and frustration on pages | 233 @kbd{tab} and @kbd{M-tab} - it will save time and frustration on pages |
234 with lots of form fields. | 234 with lots of form fields. |
236 By default, hypertext links are surrounded by '[[' and ']]' on | 236 By default, hypertext links are surrounded by '[[' and ']]' on |
237 non-graphic terminals (VT100, DOS window, etc.). On a graphics | 237 non-graphic terminals (VT100, DOS window, etc.). On a graphics |
238 terminal, the links are in shown in different colors. | 238 terminal, the links are in shown in different colors. |
239 @xref{Stylesheets} for information on how to change this. | 239 @xref{Stylesheets} for information on how to change this. |
240 | 240 |
241 There are approximately 50 keys bound to special Emacs-W3 functions. | 241 There are approximately 50 keys bound to special Emacs/W3 functions. |
242 The basic rule of thumb regarding keybindings in Emacs-W3 is that a | 242 The basic rule of thumb regarding keybindings in Emacs/W3 is that a |
243 lowercase key takes an action on the @b{current document}, and an | 243 lowercase key takes an action on the @b{current document}, and an |
244 uppercase key takes an action on the document pointed to by the | 244 uppercase key takes an action on the document pointed to by the |
245 hypertext link @b{under the cursor}. | 245 hypertext link @b{under the cursor}. |
246 | 246 |
247 There are several areas that the keybindings fall into: movement, | 247 There are several areas that the keybindings fall into: movement, |
436 not consulted. | 436 not consulted. |
437 @kindex C-o | 437 @kindex C-o |
438 @findex w3-fetch | 438 @findex w3-fetch |
439 @item C-o | 439 @item C-o |
440 Prompts for a @sc{url} in the minibuffer, and attempts to fetch | 440 Prompts for a @sc{url} in the minibuffer, and attempts to fetch |
441 it. If there are any errors, or Emacs-W3 cannot understand the type of link | 441 it. If there are any errors, or Emacs/W3 cannot understand the type of link |
442 requested, the errors are displayed in a hypertext buffer. | 442 requested, the errors are displayed in a hypertext buffer. |
443 @kindex o | 443 @kindex o |
444 @findex w3-open-local | 444 @findex w3-open-local |
445 @vindex url-use-hypertext-dired | 445 @vindex url-use-hypertext-dired |
446 @item o | 446 @item o |
447 Opens a local file, interactively. This prompts for a local file name | 447 Opens a local file, interactively. This prompts for a local file name |
448 to open. The file must exist, and may be a directory. If the requested | 448 to open. The file must exist, and may be a directory. If the requested |
449 file is a directory and @code{url-use-hypertext-dired} is @code{nil}, | 449 file is a directory and @code{url-use-hypertext-dired} is @code{nil}, |
450 then a dired-mode buffer is displayed. If non@code{nil}, then Emacs-W3 | 450 then a dired-mode buffer is displayed. If non@code{nil}, then Emacs/W3 |
451 automatically generates a hypertext listing of the directory. The | 451 automatically generates a hypertext listing of the directory. The |
452 hypertext mode is the default, so that all the keys and functions remain | 452 hypertext mode is the default, so that all the keys and functions remain |
453 the same. | 453 the same. |
454 | 454 |
455 @kindex M-s | 455 @kindex M-s |
460 | 460 |
461 @kindex Hv | 461 @kindex Hv |
462 @findex w3-show-history-list | 462 @findex w3-show-history-list |
463 @vindex w3-keep-history | 463 @vindex w3-keep-history |
464 @item Hv | 464 @item Hv |
465 If @code{url-keep-history} is non-@code{nil}, then Emacs-W3 keeps track | 465 If @code{url-keep-history} is non-@code{nil}, then Emacs/W3 keeps track |
466 of all the @sc{url}s visited in an Emacs session. This function takes all | 466 of all the @sc{url}s visited in an Emacs session. This function takes all |
467 the links that are in that internal list, and formats them as hypertext | 467 the links that are in that internal list, and formats them as hypertext |
468 links in a list. | 468 links in a list. |
469 @end table | 469 @end table |
470 | 470 |
471 @cindex Buffer movement | 471 @cindex Buffer movement |
472 And here are the commands to move around between Emacs-W3 buffers: | 472 And here are the commands to move around between Emacs/W3 buffers: |
473 | 473 |
474 @table @kbd | 474 @table @kbd |
475 @kindex l | 475 @kindex l |
476 @findex w3-goto-last-buffer | 476 @findex w3-goto-last-buffer |
477 @item l | 477 @item l |
608 relationship. | 608 relationship. |
609 @end table | 609 @end table |
610 | 610 |
611 @node Compatibility, Stylesheets, Basic Usage, Top | 611 @node Compatibility, Stylesheets, Basic Usage, Top |
612 @chapter Compatibility with other Browsers | 612 @chapter Compatibility with other Browsers |
613 Due to the popularity of several other browsers, Emacs-W3 offers an easy | 613 Due to the popularity of several other browsers, Emacs/W3 offers an easy |
614 transition to its much better way of life. This ranges from being able | 614 transition to its much better way of life. This ranges from being able |
615 to share the same preferences files and disk cache to actually emulating | 615 to share the same preferences files and disk cache to actually emulating |
616 the keybindings used in other browsers. | 616 the keybindings used in other browsers. |
617 | 617 |
618 @menu | 618 @menu |
619 * Emulation:: Emacs-W3 can emulate the keybindings and | 619 * Emulation:: Emacs/W3 can emulate the keybindings and |
620 other behaviours of other browsers. | 620 other behaviours of other browsers. |
621 * Hotlist Handling:: A hotlist is an easy way to keep track of | 621 * Hotlist Handling:: A hotlist is an easy way to keep track of |
622 interesting Web pages without having to | 622 interesting Web pages without having to |
623 remember the exact path to get there. | 623 remember the exact path to get there. |
624 * Session History:: Keeping a history of documents visited | 624 * Session History:: Keeping a history of documents visited |
771 @section Hotlist Handling | 771 @section Hotlist Handling |
772 | 772 |
773 :: WORK :: Document that it supports different types of hotlist formats | 773 :: WORK :: Document that it supports different types of hotlist formats |
774 :: WORK :: Make sure everything hotlist related can be accessed via 'h' | 774 :: WORK :: Make sure everything hotlist related can be accessed via 'h' |
775 In order to avoid having to traverse many documents to get to the same | 775 In order to avoid having to traverse many documents to get to the same |
776 document over and over, Emacs-W3 supports a ``hotlist'' like Mosaic. This is | 776 document over and over, Emacs/W3 supports a ``hotlist'' like Mosaic. This is |
777 a file that contains @sc{url}s and aliases. Hotlists allow quick access to any | 777 a file that contains @sc{url}s and aliases. Hotlists allow quick access to any |
778 document in the Web, providing it has been visited and added to the hotlist. | 778 document in the Web, providing it has been visited and added to the hotlist. |
779 The variable @code{w3-hotlist-file} determines where this information | 779 The variable @code{w3-hotlist-file} determines where this information |
780 is saved. The structure of the file is compatible with Mosaic's | 780 is saved. The structure of the file is compatible with Mosaic's |
781 hotlist file, so this defaults to @file{~/.mosaic-hotlist-default}. | 781 hotlist file, so this defaults to @file{~/.mosaic-hotlist-default}. |
842 Almost all web browsers keep track of the @sc{url}s followed from a page, so | 842 Almost all web browsers keep track of the @sc{url}s followed from a page, so |
843 that it can provide @b{forward} and @b{back} buttons to keep a @i{path} | 843 that it can provide @b{forward} and @b{back} buttons to keep a @i{path} |
844 of @sc{url}s that can be traversed easily. | 844 of @sc{url}s that can be traversed easily. |
845 | 845 |
846 @vindex url-keep-history | 846 @vindex url-keep-history |
847 If the variable @code{url-keep-history} is @code{t}, then Emacs-W3 | 847 If the variable @code{url-keep-history} is @code{t}, then Emacs/W3 |
848 keeps a list of all the @sc{url}s visited in a session. | 848 keeps a list of all the @sc{url}s visited in a session. |
849 | 849 |
850 @findex w3-show-history | 850 @findex w3-show-history |
851 To view a listing of the history for this session of Emacs-W3, use | 851 To view a listing of the history for this session of Emacs/W3, use |
852 @code{M-x w3-show-history} from any buffer, and Emacs-W3 generates an | 852 @code{M-x w3-show-history} from any buffer, and Emacs/W3 generates an |
853 @sc{html} document showing every @sc{url} visited since Emacs started (or | 853 @sc{html} document showing every @sc{url} visited since Emacs started (or |
854 cleared the history list), and then format it. Any of the links can | 854 cleared the history list), and then format it. Any of the links can |
855 be chosen and followed to the original document. To clear the history | 855 be chosen and followed to the original document. To clear the history |
856 list, choose 'Clear History' from the 'Options' menu. | 856 list, choose 'Clear History' from the 'Options' menu. |
857 | 857 |
858 @findex w3-forward-in-history | 858 @findex w3-forward-in-history |
859 @findex w3-backward-in-history | 859 @findex w3-backward-in-history |
860 @findex w3-fetch | 860 @findex w3-fetch |
861 Another twist on the history list mechanism is the fact that all | 861 Another twist on the history list mechanism is the fact that all |
862 Emacs-W3 buffers remember what @sc{url}, buffer, and buffer position of the | 862 Emacs/W3 buffers remember what @sc{url}, buffer, and buffer position of the |
863 last document, and also keeps track of the next location jumped @b{to} | 863 last document, and also keeps track of the next location jumped @b{to} |
864 from that buffer. This means that the user can go forwards and | 864 from that buffer. This means that the user can go forwards and |
865 backwards very easily along the path taken to reach a particular | 865 backwards very easily along the path taken to reach a particular |
866 document. To go forward, use the function @code{w3-forward-in-history}, | 866 document. To go forward, use the function @code{w3-forward-in-history}, |
867 to go backward, use the function @code{w3-backward-in-history}. | 867 to go backward, use the function @code{w3-backward-in-history}. |
874 user has visited, and it displays them in a different style than normal | 874 user has visited, and it displays them in a different style than normal |
875 @sc{url}s. | 875 @sc{url}s. |
876 | 876 |
877 @vindex url-keep-history | 877 @vindex url-keep-history |
878 @vindex url-global-history-file | 878 @vindex url-global-history-file |
879 If the variable @code{url-keep-history} is @code{t}, then Emacs-W3 | 879 If the variable @code{url-keep-history} is @code{t}, then Emacs/W3 |
880 keeps a list of all the @sc{url}s visited in a session. The file is | 880 keeps a list of all the @sc{url}s visited in a session. The file is |
881 automatically written to disk when exiting emacs. The list is added to | 881 automatically written to disk when exiting emacs. The list is added to |
882 those already in the file specified by @code{url-global-history-file}, | 882 those already in the file specified by @code{url-global-history-file}, |
883 which defaults to @file{~/.mosaic-global-history}. | 883 which defaults to @file{~/.mosaic-global-history}. |
884 | 884 |
885 If any @sc{url} in the list is found in the file, it is not saved, but new | 885 If any @sc{url} in the list is found in the file, it is not saved, but new |
886 ones are added at the end of the file. | 886 ones are added at the end of the file. |
887 | 887 |
888 The function that saves the global history list is smart enough to | 888 The function that saves the global history list is smart enough to |
889 notice what style of history list is being used (Netscape, Emacs-W3, or | 889 notice what style of history list is being used (Netscape, Emacs/W3, or |
890 XMosaic), and writes out the new additions appropriately. | 890 XMosaic), and writes out the new additions appropriately. |
891 | 891 |
892 @cindex Completion of URLs | 892 @cindex Completion of URLs |
893 @cindex Usefulness of global history | 893 @cindex Usefulness of global history |
894 One of the nice things about keeping a global history files is that Emacs-W3 | 894 One of the nice things about keeping a global history files is that Emacs/W3 |
895 can use it as a completion table. When doing @kbd{M-x w3-fetch}, pressing | 895 can use it as a completion table. When doing @kbd{M-x w3-fetch}, pressing |
896 the @kbd{tab} or @kbd{space} key will show all completions for a | 896 the @kbd{tab} or @kbd{space} key will show all completions for a |
897 partial @sc{url}. This is very useful, especially for very long @sc{url}s that | 897 partial @sc{url}. This is very useful, especially for very long @sc{url}s that |
898 are not in a hotlist, or for seeing all the pages from a particular web | 898 are not in a hotlist, or for seeing all the pages from a particular web |
899 site before choosing which to retrieve. | 899 site before choosing which to retrieve. |
900 | 900 |
901 @node Stylesheets, Supported URLs, Compatibility, Top | 901 @node Stylesheets, Supported URLs, Compatibility, Top |
902 @chapter Stylesheets | 902 @chapter Stylesheets |
903 The way in which Emacs-W3 formats a document is very customizable. All | 903 The way in which Emacs/W3 formats a document is very customizable. All |
904 formatting is now controlled by a default stylesheet set by the user | 904 formatting is now controlled by a default stylesheet set by the user |
905 with the @code{w3-default-stylesheet} variable. Emacs-W3 currently | 905 with the @code{w3-default-stylesheet} variable. Emacs/W3 currently |
906 supports the @sc{W3C} recommendation for Cascading Style Sheets, Level 1 | 906 supports the @sc{W3C} recommendation for Cascading Style Sheets, Level 1 |
907 (commonly known as @sc{CSS1}) with a few experimental items from other | 907 (commonly known as @sc{CSS1}) with a few experimental items from other |
908 W3C proposals. Wherever Emacs-W3 diverges from the specification, it | 908 W3C proposals. Wherever Emacs/W3 diverges from the specification, it |
909 will be clearly documented, and will be changed once a full standard is | 909 will be clearly documented, and will be changed once a full standard is |
910 available. | 910 available. |
911 | 911 |
912 Support for @sc{DSSSL} is progressing, but spare time is at an all-time | 912 Support for @sc{DSSSL} is progressing, but spare time is at an all-time |
913 low. If anyone would like to help, please contact the author. | 913 low. If anyone would like to help, please contact the author. |
914 | 914 |
915 The following sections closely parallel the @sc{CSS1} specification so | 915 The following sections closely parallel the @sc{CSS1} specification so |
916 it should be very easy to look up what Emacs-W3 supports when browsing | 916 it should be very easy to look up what Emacs/W3 supports when browsing |
917 through the @sc{CSS1} specification. Please note that a lot of the text | 917 through the @sc{CSS1} specification. Please note that a lot of the text |
918 in the following sections comes directly from the specification as | 918 in the following sections comes directly from the specification as |
919 well. | 919 well. |
920 | 920 |
921 @menu | 921 @menu |
1066 | 1066 |
1067 Pseudo-elements are used to address sub-parts of elements, while | 1067 Pseudo-elements are used to address sub-parts of elements, while |
1068 pseudo-classes allow style sheets to differentiate between different | 1068 pseudo-classes allow style sheets to differentiate between different |
1069 element types. | 1069 element types. |
1070 | 1070 |
1071 The only support pseudo-classes in Emacs-W3 are on the anchor tag | 1071 The only support pseudo-classes in Emacs/W3 are on the anchor tag |
1072 (<a>...</a>). | 1072 (<a>...</a>). |
1073 | 1073 |
1074 User agents commonly display newly visited anchors differently from | 1074 User agents commonly display newly visited anchors differently from |
1075 older ones. In @sc{css1}, this is handled through pseudo-classes on the | 1075 older ones. In @sc{css1}, this is handled through pseudo-classes on the |
1076 'A' element: | 1076 'A' element: |
1307 | 1307 |
1308 Other than the value the following information is also shown. | 1308 Other than the value the following information is also shown. |
1309 | 1309 |
1310 @multitable @columnfractions .20 .8 | 1310 @multitable @columnfractions .20 .8 |
1311 @item Supported Values: @tab If this is present, it lists the parts of | 1311 @item Supported Values: @tab If this is present, it lists the parts of |
1312 the specification that Emacs-W3 currently supports. | 1312 the specification that Emacs/W3 currently supports. |
1313 @item Unsupported Values: @tab If this is present, it represents the | 1313 @item Unsupported Values: @tab If this is present, it represents the |
1314 parts of the specifcation that Emacs-W3 does not support. | 1314 parts of the specifcation that Emacs/W3 does not support. |
1315 @item Initial: @tab The default value for the property, unless | 1315 @item Initial: @tab The default value for the property, unless |
1316 explicitly set in a stylesheet. | 1316 explicitly set in a stylesheet. |
1317 @item Applies to: @tab What type of elements this property can be attached to. | 1317 @item Applies to: @tab What type of elements this property can be attached to. |
1318 @item Inherited: @tab Yes or no | 1318 @item Inherited: @tab Yes or no |
1319 @item Percentage values: @tab What a percentage value applies to when given. | 1319 @item Percentage values: @tab What a percentage value applies to when given. |
1646 The 'color' property inherits normally. The background properties do not | 1646 The 'color' property inherits normally. The background properties do not |
1647 inherit, but the parent element's background will shine through by | 1647 inherit, but the parent element's background will shine through by |
1648 default because of the initial 'transparent' value on | 1648 default because of the initial 'transparent' value on |
1649 'background-color'. | 1649 'background-color'. |
1650 | 1650 |
1651 NOTE: Currently, Emacs-W3 can only show background images under XEmacs. | 1651 NOTE: Currently, Emacs/W3 can only show background images under XEmacs. |
1652 Emacs 19 doesn't have the support in its display code yet. | 1652 Emacs 19 doesn't have the support in its display code yet. |
1653 | 1653 |
1654 @menu | 1654 @menu |
1655 * color:: Foreground colors. | 1655 * color:: Foreground colors. |
1656 * background-color:: Background colors. | 1656 * background-color:: Background colors. |
1721 @end example | 1721 @end example |
1722 | 1722 |
1723 @node background-repeat, background-attachment, background-image, Colors and Backgrounds | 1723 @node background-repeat, background-attachment, background-image, Colors and Backgrounds |
1724 @subsubsection background-repeat | 1724 @subsubsection background-repeat |
1725 | 1725 |
1726 This property is not supported at all under Emacs-W3. | 1726 This property is not supported at all under Emacs/W3. |
1727 | 1727 |
1728 @node background-attachment, background-position, background-repeat, Colors and Backgrounds | 1728 @node background-attachment, background-position, background-repeat, Colors and Backgrounds |
1729 @subsubsection background-attachment | 1729 @subsubsection background-attachment |
1730 | 1730 |
1731 This property is not supported at all under Emacs-W3. | 1731 This property is not supported at all under Emacs/W3. |
1732 | 1732 |
1733 @node background-position, background, background-attachment, Colors and Backgrounds | 1733 @node background-position, background, background-attachment, Colors and Backgrounds |
1734 @subsubsection background-position | 1734 @subsubsection background-position |
1735 | 1735 |
1736 This property is not supported at all under Emacs-W3. | 1736 This property is not supported at all under Emacs/W3. |
1737 | 1737 |
1738 @node background, , background-position, Colors and Backgrounds | 1738 @node background, , background-position, Colors and Backgrounds |
1739 @subsubsection background | 1739 @subsubsection background |
1740 | 1740 |
1741 @multitable @columnfractions .2 .8 | 1741 @multitable @columnfractions .2 .8 |
1802 @end example | 1802 @end example |
1803 | 1803 |
1804 Here, the word-spacing between each word in 'H1' elements would be | 1804 Here, the word-spacing between each word in 'H1' elements would be |
1805 increased by '1em'. | 1805 increased by '1em'. |
1806 | 1806 |
1807 NOTE: Emacs-W3 cannot currently support this, due to limitations in | 1807 NOTE: Emacs/W3 cannot currently support this, due to limitations in |
1808 Emacs. It may be implemented in the future. | 1808 Emacs. It may be implemented in the future. |
1809 | 1809 |
1810 @node letter-spacing, text-decoration, word-spacing, Text Properties | 1810 @node letter-spacing, text-decoration, word-spacing, Text Properties |
1811 @subsubsection letter-spacing | 1811 @subsubsection letter-spacing |
1812 | 1812 |
1830 @end example | 1830 @end example |
1831 | 1831 |
1832 Here, the letter-spacing between each character in 'BLOCKQUOTE' elements | 1832 Here, the letter-spacing between each character in 'BLOCKQUOTE' elements |
1833 would be increased by '0.1em'. | 1833 would be increased by '0.1em'. |
1834 | 1834 |
1835 NOTE: Emacs-W3 cannot currently support this, due to limitations in | 1835 NOTE: Emacs/W3 cannot currently support this, due to limitations in |
1836 Emacs. It may be implemented in the future. | 1836 Emacs. It may be implemented in the future. |
1837 | 1837 |
1838 @node text-decoration, vertical-align, letter-spacing, Text Properties | 1838 @node text-decoration, vertical-align, letter-spacing, Text Properties |
1839 @subsubsection text-decoration | 1839 @subsubsection text-decoration |
1840 | 1840 |
1873 yet. | 1873 yet. |
1874 | 1874 |
1875 @node vertical-align, text-transform, text-decoration, Text Properties | 1875 @node vertical-align, text-transform, text-decoration, Text Properties |
1876 @subsubsection vertical-align | 1876 @subsubsection vertical-align |
1877 | 1877 |
1878 This is currently unsupported in Emacs-W3. | 1878 This is currently unsupported in Emacs/W3. |
1879 | 1879 |
1880 @node text-transform, text-align, vertical-align, Text Properties | 1880 @node text-transform, text-align, vertical-align, Text Properties |
1881 @subsubsection text-transform | 1881 @subsubsection text-transform |
1882 | 1882 |
1883 @multitable @columnfractions .2 .8 | 1883 @multitable @columnfractions .2 .8 |
1906 H1 @{ text-transform: uppercase @} | 1906 H1 @{ text-transform: uppercase @} |
1907 @end example | 1907 @end example |
1908 | 1908 |
1909 The example above would put 'H1' elements in uppercase text. | 1909 The example above would put 'H1' elements in uppercase text. |
1910 | 1910 |
1911 NOTE: This capability was in the previous version of Emacs-W3, but has | 1911 NOTE: This capability was in the previous version of Emacs/W3, but has |
1912 not been reimplemented in the new display code yet. Please feel free to | 1912 not been reimplemented in the new display code yet. Please feel free to |
1913 send me patches. | 1913 send me patches. |
1914 | 1914 |
1915 @node text-align, text-indent, text-transform, Text Properties | 1915 @node text-align, text-indent, text-transform, Text Properties |
1916 @subsubsection text-align | 1916 @subsubsection text-align |
1936 relative to the width of the element, not the canvas. | 1936 relative to the width of the element, not the canvas. |
1937 | 1937 |
1938 @node text-indent, line-height, text-align, Text Properties | 1938 @node text-indent, line-height, text-align, Text Properties |
1939 @subsubsection text-indent | 1939 @subsubsection text-indent |
1940 | 1940 |
1941 Not currently implemented in Emacs-W3. | 1941 Not currently implemented in Emacs/W3. |
1942 | 1942 |
1943 @node line-height, , text-indent, Text Properties | 1943 @node line-height, , text-indent, Text Properties |
1944 @subsubsection line-height | 1944 @subsubsection line-height |
1945 | 1945 |
1946 Not currently implemented in Emacs-W3. | 1946 Not currently implemented in Emacs/W3. |
1947 | 1947 |
1948 @node Box Properties, Classification, Text Properties, Properties | 1948 @node Box Properties, Classification, Text Properties, Properties |
1949 @subsection Box Properties | 1949 @subsection Box Properties |
1950 | 1950 |
1951 @multitable @columnfractions .2 .8 | 1951 @multitable @columnfractions .2 .8 |
2006 IMG @{ display: none @} | 2006 IMG @{ display: none @} |
2007 @end example | 2007 @end example |
2008 | 2008 |
2009 The last rule turns off the display of images. | 2009 The last rule turns off the display of images. |
2010 | 2010 |
2011 A value of 'line' results in a single line break. Emacs-W3 needs this | 2011 A value of 'line' results in a single line break. Emacs/W3 needs this |
2012 extension to be able to fully specify the behaviour of @sc{br} and | 2012 extension to be able to fully specify the behaviour of @sc{br} and |
2013 @sc{hr} elements within a stylesheet. | 2013 @sc{hr} elements within a stylesheet. |
2014 | 2014 |
2015 NOTE: Emacs-W3 defaults to using 'inline' for this property, which is a | 2015 NOTE: Emacs/W3 defaults to using 'inline' for this property, which is a |
2016 slight deviation from the specification. | 2016 slight deviation from the specification. |
2017 | 2017 |
2018 @node white-space, list-style-type, display, Classification | 2018 @node white-space, list-style-type, display, Classification |
2019 @subsubsection white-space | 2019 @subsubsection white-space |
2020 | 2020 |
2071 | 2071 |
2072 This property sets the image that will be used as the list-item | 2072 This property sets the image that will be used as the list-item |
2073 marker. When the image is available it will replace the marker set with | 2073 marker. When the image is available it will replace the marker set with |
2074 the 'list-style-type' marker. | 2074 the 'list-style-type' marker. |
2075 | 2075 |
2076 NOTE: This is currently unimplemented in Emacs-W3. | 2076 NOTE: This is currently unimplemented in Emacs/W3. |
2077 | 2077 |
2078 @example | 2078 @example |
2079 UL @{ list-style-image: url(http://png.com/ellipse.png) @} | 2079 UL @{ list-style-image: url(http://png.com/ellipse.png) @} |
2080 @end example | 2080 @end example |
2081 | 2081 |
2689 * Adding MIME types based on file extensions:: How to map file | 2689 * Adding MIME types based on file extensions:: How to map file |
2690 extensions onto MIME | 2690 extensions onto MIME |
2691 types (e.g., @samp{.png -> | 2691 types (e.g., @samp{.png -> |
2692 image/png)}. | 2692 image/png)}. |
2693 * Specifying Viewers:: How to specify external and internal viewers | 2693 * Specifying Viewers:: How to specify external and internal viewers |
2694 for files that Emacs-W3 cannot handle natively. | 2694 for files that Emacs/W3 cannot handle natively. |
2695 @end menu | 2695 @end menu |
2696 | 2696 |
2697 @node Adding MIME types based on file extensions, Specifying Viewers, MIME Support, MIME Support | 2697 @node Adding MIME types based on file extensions, Specifying Viewers, MIME Support, MIME Support |
2698 @section Adding MIME types based on file extensions | 2698 @section Adding MIME types based on file extensions |
2699 | 2699 |
2716 over-ridden. Regular expressions can @b{NOT} be used. | 2716 over-ridden. Regular expressions can @b{NOT} be used. |
2717 | 2717 |
2718 @cindex mime-types file | 2718 @cindex mime-types file |
2719 @findex mm-parse-mimetypes | 2719 @findex mm-parse-mimetypes |
2720 Both Mosaic and the NCSA @sc{http} daemon rely on a separate file for mapping | 2720 Both Mosaic and the NCSA @sc{http} daemon rely on a separate file for mapping |
2721 file extensions to MIME types. Instead of having the users of Emacs-W3 | 2721 file extensions to MIME types. Instead of having the users of Emacs/W3 |
2722 duplicate this in lisp, this file can be parsed using the | 2722 duplicate this in lisp, this file can be parsed using the |
2723 @code{url-parse-mimetypes} function. This function is called each time | 2723 @code{url-parse-mimetypes} function. This function is called each time |
2724 w3 is loaded. It tries to locate mimetype files in several places. If | 2724 w3 is loaded. It tries to locate mimetype files in several places. If |
2725 the environment variable @code{MIMETYPES} is nonempty, then this is | 2725 the environment variable @code{MIMETYPES} is nonempty, then this is |
2726 assumed to specify a UNIX-like path of mimetype files (this is a colon | 2726 assumed to specify a UNIX-like path of mimetype files (this is a colon |
2727 separated string of pathnames). If the @code{MIMETYPES} environment | 2727 separated string of pathnames). If the @code{MIMETYPES} environment |
2728 variable is empty, then Emacs-W3 looks for these files: | 2728 variable is empty, then Emacs/W3 looks for these files: |
2729 | 2729 |
2730 @enumerate | 2730 @enumerate |
2731 @item | 2731 @item |
2732 @file{~/.mime-types} | 2732 @file{~/.mime-types} |
2733 @item | 2733 @item |
2775 @node Security, Non-Unix Operating Systems, MIME Support, Top | 2775 @node Security, Non-Unix Operating Systems, MIME Support, Top |
2776 @chapter Security | 2776 @chapter Security |
2777 @cindex Security | 2777 @cindex Security |
2778 @cindex Paranoia | 2778 @cindex Paranoia |
2779 There are an increasing number of ways to authenticate a user to a web | 2779 There are an increasing number of ways to authenticate a user to a web |
2780 service. Emacs-W3 tries to support as many as possible. Emacs-W3 | 2780 service. Emacs/W3 tries to support as many as possible. Emacs/W3 |
2781 currently supports: | 2781 currently supports: |
2782 | 2782 |
2783 @table @b | 2783 @table @b |
2784 @item Basic Authentication | 2784 @item Basic Authentication |
2785 @cindex Security, Basic | 2785 @cindex Security, Basic |
2804 @cindex SSL | 2804 @cindex SSL |
2805 @cindex Gag Puke Retch | 2805 @cindex Gag Puke Retch |
2806 @cindex Exportability | 2806 @cindex Exportability |
2807 @cindex Export Restrictions | 2807 @cindex Export Restrictions |
2808 SSL is the @code{Secure Sockets Layer} interface developed by Netscape | 2808 SSL is the @code{Secure Sockets Layer} interface developed by Netscape |
2809 Communications @footnote{http://www.netscape.com/}. Emacs-W3 supports | 2809 Communications @footnote{http://www.netscape.com/}. Emacs/W3 supports |
2810 @sc{http} transfers over an SSL encrypted channel, if the appropriate files | 2810 @sc{http} transfers over an SSL encrypted channel, if the appropriate files |
2811 have been installed.@xref{Installing SSL} | 2811 have been installed.@xref{Installing SSL} |
2812 @end table | 2812 @end table |
2813 | 2813 |
2814 @node Non-Unix Operating Systems, Speech Integration, Security, Top | 2814 @node Non-Unix Operating Systems, Speech Integration, Security, Top |
2865 @chapter Advanced Features | 2865 @chapter Advanced Features |
2866 | 2866 |
2867 @menu | 2867 @menu |
2868 * Disk Caching:: Improving performance by using a local disk cache | 2868 * Disk Caching:: Improving performance by using a local disk cache |
2869 * Interfacing to Mail/News:: How to make VM understand hypertext links | 2869 * Interfacing to Mail/News:: How to make VM understand hypertext links |
2870 * Debugging HTML:: How to make Emacs-W3 display warnings about invalid | 2870 * Debugging HTML:: How to make Emacs/W3 display warnings about invalid |
2871 @sc{html}/@sc{html}+ constructs. | 2871 @sc{html}/@sc{html}+ constructs. |
2872 * Hooks:: Various hooks to use throughout Emacs-W3 | 2872 * Hooks:: Various hooks to use throughout Emacs/W3 |
2873 * Other Variables:: Miscellaneous variables that control the real | 2873 * Other Variables:: Miscellaneous variables that control the real |
2874 guts of Emacs-W3. | 2874 guts of Emacs/W3. |
2875 @end menu | 2875 @end menu |
2876 | 2876 |
2877 @node Disk Caching, Interfacing to Mail/News, Advanced Features, Advanced Features | 2877 @node Disk Caching, Interfacing to Mail/News, Advanced Features, Advanced Features |
2878 @section Disk Caching | 2878 @section Disk Caching |
2879 @cindex Caching | 2879 @cindex Caching |
2880 @cindex Persistent Cache | 2880 @cindex Persistent Cache |
2881 @cindex Disk Cache | 2881 @cindex Disk Cache |
2882 | 2882 |
2883 A cache stores the information on a page on the local machine. When | 2883 A cache stores the information on a page on the local machine. When |
2884 requesting a page that is in the cache, Emacs-W3 can retrieve the page | 2884 requesting a page that is in the cache, Emacs/W3 can retrieve the page |
2885 from the cache more quickly than retrieving the page again from its | 2885 from the cache more quickly than retrieving the page again from its |
2886 location out on the network. With a well-populated cache, browsing the | 2886 location out on the network. With a well-populated cache, browsing the |
2887 web is dramatically faster. | 2887 web is dramatically faster. |
2888 | 2888 |
2889 The first time a page is requested, Emacs-W3 retrieves the page from the | 2889 The first time a page is requested, Emacs/W3 retrieves the page from the |
2890 network. When requesting a page that is in the cache, Emacs-W3 checks | 2890 network. When requesting a page that is in the cache, Emacs/W3 checks |
2891 to see if the page has changed since it was last retrieved from the | 2891 to see if the page has changed since it was last retrieved from the |
2892 remote machine. If it has not changed, the local copy is used, saving | 2892 remote machine. If it has not changed, the local copy is used, saving |
2893 the transmission of the file over the network. | 2893 the transmission of the file over the network. |
2894 | 2894 |
2895 @vindex url-automatic-caching | 2895 @vindex url-automatic-caching |
2914 @cindex Browsing with no network connection | 2914 @cindex Browsing with no network connection |
2915 @cindex Netless browsing | 2915 @cindex Netless browsing |
2916 @vindex url-standalone-mode | 2916 @vindex url-standalone-mode |
2917 With a large cache of documents on the local disk, it can be very handy | 2917 With a large cache of documents on the local disk, it can be very handy |
2918 when traveling, or any other time the network connection is not active | 2918 when traveling, or any other time the network connection is not active |
2919 (a laptop with a dial-on-demand PPP connection, etc). Emacs-W3 can rely | 2919 (a laptop with a dial-on-demand PPP connection, etc). Emacs/W3 can rely |
2920 solely on its cache, and avoid checking to see if the page has changed | 2920 solely on its cache, and avoid checking to see if the page has changed |
2921 on the remote server. In the case of a dial-on-demand PPP connection, | 2921 on the remote server. In the case of a dial-on-demand PPP connection, |
2922 this will keep the phone line free as long as possible, only bringing up | 2922 this will keep the phone line free as long as possible, only bringing up |
2923 the PPP connection when asking for a page that is not located in the | 2923 the PPP connection when asking for a page that is not located in the |
2924 cache. This is very useful for demonstrations as well. To turn this | 2924 cache. This is very useful for demonstrations as well. To turn this |
2928 | 2928 |
2929 @node Interfacing to Mail/News, Debugging HTML, Disk Caching, Advanced Features | 2929 @node Interfacing to Mail/News, Debugging HTML, Disk Caching, Advanced Features |
2930 @section Interfacing to Mail/News | 2930 @section Interfacing to Mail/News |
2931 @cindex Interfacing to Mail/News | 2931 @cindex Interfacing to Mail/News |
2932 @cindex VM | 2932 @cindex VM |
2933 @cindex Using Emacs-W3 with VM | 2933 @cindex Using Emacs/W3 with VM |
2934 @cindex GNUS | 2934 @cindex GNUS |
2935 @cindex Using Emacs-W3 with Gnus | 2935 @cindex Using Emacs/W3 with Gnus |
2936 @cindex RMAIL | 2936 @cindex RMAIL |
2937 @cindex Using Emacs-W3 with RMAIL | 2937 @cindex Using Emacs/W3 with RMAIL |
2938 | 2938 |
2939 More and more people are including @sc{url}s in their signatures, and within | 2939 More and more people are including @sc{url}s in their signatures, and within |
2940 the body of mail messages. It can get quite tedious to type these into | 2940 the body of mail messages. It can get quite tedious to type these into |
2941 the minibuffer to follow one. | 2941 the minibuffer to follow one. |
2942 | 2942 |
2968 For those people that are adventurous, or are just as anal as I am about | 2968 For those people that are adventurous, or are just as anal as I am about |
2969 people writing valid @sc{html}, set the variable @code{w3-debug-html} to | 2969 people writing valid @sc{html}, set the variable @code{w3-debug-html} to |
2970 @code{t} and see what happens. | 2970 @code{t} and see what happens. |
2971 | 2971 |
2972 | 2972 |
2973 If a Emacs-W3 thinks it has encountered invalid @sc{html}, then a debugging | 2973 If a Emacs/W3 thinks it has encountered invalid @sc{html}, then a debugging |
2974 message is displayed. | 2974 message is displayed. |
2975 | 2975 |
2976 :: WORK :: Need to list the different values w3-debug-html can have, and | 2976 :: WORK :: Need to list the different values w3-debug-html can have, and |
2977 :: WORK :: what they do :: | 2977 :: WORK :: what they do :: |
2978 | 2978 |
2979 @node Hooks, Other Variables, Debugging HTML, Advanced Features | 2979 @node Hooks, Other Variables, Debugging HTML, Advanced Features |
2980 @section Hooks | 2980 @section Hooks |
2981 @cindex Hooks | 2981 @cindex Hooks |
2982 | 2982 |
2983 These are the various hooks that can be used to customize some of | 2983 These are the various hooks that can be used to customize some of |
2984 Emacs-W3's behavior. They are arranged in the order in which they would | 2984 Emacs/W3's behavior. They are arranged in the order in which they would |
2985 happen when retrieving a document. These are all 'normal hooks' in | 2985 happen when retrieving a document. These are all 'normal hooks' in |
2986 standard Emacs-terminology, meaning they are functions (or lists of | 2986 standard Emacs-terminology, meaning they are functions (or lists of |
2987 functions) that are called consecutively. | 2987 functions) that are called consecutively. |
2988 | 2988 |
2989 @table @code | 2989 @table @code |
2990 @vindex w3-load-hook | 2990 @vindex w3-load-hook |
2991 @item w3-load-hook | 2991 @item w3-load-hook |
2992 These hooks are run the first time a @sc{url} is fetched. All the | 2992 These hooks are run the first time a @sc{url} is fetched. All the |
2993 Emacs-W3 variables are initialized before this hook is run. | 2993 Emacs/W3 variables are initialized before this hook is run. |
2994 @item w3-mode-hook | 2994 @item w3-mode-hook |
2995 These hooks are run after a buffer has been parsed and displayed, but | 2995 These hooks are run after a buffer has been parsed and displayed, but |
2996 before any inlined images are downloaded and converted. | 2996 before any inlined images are downloaded and converted. |
2997 @item w3-source-file-hook | 2997 @item w3-source-file-hook |
2998 These hooks are run after displaying a document's source. | 2998 These hooks are run after displaying a document's source. |
2999 @end table | 2999 @end table |
3000 | 3000 |
3001 @node Other Variables, , Hooks, Advanced Features | 3001 @node Other Variables, , Hooks, Advanced Features |
3002 @section Miscellaneous variables | 3002 @section Miscellaneous variables |
3003 | 3003 |
3004 There are lots of variables that control the real nitty-gritty of Emacs-W3 | 3004 There are lots of variables that control the real nitty-gritty of Emacs/W3 |
3005 that the beginning user probably shouldn't mess with. Here they are. | 3005 that the beginning user probably shouldn't mess with. Here they are. |
3006 | 3006 |
3007 @table @code | 3007 @table @code |
3008 @item url-bad-port-list | 3008 @item url-bad-port-list |
3009 @vindex url-bad-port-list | 3009 @vindex url-bad-port-list |
3018 answer is gotten. Defaults to @code{'yes-or-no-p}. | 3018 answer is gotten. Defaults to @code{'yes-or-no-p}. |
3019 @item w3-default-action | 3019 @item w3-default-action |
3020 @vindex w3-default-action | 3020 @vindex w3-default-action |
3021 A lisp symbol specifying what action to take for files with extensions | 3021 A lisp symbol specifying what action to take for files with extensions |
3022 that are not in the @code{mm-mime-extensions} assoc list. This is | 3022 that are not in the @code{mm-mime-extensions} assoc list. This is |
3023 useful in case Emacs-W3 ever run across files with weird extensions | 3023 useful in case Emacs/W3 ever run across files with weird extensions |
3024 (.foo, .README, .READMEFIRST, etc.). In most circumstances, this should | 3024 (.foo, .README, .READMEFIRST, etc.). In most circumstances, this should |
3025 not be required anymore. | 3025 not be required anymore. |
3026 | 3026 |
3027 Possible values: any lisp symbol. Should be a function that takes no | 3027 Possible values: any lisp symbol. Should be a function that takes no |
3028 arguments. The return value does not matter, it is ignored. Some examples | 3028 arguments. The return value does not matter, it is ignored. Some examples |
3053 @item w3-reuse-buffers | 3053 @item w3-reuse-buffers |
3054 @vindex w3-reuse-buffers | 3054 @vindex w3-reuse-buffers |
3055 Determines what happens when @code{w3-fetch} is called on a document | 3055 Determines what happens when @code{w3-fetch} is called on a document |
3056 that has already been loaded into another buffer. Possible values are: | 3056 that has already been loaded into another buffer. Possible values are: |
3057 @code{nil}, @code{yes}, and @code{no}. @code{nil} will ask the user if | 3057 @code{nil}, @code{yes}, and @code{no}. @code{nil} will ask the user if |
3058 Emacs-W3 should reuse the buffer (this is the default value). A value of | 3058 Emacs/W3 should reuse the buffer (this is the default value). A value of |
3059 @code{yes} means assume the user wants to always reuse the buffer. A | 3059 @code{yes} means assume the user wants to always reuse the buffer. A |
3060 value of @code{no} means assume the user always wants to re-fetch the | 3060 value of @code{no} means assume the user always wants to re-fetch the |
3061 document. | 3061 document. |
3062 @item w3-show-headers | 3062 @item w3-show-headers |
3063 @vindex w3-show-headers | 3063 @vindex w3-show-headers |
3103 @node More Help, Future Directions, Advanced Features, Top | 3103 @node More Help, Future Directions, Advanced Features, Top |
3104 @chapter More Help | 3104 @chapter More Help |
3105 @cindex Relevant Newsgroups | 3105 @cindex Relevant Newsgroups |
3106 @cindex Newsgroups | 3106 @cindex Newsgroups |
3107 @cindex Support | 3107 @cindex Support |
3108 For more help on Emacs-W3, please send me mail | 3108 For more help on Emacs/W3, please send me mail |
3109 (@i{wmperry@@cs.indiana.edu}). Several discussion lists have also been | 3109 (@i{wmperry@@cs.indiana.edu}). Several discussion lists have also been |
3110 created for Emacs-W3. To subscribe, send mail to | 3110 created for Emacs/W3. To subscribe, send mail to |
3111 @i{majordomo@@indiana.edu}, with the body of the message 'subscribe | 3111 @i{majordomo@@indiana.edu}, with the body of the message 'subscribe |
3112 @var{listname} @var{<email addres>}'. All other mail should go to | 3112 @var{listname} @var{<email addres>}'. All other mail should go to |
3113 @i{<listname>@@indiana.edu}. | 3113 @i{<listname>@@indiana.edu}. |
3114 | 3114 |
3115 | 3115 |
3116 @itemize @bullet | 3116 @itemize @bullet |
3117 @item | 3117 @item |
3118 w3-announce -- this list is for anyone interested in Emacs-W3, and | 3118 w3-announce -- this list is for anyone interested in Emacs/W3, and |
3119 should in general only be used by me. The gnu.emacs.sources newsgroup | 3119 should in general only be used by me. The gnu.emacs.sources newsgroup |
3120 and a few other mailing lists are included on this. Please only use | 3120 and a few other mailing lists are included on this. Please only use |
3121 this list for major package releases related to Emacs-W3. | 3121 this list for major package releases related to Emacs/W3. |
3122 (@i{www-announce@@w3.org} is included on this list). | 3122 (@i{www-announce@@w3.org} is included on this list). |
3123 @item | 3123 @item |
3124 w3-beta -- this list is for beta testers of Emacs-W3. These brave souls test | 3124 w3-beta -- this list is for beta testers of Emacs/W3. These brave souls test |
3125 out not-quite stable code. | 3125 out not-quite stable code. |
3126 @item | 3126 @item |
3127 w3-dev -- a list consisting of myself and a few other people who are | 3127 w3-dev -- a list consisting of myself and a few other people who are |
3128 interested in the internals of Emacs-W3, and doing active development work. | 3128 interested in the internals of Emacs/W3, and doing active development work. |
3129 Pretty dead right now, but I hope it will grow. | 3129 Pretty dead right now, but I hope it will grow. |
3130 @end itemize | 3130 @end itemize |
3131 | 3131 |
3132 For more help on the World Wide Web in general, please refer to the | 3132 For more help on the World Wide Web in general, please refer to the |
3133 comp.infosystems.www.* newsgroups. There are also several discussion | 3133 comp.infosystems.www.* newsgroups. There are also several discussion |
3161 @appendix Reporting Bugs | 3161 @appendix Reporting Bugs |
3162 @cindex Reporting Bugs | 3162 @cindex Reporting Bugs |
3163 @cindex Bugs | 3163 @cindex Bugs |
3164 @cindex Contacting the author | 3164 @cindex Contacting the author |
3165 | 3165 |
3166 If any bugs are discovered in Emacs-W3, please report them to the | 3166 If any bugs are discovered in Emacs/W3, please report them to the |
3167 mailing list @t{w3-beta@@indiana.edu} - this is where the brave souls | 3167 mailing list @t{w3-beta@@indiana.edu} - this is where the brave souls |
3168 who beta test the latest versions of Emacs-W3 reside, and are generally | 3168 who beta test the latest versions of Emacs/W3 reside, and are generally |
3169 very responsive to bug reports. | 3169 very responsive to bug reports. |
3170 | 3170 |
3171 @kindex w | 3171 @kindex w |
3172 Please make sure to use the bug submission feature of Emacs-W3, so that | 3172 Please make sure to use the bug submission feature of Emacs/W3, so that |
3173 all relevant information will be sent along with your bug report. By | 3173 all relevant information will be sent along with your bug report. By |
3174 default this is bound to the `@key{w}' key when in an Emacs-W3 buffer, | 3174 default this is bound to the `@key{w}' key when in an Emacs/W3 buffer, |
3175 or you can use @key{M-x w3-submit-bug} from anywhere within Emacs. | 3175 or you can use @key{M-x w3-submit-bug} from anywhere within Emacs. |
3176 | 3176 |
3177 For problems that are causing emacs to signal and error, please send a | 3177 For problems that are causing emacs to signal and error, please send a |
3178 backtrace. You can get a backtrace by @kbd{M-x setvariable RET | 3178 backtrace. You can get a backtrace by @kbd{M-x setvariable RET |
3179 debug-on-error RET t RET}, and then reproduce the error. | 3179 debug-on-error RET t RET}, and then reproduce the error. |
3213 @cindex Firewalls | 3213 @cindex Firewalls |
3214 @item Firewalls | 3214 @item Firewalls |
3215 It is becoming more and more common to be behind a firewall or some | 3215 It is becoming more and more common to be behind a firewall or some |
3216 other system that restricts your outbound network activity, especially | 3216 other system that restricts your outbound network activity, especially |
3217 if you are like me and away from the wonderful world of academia. | 3217 if you are like me and away from the wonderful world of academia. |
3218 Emacs-W3 has several different methods to get around firewalls (not to | 3218 Emacs/W3 has several different methods to get around firewalls (not to |
3219 worry though - none of them should get you in trouble with the local | 3219 worry though - none of them should get you in trouble with the local |
3220 @sc{mis} department.) | 3220 @sc{mis} department.) |
3221 | 3221 |
3222 @item Emacs cannot resolve hostnames. | 3222 @item Emacs cannot resolve hostnames. |
3223 @cindex Faulty hostname resolvers | 3223 @cindex Faulty hostname resolvers |
3269 support in Emacs or XEmacs, please let @t{wmperry@@cs.indiana.edu} know, | 3269 support in Emacs or XEmacs, please let @t{wmperry@@cs.indiana.edu} know, |
3270 as he is responsible for the original support. | 3270 as he is responsible for the original support. |
3271 @end table | 3271 @end table |
3272 | 3272 |
3273 @vindex url-gateway-local-host-regexp | 3273 @vindex url-gateway-local-host-regexp |
3274 Emacs-W3 has support for using the gateway mechanism for certain | 3274 Emacs/W3 has support for using the gateway mechanism for certain |
3275 domains, and directly connecting to others. The variable | 3275 domains, and directly connecting to others. The variable |
3276 @code{url-gateway-local-host-regexp} controls this behaviour. This is a | 3276 @code{url-gateway-local-host-regexp} controls this behaviour. This is a |
3277 regular expression @footnote{Please see the full Emacs distribution for | 3277 regular expression @footnote{Please see the full Emacs distribution for |
3278 a description of regular expressions} that matches local hosts that do | 3278 a description of regular expressions} that matches local hosts that do |
3279 not require the use of a gateway. If @code{nil}, then all connections | 3279 not require the use of a gateway. If @code{nil}, then all connections |
3280 are made through the gateway. | 3280 are made through the gateway. |
3281 | 3281 |
3282 @vindex url-gateway-method | 3282 @vindex url-gateway-method |
3283 Emacs-W3 supports several methods of getting around gateways. The | 3283 Emacs/W3 supports several methods of getting around gateways. The |
3284 variable @code{url-gateway-method} controls which of these methods is | 3284 variable @code{url-gateway-method} controls which of these methods is |
3285 used. This variable can have several values (use these as symbol names, | 3285 used. This variable can have several values (use these as symbol names, |
3286 not strings), ie: @samp{(setq url-gateway-method 'telnet)}. Possible | 3286 not strings), ie: @samp{(setq url-gateway-method 'telnet)}. Possible |
3287 values are: | 3287 values are: |
3288 | 3288 |
3344 | 3344 |
3345 @c @item ssl | 3345 @c @item ssl |
3346 @c This probably shouldn't be documented | 3346 @c This probably shouldn't be documented |
3347 | 3347 |
3348 @item native | 3348 @item native |
3349 This means that Emacs-W3 should use the builtin networking code of | 3349 This means that Emacs/W3 should use the builtin networking code of |
3350 Emacs. This should be used only if there is no firewall, or the Emacs | 3350 Emacs. This should be used only if there is no firewall, or the Emacs |
3351 source has already been hacked to get around the firewall. | 3351 source has already been hacked to get around the firewall. |
3352 @end table | 3352 @end table |
3353 | 3353 |
3354 Emacs-W3 should now be able to get outside the local network. If none | 3354 Emacs/W3 should now be able to get outside the local network. If none |
3355 of this makes sense, its probably my fault. Please check with the | 3355 of this makes sense, its probably my fault. Please check with the |
3356 network administrators to see if they have a program that does most of | 3356 network administrators to see if they have a program that does most of |
3357 this already, since somebody somewhere at the company has probably been | 3357 this already, since somebody somewhere at the company has probably been |
3358 through something similar to this before, and would be much more | 3358 through something similar to this before, and would be much more |
3359 helpful/knowledgeable about the local setup than I would be. But feel | 3359 helpful/knowledgeable about the local setup than I would be. But feel |
3387 | 3387 |
3388 @example | 3388 @example |
3389 NO_PROXY=*.aventail.com,home.com,*.seanet.com | 3389 NO_PROXY=*.aventail.com,home.com,*.seanet.com |
3390 @end example | 3390 @end example |
3391 | 3391 |
3392 tells Emacs-W3 to contact all machines in the @b{aventail.com} and | 3392 tells Emacs/W3 to contact all machines in the @b{aventail.com} and |
3393 @b{seanet.com} domains directly, as well as the machine named | 3393 @b{seanet.com} domains directly, as well as the machine named |
3394 @b{home.com}. | 3394 @b{home.com}. |
3395 | 3395 |
3396 @vindex url-proxy-services | 3396 @vindex url-proxy-services |
3397 @cindex Proxies, setting from lisp | 3397 @cindex Proxies, setting from lisp |
3415 @cindex Secure Sockets Layer | 3415 @cindex Secure Sockets Layer |
3416 @cindex SSL | 3416 @cindex SSL |
3417 @cindex Gag Puke Retch | 3417 @cindex Gag Puke Retch |
3418 @cindex Exportability | 3418 @cindex Exportability |
3419 @cindex Export Restrictions | 3419 @cindex Export Restrictions |
3420 In order to use SSL in Emacs-W3, an implementation of SSL is necessary. | 3420 In order to use SSL in Emacs/W3, an implementation of SSL is necessary. |
3421 These are the implementations that I am aware of: | 3421 These are the implementations that I am aware of: |
3422 | 3422 |
3423 @table @code | 3423 @table @code |
3424 @item SSLRef 2.0 | 3424 @item SSLRef 2.0 |
3425 Available from Netscape Communications @footnote{http://www.netscape.com/newsref/std/sslref.html}. This requires the | 3425 Available from Netscape Communications @footnote{http://www.netscape.com/newsref/std/sslref.html}. This requires the |
3430 commerial or noncommercial use, and was developed completely outside the | 3430 commerial or noncommercial use, and was developed completely outside the |
3431 US by a non-US citizen. More information can be found at | 3431 US by a non-US citizen. More information can be found at |
3432 ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/ | 3432 ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/ |
3433 @end table | 3433 @end table |
3434 | 3434 |
3435 Currently, an external in order to use SSL from within Emacs-W3. This | 3435 Currently, an external in order to use SSL from within Emacs/W3. This |
3436 program should be able to take command line parameters for the hostname | 3436 program should be able to take command line parameters for the hostname |
3437 and port number to connect to, and read/write to standard input/output | 3437 and port number to connect to, and read/write to standard input/output |
3438 (similar to telnet, but without the annoying status messages). | 3438 (similar to telnet, but without the annoying status messages). |
3439 | 3439 |
3440 The following variables control how the external program is invoked. | 3440 The following variables control how the external program is invoked. |
3468 @appendix Mailcap Files | 3468 @appendix Mailcap Files |
3469 NCSA Mosaic and almost all other WWW browsers rely on a separate file | 3469 NCSA Mosaic and almost all other WWW browsers rely on a separate file |
3470 for mapping MIME types to external viewing programs. This takes some of | 3470 for mapping MIME types to external viewing programs. This takes some of |
3471 the burden off of browser developers, so each browser does not have to | 3471 the burden off of browser developers, so each browser does not have to |
3472 support all image formats, or postscript, etc. Instead of having the | 3472 support all image formats, or postscript, etc. Instead of having the |
3473 users of Emacs-W3 duplicate this in lisp, this file can be parsed using | 3473 users of Emacs/W3 duplicate this in lisp, this file can be parsed using |
3474 the @code{mm-parse-mailcaps} function. This function is called each | 3474 the @code{mm-parse-mailcaps} function. This function is called each |
3475 time Emacs-W3 is loaded. It tries to locate mimetype files in several | 3475 time Emacs/W3 is loaded. It tries to locate mimetype files in several |
3476 places. If the environment variable @code{MAILCAPS} is nonempty, then | 3476 places. If the environment variable @code{MAILCAPS} is nonempty, then |
3477 this is assumed to specify a UNIX-like path of mimetype files (this is a | 3477 this is assumed to specify a UNIX-like path of mimetype files (this is a |
3478 colon separated string of pathnames). If the @code{MAILCAPS} | 3478 colon separated string of pathnames). If the @code{MAILCAPS} |
3479 environment variable is empty, then Emacs-W3 looks for these | 3479 environment variable is empty, then Emacs/W3 looks for these |
3480 files: | 3480 files: |
3481 | 3481 |
3482 @enumerate | 3482 @enumerate |
3483 @item | 3483 @item |
3484 @file{~/.mailcap} | 3484 @file{~/.mailcap} |