]> git.donarmstrong.com Git - dactyl.git/blobdiff - common/locale/en-US/options.xml
Import r6923 from upstream hg supporting Firefox up to 22.0a1
[dactyl.git] / common / locale / en-US / options.xml
index 6de3231b5065d8c795fa4698ad07499ad8e14672..26c77c2ecfc11ca69fbfc8fa2fb2e0bb7f7c62b9 100644 (file)
 </p>
 
 <dl dt="width: 10em;">
-    <dt>boolean</dt>       <dd>Can only be <hl key="Boolean">on</hl> or <hl key="Boolean">off</hl></dd>
+    <dt/><dd tag="boolean"/>
+    <dt>boolean</dt>
+    <dd>
+        Can only be <hl key="Boolean">on</hl> (<ex>:set <a>option</a></ex>) or
+        <hl key="Boolean">off</hl> (<ex>:set no<a>option</a></ex>)
+    </dd>
+
     <dt>number</dt>        <dd>A numeric value</dd>
     <dt>string</dt>        <dd>A string value</dd>
 
 </item>
 
 <item>
-    <spec>:se<oa>t</oa> <a>option</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a> <oa></oa></spec>
     <description>
         <p>
             For boolean options, turn them on. For all other types,
 </item>
 
 <item>
-    <spec>:se<oa>t</oa> no<a>option</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> no<a>option</a> <oa></oa></spec>
     <description>
         <p>
             For boolean options, turn them off. For all other types,
 </item>
 
 <item>
-    <spec>:se<oa>t</oa> <a>option</a>! <oa>...</oa></spec>
-    <spec>:se<oa>t</oa> inv<a>option</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>! <oa></oa></spec>
+    <spec>:se<oa>t</oa> inv<a>option</a> <oa></oa></spec>
     <description>
         <p>
             For boolean options, invert their value. For all other types,
 
 <item>
     <tags>:set!=</tags>
-    <spec>:se<oa>t</oa> inv<a>option</a>=<a>value</a> <oa>...</oa></spec>
-    <spec>:se<oa>t</oa> <a>option</a>!=<a>value</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> inv<a>option</a>=<a>value</a> <oa></oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>!=<a>value</a> <oa></oa></spec>
     <description>
         <p>For list options, toggle the specified values.</p>
 
 
 <item>
     <tags>:set-default</tags>
-    <spec>:se<oa>t</oa> <a>option</a>&amp; <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>&amp; <oa></oa></spec>
     <description>
         <p>Reset option to its default value.</p>
     </description>
 
 <item>
     <tags>:set-args E487 E521</tags>
-    <spec>:se<oa>t</oa> <a>option</a>=<a>value</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>=<a>value</a> <oa></oa></spec>
     <description>
         <p>
             Set string or number option to <a>value</a>.
 
 <item>
     <tags>:set+=</tags>
-    <spec>:se<oa>t</oa> <a>option</a>+=<a>value</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>+=<a>value</a> <oa></oa></spec>
     <description>
         <p>
             Add the <a>value</a> to a number option, or append the <a>value</a>
 
 <item>
     <tags>:set^=</tags>
-    <spec>:se<oa>t</oa> <a>option</a>^=<a>value</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>^=<a>value</a> <oa></oa></spec>
     <description>
         <p>
             Multiply the <a>value</a> to a number option, or prepend the
 
 <item>
     <tags>:set-=</tags>
-    <spec>:se<oa>t</oa> <a>option</a>-=<a>value</a> <oa>...</oa></spec>
+    <spec>:se<oa>t</oa> <a>option</a>-=<a>value</a> <oa></oa></spec>
     <description>
         <p>
             Subtract the <a>value</a> from a number option, or remove the
     <strut/>
     <type>&option.extendedhinttags.type;</type>
     <default>[asOTvVWy]:':-moz-any-link',area[href],img[src],iframe[src],
+          [A]:[id],a[name],
           [f]:body,
           [F]:body,code,div,html,p,pre,span,
           [iI]:img,
     <strut/>
     <spec>'hinttags' 'ht'</spec>
     <type>&option.hinttags.type;</type>
