<?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=193.90.174.156</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=193.90.174.156"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/wiki/Special:Contributions/193.90.174.156"/>
	<updated>2026-04-15T18:00:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Expand_region&amp;diff=2642</id>
		<title>Expand region</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Expand_region&amp;diff=2642"/>
		<updated>2012-04-10T08:59:25Z</updated>

		<summary type="html">&lt;p&gt;193.90.174.156: /* Helpful keybindings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Package&lt;br /&gt;
|name=expand-region&lt;br /&gt;
|description=Emacs extension to increase selected region by semantic units.&lt;br /&gt;
|author=Magnar Sveen&lt;br /&gt;
|maintainer=Magnar Sveen&lt;br /&gt;
|source=https://github.com/magnars/expand-region.el&lt;br /&gt;
|in_emacs=No&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Expand region''' increases the selected region by semantic units. Just keep pressing the key until it selects what you want.&lt;br /&gt;
&lt;br /&gt;
An example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
(setq alphabet-start &amp;quot;abc def&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the cursor at the '''c''', it starts by marking the entire word '''abc''', then expand to the contents of the quotes '''abc def''', then to the entire quote '''&amp;quot;abc def&amp;quot;''', then to the contents of the sexp '''setq alphabet-start &amp;quot;abc def&amp;quot;''' and finally to the entire sexp.&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
(require 'expand-region)&lt;br /&gt;
(global-set-key (kbd &amp;quot;C-=&amp;quot;) 'er/expand-region)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Helpful keybindings ==&lt;br /&gt;
&lt;br /&gt;
If you expand too far, you can contract the region again by giving a negative prefix.&lt;br /&gt;
&lt;br /&gt;
== Common Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Replacing the Region ===&lt;br /&gt;
&lt;br /&gt;
{{Command|delete-selection-mode}} is sometimes used in conjunction with [[Expand region]]. [[Delete selection]] is a [[minor mode]] that allows you to delete and replace the contents of the current region by simply typing over it.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
== Project Pages ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/magnars/expand-region.el GitHub Repo]&lt;br /&gt;
&lt;br /&gt;
== Tutorial Pages ==&lt;br /&gt;
&lt;br /&gt;
*[http://emacsrocks.com/e09.html Screencast]&lt;br /&gt;
&lt;br /&gt;
[[Category:Project Management]][[Category:Convenience]][[Category:Third Party Package]]&lt;/div&gt;</summary>
		<author><name>193.90.174.156</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Expand_region&amp;diff=2641</id>
		<title>Expand region</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Expand_region&amp;diff=2641"/>
		<updated>2012-04-10T08:57:33Z</updated>

		<summary type="html">&lt;p&gt;193.90.174.156: Fixed repo link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Package&lt;br /&gt;
|name=expand-region&lt;br /&gt;
|description=Emacs extension to increase selected region by semantic units.&lt;br /&gt;
|author=Magnar Sveen&lt;br /&gt;
|maintainer=Magnar Sveen&lt;br /&gt;
|source=https://github.com/magnars/expand-region.el&lt;br /&gt;
|in_emacs=No&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Expand region''' increases the selected region by semantic units. Just keep pressing the key until it selects what you want.&lt;br /&gt;
&lt;br /&gt;
An example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
(setq alphabet-start &amp;quot;abc def&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the cursor at the '''c''', it starts by marking the entire word '''abc''', then expand to the contents of the quotes '''abc def''', then to the entire quote '''&amp;quot;abc def&amp;quot;''', then to the contents of the sexp '''setq alphabet-start &amp;quot;abc def&amp;quot;''' and finally to the entire sexp.&lt;br /&gt;
&lt;br /&gt;
== Basic setup ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
(require 'expand-region)&lt;br /&gt;
(global-set-key (kbd &amp;quot;C-=&amp;quot;) 'er/expand-region)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Helpful keybindings ==&lt;br /&gt;
&lt;br /&gt;
== Common Customization ==&lt;br /&gt;
&lt;br /&gt;
=== Replacing the Region ===&lt;br /&gt;
&lt;br /&gt;
{{Command|delete-selection-mode}} is sometimes used in conjunction with [[Expand region]]. [[Delete selection]] is a [[minor mode]] that allows you to delete and replace the contents of the current region by simply typing over it.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
== Project Pages ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/magnars/expand-region.el GitHub Repo]&lt;br /&gt;
&lt;br /&gt;
== Tutorial Pages ==&lt;br /&gt;
&lt;br /&gt;
*[http://emacsrocks.com/e09.html Screencast]&lt;br /&gt;
&lt;br /&gt;
[[Category:Project Management]][[Category:Convenience]][[Category:Third Party Package]]&lt;/div&gt;</summary>
		<author><name>193.90.174.156</name></author>
	</entry>
</feed>