Commit e0a09c5b authored by simonmar's avatar simonmar
Browse files

[project @ 2005-06-27 09:17:35 by simonmar]

Update docs for :ctags, :etags.
parent 2f6a66ee
...@@ -63,7 +63,8 @@ Prelude> ...@@ -63,7 +63,8 @@ Prelude>
:show modules show the currently loaded modules :show modules show the currently loaded modules
:show bindings show the current bindings made at the prompt :show bindings show the current bindings made at the prompt
:tags -e|-c create tags file for Vi (-c) or Emacs (-e) :ctags [<file>] create tags file for Vi (default: "tags")
:etags [<file>] create tags file for Emacs (defauilt: "TAGS")
:type <expr> show the type of <expr> :type <expr> show the type of <expr>
:kind <type> show the kind of <type> :kind <type> show the kind of <type>
:undef <cmd> undefine user-defined command :<cmd> :undef <cmd> undefine user-defined command :<cmd>
...@@ -1138,17 +1139,21 @@ Prelude> :. cmds.ghci ...@@ -1138,17 +1139,21 @@ Prelude> :. cmds.ghci
<varlistentry> <varlistentry>
<term> <term>
<literal>:tags -c|-e</literal> <literal>:ctags</literal> <optional><replaceable>filename</replaceable></optional>
<indexterm><primary><literal>:tags</literal></primary> <literal>:etags</literal> <optional><replaceable>filename</replaceable></optional>
<indexterm><primary><literal>:etags</literal></primary>
</indexterm>
<indexterm><primary><literal>:etags</literal></primary>
</indexterm> </indexterm>
</term> </term>
<listitem> <listitem>
<para>Generates a &ldquo;tags&rdquo; file for either Vi-style editors <para>Generates a &ldquo;tags&rdquo; file for Vi-style editors
(<literal>-c</literal>) or Emacs-style editors (<literal>:ctags</literal>) or Emacs-style editors (<literal>etags</literal>). If
(<literal>-e</literal>). The file generated will be called no filename is specified, the defaulit <filename>tags</filename> or
<filename>tags</filename> or <filename>TAGS</filename> <filename>TAGS</filename> is
respectively.</para> used, respectively. Tags for all the functions, constructors and
types in the currently loaded modules are created. All modules must
be interpreted for these commands to work.</para>
<para>See also <xref linkend="hasktags" />.</para> <para>See also <xref linkend="hasktags" />.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment