<?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=Rcaguiar</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=Rcaguiar"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/wiki/Special:Contributions/Rcaguiar"/>
	<updated>2026-04-04T00:20:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Keyboard_macros&amp;diff=47091</id>
		<title>Keyboard macros</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Keyboard_macros&amp;diff=47091"/>
		<updated>2015-08-11T21:47:14Z</updated>

		<summary type="html">&lt;p&gt;Rcaguiar: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Keyboard Macros =&lt;br /&gt;
&lt;br /&gt;
Start keyboard macro recording: &lt;br /&gt;
&lt;br /&gt;
[ C-x ( ]&lt;br /&gt;
&lt;br /&gt;
End keyboard macro recording:&lt;br /&gt;
&lt;br /&gt;
[ C-x ) ]&lt;br /&gt;
&lt;br /&gt;
Execute keyboard macro recorded:&lt;br /&gt;
&lt;br /&gt;
[ C-x e ]&lt;br /&gt;
&lt;br /&gt;
Execute many 10 times recorded keyboard macro:&lt;br /&gt;
&lt;br /&gt;
[ C-u 10 ][ C-x e ]&lt;/div&gt;</summary>
		<author><name>Rcaguiar</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Keyboard_macros&amp;diff=47090</id>
		<title>Keyboard macros</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Keyboard_macros&amp;diff=47090"/>
		<updated>2015-08-11T21:44:15Z</updated>

		<summary type="html">&lt;p&gt;Rcaguiar: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Keyboard Macros =&lt;br /&gt;
&lt;br /&gt;
Start keyboard macro recording: &lt;br /&gt;
&lt;br /&gt;
&amp;lt; C-x ( &amp;gt;&lt;br /&gt;
&lt;br /&gt;
End keyboard macro recording:&lt;br /&gt;
&lt;br /&gt;
&amp;lt; C-x ) &amp;gt;&lt;br /&gt;
&lt;br /&gt;
Execute keyboard macro recorded:&lt;br /&gt;
&lt;br /&gt;
&amp;lt; C-x e &amp;gt;&lt;br /&gt;
&lt;br /&gt;
Execute many 10 times recorded keyboard macro:&lt;br /&gt;
&lt;br /&gt;
&amp;lt; C-u 10 &amp;gt;&amp;lt; C-x e &amp;gt;&lt;/div&gt;</summary>
		<author><name>Rcaguiar</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Abbrevs&amp;diff=47089</id>
		<title>Abbrevs</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Abbrevs&amp;diff=47089"/>
		<updated>2015-08-11T21:36:17Z</updated>

		<summary type="html">&lt;p&gt;Rcaguiar: /* Abbrevs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Abbrevs =&lt;br /&gt;
&lt;br /&gt;
Abbbrevs are small pieces of text that are expanded as you type. &lt;br /&gt;
&lt;br /&gt;
The expansion is context sensitive, so it depends on the mode you opened &lt;br /&gt;
the file: &lt;br /&gt;
&lt;br /&gt;
* if you open a .py file, it is python-mode so it uses the table for python&lt;br /&gt;
* if you open a .c file, it is C language so it uses de table for C language &lt;br /&gt;
* so on&lt;br /&gt;
&lt;br /&gt;
Abbrevs are loaded from a Emacs-LISP file. The traditional location of &lt;br /&gt;
this file is: &lt;br /&gt;
&lt;br /&gt;
 ~/.abbrev_defs&lt;br /&gt;
&lt;br /&gt;
The format of the sections in this file is the following:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 (define-abbrev-table 'xxxx-mode-abbrev-table '(&lt;br /&gt;
   (&amp;quot;abbr&amp;quot; &amp;quot;text to expand for abbr&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;other&amp;quot; &amp;quot;other text&amp;quot; nil 0)&lt;br /&gt;
              ...&lt;br /&gt;
   ))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 (define-abbrev-table 'html-mode-abbrev-table '(&lt;br /&gt;
   (&amp;quot;htmls&amp;quot; &amp;quot;&amp;lt;html&amp;gt;\n&amp;lt;head&amp;gt;\n&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;\n&amp;lt;style&amp;gt;&amp;lt;/style&amp;gt;\n&amp;lt;/head&amp;gt;\n&amp;lt;body&amp;gt;\n&amp;lt;/body&amp;gt;\n&amp;lt;/html&amp;gt;\n&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;table&amp;quot; &amp;quot;&amp;lt;table&amp;gt;\n&amp;lt;/table&amp;gt;&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;tr&amp;quot; &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;td&amp;quot; &amp;quot;&amp;lt;td&amp;gt;  &amp;lt;/td&amp;gt;&amp;quot;)&lt;br /&gt;
   ... other usefull and frequently used HTML definitions here ...&lt;br /&gt;
   ))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Abbrev files can be read using this Emacs Lisp call: &lt;br /&gt;
&lt;br /&gt;
 (read-abbrev-file &amp;quot;~/.abbrev_defs&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
You can use it dynamically as a Emacs command:&lt;br /&gt;
&lt;br /&gt;
 M-x read-abbrev-file&lt;br /&gt;
&lt;br /&gt;
There is a minor mode of Emacs called Abbrev-mode. It can be &lt;br /&gt;
switched on an off with this command:&lt;br /&gt;
&lt;br /&gt;
 M-x abbrev-mode&lt;br /&gt;
&lt;br /&gt;
If you (as me, rcaguiar) don't like very much this mode, you can &lt;br /&gt;
disable it in .emacs file adding the following line:&lt;br /&gt;
&lt;br /&gt;
 (setq default-abbrev-mode -1)&lt;br /&gt;
&lt;br /&gt;
At the end of Emacs session it usually writes the current Abbrevs to &lt;br /&gt;
file. For it to NOT happen, you need to include the following line in &lt;br /&gt;
.emacs file:&lt;br /&gt;
&lt;br /&gt;
 (setq save-abbrevs nil)&lt;br /&gt;
&lt;br /&gt;
To make the use of Abbrevs less invasive than Abbrev Mode, you can use the &lt;br /&gt;
Emacs Lisp function &amp;quot;expand-abbrevs&amp;quot;. It is usually bound to some shortcut &lt;br /&gt;
as &amp;lt; C-x ' &amp;gt;  for instance. You can use &amp;lt; C-h b &amp;gt; to confer the bindings. To &lt;br /&gt;
bind it to some other key combination you can use the following line in your &lt;br /&gt;
.emacs file:&lt;br /&gt;
&lt;br /&gt;
 (global-set-key [f4] 'expand-abbrev)&lt;/div&gt;</summary>
		<author><name>Rcaguiar</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Abbrevs&amp;diff=47088</id>
		<title>Abbrevs</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Abbrevs&amp;diff=47088"/>
		<updated>2015-08-11T21:33:34Z</updated>

		<summary type="html">&lt;p&gt;Rcaguiar: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Abbrevs =&lt;br /&gt;
&lt;br /&gt;
Abbbrevs are small pieces of text that are expanded as you type. &lt;br /&gt;
&lt;br /&gt;
The expansion is context sensitive, so it depends on the mode you opened &lt;br /&gt;
the file: &lt;br /&gt;
&lt;br /&gt;
* if you open a .py file, it is python-mode so it uses the table for python&lt;br /&gt;
* if you open a .c file, it is C language so it uses de table for C language &lt;br /&gt;
* so on&lt;br /&gt;
&lt;br /&gt;
Abbrevs are loaded from a Emacs-LISP file. The traditional location of &lt;br /&gt;
this file is: &lt;br /&gt;
&lt;br /&gt;
 ~/.abbrev_defs&lt;br /&gt;
&lt;br /&gt;
The format of the sections in this file is the following:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 (define-abbrev-table 'xxxx-mode-abbrev-table '(&lt;br /&gt;
   (&amp;quot;abbr&amp;quot; &amp;quot;text to expand for abbr&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;other&amp;quot; &amp;quot;other text&amp;quot; nil 0)&lt;br /&gt;
              ...&lt;br /&gt;
   ))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 (define-abbrev-table 'html-mode-abbrev-table '(&lt;br /&gt;
   (&amp;quot;htmls&amp;quot; &amp;quot;&amp;lt;html&amp;gt;\n&amp;lt;head&amp;gt;\n&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;\n&amp;lt;style&amp;gt;&amp;lt;/style&amp;gt;\n&amp;lt;/head&amp;gt;\n&amp;lt;body&amp;gt;\n&amp;lt;/body&amp;gt;\n&amp;lt;/html&amp;gt;\n&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;table&amp;quot; &amp;quot;&amp;lt;table&amp;gt;\n&amp;lt;/table&amp;gt;&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;tr&amp;quot; &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot; nil 0)&lt;br /&gt;
   (&amp;quot;td&amp;quot; &amp;quot;&amp;lt;td&amp;gt;  &amp;lt;/td&amp;gt;&amp;quot;)&lt;br /&gt;
   ... other usefull and frequently used HTML definitions here ...&lt;br /&gt;
   ))&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Abbrev files can be read using this Emacs Lisp call: &lt;br /&gt;
&lt;br /&gt;
 (read-abbrev-file &amp;quot;~/.abbrev_defs&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
You can use it dynamically as a Emacs command:&lt;br /&gt;
&lt;br /&gt;
 M-x read-abbrev-file&lt;br /&gt;
&lt;br /&gt;
There is a minor mode of Emacs called Abbrev-mode. It can be &lt;br /&gt;
switched on an off with this command:&lt;br /&gt;
&lt;br /&gt;
 M-x abbrev-mode&lt;br /&gt;
&lt;br /&gt;
If you (as me, rcaguiar) don't like very much this mode, you can &lt;br /&gt;
disable it in .emacs file adding the following line:&lt;br /&gt;
&lt;br /&gt;
 (setq default-abbrev-mode -1)&lt;br /&gt;
&lt;br /&gt;
At the end of Emacs session it usually writes the current Abbrevs to &lt;br /&gt;
file. For it to NOT happen, you need to include the following line in &lt;br /&gt;
.emacs file:&lt;br /&gt;
&lt;br /&gt;
 (setq save-abbrevs nil)&lt;br /&gt;
&lt;br /&gt;
To make the use of Abbrevs less invasive as Abbrev Mode, you can use the &lt;br /&gt;
Emacs Lisp function &amp;quot;expand-abbrevs&amp;quot;. It is usually bound to some shortcut &lt;br /&gt;
as &amp;lt; C-x ' &amp;gt;  for instance. You can use &amp;lt; C-h b &amp;gt; to confer the bindings. To &lt;br /&gt;
bind it to some other key combination you can use the following line in your &lt;br /&gt;
.emacs file:&lt;br /&gt;
&lt;br /&gt;
 (global-set-key [f4] 'expand-abbrev)&lt;/div&gt;</summary>
		<author><name>Rcaguiar</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Abbrevs&amp;diff=47087</id>
		<title>Abbrevs</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Abbrevs&amp;diff=47087"/>
		<updated>2015-08-11T21:18:53Z</updated>

		<summary type="html">&lt;p&gt;Rcaguiar: Created page with &amp;quot;  Abbbrevs are small pieces of text that are expanded as you type.   The expansion is context sensitive, so it depends on the mode you opened  the file: if you open a .py file...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
Abbbrevs are small pieces of text that are expanded as you type. &lt;br /&gt;
&lt;br /&gt;
The expansion is context sensitive, so it depends on the mode you opened &lt;br /&gt;
the file: if you open a .py file, it is python-mode so it uses the table &lt;br /&gt;
for python, if you open a .c file, it is C language so it uses de table &lt;br /&gt;
for C language and so on. &lt;br /&gt;
&lt;br /&gt;
Abbrevs are loaded from a Emacs-LISP file. The traditional location of &lt;br /&gt;
this file is: &lt;br /&gt;
&lt;br /&gt;
 ~/.abbrev_defs&lt;br /&gt;
&lt;br /&gt;
The format of the sections in this file is the following:&lt;br /&gt;
&lt;br /&gt;
(define-abbrev-table 'xxxx-mode-abbrev-table '(&lt;br /&gt;
  (&amp;quot;abbr&amp;quot; &amp;quot;text to expand for abbr&amp;quot; nil 0)&lt;br /&gt;
  (&amp;quot;other&amp;quot; &amp;quot;other text&amp;quot; nil 0)&lt;br /&gt;
             ...&lt;br /&gt;
  ))&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
(define-abbrev-table 'html-mode-abbrev-table '(&lt;br /&gt;
  (&amp;quot;htmls&amp;quot; &amp;quot;&amp;lt;html&amp;gt;\n&amp;lt;head&amp;gt;\n&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;\n&amp;lt;style&amp;gt;&amp;lt;/style&amp;gt;\n&amp;lt;/head&amp;gt;\n&amp;lt;body&amp;gt;\n&amp;lt;/body&amp;gt;\n&amp;lt;/html&amp;gt;\n&amp;quot; nil 0)&lt;br /&gt;
  (&amp;quot;table&amp;quot; &amp;quot;&amp;lt;table&amp;gt;\n&amp;lt;/table&amp;gt;&amp;quot; nil 0)&lt;br /&gt;
  (&amp;quot;tr&amp;quot; &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot; nil 0)&lt;br /&gt;
  (&amp;quot;td&amp;quot; &amp;quot;&amp;lt;td&amp;gt;  &amp;lt;/td&amp;gt;&amp;quot;)&lt;br /&gt;
      ... other usefull and frequently used HTML definitions here ...&lt;br /&gt;
  ))&lt;br /&gt;
&lt;br /&gt;
Abbrev files can be read using this Emacs Lisp call: &lt;br /&gt;
&lt;br /&gt;
(read-abbrev-file &amp;quot;~/.abbrev_defs&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
You can use it dynamically as a Emacs command:&lt;br /&gt;
&lt;br /&gt;
M-x read-abbrev-file&lt;br /&gt;
&lt;br /&gt;
There is a minor mode of Emacs called Abbrev-mode. It can be &lt;br /&gt;
switched on an off with this command:&lt;br /&gt;
&lt;br /&gt;
M-x abbrev-mode&lt;br /&gt;
&lt;br /&gt;
If you (as me, rcaguiar) don't like very much this mode, you can &lt;br /&gt;
disable it in .emacs file adding the following line:&lt;br /&gt;
&lt;br /&gt;
(setq default-abbrev-mode -1)&lt;br /&gt;
&lt;br /&gt;
At the end of Emacs session it usually writes the current Abbrevs to &lt;br /&gt;
file. For it to NOT happen, you need to include the following line in &lt;br /&gt;
.emacs file:&lt;br /&gt;
&lt;br /&gt;
(setq save-abbrevs nil)&lt;br /&gt;
&lt;br /&gt;
To make the use of Abbrevs less invasive as Abbrev Mode, you can use the &lt;br /&gt;
Emacs Lisp function &amp;quot;expand-abbrevs&amp;quot;. It is usually bound to some shortcut &lt;br /&gt;
as &amp;lt; C-x ' &amp;gt;  for instance. You can use &amp;lt; C-h b &amp;gt; to confer the bindings. To &lt;br /&gt;
bind it to some other key combination you can use the following line in your &lt;br /&gt;
.emacs file:&lt;br /&gt;
&lt;br /&gt;
(global-set-key [f4] 'expand-abbrev)&lt;/div&gt;</summary>
		<author><name>Rcaguiar</name></author>
	</entry>
</feed>