[tin-dev] [PATCH] highlight external quotes
Dennis Preiser
dennis at d--p.de
Thu Oct 8 21:39:18 CEST 2015
Hello,
the attached patch adds the ability to highlight external quotes (quoted
text from external sources). This could be for instance a citation or a
program output. Usually, such things are marked with "| ". Examples:
RFC xy says:
| Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
| eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
| voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
| clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
| amet.
or:
| dennis at coredump:~/src/tin-2.3.1_r8% ls -oh
| total 2560
| -rw-r--r--@ 1 dennis 7.9K 24 Dec 2014 MANIFEST
| -rw-r--r--@ 1 dennis 14K 24 Dec 2014 Makefile
| -rw-r--r--@ 1 dennis 1.4K 28 Aug 2013 README
| […]
The patch contains a variable to switch this feature on and off
(extquote_handling, default OFF, tinrc and attributes), a regex
(extquote_regex, default "^|\s", tinrc) and a color definition
(col_extquote, default color 5, tinrc).
This feature is similar to the verbatim marks, but I think it's still
useful.
Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2015-10-07_tin.diff.gz
Type: application/x-gunzip
Size: 6294 bytes
Desc: not available
URL: <http://lists.tin.org/pipermail/tin-dev/attachments/20151008/fd67a785/attachment.bin>
More information about the tin-dev
mailing list