Bug #230
Predefined Subject field per folder.
0%
Description
Currently, it's possible to define To:, Cc:, Bcc: fields per folder. Some mailing list have subforums (eg. piclist) which require [PIC], [EE] or other tags in the subject.
It would be nice to have those tags filled in automatically. I could try to implement it myself, if there is interest in this, and if it would be acceptable.
Files
Updated by John Coppens over 7 years ago
- File subject.patch subject.patch added
I attached a patch which adds the possibility of predefined Subject fields per folder. It can be applied to the current stable version.
Updated by Hiroyuki Yamamoto over 7 years ago
Thanks for the patch.
I have briefly checked it.
diff -u -r sylpheed-3.4.2/libsylph/folder.h sylpheed-3.4.2-new/libsylph/folder.h --- sylpheed-3.4.2/libsylph/folder.h 2014-06-10 01:06:35.000000000 -0300 +++ sylpheed-3.4.2-new/libsylph/folder.h 2015-03-09 15:12:59.732506911 -0300 @@ -311,6 +311,7 @@ gchar *auto_cc; gchar *auto_bcc; gchar *auto_replyto; + gchar *auto_subject;
Adding a member to public libsylph structs will break ABI for plugins,
So it should be achived in other ways (such as private members like Folder struct).
+ if (item->auto_subject) + compose_entry_set(compose, item->auto_subject, + COMPOSE_ENTRY_REPLY_TO);
Isn't the correct one COMPOSE_ENTRY_SUBJECT ?
Other than the above, I think your patch is basically OK.
Updated by John Coppens over 7 years ago
Isn't the correct one COMPOSE_ENTRY_SUBJECT ?
Yes, that is correct... I noticed this only yesterday, as it only appears when doing a reply to a message. I did not have time to debug it yet.
Adding a member to public libsylph structs will break ABI for plugins,
So it should be achived in other ways (such as private members like Folder struct).
I'm afraid I am not very familiar with the workings of Sylpheed. I will look into it. Still,
would it not be more logical to have auto_subject treated at the same level as the other fields? Maybe in a future revision?
Thank you for your comments.
John
Updated by replica watches 5 months ago
https://www.bestwatchaaa.com/Bulgari-replica.html https://www.bestwatchaaa.com/Romain-Jerome-replica.html Perregaux https://www.allshopwatch.com/ https://www.hotwatchsreplica.com/Ulysse-Nardin.html Fake https://www.replicawatchsshop.cc/Girard-Perregaux-Replica.html https://www.replicawatchsshop.cc/Audemars-Piguet-Replica.html Watches https://www.goodswisswatch.com/ the https://www.bestwatchss.com/Bell-Ross-Replica-Watches.html and https://www.replicawatchsshop.cc/Movado-Replica.html https://www.bestwatchss.com/ https://www.replicawatchsshop.cc/A.Lange-Sohne-Replica.html https://www.bestwatchaaa.com/Seiko-replica.html https://www.luxuryshopwatch.com/ https://www.replicawatchsshop.cc/Blancpain-Replica.html website. https://www.hotwatchsreplica.com/MontBlanc.html https://www.replicawatchsshop.cc/Oris-Replica.html https://www.replicawatchsshop.cc/Graham-Replica.html https://www.hotwatchsreplica.com/Alain-Silberstein.html https://www.bestwatchss.com/Roger-Dubuis-Replica-Watches.html https://www.bestwatchss.com/Glashutte-Replica-Watches.html https://www.swissrepicass.com/ https://www.hotwatchsreplica.com/Bell-Ross.html https://www.bestwatchaaa.com/Perrelet-replica.html price https://www.allwatchesen.com/ https://www.replicawatchsshop.cc/Tissot-Replica.html lowest https://www.bestwatchaaa.com/Graham-replica.html https://www.bestwatchaaa.com/Chopard-replica.html https://www.hotwatchsreplica.com/Tag-Heuer.html https://www.bestwatchss.com/Longines-Replica-Watches.html And https://www.bestwatchaaa.com/Bulgari-replica.html https://www.bestwatchaaa.com/ the https://www.bestwatchaaa.com/Blancpain-replica.html is https://www.bestwatchaaa.com/Raymond-Weil-replica.html https://www.replicawatchsshop.cc/Dior-Replica.html https://www.bestwatchaaa.com/Cartier-replica.html real ones.