Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibilty with mu4e 1.12 #190

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

danielfleischer
Copy link
Contributor

  • Collection of various patches to make org-msg compatible with mu 1.12+.
  • It will break compatibility with older versions as there are major changes in the mu library.

@milanglacier
Copy link

Hi I did some test on this branch, there is a small problem I noticed:

  1. there is an error message when trying to send the mail:
primitive-undo: Changes to be undone are outside visible portion of buffer

However, the mail can be sent succesfully though. I have no idea what does this message mean.

@danielfleischer
Copy link
Contributor Author

danielfleischer commented Apr 14, 2024

Try to comment the line:

(add-hook 'message-sent-hook 'undo t t)

I thought that isn't needed but some people came up with that fix. Also, are you following the latest code, not just the official 1.12 release?

@martin5233
Copy link

I'm also experiencing a similar problem: After sending a mail I see the buffer with mail converted to HTML and the buffer marked as modified. The minibuffer contains a message 'Text is read-only'. The mail is successfully sent.
I have tried commenting out the line
(add-hook 'message-sent-hook 'undo t t)
but this didn't help. It wasn't clear to me, what your suggestion to follow the latest code meant. Should I try to use mu4e master in conjunction with your PR?
I have tried to debug into this, but was soon lost in unfamiliar code.

@danielfleischer
Copy link
Contributor Author

Yes, you should use mu4e from master as there were many updates to the composing code after the official release. Perhaps I should have been more explicit, as the the 1.12 code changes fast.

@milanglacier
Copy link

Yes, you should use mu4e from master as there were many updates to the composing code after the official release. Perhaps I should have been more explicit, as the the 1.12 code changes fast.

if this is the case, perhaps we can’t merge this PR now? If this PR relies on the master branch code and has unresolved problems on official release.

Since I believe most of people will just follow the official release (probably install from their package manager) instead of building from the source?

@danielfleischer
Copy link
Contributor Author

Well, there was a 1.12.4 release a couple of days ago, containing the fixes I'm talking about. So no need to compile from master, just make sure you are updating, and not use the original 1.12.0 from February.

@milanglacier
Copy link

Just updated my mu to 1.12.4 and it seems that it just works. No strange errors, and the mail was sent successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants