<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/src/tools/editors/emacs.samples, branch master</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Make Emacs perl-mode indent more like perltidy.</title>
<updated>2019-01-13T19:32:31+00:00</updated>
<author>
<name>Noah Misch</name>
<email>noah@leadboat.com</email>
</author>
<published>2019-01-13T19:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=472e1e4cf64b81b1ecae900db8115deb250ba8bc'/>
<id>472e1e4cf64b81b1ecae900db8115deb250ba8bc</id>
<content type='text'>
This especially helps braces that surround code blocks.  Back-patch to
v11, where commit 56fb890ace8ac0ca955ae0803c580c2074f876f6 first
appeared; before that, settings were even more distant from perltidy.

Reviewed by Andrew Dunstan.

Discussion: https://postgr.es/m/20190103055355.GB267595@gust.leadboat.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This especially helps braces that surround code blocks.  Back-patch to
v11, where commit 56fb890ace8ac0ca955ae0803c580c2074f876f6 first
appeared; before that, settings were even more distant from perltidy.

Reviewed by Andrew Dunstan.

Discussion: https://postgr.es/m/20190103055355.GB267595@gust.leadboat.com
</pre>
</div>
</content>
</entry>
<entry>
<title>Update documentation editor setup instructions</title>
<updated>2018-07-13T19:23:41+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2018-07-13T19:23:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=333224c99ed107a4e73dc7768879c2a37c6f99ab'/>
<id>333224c99ed107a4e73dc7768879c2a37c6f99ab</id>
<content type='text'>
Now that the documentation sources are in XML rather than SGML, some of
the documentation about the editor, or more specifically Emacs, setup
needs updating.  The updated instructions recommend using nxml-mode,
which works mostly out of the box, with some small tweaks in
emacs.samples and .dir-locals.el.

Also remove some obsolete stuff in .dir-locals.el.  I did, however,
leave the sgml-mode settings in there so that someone using Emacs
without emacs.samples gets those settings when editing a *.sgml file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the documentation sources are in XML rather than SGML, some of
the documentation about the editor, or more specifically Emacs, setup
needs updating.  The updated instructions recommend using nxml-mode,
which works mostly out of the box, with some small tweaks in
emacs.samples and .dir-locals.el.

Also remove some obsolete stuff in .dir-locals.el.  I did, however,
leave the sgml-mode settings in there so that someone using Emacs
without emacs.samples gets those settings when editing a *.sgml file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Emacs settings match perltidy configuration</title>
<updated>2018-04-23T15:44:31+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2018-04-23T15:44:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=56fb890ace8ac0ca955ae0803c580c2074f876f6'/>
<id>56fb890ace8ac0ca955ae0803c580c2074f876f6</id>
<content type='text'>
Set Emacs's perl-continued-statement-offset to match perltidy's
--continuation-indentation, which is 2 (not overridden in PostgreSQL's
profile) rather than the 4 that Emacs uses by default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set Emacs's perl-continued-statement-offset to match perltidy's
--continuation-indentation, which is 2 (not overridden in PostgreSQL's
profile) rather than the 4 that Emacs uses by default.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs: Set indent-tabs-mode in perl-mode</title>
<updated>2015-04-13T03:53:23+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2015-04-13T03:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=442663f133f1caec51919402463e6e31362baee3'/>
<id>442663f133f1caec51919402463e6e31362baee3</id>
<content type='text'>
This matches existing practice, but makes the setup complete and
consistent with the C code setup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches existing practice, but makes the setup complete and
consistent with the C code setup.
</pre>
</div>
</content>
</entry>
<entry>
<title>emacs.samples: Reliably override ".dir-locals.el".</title>
<updated>2014-06-13T23:57:18+00:00</updated>
<author>
<name>Noah Misch</name>
<email>noah@leadboat.com</email>
</author>
<published>2014-06-13T23:57:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=81300ea4443766aad2631fad8d02d09dd66954a2'/>
<id>81300ea4443766aad2631fad8d02d09dd66954a2</id>
<content type='text'>
Back-patch to 9.4, where .dir-locals.el was introduced.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Back-patch to 9.4, where .dir-locals.el was introduced.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Emacs configuration</title>
<updated>2013-08-14T00:08:44+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2013-08-14T00:08:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=5e3e8e4daaefba47ad7a8b82320531992470b5df'/>
<id>5e3e8e4daaefba47ad7a8b82320531992470b5df</id>
<content type='text'>
Update emacs.samples with new configuration snippets that match pgindent
et al. formatting more accurately and follow Emacs Lisp best practices
better.

Add .dir-locals.el with a subset of that configuration for casual
editing and viewing.

Reviewed-by: Dimitri Fontaine &lt;dimitri@2ndQuadrant.fr&gt;
Reviewed-by: Noah Misch &lt;noah@leadboat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update emacs.samples with new configuration snippets that match pgindent
et al. formatting more accurately and follow Emacs Lisp best practices
better.

Add .dir-locals.el with a subset of that configuration for casual
editing and viewing.

Reviewed-by: Dimitri Fontaine &lt;dimitri@2ndQuadrant.fr&gt;
Reviewed-by: Noah Misch &lt;noah@leadboat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Perl emacs formatting macros to src/tools/editors/emacs.samples.</title>
<updated>2012-08-31T01:40:31+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2012-08-31T01:40:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=5fcb58baca7a78e688b84275958c450670ba62a8'/>
<id>5fcb58baca7a78e688b84275958c450670ba62a8</id>
<content type='text'>
Peter Eisentraut
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Peter Eisentraut
</pre>
</div>
</content>
</entry>
<entry>
<title>Small update to emacs example configuration</title>
<updated>2011-04-22T21:47:01+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2011-04-22T21:44:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=78e7e20afe768d9c5f6b4fbf30a2d7100d46bb2f'/>
<id>78e7e20afe768d9c5f6b4fbf30a2d7100d46bb2f</id>
<content type='text'>
Since both tarballs and git now result in a "postgresql" directory
rather than a "pgsql" directory, adjust the example configuration to
look for the former.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since both tarballs and git now result in a "postgresql" directory
rather than a "pgsql" directory, adjust the example configuration to
look for the former.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add fill-column setting to emacs example configurations</title>
<updated>2011-04-22T21:47:00+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2011-04-22T21:39:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=415f5e12592d135919549a5eb21893fda0417ebf'/>
<id>415f5e12592d135919549a5eb21893fda0417ebf</id>
<content type='text'>
This matches the maximum line length that pgindent uses.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches the maximum line length that pgindent uses.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove useless whitespace at end of lines</title>
<updated>2010-11-23T20:34:55+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2010-11-23T20:27:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=fc946c39aeacdff7df60c83fca6582985e8546c8'/>
<id>fc946c39aeacdff7df60c83fca6582985e8546c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
