Difference between revisions of "WikEmacs:Guidelines"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* [http://meta.wikimedia.org/wiki/Help:Wikitext_examples Help with Mediawiki markup] | * [http://meta.wikimedia.org/wiki/Help:Wikitext_examples Help with Mediawiki markup] | ||
* Create new page with [[#Creating new pages]] | * Create new page with [[#Creating new pages]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Creating new pages = | = Creating new pages = |
Revision as of 05:41, 28 March 2012
Quick links
- Help with Mediawiki markup
- Create new page with #Creating new pages
Creating new pages
To create a new page, do this:
- Visit Template:NewPage and copy the text area to clipboard. Feel free to modify the template.
- Goto WikEmacs:Scratch Buffer
- Add this [[Test Page]] and save the scratch buffer.
- Click on the new Wiki link to create a blank page and paste the contents of clipboard there.
- Save the newly created page.
- Now you have a basic template which you can expand upon. Add content to the new page as you please.
Templates
There are templates defined for referencing variables, function, command, keys, manual etc. Use them for uniform experience. See Special:UncategorizedTemplates.
Some examples:
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}} |
M-x find-file | {{Command|find-file}} |
M-x customize-variable RET c-default-style | {{CustomizeVariable|c-default-style}} |
M-x customize-group RET C RET | {{CustomizeGroup|C}} |
search-forward | {{Function|search-forward}} |
auto-mode-alist | {{Variable|auto-mode-alist}} |
Categories
There are special categories defined for Operating system, Emacs releases, Programming languages etc. Use these when possible or introduce new ones as required. See Special:Categories.