This file is indexed.

/usr/share/doc/ne/html/General-Guidelines.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
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<html lang="en">
<head>
<title>General Guidelines - 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="Commands.html#Commands" title="Commands">
<link rel="next" href="File-Commands.html#File-Commands" title="File Commands">
<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="General-Guidelines"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="File-Commands.html#File-Commands">File Commands</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Commands.html#Commands">Commands</a>
<hr>
</div>

<h3 class="section">4.1 General Guidelines</h3>

<p><a name="index-Long-names-78"></a><a name="index-Short-names-79"></a><a name="index-Command-arguments-80"></a><a name="index-Flags-81"></a><a name="index-Repeating-actions-82"></a><a name="index-Escape-conventions-83"></a><a name="index-Quoting-conventions-84"></a>
Every command in <code>ne</code> has a long and a short name. Except in a very
few cases, the short name is given by two or three letters that are the
initials of the words that form the long name. For instance,
<code>SearchBack</code> has short name <code>SB</code>, <code>SaveDefPrefs</code> has the
short name <code>SDP</code>, and <code>AdjustView</code>'s short name is <code>AV</code>. 
There are some exceptions however. The most frequently used commands
such as <code>Exit</code> have one-letter short names (<code>X</code>). Also some
commands use a different short name to avoid clashes with a more common
command's short name. For example, <code>StatusBar</code>'s short name is
<code>ST</code> rather than <code>SB</code>  to avoid clashes with
<code>SearchBack</code>'s short name.

   <p>A command always has at most one argument. This is a chosen limitation
that allows <code>ne</code>'s parsing of commands and macros to be very fast. 
Moreover, it nullifies nearly all problems related to delimiters, escape
characters, and the like. The unique argument can be a number, a string,
or a flag modifier. You can easily distinguish these three cases even
without this manual by looking at what the <code>Help</code> command says
about the given command. Note that when a command's argument is enclosed
in square brackets, it is optional.

   <p>Strings are general purpose arguments. Numbers are used to modify internal
parameters, such as the size of a <span class="sc">tab</span>. A flag modifier is an optional
number that is interpreted as follows:

     <ul>
<li>0 means clearing the flag;

     <li>1 (or any positive number) means setting the flag;

     <li>no number means toggling the flag.

   </ul>

   <p>Thus, <code>StatusBar 1</code> will activate that status bar, while <code>I</code> will
toggle insert/overstrike. This design choice is due to the fact that most of
the time during interactive editing you need to <em>change</em> a
flag. For instance, you may be in insert mode and you want to overstrike, or
vice versa. Absolute settings (those with a number) are useful essentially
for macros. It is reasonable to use the fastest approach for the most
frequent interactive event. When a number or a string is required and the
argument is optional, most of the time you will be prompted to
type the argument on the command line.

   <p>As for the input line, for numeric arguments you can choose between
decimal, octal and hexadecimal notation in the standard way:
a number starting with &lsquo;<samp><span class="samp">0</span></samp>&rsquo; is considered in octal, a number
starting with &lsquo;<samp><span class="samp">0x</span></samp>&rsquo; is considered in hexadecimal, and in all other
cases decimal base is assumed.

   <p>When a number represents how many times <code>ne</code> should repeat an
action, it is always understood that the command will terminate when the
conditions for applying it are no longer true. For instance, the
<code>Paragraph</code> command accepts the number of paragraphs to format. 
But if not enough paragraphs exists in the text, only the available ones
will be formatted.

   <p>This easily allows performing operations on an entire document by specifying
preposterously huge numbers as arguments. <code>ToUpper 200000000</code> will
make all the words in the document upper case. (At least, one would
hope so!) Note that this is much faster than recording a macro with
the command <code>ToUpper</code> in it and playing it many times because in
the former case the command has to be parsed just one time.

   <p>In any case, if a macro or a repeated operation takes too long, you can stop
it using the interrupt key (<kbd>&lt;Control&gt;-\</kbd>).

   <p>To handle situations such as an argument string starting with a
space, <code>ne</code> implements a simple mechanism whereby you can enclose
any string argument in double quotes. If the first non-blank character
after the command and last character of the command line are double
quotes, the quotes will be removed and whatever is left will be used as
the string argument. For example, the <code>Find</code> command to find a
space could be entered on the command line or in a macro as
<code>Find " "</code>. The only case needing special treatment is
when a string starts and ends with double quotes. The command
<code>Find ""quote""</code> would locate the next occurrence of the string
&lsquo;<samp><span class="samp">"quote"</span></samp>&rsquo; (including the double quotes). However,
<code>Find onequote"</code> wouldn't require special treatment because the
command argument doesn't both start and end with a double quote.

   </body></html>