Difference between revisions of "Help:Editing"

From WikEmacs
Jump to navigation Jump to search
(editing help, usage of templates (started))
 
(copied and updated)
Line 1: Line 1:
This website Uses "Mediawiki" mark up. To make this website consistent across the pages number are [[:Category:Emacs_Wiki_Templates|templates]] are available written. They also make editing articles make easy. Learn about them and use them where ever possible. you can also make your own templates if necessary from them.
+
This website Uses "Mediawiki" mark up.  
 +
 
 +
 
 +
== Templates ==
 +
 
 +
To make this website consistent across the pages number are [[:Category:Emacs_Wiki_Templates|templates]] are available written. They also make editing articles make easy. Learn about them and use them where ever possible. you can also make your own templates if necessary from them.
  
 
The following list of templates are commonly used:
 
The following list of templates are commonly used:
 +
 +
{| border="1" cellpadding="5" cellspacing="0" width="75%"
 +
|-
 +
!What it looks like
 +
!What you type
 +
|-
 +
| {{Manual|emacs|Major-Modes|Major Modes}}
 +
| <pre>{{Manual|emacs|Major-Modes|Major Modes}}</pre>
 +
|-
 +
| {{CommandKeys|C-x C-f|find-file}}
 +
| <pre>{{CommandKeys|C-x C-f|find-file}}</pre>
 +
|-
 +
| {{Keys|C-x C-c}}
 +
| <pre>{{Keys|C-x C-c}}</pre>
 +
|-
 +
| {{Keys|C-x f|set-fill-column}}
 +
| <pre>{{Keys|C-x f|set-fill-column}}</pre>
 +
|-
 +
| {{Command|find-file}}
 +
| <pre>{{Command|find-file}}</pre>
 +
|-
 +
| {{CustomizeVariable|c-default-style}}
 +
| <pre>{{CustomizeVariable|c-default-style}}</pre>
 +
|-
 +
| {{Snippet|(global-set-key (kbd "C-c c") 'org-capture)}}
 +
| <pre>{{Snippet|(global-set-key (kbd "C-c c") 'org-capture)}}</pre>
 +
|-
 +
| {{Dirname|~/.emacs.d)}}
 +
| <pre>{{Dirname|~/.emacs.d)}}</pre>
 +
| {{Filename|init.el)}}
 +
| <pre>{{Filename|init.el)}}</pre>
 +
|}

Revision as of 21:24, 31 March 2012

This website Uses "Mediawiki" mark up.


Templates

To make this website consistent across the pages number are templates are available written. They also make editing articles make easy. Learn about them and use them where ever possible. you can also make your own templates if necessary from them.

The following list of templates are commonly used:

What it looks like What you type
Major Modes (`(info "(emacs) Major Modes")')
{{Manual|emacs|Major-Modes|Major Modes}}
[C-x C-f] (or M-x find-file)
{{CommandKeys|C-x C-f|find-file}}
[C-x C-c]
{{Keys|C-x C-c}}
[C-x f]
{{Keys|C-x f|set-fill-column}}
M-x find-file
{{Command|find-file}}
M-x customize-variable RET c-default-style
{{CustomizeVariable|c-default-style}}
(global-set-key (kbd "C-c c") 'org-capture)
{{Snippet|(global-set-key (kbd "C-c c") 'org-capture)}}
Template:Dirname
{{Dirname|~/.emacs.d)}}
init.el)
{{Filename|init.el)}}