This file is indexed.

/usr/share/doc/ne/html/Automatic-Preferences.html is in ne-doc 2.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html lang="en">
<head>
<title>Automatic Preferences - ne's manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="ne's manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Reference.html#Reference" title="Reference">
<link rel="prev" href="Regular-Expressions.html#Regular-Expressions" title="Regular Expressions">
<link rel="next" href="Emergency-Save.html#Emergency-Save" title="Emergency Save">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Automatic-Preferences"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Emergency-Save.html#Emergency-Save">Emergency Save</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Regular-Expressions.html#Regular-Expressions">Regular Expressions</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Reference.html#Reference">Reference</a>
<hr>
</div>

<h3 class="section">3.9 Automatic Preferences</h3>

<p><a name="index-Automatic-preferences-74"></a>
Automatic preferences let you set up a custom configuration that is
automatically used whenever you open a file with a given extension. For
instance, you may prefer a <span class="sc">tab</span> size of three when editing C sources, but
eight could be more palatable when writing electronic mail.

   <p>The use of autoprefs is definitely straightforward. You simply use the
&lsquo;<samp><span class="samp">Save AutoPrefs</span></samp>&rsquo; menu item (or the <code>SaveAutoPrefs</code> command;
see <a href="SaveAutoPrefs.html#SaveAutoPrefs">SaveAutoPrefs</a>) when the current document has the given extension and
the current configuration suits your tastes. The internal state of a series of
options will be recorded as a macro containing commands that reproduce the
current configuration. The macro is then saved in the <samp><span class="file">~/.ne</span></samp>
directory (which is created if necessary) with the name given by the
extension, postfixed with &lsquo;<samp><span class="samp">#ap</span></samp>&rsquo;. Thus, the C sources automatic
preferences file will be named &lsquo;<samp><span class="samp">c#ap</span></samp>&rsquo;, the one for TeX files &lsquo;<samp><span class="samp">tex#ap</span></samp>&rsquo;,
and so on.

   <p>Macros are generated with short or long command names depending on the
status of the verbose macros flag. See <a href="VerboseMacros.html#VerboseMacros">VerboseMacros</a>.

   <p>Automatic preferences files are loaded and executed whenever a file with a known
extension is opened. Note that you can manually edit such files, and even
insert commands, but any command that does something other than setting a flag
will be rejected, and an error message will be issued.

   </body></html>