file-error "not a regular file"

David Edmondson dme at dme.org
Tue Dec 29 13:48:57 PST 2015


On Tue, Dec 29 2015, Peter Salazar <cycleofsong at gmail.com> wrote:
> send-message-without-bullets simply turns off org-bullets-mode before doing
> message-send, since org-bullets-mode seemed to be interfering with
> org-mime-htmlize.
>
> (defun send-message-without-bullets ()
>   (interactive)
>   (remove-hook 'org-mode-hook 'org-bullets-mode)
>   (message-send)

This is wrong for notmuch - you need to use `notmuch-mua-send' rather
than calling `message-send' directly.

>   (add-hook 'org-mode-hook 'org-bullets-mode))
>
> I also have this:
>
> (setq message-send-hook (quote (org-mime-htmlize)))
>
>
> On Tue, Dec 29, 2015 at 3:44 PM, David Bremner <david at tethera.net> wrote:
>
>> Peter Salazar <cycleofsong at gmail.com> writes:
>>
>>
>> > Yes, following your steps, emacs -q followed by "M-x load-library
>> <return>
>> > notmuch", I was able to send an email without the error. It prompted me
>> for
>> > my smtp server, username, and password, then returned this:
>> >
>>
>> [snip]
>> > Does this give us any leads?
>>
>> It seems to be some interaction with your configuration. I'm not
>> familiar with this "send-message-without-bullets" function. Perhaps you
>> could point us to the source?
>>
>> d
>>
>>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list