File: editors.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (142 lines) | stat: -rw-r--r-- 4,066 bytes parent folder | download
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="iso-8859-1"?>

 <chapter xml:id="chapter-editors-all" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Working with any text editor</title>

  <para>
   Any text editor will work, and often times specialized "XML Editors"
   will alter unintended parts of the text (especially the whitespace) so 
   be sure to always check the diff (svn diff foo.xml) before commit.
  </para>

  <sect1 xml:id="editors-all-configuration">
   <title>Configuration</title>
   <para>
    When editing files within the PHP Manual sources, set the default tab 
    to one space, and use Unix line endings.
   </para>
  </sect1>

 </chapter>

 <chapter xml:id="chapter-emacs" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Working with Emacs</title>

  <para>
   How to work with emacs, manual.ced, commands, etc.
  </para>

  <sect1 xml:id="emacs-configuration">
   <title>Configuration</title>
   <para>
   </para>
  </sect1>

  <sect1 xml:id="emacs-basic-commands">
   <title>Basic Commands</title>
   <para>
    If you are using PSGML, it can help you a lot finding out
    what tags you can use where. By pressing 
    <keycombo><keysym>C-c</keysym> <keysym>C-e</keysym></keycombo>
    <footnote><simpara>C-<replaceable>x</replaceable> is Emacs's way
    of saying you should press <keysym>Control</keysym> and the
    <keycode>x</keycode> key.</simpara></footnote>
   </para>
  </sect1>

  <sect1 xml:id="emacs-working-with-sgml">
   <title>Working With SGML</title>
   <para>
   </para>
  </sect1>

 </chapter>

<!--

   This text was in the howto made by Stig. Maybe some Emacs
   people can confirm this and put them to the appropriate places.
   Entities used here are defined in global.ent!

    <para>
     A very good (and free) SGML editor is Emacs+PSGML.  Emacs is
     ported to Windows 95/NT.  A few pointers:
     <itemizedlist>
      <listitem><simpara>
        <link xlink:href="&url.emacs-src;">GNU Emacs Source</link></simpara></listitem>
      <listitem><simpara>
        <link xlink:href="&url.emacs-nt;">GNU Emacs for Windows NT/95</link></simpara></listitem>
      <listitem><simpara>
        <link xlink:href="&url.psgml;">PSGML 1.0.1 (SGML mode for Emacs)</link></simpara></listitem>
     </itemizedlist></para>

    <para>
     You have to add this to your <filename>~/.emacs</filename> file to
     make sure Emacs finds the installed files:
     <informalexample><programlisting role="emacs-lisp">
       (add-to-list 'load-path
       "<replaceable>PREFIX</replaceable>/share/emacs/site-lisp/psgml")
       (autoload 'sgml-mode "psgml" "Major mode for editing SGML files." t)
      </programlisting></informalexample>

     where <replaceable>PREFIX</replaceable> is the base installation
     directory where you installed PSGML (typically
     <filename class="directory">/usr/local</filename>).</para>

    <para>
     For Windows users without <abbrev>NTFS</abbrev>, the
     <filename>.emacs</filename> file is called
     <filename>_emacs</filename>, and resides in the directory given
     by the <envar>HOME</envar> environment variable or <filename class="directory">C:/</filename>.
    </para>
 
-->
 
 <chapter xml:id="chapter-vi">
  <title>Working with vi</title>

  <para>
   How to work with vi, manual.ced, commands, etc.
  </para>

  <sect1 xml:id="vi-configuration">
   <title>Configuration</title>
   <para>
   </para>
  </sect1>

  <sect1 xml:id="vi-basic-commands">
   <title>Basic Commands</title>
   <para>
   </para>
  </sect1>

  <sect1 xml:id="vi-working-with-sgml">
   <title>Working With SGML</title>
   <para>
   </para>
  </sect1>

 </chapter>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"howto.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->