Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"Symbol's value as variable is void: org-indent-line" if sending from org-mu4e-compose-org-mode #391

Open
emelin opened this Issue · 3 comments

3 participants

emelin Dirk-Jan C. Binnema Jon Miller
emelin

When I try to send a message composed in simplest org-mode syntax using org-mu4e-compose-org-mode according to the description at http://www.djcbsoftware.nl/code/mu/mu4e/Rich_002dtext-messages-with-org_002dmode.html#Rich_002dtext-messages-with-org_002dmode, I either
a) get the following error after pressing C-c C-c (at the message header)

Symbol's value as variable is void: org-indent-line

b) or the message is sent plain text after pressing M-m C-c C-c in the org part of the message asking me:

Already sent message via mail; resend? (y or n)  y

It would be really nice to get the supposed basic functionality working, although it's said to be experimetal.

Btw. If I apply M-x org-mime-htmlize while in org-mu4e-compose-org-mode, html code is produced and after retiring to mu4e compose mode by another M-x org-mu4e-compose-org-mode the sent mail looks pretty promising. So the basic conversion seems to work but not the plugging of things together by org-mu4e-compose-org-mode or org-mu4e, respectively.

Thank you very much helping here out,
emelin

Dirk-Jan C. Binnema
Owner

The org-indent-line is due some versions of org-mode not having that function. The org-mode has changed quite a bit, and mu4e/org was experimental in the first place, so it could use some love indeed...

emelin

Yeah, it needs love! Who wants or can spend it?

I gave it a tough but couldn't get far. Guess it has to do with some

org-local-vars

that are not set. Among them might be

org-indent-line

which is supposed to be a function.

Jon Miller

This bugged me today and I spent time to find a resolution in a slight modification to org~mu4e-mime-convert-to-html where I replaced the calls to org-export-string with calls to org-export-string-as based on what I saw other org code doing. I'll send a pull request.

Jon Miller jonEbird referenced this issue from a commit in jonEbird/mu
Jon Miller Updated html export to org v8 standards
Replaced use of org-export-string with org-export-string-as to match
updated org coding standards.

This specifically addresses issue #391
ea5e9b6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.