Feature request: put preamble inside html comment tags for editing email #176
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#176
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This is one small request that would greatly improve my user experience. Currently
I edit my emails in NeoVim, and I edit them in Markdown, with Markdown filetype, I get many many Markdown authoring features from my setup. I make meli then send this Markdown as multipart email, original Markdown as text and the rendered HTML counterpart. One little annoyance I have is when I start editing an email in meli, it puts a header preamble at the top of the file, this section doesn't play well with the Markdown content below, even more when I wish to render for preview, that blob of text sticks in the rendered Markdown.
What about putting this section inside an HTML comment tag, that works well in Markdown too, and makes it standout from the rest of the email content? Like this:
Sometimes I do that manually to check rendered email without the preamble clutter, but I have to remove it before finishing editing, because meli doesn't recognize that. I get many "IDE" diagnostics in that section too, which is avoided with this trick.
How about this?
https://git.meli.delivery/meli/meli/pulls/144
@epilys nice!, and generic.
Merged!
Thx, just tried.
One thing I notice is that the preamble has an additional empty line at the end, it's coming like this while editing an email:
Will fix in a future commit!
Hopefully this seems to fix it based on the unit test:
2de69d17f1
Yes it's. Many thanks for these improvements it's really turning into an ideal experience (except for the counters 😅).
There's just two or three issues I'm facing with meli: counters, that it sometimes crashes on deleting e-mails at random, no idea how to repro that, and that sometimes I'm still having to press p twice to display an email on conversation that for some tricky reason doesn't show up. I can live with those at the moment and plan to dig/report further when counters rewrite is done.
I have to solve the counter thing soon, it's driving me nuts...
Sorry if my complains have any relation with that :) In case it's not that, I share your pain.