Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Jan Detke
Thanks for your fast reply Sandra. On So, Feb 25 2024 11:28, Sandra Snan wrote > Huh, there is a bug here, apparently, looking at the raw version > of what I sent. It doesn't properly insert the RFC 2646 > line-ending spaces. In fact, it does not work for me either. I commented my lines of code

Re: revisiting Autocrypt in notmuch, MVP

2024-02-25 Thread Steven Allen
Awesome, and I see you're already upstreaming hooks. But I think you can simplify this because every reply buffer has a hidden "In-Reply-To" header (can be shown with `message-widen-and-recenter`). You should be able to attach a hook to `message-setup-hook`, I think? Ideally you'd use

Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Sandra Snan
Huh, there is a bug here, apparently, looking at the raw version of what I sent. It doesn't properly insert the RFC 2646 line-ending spaces. Sandra Snan writes: Sandra Snan writes: Instead, do this: (add-hook 'message-mode-hook (lambda ()

Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Sandra Snan
Sandra Snan writes: Instead, do this: (add-hook 'message-mode-hook (lambda () (use-hard-newlines 3 t))) While keeping auto-fill-mode on, I mean. This sets the format flowed header according to RFC 2646 so that your fills reads as if they were softwrapped

Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Sandra Snan
Jan Detke writes: With that I got an issue where my text body is verry narrow while composing/replying to mails (as you can see). Instead, do this: (add-hook 'message-mode-hook (lambda () (use-hard-newlines 3 t))) ___

Re: revisiting Autocrypt in notmuch, MVP

2024-02-25 Thread Sandra Snan
Steven Allen writes: There's actually a pretty decent autocrypt package[1] for Emacs, only lacking notmuch integration. But writing that based on the mu4e integration should be pretty trivial. [1]: https://git.sr.ht/~pkal/autocrypt/ I've been working on that actually so check out that

Narrow text body when composing/replying to mails

2024-02-25 Thread Jan Detke
Hello all, I am using notmuch with the emacs frontend.With that I got an issue where my text body is verry narrow while composing/replying to mails (as you can see). To get rid of this, I added the follwoing to my config file: ``` (add-hook! 'notmuch-message-mode-hook