summaryrefslogtreecommitdiff
path: root/src/tools/editors
Commit message (Collapse)AuthorAgeFilesLines
* Update documentation editor setup instructionsPeter Eisentraut2018-07-131-4/+15
| | | | | | | | | | | | 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.
* Make Emacs settings match perltidy configurationPeter Eisentraut2018-04-231-1/+1
| | | | | | 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.
* emacs: Set indent-tabs-mode in perl-modePeter Eisentraut2015-04-121-0/+1
| | | | | This matches existing practice, but makes the setup complete and consistent with the C code setup.
* emacs.samples: Reliably override ".dir-locals.el".Noah Misch2014-06-131-1/+6
| | | | Back-patch to 9.4, where .dir-locals.el was introduced.
* Update Emacs configurationPeter Eisentraut2013-08-131-104/+54
| | | | | | | | | | | | 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 <dimitri@2ndQuadrant.fr> Reviewed-by: Noah Misch <noah@leadboat.com>
* Add Perl emacs formatting macros to src/tools/editors/emacs.samples.Bruce Momjian2012-08-301-0/+22
| | | | Peter Eisentraut
* Small update to emacs example configurationPeter Eisentraut2011-04-231-1/+1
| | | | | | 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.
* Add fill-column setting to emacs example configurationsPeter Eisentraut2011-04-231-0/+3
| | | | This matches the maximum line length that pgindent uses.
* Remove useless whitespace at end of linesPeter Eisentraut2010-11-231-2/+2
|
* Remove extra newlines at end and beginning of files, add missing newlinesPeter Eisentraut2010-08-191-1/+0
| | | | at end of files.
* Add a further customization to the SGML Emacs mode to prevent the use ofPeter Eisentraut2009-07-211-0/+1
| | | | tabs in the documentation source.
* Fix sgml-mode example. thanks Andrew DunstanPeter Eisentraut2009-05-201-1/+1
|
* Add some instructions on how to customize emacs for working on the SGMLPeter Eisentraut2009-05-181-0/+17
| | | | sources.
* Update Emacs/vim editor info.Bruce Momjian2006-09-072-0/+96