[Users] Quotation marks

Marcel van der Boom marcel at hsdev.com
Sat Feb 27 13:08:22 CET 2016


Rene Maurer <rmnet at mailc.net> writes:


[...]
>> It is possible to have
>> Aaaa
>>> Bbbb
>
>> ...and if yes, how should this case be configured?

I have been using the following patch and set the reply mark to ">" to
do that, although I haven't checked recently because I'm mostly using
GNUS these days. It shouldn't be that hard to adjust the patch for newer gits.


Index: src/quote_fmt_parse.y
===================================================================
RCS file: //claws/src/quote_fmt_parse.y,v
retrieving revision 1.22.2.41
diff -u -r1.22.2.41 quote_fmt_parse.y
--- src/quote_fmt_parse.y	16 Sep 2008 12:22:12 -0000	1.22.2.41
+++ src/quote_fmt_parse.y	26 Oct 2009 19:29:41 -0000
@@ -461,9 +461,14 @@
 			if (!signature && strncmp(buf, "-- \n", 4) == 0)
 				break;
 		
-			if (quoted && quote_str)
+			if (quoted && quote_str) {
 				INSERT(quote_str);
-			
+				/* If the buf does not start with quote_str (earlier quote),
+				   insert a space to separate quote marks from text */ 
+				if(strncmp(buf,quote_str,strlen(quote_str) != 0)) {
+					INSERT(" ");
+				} 
+			}
 			INSERT(buf);
 		}
 		fclose(fp);
                
-- 
Marcel van der Boom โ†’ marcel at hsdev.com
 ๐Ÿ“ž +31ยท168ยท468ยท824        
 ๐Ÿ’ฌ xmpp:marcel at hsdev.com | http://telegram.me/marcel
 ๐Ÿ  http://hsdev.com
 



More information about the Users mailing list