How to disable org-msg for org-submit-bug-report?
Opened this issue · 1 comments
LemonBreezes commented
morganwillcock commented
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:
- Automatically turn OrgMsg off just for this function and then turn it back on again.
(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.