<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aaptel</id>
	<title>WikEmacs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aaptel"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/wiki/Special:Contributions/Aaptel"/>
	<updated>2026-04-16T08:06:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Main_Page&amp;diff=1991</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Main_Page&amp;diff=1991"/>
		<updated>2012-03-31T14:15:43Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: .? -&amp;gt; ?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''WikEmacs''' (pronounced wiki-macs) collects useful resources for working with [[GNU Emacs]]. Think of it as a&lt;br /&gt;
'''[http://www.emacswiki.org/ next generation, improved Emacs Wiki]''' . You can also think of it as a '''pastebin''' or '''gist''' for Emacs users.&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
'''First time visitors''' can start [[#Explore this wiki | exploring WikEmacs]]. We have added lots of useful pages since the launch of WikEmacs. We want to keep you excited and engaged. &lt;br /&gt;
&lt;br /&gt;
-----------&lt;br /&gt;
We need more '''[[:Category:WikEmacs Contributor|WikEmacs Contributor]]s'''.  You can help the following way.&lt;br /&gt;
&lt;br /&gt;
* Priority tasks&lt;br /&gt;
** Migrate content from [http://www.emacswiki.org EmacsWiki]. Please adopt the following approach -''I found this on EmacsWiki which was helpful. But it took me a lot of time to find it. Now that I have found it, I will put it in WikEmacs so that others can benefit from it.''&lt;br /&gt;
&lt;br /&gt;
* Intermediate tasks&lt;br /&gt;
** Provide tutorials or content for the [[:Category:Popular Package|Popular Packages]] or [[:Category:Native Package|Native Packages]].&lt;br /&gt;
** Add more content to [[Special:ShortPages]]&lt;br /&gt;
** Document or add more [[:Category:Third Party Package|Third Party Package]]s&lt;br /&gt;
&lt;br /&gt;
* Other tasks&lt;br /&gt;
** Copy edit [[Special:RecentChanges]] or be a moral police&lt;br /&gt;
** Add more members to various [[Special:Categories]]&lt;br /&gt;
** Categorize one of these pages [[Special:UncategorizedPages]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Emacs News'''&lt;br /&gt;
&lt;br /&gt;
The latest stable release of Emacs is [[GNU Emacs 23|Emacs-23.4]].&lt;br /&gt;
The next major release is [[GNU Emacs 24|Emacs-24.1]] and is in ''Pretest'' stage.&lt;br /&gt;
&lt;br /&gt;
Emacs is available on all popular [[:Category:Install Or Upgrade| Operating Systems]] including [[Installing Emacs on GNU/Linux | GNU/Linux]], [[Installing Emacs on FreeBSD |BSD]], [[Installing Emacs on OS X | OS X]] and [[Installing Emacs on Windows| Windows]].  It supports a variety of [[:Category:Programming languages|programming languages]].&lt;br /&gt;
&lt;br /&gt;
= Explore this wiki =&lt;br /&gt;
&lt;br /&gt;
To explore this wiki proceed as follows:&lt;br /&gt;
* Search for or visit a page of interest&lt;br /&gt;
* At the end of the page, there is a list of categories&lt;br /&gt;
* Click on individual categories and it will give you a list of all pages that will be of interest to you.&lt;br /&gt;
&lt;br /&gt;
==  What is your comfort level with Emacs? ==&lt;br /&gt;
* [[:Category:Beginner|Beginner]]&lt;br /&gt;
* [[:Category:Intermediate|Intermediate]]&lt;br /&gt;
* [[:Category:Expert|Expert]]&lt;br /&gt;
** Are you a maintainer of a [[:Category:Native Package|Native Package]]? If you don't find information about your package, please add it. No one else is better than your are to write about it.&lt;br /&gt;
** Have you developed any [[:Category:Third Party Package|Third Party Package]]s? Consider writing about what it is and how to use it.&lt;br /&gt;
* [[:Category:Vim User|Vim User]]&lt;br /&gt;
* [[:Category:User Level|Other]]&lt;br /&gt;
&lt;br /&gt;
== What do you want to accomplish now? ==&lt;br /&gt;
* [[:Category:Install Or Upgrade|Install Or Upgrade]]&lt;br /&gt;
* [[:Category:Customize Emacs|Customize Emacs]]&lt;br /&gt;
* [[:Category:Tweak Key Bindings|Tweak Key Bindings]]&lt;br /&gt;
* [[:Category:Tutorial|Learn more Emacs (Tutorials)]]&lt;br /&gt;
&lt;br /&gt;
== What do you use Emacs for? ==&lt;br /&gt;
* [[:Category:Text Editing|Text Editing]]&lt;br /&gt;
* [[:Category:Programming|Programming]]&lt;br /&gt;
* [[:Category:Document authoring|Document authoring]]&lt;br /&gt;
* [[:Category:Organizer|Getting Organized]]&lt;br /&gt;
* [[:Category:Email|Emailing]]&lt;br /&gt;
* [[:Category:Chat|Chatting]]&lt;br /&gt;
* [[:Category:Blogging|Blogging]]&lt;br /&gt;
* [[:Category:Browse|Browsing]] &lt;br /&gt;
* [[:Category:Workflow|Other]]&lt;br /&gt;
&lt;br /&gt;
== How do you involve yourself with the community? ==&lt;br /&gt;
* [[:Category:Emacs User]]&lt;br /&gt;
* [[:Category:Emacs Contributor]]&lt;br /&gt;
* [[:Category:WikEmacs Contributor]]&lt;br /&gt;
* [[:Category:User Role|Other]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=1989</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=1989"/>
		<updated>2012-03-31T14:12:28Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: add compile&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
In Emacs the default [[major mode]] associated with C files ({{File|.c}} and {{File|.h}}) is {{ModeLink|c-mode}}.&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with {{ModeLink|xscope}} mode which enables use of &amp;lt;tt&amp;gt;cscope&amp;lt;/tt&amp;gt; from within Emacs.&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
&lt;br /&gt;
* While in your C source file, run {{Command|compile}}&lt;br /&gt;
* Type the compile command and hit RET&lt;br /&gt;
* You can recompile without being prompted with {{Command|recompile}}&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
[[gdb]] (the GNU Project Debugger) can be embedded in Emacs.&lt;br /&gt;
&lt;br /&gt;
While browsing your project's code:&lt;br /&gt;
* Run {{Command|gdb}} to start a new gdb session&lt;br /&gt;
* Specify gdb parameters for your project.&lt;br /&gt;
* A new buffer {{Buffer|*gud-xxx*}} for the gdb session is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Ansi-term&amp;diff=1985</id>
		<title>Ansi-term</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Ansi-term&amp;diff=1985"/>
		<updated>2012-03-31T14:04:57Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: typo + link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Package&lt;br /&gt;
|name=ansi-term&lt;br /&gt;
|description=Terminal emulator with in Emacs&lt;br /&gt;
|maintainer=[[FSF]]&lt;br /&gt;
|source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/term.el&lt;br /&gt;
|in_emacs=yes&lt;br /&gt;
|Development status=active&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''ansi-term''' is a terminal-emulator builtin in Emacs. ansi-term is&lt;br /&gt;
enhancement of [[term]]. It has a very good emulation support and can&lt;br /&gt;
even run and display Emacs correctly, i.e., Emacs session within another Emacs session .&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Just do {{Command|ansi-term}}. A shell will be opened in the current [[window]]&lt;br /&gt;
with a [[buffer]] named {{Buffer|*ansi-term*}}.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[term]]&lt;br /&gt;
* [[eshell]]&lt;br /&gt;
* [[shell]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Terminal Emulator]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Ansi-term&amp;diff=1974</id>
		<title>Ansi-term</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Ansi-term&amp;diff=1974"/>
		<updated>2012-03-31T13:56:37Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: markup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Package&lt;br /&gt;
|name=ansi-term&lt;br /&gt;
|description=Terminal emulator with in Emacs&lt;br /&gt;
|maintainer=[[FSF]]&lt;br /&gt;
|source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/term.el&lt;br /&gt;
|in_emacs=yes&lt;br /&gt;
|Development status=active&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''ansi-term''' is a terminal-emulator builtin in Emacs. ansi-term is&lt;br /&gt;
enhancement of [[term]]. It has a very good emulation support and can&lt;br /&gt;
even run and display Emacs correctly, i.e., Emacs session within another Emacs session .&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Just do {{Command|ansi-term}}. A shell be opened in the current window&lt;br /&gt;
with a [[buffer]] named {{Buffer|*ansi-term*}}.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[term]]&lt;br /&gt;
* [[eshell]]&lt;br /&gt;
* [[shell]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Terminal Emulator]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=1963</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=1963"/>
		<updated>2012-03-31T13:11:38Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
The default [[major mode]] associated with C files ({{File|.c}} and {{File|.h}}) is {{ModeLink|c-mode}}.&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with {{ModeLink|xscope}} mode which enables use of &amp;lt;tt&amp;gt;cscope&amp;lt;/tt&amp;gt; from within Emacs.&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
[[gdb]] -- the GNU Project Debugger -- can be embedded in Emacs.&lt;br /&gt;
&lt;br /&gt;
While browsing your project's code:&lt;br /&gt;
* Run {{Command|gdb}} to start a new gdb session&lt;br /&gt;
* Specify gdb parameters for your project.&lt;br /&gt;
* A new buffer {{Buffer|*gud-xxx*}} for the gdb session is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1961</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1961"/>
		<updated>2012-03-31T12:56:39Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: /* Helpful keybindings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox major-mode&lt;br /&gt;
|title = C&lt;br /&gt;
|library = cc-mode&lt;br /&gt;
|command = c-mode&lt;br /&gt;
|builtin = yes&lt;br /&gt;
|auto activates = *.c *.h *.xbm *.xpm *.y *.yacc *.lex *.i *.m&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''c-mode''' is the default [[major mode]] for editing [[C]] source files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-h}}&lt;br /&gt;
: Mark current function&lt;br /&gt;
&lt;br /&gt;
; {{Keys|M-a}}&lt;br /&gt;
: Go to beginning of current statement (or next one).&lt;br /&gt;
&lt;br /&gt;
; {{Keys|M-e}}&lt;br /&gt;
: Go to end of current statement (or previous one).&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Style ==&lt;br /&gt;
Any mode based on {{ModeLink|cc-mode}} provides automatic indentation. The default style is &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;. It is the one recommended by the Free Software Foundation for GNU projects but you can use a different one.&lt;br /&gt;
&lt;br /&gt;
Here is a basic list of predefined styles:&lt;br /&gt;
; &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for GNU projects&lt;br /&gt;
; &amp;lt;code&amp;gt;k&amp;amp;r&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Kernighan and Ritchie, the authors of C used in their book&lt;br /&gt;
; &amp;lt;code&amp;gt;bsd&amp;lt;/code&amp;gt;&lt;br /&gt;
: What BSD developers use, aka “Allman style” after Eric Allman.&lt;br /&gt;
; &amp;lt;code&amp;gt;whitesmith&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popularized by the examples that came with Whitesmiths C, an early commercial C compiler.&lt;br /&gt;
; &amp;lt;code&amp;gt;stroustrup&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Stroustrup, the author of C++ used in his book&lt;br /&gt;
; &amp;lt;code&amp;gt;ellemtel&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popular C++ coding standards as defined by “Programming in C++, Rules and Recommendations,” Erik Nyquist and Mats Henricson, Ellemtel&lt;br /&gt;
; &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;&lt;br /&gt;
: What the Linux developers use for kernel development&lt;br /&gt;
; &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Python developers use for extension modules&lt;br /&gt;
; &amp;lt;code&amp;gt;java&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for java-mode (see below)&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: When you want to define your own style&lt;br /&gt;
&lt;br /&gt;
You can look the [http://cc-mode.sourceforge.net/html-manual/Built_002din-Styles.html#Built_002din-Styles cc-mode documentation] for a complete list of builtin style.&lt;br /&gt;
For visual example of each style you can look the [http://en.wikipedia.org/wiki/Indent_style Wikipedia article on indenting style].&lt;br /&gt;
&lt;br /&gt;
* The default style is set via the variable {{Variable|c-default-style}}&lt;br /&gt;
* Use {{CommandKeys|C-c .|c-set-style}} to change the indentation style of the current buffer.&lt;br /&gt;
* The amount of space use to indent is set via the variable {{Variable|c-basic-offset}}.&lt;br /&gt;
&lt;br /&gt;
To set the default style to K&amp;amp;R and use 4 spaces, add this to your {{EmacsConfigFile}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-default-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1958</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1958"/>
		<updated>2012-03-31T12:35:30Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox major-mode&lt;br /&gt;
|title = C&lt;br /&gt;
|library = cc-mode&lt;br /&gt;
|command = c-mode&lt;br /&gt;
|builtin = yes&lt;br /&gt;
|auto activates = *.c *.h *.xbm *.xpm *.y *.yacc *.lex *.i *.m&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''c-mode''' is the default [[major mode]] for editing [[C]] source files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Style ==&lt;br /&gt;
Any mode based on {{ModeLink|cc-mode}} provides automatic indentation. The default style is &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;. It is the one recommended by the Free Software Foundation for GNU projects but you can use a different one.&lt;br /&gt;
&lt;br /&gt;
Here is a basic list of predefined styles:&lt;br /&gt;
; &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for GNU projects&lt;br /&gt;
; &amp;lt;code&amp;gt;k&amp;amp;r&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Kernighan and Ritchie, the authors of C used in their book&lt;br /&gt;
; &amp;lt;code&amp;gt;bsd&amp;lt;/code&amp;gt;&lt;br /&gt;
: What BSD developers use, aka “Allman style” after Eric Allman.&lt;br /&gt;
; &amp;lt;code&amp;gt;whitesmith&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popularized by the examples that came with Whitesmiths C, an early commercial C compiler.&lt;br /&gt;
; &amp;lt;code&amp;gt;stroustrup&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Stroustrup, the author of C++ used in his book&lt;br /&gt;
; &amp;lt;code&amp;gt;ellemtel&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popular C++ coding standards as defined by “Programming in C++, Rules and Recommendations,” Erik Nyquist and Mats Henricson, Ellemtel&lt;br /&gt;
; &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;&lt;br /&gt;
: What the Linux developers use for kernel development&lt;br /&gt;
; &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Python developers use for extension modules&lt;br /&gt;
; &amp;lt;code&amp;gt;java&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for java-mode (see below)&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: When you want to define your own style&lt;br /&gt;
&lt;br /&gt;
You can look the [http://cc-mode.sourceforge.net/html-manual/Built_002din-Styles.html#Built_002din-Styles cc-mode documentation] for a complete list of builtin style.&lt;br /&gt;
For visual example of each style you can look the [http://en.wikipedia.org/wiki/Indent_style Wikipedia article on indenting style].&lt;br /&gt;
&lt;br /&gt;
* The default style is set via the variable {{Variable|c-default-style}}&lt;br /&gt;
* Use {{CommandKeys|C-c .|c-set-style}} to change the indentation style of the current buffer.&lt;br /&gt;
* The amount of space use to indent is set via the variable {{Variable|c-basic-offset}}.&lt;br /&gt;
&lt;br /&gt;
To set the default style to K&amp;amp;R and use 4 spaces, add this to your {{EmacsConfigFile}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-default-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1957</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1957"/>
		<updated>2012-03-31T12:34:49Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox major-mode&lt;br /&gt;
|title = C&lt;br /&gt;
|library = cc-mode&lt;br /&gt;
|command = c-mode&lt;br /&gt;
|builtin = yes&lt;br /&gt;
|auto activates = *.c *.h *.xbm *.xpm *.y *.yacc *.lex *.i *.m&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''c-mode''' is the default [[major mode]] for editing [[C]] source files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change default indenting style ==&lt;br /&gt;
== Style ==&lt;br /&gt;
Any mode based on {{ModeLink|cc-mode}} provides automatic indentation. The default style is &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;. It is the one recommended by the Free Software Foundation for GNU projects but you can use a different one.&lt;br /&gt;
&lt;br /&gt;
Here is a basic list of predefined styles:&lt;br /&gt;
; &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for GNU projects&lt;br /&gt;
; &amp;lt;code&amp;gt;k&amp;amp;r&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Kernighan and Ritchie, the authors of C used in their book&lt;br /&gt;
; &amp;lt;code&amp;gt;bsd&amp;lt;/code&amp;gt;&lt;br /&gt;
: What BSD developers use, aka “Allman style” after Eric Allman.&lt;br /&gt;
; &amp;lt;code&amp;gt;whitesmith&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popularized by the examples that came with Whitesmiths C, an early commercial C compiler.&lt;br /&gt;
; &amp;lt;code&amp;gt;stroustrup&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Stroustrup, the author of C++ used in his book&lt;br /&gt;
; &amp;lt;code&amp;gt;ellemtel&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popular C++ coding standards as defined by “Programming in C++, Rules and Recommendations,” Erik Nyquist and Mats Henricson, Ellemtel&lt;br /&gt;
; &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;&lt;br /&gt;
: What the Linux developers use for kernel development&lt;br /&gt;
; &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Python developers use for extension modules&lt;br /&gt;
; &amp;lt;code&amp;gt;java&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for java-mode (see below)&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: When you want to define your own style&lt;br /&gt;
&lt;br /&gt;
You can look the [http://cc-mode.sourceforge.net/html-manual/Built_002din-Styles.html#Built_002din-Styles cc-mode documentation] for a complete list of builtin style.&lt;br /&gt;
For visual example of each style you can look the [http://en.wikipedia.org/wiki/Indent_style Wikipedia article on indenting style].&lt;br /&gt;
&lt;br /&gt;
* The default style is set via the variable {{Variable|c-default-style}}&lt;br /&gt;
* Use {{CommandKeys|C-c .|c-set-style}} to change the indentation style of the current buffer.&lt;br /&gt;
* The amount of space use to indent is set via the variable {{Variable|c-basic-offset}}.&lt;br /&gt;
&lt;br /&gt;
To set the default style to K&amp;amp;R and use 4 spaces, add this to your {{EmacsConfigFile}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-default-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1956</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1956"/>
		<updated>2012-03-31T12:33:58Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: added info box&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox major-mode&lt;br /&gt;
|title = C&lt;br /&gt;
|library = cc-mode&lt;br /&gt;
|command = c-mode&lt;br /&gt;
|builtin = yes&lt;br /&gt;
|auto activates = *.c *.h *.xbm *.xpm *.y *.yacc *.lex *.i *.m&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''c-mode''' is the default [[major mode]] for editing [[C]] source files&lt;br /&gt;
({{File|.c}} and {{File|.h}} files). It uses {{ModeLink|cc-mode}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change default indenting style ==&lt;br /&gt;
== Style ==&lt;br /&gt;
Any mode based on {{ModeLink|cc-mode}} provides automatic indentation. The default style is &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;. It is the one recommended by the Free Software Foundation for GNU projects but you can use a different one.&lt;br /&gt;
&lt;br /&gt;
Here is a basic list of predefined styles:&lt;br /&gt;
; &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for GNU projects&lt;br /&gt;
; &amp;lt;code&amp;gt;k&amp;amp;r&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Kernighan and Ritchie, the authors of C used in their book&lt;br /&gt;
; &amp;lt;code&amp;gt;bsd&amp;lt;/code&amp;gt;&lt;br /&gt;
: What BSD developers use, aka “Allman style” after Eric Allman.&lt;br /&gt;
; &amp;lt;code&amp;gt;whitesmith&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popularized by the examples that came with Whitesmiths C, an early commercial C compiler.&lt;br /&gt;
; &amp;lt;code&amp;gt;stroustrup&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Stroustrup, the author of C++ used in his book&lt;br /&gt;
; &amp;lt;code&amp;gt;ellemtel&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popular C++ coding standards as defined by “Programming in C++, Rules and Recommendations,” Erik Nyquist and Mats Henricson, Ellemtel&lt;br /&gt;
; &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;&lt;br /&gt;
: What the Linux developers use for kernel development&lt;br /&gt;
; &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Python developers use for extension modules&lt;br /&gt;
; &amp;lt;code&amp;gt;java&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for java-mode (see below)&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: When you want to define your own style&lt;br /&gt;
&lt;br /&gt;
You can look the [http://cc-mode.sourceforge.net/html-manual/Built_002din-Styles.html#Built_002din-Styles cc-mode documentation] for a complete list of builtin style.&lt;br /&gt;
For visual example of each style you can look the [http://en.wikipedia.org/wiki/Indent_style Wikipedia article on indenting style].&lt;br /&gt;
&lt;br /&gt;
* The default style is set via the variable {{Variable|c-default-style}}&lt;br /&gt;
* Use {{CommandKeys|C-c .|c-set-style}} to change the indentation style of the current buffer.&lt;br /&gt;
* The amount of space use to indent is set via the variable {{Variable|c-basic-offset}}.&lt;br /&gt;
&lt;br /&gt;
To set the default style to K&amp;amp;R and use 4 spaces, add this to your {{EmacsConfigFile}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-default-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1954</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1954"/>
		<updated>2012-03-31T12:26:00Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: markup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''c-mode''' is the default [[major mode]] for editing [[C]] source files&lt;br /&gt;
({{File|.c}} and {{File|.h}} files). It uses {{ModeLink|cc-mode}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change default indenting style ==&lt;br /&gt;
== Style ==&lt;br /&gt;
Any mode based on {{ModeLink|cc-mode}} provides automatic indentation. The default style is &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;. It is the one recommended by the Free Software Foundation for GNU projects but you can use a different one.&lt;br /&gt;
&lt;br /&gt;
Here is a basic list of predefined styles:&lt;br /&gt;
; &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for GNU projects&lt;br /&gt;
; &amp;lt;code&amp;gt;k&amp;amp;r&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Kernighan and Ritchie, the authors of C used in their book&lt;br /&gt;
; &amp;lt;code&amp;gt;bsd&amp;lt;/code&amp;gt;&lt;br /&gt;
: What BSD developers use, aka “Allman style” after Eric Allman.&lt;br /&gt;
; &amp;lt;code&amp;gt;whitesmith&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popularized by the examples that came with Whitesmiths C, an early commercial C compiler.&lt;br /&gt;
; &amp;lt;code&amp;gt;stroustrup&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Stroustrup, the author of C++ used in his book&lt;br /&gt;
; &amp;lt;code&amp;gt;ellemtel&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popular C++ coding standards as defined by “Programming in C++, Rules and Recommendations,” Erik Nyquist and Mats Henricson, Ellemtel&lt;br /&gt;
; &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;&lt;br /&gt;
: What the Linux developers use for kernel development&lt;br /&gt;
; &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Python developers use for extension modules&lt;br /&gt;
; &amp;lt;code&amp;gt;java&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for java-mode (see below)&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: When you want to define your own style&lt;br /&gt;
&lt;br /&gt;
You can look the [http://cc-mode.sourceforge.net/html-manual/Built_002din-Styles.html#Built_002din-Styles cc-mode documentation] for a complete list of builtin style.&lt;br /&gt;
For visual example of each style you can look the [http://en.wikipedia.org/wiki/Indent_style Wikipedia article on indenting style].&lt;br /&gt;
&lt;br /&gt;
* The default style is set via the variable {{Variable|c-default-style}}&lt;br /&gt;
* Use {{CommandKeys|C-c .|c-set-style}} to change the indentation style of the current buffer.&lt;br /&gt;
* The amount of space use to indent is set via the variable {{Variable|c-basic-offset}}.&lt;br /&gt;
&lt;br /&gt;
To set the default style to K&amp;amp;R and use 4 spaces, add this to your {{EmacsConfigFile}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-default-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1952</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1952"/>
		<updated>2012-03-31T12:19:19Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''c-mode''' is the default [[major mode]] for editing [[C]] source files&lt;br /&gt;
({{File|.c}} and {{File|.h}} files). It uses {{ModeLink|cc-mode}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change default indenting style ==&lt;br /&gt;
=== Style ==&lt;br /&gt;
Any mode based on {{ModeLink|cc-mode}} provides automatic indentation. The default style is &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;. It is the one recommended by the Free Software Foundation for GNU projects but you can use a different one.&lt;br /&gt;
&lt;br /&gt;
Here is a basic list of predefined styles:&lt;br /&gt;
; &amp;lt;code&amp;gt;gnu&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for GNU projects&lt;br /&gt;
; &amp;lt;code&amp;gt;k&amp;amp;r&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Kernighan and Ritchie, the authors of C used in their book&lt;br /&gt;
; &amp;lt;code&amp;gt;bsd&amp;lt;/code&amp;gt;&lt;br /&gt;
: What BSD developers use, aka “Allman style” after Eric Allman.&lt;br /&gt;
; &amp;lt;code&amp;gt;whitesmith&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popularized by the examples that came with Whitesmiths C, an early commercial C compiler.&lt;br /&gt;
; &amp;lt;code&amp;gt;stroustrup&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Stroustrup, the author of C++ used in his book&lt;br /&gt;
; &amp;lt;code&amp;gt;ellemtel&amp;lt;/code&amp;gt;&lt;br /&gt;
: Popular C++ coding standards as defined by “Programming in C++, Rules and Recommendations,” Erik Nyquist and Mats Henricson, Ellemtel&lt;br /&gt;
; &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt;&lt;br /&gt;
: What the Linux developers use for kernel development&lt;br /&gt;
; &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt;&lt;br /&gt;
: What Python developers use for extension modules&lt;br /&gt;
; &amp;lt;code&amp;gt;java&amp;lt;/code&amp;gt;&lt;br /&gt;
: The default style for java-mode (see below)&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: When you want to define your own style&lt;br /&gt;
&lt;br /&gt;
You can look the [http://cc-mode.sourceforge.net/html-manual/Built_002din-Styles.html#Built_002din-Styles cc-mode documentation] for a complete list of builtin style.&lt;br /&gt;
For visual example of each style you can look the [http://en.wikipedia.org/wiki/Indent_style Wikipedia article on indenting style].&lt;br /&gt;
&lt;br /&gt;
* The default style is set via the variable {{Var|c-default-style}}&lt;br /&gt;
* Use {{KeyCommand|C-c .|c-set-style}} to change the indentation style of the current buffer.&lt;br /&gt;
* The amount of space use to indent is set via the variable {{Var|c-basic-offset}}.&lt;br /&gt;
&lt;br /&gt;
To set the default style to K&amp;amp;R and use 4 spaces, add this to your {{EmacsConfigFile}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-default-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Template:NewPage&amp;diff=1947</id>
		<title>Template:NewPage</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Template:NewPage&amp;diff=1947"/>
		<updated>2012-03-31T11:46:05Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: Undo revision 1944 by Aaptel (talk) reverting mistake, sorry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''{{{1}}}''' is a wonderful mode which does wonderful things.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
Install these third party libraries or read this section before proceeding.&lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-x C-c}}&lt;br /&gt;
: Quit Emacs.&lt;br /&gt;
&lt;br /&gt;
; {{CommandKeys|C-x C-s|save-buffer}}&lt;br /&gt;
: Save buffer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Customization 1 ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
(message &amp;quot;This stuff will go in your .emacs&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
Emacs-23 is not as great as Emacs-24. You will have these problems and you can workaround it this way.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
* [[Internal Link1]]&lt;br /&gt;
* [[Internal Link2]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://bazaar.canonical.com/en/ Bazaar]&lt;br /&gt;
* [http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html Bzr Users Guide]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  &lt;br /&gt;
:Tips for setting up Emacs as Bazaar commit editor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TestCategory1]][[Category:TestCategory2]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C-mode&amp;diff=1946</id>
		<title>C-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C-mode&amp;diff=1946"/>
		<updated>2012-03-31T11:44:11Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: Created page with &amp;quot;'''c-mode''' is the default major mode for editing C source files ({{File|.c}} and {{File|.h}} files). It uses {{ModeLink|cc-mode}}.  &amp;lt;!-----DONT REMOVE ANYTHING FROM ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''c-mode''' is the default [[major mode]] for editing [[C]] source files&lt;br /&gt;
({{File|.c}} and {{File|.h}} files). It uses {{ModeLink|cc-mode}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change default indenting style ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-set-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Template:NewPage&amp;diff=1944</id>
		<title>Template:NewPage</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Template:NewPage&amp;diff=1944"/>
		<updated>2012-03-31T11:10:02Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''c-mode''' is the default [[major mode]] for editing [[C]] source files&lt;br /&gt;
({{File|.c}} and {{File|.h}} files). It uses {{ModeLink|cc-mode}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-----DONT REMOVE ANYTHING FROM THIS TEMPLATE ------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----FEW MONTHS, YEARS FROM WE CAN DELETE STUFF. NOT NOW ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----YOU DON&amp;quot;T WANT WIKEMACS TO BE ANOTHER EMACSWIKI RIGHT ------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-----PLEASE BE PATIENT AND CO-OPERATE FOR GREATER GOOD ------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Basic setup =&lt;br /&gt;
&lt;br /&gt;
c-mode is bundled with Emacs by default. No additional setup is required. &lt;br /&gt;
&lt;br /&gt;
= Helpful keybindings =&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-a}}&lt;br /&gt;
: Go to the beginning of the current function. If you are between 2 functions, go the start of the previous one.&lt;br /&gt;
&lt;br /&gt;
; {{Keys|C-M-e}}&lt;br /&gt;
: Go to the end of the current function. If you are between 2 functions, go to the end of the next one. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
= Common Customization =&lt;br /&gt;
&amp;lt;!-- Customization common to all platforms goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change default indenting style ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
; set k&amp;amp;r style&lt;br /&gt;
(setq c-set-style &amp;quot;k&amp;amp;r&amp;quot;)&lt;br /&gt;
; indent with 4 spaces&lt;br /&gt;
(setq c-basic-offset 4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[GNU/Linux]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to GNU/Linux goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[OS X]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to OS X goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Windows]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Windows goes here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-24]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-24 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Recent revision should come first. This way important information stays at top  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [[Emacs-23]] =&lt;br /&gt;
&amp;lt;!-- Customization/Notes specific to Emacs-22 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Recommended Reading =&lt;br /&gt;
&amp;lt;!-- Only internal links. DO NOT insert EXTERNAL LINKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Project Pages =&lt;br /&gt;
* [http://cc-mode.sourceforge.net/ cc-mode]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tutorial Pages =&lt;br /&gt;
&amp;lt;!-- ;[http://wiki.bazaar.canonical.com/EmacsTips Emacs as commit message editor]  --&amp;gt;&lt;br /&gt;
&amp;lt;!-- :Tips for setting up Emacs as Bazaar commit editor. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Docview&amp;diff=899</id>
		<title>Docview</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Docview&amp;diff=899"/>
		<updated>2012-03-27T14:51:20Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Emacs includes functionality to act as an image and document viewer via its Docview feature.&lt;br /&gt;
&lt;br /&gt;
Most usually the way to use this feature is to simply find a file of an appropriate type, e.g. a PNG image or a PDF document.&lt;br /&gt;
&lt;br /&gt;
When in Docview-mode {{Keys|C-c C-c}} (or {{Command|image-toggle-display}}) will toggle between viewing the image or document graphically and viewing it in text format. This can be useful for directly modifying PDF files, for instance.&lt;br /&gt;
&lt;br /&gt;
Docview mode typically works out of the box on GNU/Linux systems. If you are running Emacs on Windows it likely requires some additional libraries to be manually installed.&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Docview&amp;diff=898</id>
		<title>Docview</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Docview&amp;diff=898"/>
		<updated>2012-03-27T14:50:42Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Emacs includes functionality to act as an image and document viewer via its Docview feature.&lt;br /&gt;
&lt;br /&gt;
Most usually the way to use this feature is to simply find a file of an appropriate type, e.g. a PNG image or a PDF document.&lt;br /&gt;
&lt;br /&gt;
When in Docview-mode the {{Keys|C-c C-c}} command ({{Command|image-toggle-display}}) will toggle between viewing the image or document graphically and viewing it in text format. This can be useful for directly modifying PDF files, for instance.&lt;br /&gt;
&lt;br /&gt;
Docview mode typically works out of the box on GNU/Linux systems. If you are running Emacs on Windows it likely requires some additional libraries to be manually installed.&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=897</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=897"/>
		<updated>2012-03-27T14:48:52Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: /* Debugging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
The default [[major mode]] associated with C files (''.c'' and ''.h'') is [[cc-mode]].&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with ''xscope.el'' library which enables use of cscope from within Emacs.&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
[[gdb]] -- the GNU Project Debugger -- can be embedded in Emacs.&lt;br /&gt;
&lt;br /&gt;
While browsing your project's code:&lt;br /&gt;
* Run {{Command|gdb}} to start a new gdb session&lt;br /&gt;
* Specify gdb parameters for your project.&lt;br /&gt;
* A new buffer &amp;quot;&amp;lt;code&amp;gt;*gud-xxx*&amp;lt;/code&amp;gt;&amp;quot; for the gdb session is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=User:Aaptel&amp;diff=896</id>
		<title>User:Aaptel</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=User:Aaptel&amp;diff=896"/>
		<updated>2012-03-27T14:47:10Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: Created page with &amp;quot;Blah blah. I will try to contribute to this wiki.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Blah blah. I will try to contribute to this wiki.&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=895</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=895"/>
		<updated>2012-03-27T14:45:13Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: /* Debugging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
The default [[major mode]] associated with C files (''.c'' and ''.h'') is [[cc-mode]].&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with ''xscope.el'' library which enables use of cscope from within Emacs.&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
[[gdb]] -- the GNU Project Debugger -- can be embedded in Emacs.&lt;br /&gt;
&lt;br /&gt;
While browsing your project's code:&lt;br /&gt;
* Run {{Command|gdb}} to stat a new gdb session&lt;br /&gt;
* Specify gdb parameters for your project.&lt;br /&gt;
* A new buffer &amp;quot;&amp;lt;code&amp;gt;*gud-xxx*&amp;lt;/code&amp;gt;&amp;quot; for the gdb session is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Whitespace-mode&amp;diff=894</id>
		<title>Whitespace-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Whitespace-mode&amp;diff=894"/>
		<updated>2012-03-27T14:40:45Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: /* Basic setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;whitespace-mode is a [[minor mode]] to visualize blanks (tabs, spaces, newline, etc).&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
&lt;br /&gt;
Whitespace-mode is already bundled with Emacs.&amp;lt;br/&amp;gt;&lt;br /&gt;
Use {{Command|whitespace-mode}} to activate it on the current [[buffer]].&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Whitespace-mode&amp;diff=891</id>
		<title>Whitespace-mode</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Whitespace-mode&amp;diff=891"/>
		<updated>2012-03-27T14:26:45Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: Created page with &amp;quot;whitespace-mode is a minor mode to visualize blanks (tabs, spaces, newline, etc).  == Basic setup ==  Whitespace-mode is already bundled with Emacs.&amp;lt;br/&amp;gt; Use &amp;lt;code&amp;gt;M-x whi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;whitespace-mode is a [[minor mode]] to visualize blanks (tabs, spaces, newline, etc).&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
&lt;br /&gt;
Whitespace-mode is already bundled with Emacs.&amp;lt;br/&amp;gt;&lt;br /&gt;
Use &amp;lt;code&amp;gt;M-x whitespace-mode&amp;lt;/code&amp;gt; to activate it on the current [[buffer]].&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=OCaml&amp;diff=890</id>
		<title>OCaml</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=OCaml&amp;diff=890"/>
		<updated>2012-03-27T14:15:51Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://caml.inria.fr/ OCaml] is a dialect of the ML programming language family, developed at [http://www.inria.fr/en/ INRIA].&lt;br /&gt;
&lt;br /&gt;
== Major modes ==&lt;br /&gt;
&lt;br /&gt;
* [http://tuareg.forge.ocamlcore.org Tuareg Mode] is a widely used Emacs major mode for OCaml. &lt;br /&gt;
* [http://www.typerex.org TypeRex] is a new Emacs mode for OCaml produced by OCamlPro and INRIA.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=877</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=877"/>
		<updated>2012-03-27T13:05:12Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: /* Debugging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
The default [[major mode]] associated with C files (''.c'' and ''.h'') is [[cc-mode]].&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with ''xscope.el'' library which enables use of cscope from within Emacs.&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
[[gdb]] -- the GNU Project Debugger -- can be embedded in Emacs.&lt;br /&gt;
&lt;br /&gt;
While browsing your project's code:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;M-x gdb&amp;lt;/code&amp;gt;&lt;br /&gt;
# specify gdb parameters.&lt;br /&gt;
# use the &amp;lt;code&amp;gt;*gud-xxx*&amp;lt;/code&amp;gt; buffer to control the gdb session.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=876</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=876"/>
		<updated>2012-03-27T12:59:08Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
The default [[major mode]] associated with C files (''.c'' and ''.h'') is [[cc-mode]].&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with ''xscope.el'' library which enables use of cscope from within Emacs.&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
[[gdb]] can be used for debugging.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Ansi-term&amp;diff=657</id>
		<title>Ansi-term</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Ansi-term&amp;diff=657"/>
		<updated>2012-03-26T23:07:33Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;code&amp;gt;ansi-term&amp;lt;/code&amp;gt; is a terminal-emulator builtin in Emacs. It has a very good emulation support and can even run and display Emacs correctly.&lt;br /&gt;
&lt;br /&gt;
To try it out, run &amp;lt;code&amp;gt;ansi-term&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;M-x ansi-term RET&amp;lt;/code&amp;gt;).&amp;lt;br/&amp;gt;&lt;br /&gt;
The content of the current window will be replaced by a new buffer named &amp;lt;code&amp;gt;*ansi-term*&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Ansi-term&amp;diff=656</id>
		<title>Ansi-term</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Ansi-term&amp;diff=656"/>
		<updated>2012-03-26T23:05:38Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: Created page with &amp;quot;ansi-term is a terminal-emulator builtin in Emacs. It has a very good emulation support and can even run and display correctly Emacs.  To try it out, run &amp;lt;code&amp;gt;ansi-term&amp;lt;/code...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ansi-term is a terminal-emulator builtin in Emacs. It has a very good emulation support and can even run and display correctly Emacs.&lt;br /&gt;
&lt;br /&gt;
To try it out, run &amp;lt;code&amp;gt;ansi-term&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;M-x ansi-term RET&amp;lt;/code&amp;gt;. The content of the current window will be replaced by a new buffer named &amp;lt;code&amp;gt;*ansi-term*&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=655</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=655"/>
		<updated>2012-03-26T22:58:30Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
The default [[major mode]] associated with C files (''.c'' and ''.h'') is [[cc-mode]].&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with ''xscope.el'' library which enables use of cscope from within Emacs.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=C&amp;diff=654</id>
		<title>C</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=C&amp;diff=654"/>
		<updated>2012-03-26T22:55:49Z</updated>

		<summary type="html">&lt;p&gt;Aaptel: added a short description + fix markup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories. It is one of the most widely used programming languages of all time. See [http://en.wikipedia.org/wiki/C_%28programming_language%29 Wikipedia article].&lt;br /&gt;
&lt;br /&gt;
== Browsing code ==&lt;br /&gt;
&lt;br /&gt;
[http://cscope.sourceforge.net/ Cscope] is the de-facto tool for browsing C code. The package is bundled with ''xscope.el'' library which enables use of cscope from within Emacs.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming languages]]&lt;/div&gt;</summary>
		<author><name>Aaptel</name></author>
	</entry>
</feed>