Open LemonBreezes opened 9 months ago
I don't think it is possible to toggle the message buffer in and out of org-msg-mode
, but here are three ways you could send the code without the default border on a text part:
(advice-add 'org-submit-bug-report :around #'org-msg-inhibited)
Remove the default border that Org uses for source block exports by adding a filter function to org-export-filter-src-block-functions
which replaces or deletes the border characters.
Write the e-mail with separate literal export blocks for each exporter, although this would require that the code is already encoded as HTML for the HTML block.
#+begin_export html
<pre>(code-goes-here)</pre>
#+end_export
#+begin_export ascii
(code-goes-here)
#+end_export
Option 1 would probably be best for submitting a bug report as the Org maintainers and issue tracker are probably only interested in the text part of the message.
Hi. I want to copy-paste elisp into my email in plain text without any formatting but no matter what kind of code block I use, the block does not get exported plainly. As an example: How can I toggle
org-msg-mode
in a message buffer and/or export an elisp block literally without any formatting?