Hello,

Alexander Adolf <alexander.ad...@condition-alpha.com> writes:

> ----------------------------------------------------------------------
> (defun org-ascii-convert-region-to-ascii ()
>   "Assume the current region has Org syntax, and convert it to
> plain ASCII. This can be used in any buffer. For example, you
> could write an itemized list or a table in Org syntax in a mail
> buffer and then use this command to convert it."
>   (interactive)
>   (let ((org-ascii-charset 'ascii))
>     (org-export-replace-region-by 'ascii)))
>
> (defun org-ascii-convert-region-to-utf8 ()
>   "Assume the current region has Org syntax, and convert it to
> UTF-8. This can be used in any buffer. For example, you could
> write an itemized list or a table in Org syntax in a mail buffer
> and then use this command to convert it."
>   (interactive)
>   (let ((org-ascii-charset 'utf-8))
>     (org-export-replace-region-by 'ascii)))
> ----------------------------------------------------------------------

I added the functions to "ox-ascii.el", with an autoload cookie,
a simplified docstring, and an entry in the manual.

Thank you.

Regards,

-- 
Nicolas Goaziou

Reply via email to