ASCII export: Improve export of description lists

The list bullet is now removed, and the double colon is replaced by a
single colon.
This commit is contained in:
Carsten Dominik 2009-03-15 12:12:17 +01:00
parent 730ef5f5f6
commit 107803c6c3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-as-ascii): Improve export of plain lists.
2009-03-14 Bastien Guerry <bzg@altern.org> 2009-03-14 Bastien Guerry <bzg@altern.org>
* org.el (org-toggle-fixed-width-section): Bug fix: insert a * org.el (org-toggle-fixed-width-section): Bug fix: insert a

View File

@ -2894,6 +2894,8 @@ underlined headlines. The default is 3."
(org-format-table-ascii table-buffer) (org-format-table-ascii table-buffer)
"\n") "\n"))) "\n") "\n")))
(t (t
(if (string-match "^\\([ \t]*\\)\\([-+*][ \t]+\\)\\(.*?\\)\\( ::\\)" line)
(setq line (replace-match "\\1\\3:" t nil line)))
(setq line (org-fix-indentation line org-ascii-current-indentation)) (setq line (org-fix-indentation line org-ascii-current-indentation))
;; Remove forced line breaks ;; Remove forced line breaks
(if (string-match "\\\\\\\\[ \t]*$" line) (if (string-match "\\\\\\\\[ \t]*$" line)