[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 1015] kmail should have templates
From: dmiceman () mail ! ru
Date: 2006-10-16 9:32:58
Message-ID: 20061016093258.7662.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=1015
------- Additional Comments From dmiceman mail ru 2006-10-16 11:32 -------
Glad to introduce one another patch to kmail which provide thebat-like template \
functionality :-)
No, it is not a complete thebat templates language emulation (yet), only a very small \
subset, but it can serve most of everyday needs, especially because of per-folder \
configuration. It intended to be current 'Phrases' configuration replacement.
Motivation is simple. I`m also think what thebat have superior template language and \
kmail need to have something like this. Personally i`m just tired to type "Hello, \
<friend name>" ten times a day in the beginning of each message. At least, with this \
patch it is possible now avoid this with per-folder reply template.
Peoples used thebat will found what language is well known. I was tried to reproduce \
it as much as possible.
Also there is some additions to thebat template language related to external programs \
processing. Commands added:
%SYSTEM="<command>" -- insert result of external command
%QUOTEPIPE="<command>" -- insert original message body processed with external \
command and quoted %TEXTPIPE="<command>" -- the same, but not quoted
%MSGPIPE="<command>" -- the same, but whole message, including headers processed
%BODYPIPE="<command>" -- current message body processed
%CLEARPIPE="<command>" -- the same, but replace whole body with result
Also new:
%DEBUG -- turn on debug on pipe commands
%DEBUGOFF -- turn it off
%NOP -- synonym for %BLANK
Supported thebat commands:
%-, %REM="<comment>", %INSERT="<file>", %QUOTE, %QHEADERS, %HEADERS, \
%TEXT, %TOADDR, %TONAME, %FROMADDR, %FROMNAME, %FULLSUBJECT, %MSGID, \
%OHEADER="<header>", %HEADER="<header>", %OTOADDR, %OTONAME, %OFROMADDR, %OFROMNAME, \
%OFULLSUBJECT, %OMSGID, %DATEEN, %DATESHORT, %DATE, %DOW, %TIMELONGEN, %TIMELONG, \
%TIME, %ODATEEN, %ODATESHORT, %ODATE, %ODOW, %OTIMELONGEN, %OTIMELONG, %OTIME, \
%BLANK, %CLEAR
Sorry, much appreciated %CURSOR command not supported yet :-(
This patch are in synk with today KDE3.5 branch: \
http://websvn.kde.org/branches/KDE/3.5/kdepim
And i have a little hope what it will be added to KDE 3.5.6 :-) Because KDE 4 seems \
to be too far away yet.. _______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic