Hot answers tagged

9

One way is to hook into message-send-hook: message-send-hook is a variable defined in ‘message.el’. Its value is nil This variable may be risky if used as a file-local variable. Documentation: Hook run before sending messages. This hook is run quite early when sending. For example: (defun my-confirm-empty-subject () "Allow user to quit when current ...


3

The intended way to achieve Gmail-style citations is the following: (with-eval-after-load 'message (setq message-cite-style message-cite-style-gmail)) Inspecting the value and documentation of the alist message-cite-style-gmail provides further insight into the involved settings: (defconst message-cite-style-gmail '((message-cite-function '...


2

notmuch-tree calls notmuch-tree-worker. notmuch-tree-worker starts a notmuch process via notmuch-start-notmuch. notmuch-start-notmuch assignes the process notmuch-start-notmuch-sentinel as process sentinel. I think that is the place where you should hook in your notmuch-thread-view-in-tree function as :after advice with the help of advice-add. I don't use ...


2

how to add a hook to a custom interactive command Call one of the run-hook* functions, as appropriate. See: C-uC-ha run-hook C-hig (elisp)Running Hooks That said, I'm doubtful that your question actually helps you. You've said that calling (notmuch-thread-view-in-tree) directly doesn't work, and I don't see how using a hook to do the same thing will ...


2

You can use notmuch-show-view-part (bound to .-v by default) while point is in the text/html part to accomplish this. For this to function properly you'll need to make sure your ~/.mailcap file has settings for text/html. Here's what I have in mine on my Mac: text/html; open %s; nametemplate=%s.html Each line is ; delimited with the first field specifying ...


1

I GOT IT!!! (with-eval-after-load 'message (setq message-cite-style message-cite-style-gmail) (setq message-citation-line-function 'message-insert-formatted-citation-line)) The message-citation-line-function was the absolute key to this. EDIT: Still seeing that sometimes gmail replies are fine, and other times they aren't. It's very inconsistent. In ...


1

If you have not specified anything, it will be the receiver's settings that matter, and that's as it should be. If you want to read your emails in a fixed width font, you should be able to set that; let others read them as they wish.


1

I found a working answer by using customize-variable message-default-mail-headers and adding: "Bcc: address@place.com " It looks like this in the end (in my emacs-custom.el): '(message-default-mail-headers "Bcc: address@place.com" ") Note that it is required for each mail header line to end in a newline.


1

I had to install notmuch in order to solve the problem. Apparently I only had the [0]notmuch-runtime installed but not [1] notmuch itself. Installing notmuch with $ sudo pacman -S notmuch was my solution. [0] https://www.archlinux.org/packages/community/x86_64/notmuch-runtime/ [1] https://www.archlinux.org/packages/community/x86_64/notmuch/


1

I found org-notmuch.el in the contrib/lisp directory of the orgmode git repository. I encountered this error when that git repo was out of sync with my system's org / notmuch. Updating my git checkout resolved the issue.


1

I found the solution in the archives of the notmuch-mailing list. I need to remove "application/zip" from `mm-inlined-types'. Putting this in my init file solved it. (setq mm-inlined-types (remove "application/zip" mm-inlined-types))


1

The square boxes are caused by the use of SVG images in notmuch-tag-formats. Why SVG images don't work correctly in emacs-mac-port I don't know. You could modify notmuch-tag-formats to avoid their use. This doesn't explain the slowdown, which I don't see.


Only top voted, non community-wiki answers of a minimum length are eligible