annotate lisp/w3/w3-cus.el @ 36:c53a95d3c46d r19-15b101

Import from CVS: tag r19-15b101
author cvs
date Mon, 13 Aug 2007 08:53:38 +0200
parents e04119814345
children 1a767b41a199
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
1 ;;; w3-cus.el --- Customization support for Emacs-W3
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
2 ;; Author: wmperry
36
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
3 ;; Created: 1997/03/14 21:35:54
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
4 ;; Version: 1.4
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
5 ;; Keywords: comm, help, hypermedia
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
6
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
8 ;;; Copyright (c) 1993 - 1996 by William M. Perry (wmperry@cs.indiana.edu)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
9 ;;; Copyright (c) 1996, 1997 Free Software Foundation, Inc.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
10 ;;;
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
11 ;;; This file is part of GNU Emacs.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
12 ;;;
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
13 ;;; GNU Emacs is free software; you can redistribute it and/or modify
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
14 ;;; it under the terms of the GNU General Public License as published by
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
15 ;;; the Free Software Foundation; either version 2, or (at your option)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
16 ;;; any later version.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
17 ;;;
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
18 ;;; GNU Emacs is distributed in the hope that it will be useful,
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
19 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
21 ;;; GNU General Public License for more details.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
22 ;;;
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
23 ;;; You should have received a copy of the GNU General Public License
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
24 ;;; along with GNU Emacs; see the file COPYING. If not, write to the
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
25 ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
26 ;;; Boston, MA 02111-1307, USA.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
27 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
28 (eval-and-compile
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
29 (condition-case ()
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
30 (require 'custom)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
31 (error nil))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
32 (if (and (featurep 'custom) (fboundp 'custom-declare-variable))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
33 nil ;; We've got what we needed
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
34 ;; We have the old custom-library, hack around it!
36
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
35 (defmacro defgroup (&rest args)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
36 nil)
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
37 (defmacro defcustom (var value doc &rest args)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
38 (` (defvar (, var) (, value) (, doc))))))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
39
36
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
40 (defgroup w3 nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
41 "Emacs-W3 - the web browser of choice."
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
42 :group 'hypermedia)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
43
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
44 (defgroup w3-files nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
45 "Emacs-W3 configuration files."
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
46 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
47
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
48 (defgroup w3-images nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
49 "Controlling image handling."
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
50 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
51
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
52 (defgroup w3-printing nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
53 "Various options for hardcopy from web pages."
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
54 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
55
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
56 (defgroup w3-menus nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
57 "The look of menus in Emacs-W3"
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
58 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
59
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
60 (defgroup w3-parsing nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
61 "Options relating to HTML parsing"
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
62 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
63
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
64 (defgroup w3-display nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
65 "Variables relating to how web pages are displayed."
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
66 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
67
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
68 (defgroup w3-hooks nil
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
69 "Hooks relating to Emacs-W3."
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
70 :group 'w3)
c53a95d3c46d Import from CVS: tag r19-15b101
cvs
parents: 32
diff changeset
71
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
72 ;;; File related variables
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
73 (defcustom w3-configuration-directory "~/.w3/"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
74 "*Directory where Emacs-w3 can find its configuration files"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
75 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
76 :type 'directory)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
77
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
78 (defcustom w3-default-configuration-file nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
79 "*Where per-user customizations of w3 are kept."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
80 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
81 :type 'file)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
82
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
83 (defcustom w3-default-homepage nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
84 "*The url to open at startup. It can be any valid URL.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
85 This will default to the environment variable WWW_HOME if you do not
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
86 set it in your .emacs file. If WWW_HOME is undefined, then it will
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
87 default to the hypertext documentation for W3 at Indiana University."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
88 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
89 :type 'string)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
90
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
91 (defcustom w3-default-stylesheet nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
92 "*The filename of the users default stylesheet."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
93 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
94 :type 'file)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
95
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
96 (defcustom w3-hotlist-file nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
97 "*Hotlist filename.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
98 This should be the name of a file that is stored in either
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
99 NCSA's Mosaic/X or Netscape/X format. It is used to keep a listing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
100 of commonly accessed URL's without having to go through 20 levels of
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
101 menus to get to them."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
102 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
103 :type 'file)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
104
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
105 (defcustom w3-documentation-root "http://www.cs.indiana.edu/elisp/w3/docs/"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
106 "*Where the w3 documentation lives. This MUST end in a slash."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
107 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
108 :type 'string)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
109
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
110 (defcustom w3-temporary-directory (or (getenv "TMPDIR") "/tmp")
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
111 "*Where temporary files go."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
112 :group 'w3-files
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
113 :type 'directory)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
114
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
115 ;;; Display related variables
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
116 (defcustom w3-display-frames nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
117 "*Fetch frames - not optimal."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
118 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
119 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
120
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
121 (defcustom w3-do-incremental-display nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
122 "*Whether to do incremental display of pages or not."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
123 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
124 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
125
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
126 (defcustom w3-echo-link '(title url text name)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
127 "*Whether to display the URL of a link when tabbing through links.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
128 Value is a list of one or more of the following symbols:
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
129
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
130 url == url of the target
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
131 text == text of the link
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
132 title == title attribute of the link
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
133 name == name or id attribute of the link
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
134
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
135 If none of the information is available, nothing will be shown for the link
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
136 in menus, etc."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
137 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
138 :type '(set (const :tag "URL" :value url)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
139 (const :tag "Link Text" :value text)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
140 (const :tag "Title of the link as defined in the HTML tag"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
141 :value title)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
142 (const :tag "Name of the link as defined in the HTML tag"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
143 :value name)))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
144
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
145 (defcustom w3-horizontal-rule-char ?-
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
146 "*The character to use to create a horizontal rule.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
147 Must be the character's code, not a string. This character is
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
148 replicated across the screen to create a division."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
149 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
150 :type 'character)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
151
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
152 (defcustom w3-defined-link-types
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
153 ;; This is the HTML3.0 list (downcased) plus "made".
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
154 '("previous" "next" "up" "down" "home" "toc" "index" "glossary"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
155 "copyright" "bookmark" "help" "made")
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
156 "A list of the (lower-case) names which have special significance
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
157 as the values of REL or REV attributes of <link> elements. They will
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
158 be presented on the toolbar or the links menu, for instance."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
159 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
160 :type '(repeat string))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
161
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
162 ;;; Parsing related variables
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
163 (defcustom w3-debug-html nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
164 "*Whether to gripe about bad HTML or not."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
165 :group 'w3-parsing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
166 :type '(choice (const :tag "HTML Errors" :value t)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
167 (const :tag "Errors and stylistic issues" :value style)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
168 (const :tag "None" :value nil)))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
169
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
170 (defcustom w3-debug-buffer "*HTML Debug*"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
171 "*Name of buffer to store debugging information in."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
172 :group 'w3-parsing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
173 :type 'string)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
174
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
175 ;;; Image related variables
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
176 (defcustom w3-auto-image-alt t
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
177 "*Whether emacs-w3 should create an alt attribute for an image that
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
178 is missing it.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
179 If nil, emacs-w3 will not automatically create an ALT attribute.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
180 If t, the alt attribute will be [IMAGE(nameofimage)]
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
181 If a string, it should be a string suitable for running through format,
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
182 with only one %s, which will be replaced with just the filename of the
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
183 graphic that is not loaded."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
184 :group 'w3-images
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
185 :type '(choice (const :tag "None" :value nil)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
186 (const :tag "Default" :value t)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
187 string))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
188
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
189 (defcustom w3-icon-directory "http://cs.indiana.edu/elisp/w3/icons/"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
190 "*Where to find standard icons. Must end in a /!"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
191 :group 'w3-images
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
192 :type 'string)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
193
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
194 (defcustom w3-icon-format 'gif
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
195 "*Image format the default icons are expected to be in.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
196 This is a symbol, string or nil, specifing what file extension to use.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
197 If nil, then no file extension is used."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
198 :group 'w3-images
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
199 :type '(choice (const :tag "GIF Image" :value gif)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
200 (const :tag "XPM Image" :value xpm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
201 (const :tag "XBM Image" :value xbm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
202 (const :tag "Let the server decide" :value nil)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
203 (string :tag "Other")))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
204
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
205 (defcustom w3-delay-image-loads nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
206 "*Whether to delay image loading, or automatically retrieve them."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
207 :group 'w3-images
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
208 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
209
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
210 (defcustom w3-image-mappings
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
211 '(
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
212 ("image/x-xbitmap" . xbm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
213 ("image/xbitmap" . xbm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
214 ("image/xbm" . xbm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
215 ("image/jpeg" . jpeg)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
216 ("image/gif" . gif)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
217 ("image/png" . png)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
218 ("image/x-fax" . g3fax)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
219 ("image/x-raster" . rast)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
220 ("image/windowdump" . xwd)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
221 ("image/x-icon" . icon)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
222 ("image/portable-graymap" . pgm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
223 ("image/portable-pixmap" . ppm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
224 ("image/x-pixmap" . xpm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
225 ("image/x-xpixmap" . xpm)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
226 ("image/pict" . pict)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
227 ("image/x-rgb" . sgi)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
228 ("image/x-sgi" . sgi)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
229 ("image/x-macpaint" . macpt)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
230 ("image/x-targa" . tga)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
231 ("image/tiff" . tiff)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
232 )
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
233 "*How to map MIME types to image types for the `image' package.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
234 Each entry is a cons cell of MIME types and image-type symbols."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
235 :group 'w3-images
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
236 :type '(repeat cons))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
237
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
238 ;;; Printing variables
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
239 (defcustom w3-latex-docstyle "{article}"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
240 "*The documentstyle to use when printing or mailing files as LaTeX.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
241 Good defaults are: {article}, [psfig,twocolumn]{article}, etc."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
242 :group 'w3-printing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
243 :type 'string)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
244
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
245 (defcustom w3-latex-print-links nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
246 "*If non-nil, prints the URLs of hypertext links as endnotes at the end of
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
247 the document. If `footnote', prints the URL's as footnotes on a page."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
248 :group 'w3-printing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
249 :type '(choice (const :tag "As endnotes" :value t)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
250 (const :tag "As footnotes" :value footnote)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
251 (const :tag "Do not print" :value nil)))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
252
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
253 (defcustom w3-latex-use-latex2e nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
254 "*If non-nil, configures LaTeX parser to use LaTeX2e syntax. A `nil'
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
255 value indicates that LaTeX 2.0.9 compatibility will be used instead."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
256 :group 'w3-printing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
257 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
258
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
259 (defcustom w3-latex-packages nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
260 "*List of LaTeX packages to include when converting HTML to LaTeX.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
261 Currently this is only used if `w3-latex-use-latex2e' is non-nil."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
262 :group 'w3-printing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
263 :type '(repeat string))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
264
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
265 (defcustom w3-latex-use-maketitle nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
266 "*Non-nil makes the LaTeX parser use real LaTeX title pages."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
267 :group 'w3-printing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
268 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
269
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
270 ;;; Menus
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
271 (defcustom w3-max-menu-length 35
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
272 "*The maximum length of a pulldown menu before it will be split into
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
273 smaller chunks, with the first part as a submenu, followed by the rest
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
274 of the menu."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
275 :group 'w3-menus
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
276 :type 'integer)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
277
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
278 (defcustom w3-max-menu-width 40
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
279 "*The maximum width of a pulldown menu choice."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
280 :group 'w3-menus
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
281 :type 'integer)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
282
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
283 ;;; Advanced stuff
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
284 (defcustom w3-modeline-format
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
285 '(" " ("W3"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
286 (w3-netscape-emulation-minor-mode
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
287 " (NS)")
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
288 (w3-lynx-emulation-minor-mode
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
289 " (Lynx)")
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
290 ": "
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
291 (40 (-40 "%b"))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
292 " "
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
293 (w3-current-isindex "[Searchable] ")
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
294 "%p" " " global-mode-string))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
295 "*The modeline format string when in w3 mode"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
296 :group 'w3-advanced
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
297 :type 'list)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
298
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
299 (defcustom w3-netscape-compatible-comments t
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
300 "*Whether to honor netscape-style <! > comments.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
301 Ye gods I wish I could turn this off by default."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
302 :group 'w3-parsing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
303 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
304
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
305 (defcustom w3-notify 'semibully
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
306 "*Selects the behavior when w3 page is ready.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
307 This variable may have one of the following values:
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
308
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
309 newframe -- put the w3 page in its own frame
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
310 bully -- make the w3 page the current buffer and only window
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
311 semibully -- make the w3 page the current buffer in the same window
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
312 aggressive -- make the w3 page the current buffer in the other window
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
313 friendly -- display w3page in other window but don't make current
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
314 polite -- don't display w3 page, but prints message when ready (beeps)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
315 quiet -- like `polite', but don't beep
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
316 meek -- make no indication that page is ready
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
317
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
318 Any other value of `w3-notify' is equivalent to `meek'."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
319 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
320 :type '(choice (const :tag "Display in a new frame"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
321 :value newframe)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
322 (const :tag "Display in the current window, select buffer, and kill other windows"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
323 :value bully)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
324 (const :tag "Display in the current window, select buffer"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
325 :value semibully)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
326 (const :tag "Display in another window, select buffer"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
327 :value aggressive)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
328 (const :tag "Display in another window, but do not select it"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
329 :value friendly)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
330 (const :tag "Do not display page, but show a message and beep"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
331 :value polite)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
332 (const :tag "Do not display page, but show a message (no beep)"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
333 :value quiet)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
334 (const :tag "Do not indicate that the page has been retrieved"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
335 :value meek)))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
336
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
337 (defcustom w3-popup-menu-on-mouse-3 t
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
338 "*Non-nil value means W3 should provide context-sensitive menus on mouse-3.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
339 A nil value means W3 should not change the binding of mouse-3."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
340 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
341 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
342
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
343 (defcustom w3-print-command "lpr -h -d"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
344 "*Print command for dvi files.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
345 This is usually 'lpr -h -d' to send it to a postscript printer, but you can set
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
346 it up so that it is any command that takes a dvi file as its last argument."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
347 :group 'w3-printing
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
348 :type 'string)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
349
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
350 (defcustom w3-reuse-buffers 'yes
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
351 "What to do when following a link will re-fetch a document that has
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
352 already been fetched into a W3 buffer. Possible values are: nil,
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
353 'yes, and 'no. Nil means ask the user if we should reuse the buffer.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
354 A value of 'yes means assume the user wants us to reuse the buffer.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
355 A value of 'no means assume the user wants us to re-fetch the document.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
356
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
357 This will also accept:
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
358 'no ==> always reload
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
359 'yes ==> always reuse
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
360 'ask ==> always ask"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
361 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
362 :type '(choice (const :tag "Always reload" :value no)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
363 (const :tag "Always reuse" :value yes)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
364 (const :tag "Always ask" :value ask)))
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
365
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
366 (defcustom w3-right-margin 2
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
367 "*Default right margin for Emacs-W3 buffers.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
368 This amount is subtracted from (window-width) for each new WWW buffer
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
369 and used as the new fill-column."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
370 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
371 :type 'integer)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
372
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
373 (defcustom w3-maximum-line-length nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
374 "*Maximum length of a line.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
375 If nil, then lines can extend all the way to the window margin."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
376 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
377 :type 'integer)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
378
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
379 (defcustom w3-track-mouse t
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
380 "*Whether to track the mouse and message the url under the mouse."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
381 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
382 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
383
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
384 (defcustom w3-honor-stylesheets t
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
385 "*Whether to let a document specify a CSS stylesheet."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
386 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
387 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
388
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
389 (defcustom w3-user-colors-take-precedence nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
390 "*Whether to let a document define certain colors about itself.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
391 Like foreground and background colors and pixmaps, color of links and
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
392 visited links, etc."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
393 :group 'w3-display
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
394 :type 'boolean)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
395
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
396 ;;; Hook Variables
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
397 (defcustom w3-load-hook nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
398 "*Hooks to be run after loading w3."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
399 :group 'w3-hooks
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
400 :type 'hook)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
401
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
402 (defcustom w3-mode-hook nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
403 "*Hooks to be run after entering w3-mode."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
404 :group 'w3-hooks
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
405 :type 'hook)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
406
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
407 (defcustom w3-source-file-hook nil
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
408 "*Hooks to be run after getting document source."
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
409 :group 'w3-hooks
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
410 :type 'hook)
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
411
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
412 (provide 'w3-cus)