-    <default>:-moz-any-link,area,button,iframe,input:not([type=hidden]),select,textarea,
+    <default>:-moz-any-link,area,button,iframe,input:not([type=hidden]),
+          label[for],select,textarea,
           [onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand],
           [tabindex],[role=link],[role=button],[contenteditable=true]</default>
     <description>
     <tags>'ln' 'linenumbers'</tags>
     <spec>'linenumbers' 'ln'</spec>
     <type>&option.linenumbers.type;</type>
-    <default>&option.linenumbers.default;</default>
+    <default><![CDATA['view-source:*':[id^=line],
+          code.google.com:'#nums [id^="nums_table"] a[href^="#"]',
+          github.com:.line_numbers>*,
+          mxr.mozilla.org:a.l,
+          pastebin.com:#code_frame>div>ol>li,
+          addons.mozilla.org:.gutter>.line>a,
+          bugzilla.mozilla.org:.bz_comment:not(.bz_first_comment):not(.ih_history),
+          *:'/* Hgweb/Gitweb */ .completecodeline a.codeline, a.linenr']]></default>
     <description>
         <p>
             Patterns used to determine line numbers used by <k>G</k>. May be
-            either a selector expression as accepted by <o>hinttags</o>, in
-            which case the first matching element whose text content is equal to
-            the desired line number is used or the <oa>count</oa>th element
-            failing that, or the string <str delim="'">func:</str> followed by a
-            function which, given arguments for the document and desired line
-            number, must return the target element.
+            either a selector expression as accepted by <o>hinttags</o>, or the
+            string <str delim="'">func:</str> followed by a JavaScript
+            expression which evaluates to a function. In the former case, the
+            first matching element whose text content is equal to the desired
+            line number is used. If no such element exists, the <oa>count</oa>th
+            matching element is used. In the latter case, the provided function
+            must accept two arguments, the document in question and the desired
+            line number, and must return the element corresponding to the given
+            line.
         </p>
     </description>
 </item>
     </description>
 </item>
 
-<item>
-    <tags>'ml' 'mapleader'</tags>
-    <spec>'mapleader' 'ml'</spec>
-    <type>&option.mapleader.type;</type>
-    <default>&option.mapleader.default;</default>
-    <description>
-        <p>Defines the replacement keys for the <k name="Leader"/> pseudo-key.</p>
-    </description>
-</item>
-
 <item>
     <tags>'maxitems'</tags>
     <spec>'maxitems'</spec>
     <description>
         <p>
             Pass certain keys through directly for the given URLs.
-            For any page with a URL matching a given regexp, all key
-            events for keys listed in that regexp's value are passed
+            For any page with a URL matching a given <t>site-filter</t>, all key
+            events for keys listed in the corresponding value are passed
             through directly to &dactyl.host;, and are not processed
             by &dactyl.appName; in any way. Key names are separated
             by commas, where the first key name is treated as a list
 <item>
     <tags>'pu' 'passunknown'</tags>
     <spec>'passunknown' 'pu'</spec>
-    <type>&option.showmode.type;</type>
-    <default>&option.showmode.default;</default>
+    <type>&option.passunknown.type;</type>
+    <default>&option.passunknown.default;</default>
     <description>
         <p>
             Pass unknown keys through to &dactyl.host; in these
 
         <ul>
             <li>colors/</li>
-            <li>macros/</li>
             <li>plugins/</li>
         </ul>
 
         <p>
             The regular expression used to split URL lists in commands
             like <ex>:open</ex>. When set to the empty string, URL lists
-            are never split. With the default value, the following will open
-            three URLs in the current tab and two new background tabs,
+            are never split. With the default settings, the following will open
+            three URLs (the first one in the current tab and the latter two in
+            two new background tabs):
         </p>
         <code><ex>:open <str delim="">google Linux</str> | <str delim="">wikipedia Arch Linux</str> | <str delim="">imdb Serenity</str></ex></code>
     </description>