After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769396 - Quoted Reply with Template
Quoted Reply with Template
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Plugins
3.12.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
Depends on: 602612
Blocks:
 
 
Reported: 2016-08-01 19:46 UTC by Evan Ward
Modified: 2018-11-09 09:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evan Ward 2016-08-01 19:46:30 UTC
Hi,

I'm trying to use evolution templates when I reply to an email, but I
can't get the original body text to be properly quoted. Any help would
be appreciated. I'm using evolution 3.12.11.

I would like to have it look like this:

my template text on top

On date Evan wrote:
> quoted original line 1
> quoted original line 2


I've tried using template variable substitution with the following template:

my template text on top

On $ORIG[date] $ORIG[from] wrote:
> $ORIG[body]


But that template only quotes the first line of the original body, so I
end up with something like

my template text on top

On date Evan wrote:
> quoted original line 1
quoted original line 2              <-- not actually quoted


It would be nice to have a way to quote the whole original body text in a template. Or to be able to insert the template above the normal generated reply text.

See also https://mail.gnome.org/archives/evolution-list/2016-August/msg00001.html

Best Regards,
Evan
Comment 1 Milan Crha 2018-11-09 09:36:16 UTC
Thanks for a bug report. I made it work by adding two new variables:

   $ORIG[reply-credits]
   $ORIG[quoted-body]

It's split, because it is how it is in the code and because, sometimes, one might not necessarily need the original reply credits, thus it allows a bit more customization.

Created commit 49aa88030a in evo master (3.31.2+)