Hi. I'd rather use an optional sep argument to the org-quote-csv-field function but I've got no idea how to stick it into the orgtbl-apply-fmt. However, the quoting function should use current rather then assume comma.
--8<---------------cut here---------------start------------->8--- diff --git a/lisp/org.el b/lisp/org.el index b482b8e..501dd8d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -18019,7 +18019,7 @@ With prefix arg UNCOMPILED, load the uncompiled versions." (defun org-quote-csv-field (s) "Quote field for inclusion in CSV material." - (if (string-match "[\",]" s) + (if (string-match (concat "[\"" *orgtbl-sep* "]") s) (concat "\"" (mapconcat 'identity (split-string s "\"") "\"\"") "\"") s)) --8<---------------cut here---------------end--------------->8--- -- Miłego dnia, Łukasz Stelmach _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode