Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 804966DE172A for ; Tue, 29 Dec 2015 13:34:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.59 X-Spam-Level: X-Spam-Status: No, score=-0.59 tagged_above=-999 required=5 tests=[AWL=0.229, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f7qtZ5ozOkRm for ; Tue, 29 Dec 2015 13:34:43 -0800 (PST) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by arlo.cworth.org (Postfix) with ESMTPS id 794726DE171C for ; Tue, 29 Dec 2015 13:34:43 -0800 (PST) Received: by mail-pa0-f49.google.com with SMTP id cy9so129088939pac.0 for ; Tue, 29 Dec 2015 13:34:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZtwUkevoQBcimeed+4qHEZj8UPmVqiCZH0lI1VZbutA=; b=LI8AITdaClSu3ew86J1JuI84YbP71hHlQnWkkR8JgXSH4x8a9Hd/KGZ9g4Wx0Q81Fy w4MsHTtVzYDLB1ej2kr30It79sdyXJiKXOrvFPQWzB/50pPO+vMPw4TExBQILTp5I+Ef wPeGpRugXL07XC/ceQQfjsDmkTIsppDai+RiQRr8P2gDlN97bHxJo+k70qPTH/DqEj6g P4bI0sUyV+m/OPEqI6VS+RnsptfoUr1RWj7PXZLbL06LFzLKlHS/Sbzq2C5nI6vIN1RW EnvIgTIsk7Ggv83JnXz6JUJW5lmZI1fKlqG3JjqjdHolH1ZRQcSWwrztaxi+9ZGk6ay4 FNQw== MIME-Version: 1.0 X-Received: by 10.66.142.73 with SMTP id ru9mr39101706pab.27.1451424883051; Tue, 29 Dec 2015 13:34:43 -0800 (PST) Received: by 10.66.219.198 with HTTP; Tue, 29 Dec 2015 13:34:42 -0800 (PST) In-Reply-To: <87poxpq91q.fsf@zancas.localnet> References: <87wprzb4sj.fsf@endefensadelsl.org> <87ege6d41j.fsf@zancas.localnet> <87poxpq91q.fsf@zancas.localnet> Date: Tue, 29 Dec 2015 16:34:42 -0500 Message-ID: Subject: Re: file-error "not a regular file" From: Peter Salazar To: David Bremner Cc: notmuch@notmuchmail.org Content-Type: multipart/alternative; boundary=001a11332b7a9291f405281030a1 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 21:34:45 -0000 --001a11332b7a9291f405281030a1 Content-Type: text/plain; charset=UTF-8 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) (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 wrote: > Peter Salazar writes: > > > > Yes, following your steps, emacs -q followed by "M-x load-library > > > 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 > > --001a11332b7a9291f405281030a1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
send-message-without-bullets simply turns off org-bullets-= mode before doing message-send, since=C2=A0org-bullets-mode seemed to be in= terfering with org-mime-htmlize.=C2=A0

(defun send-= message-without-bullets ()
=C2=A0 (interactive)
=C2=A0 = (remove-hook 'org-mode-hook 'org-bullets-mode)
=C2=A0 (me= ssage-send)
=C2=A0 (add-hook 'org-mode-hook 'org-bullets-= mode))=C2=A0

I also have this:
(setq message-send-hook (quote (org-mime-htmlize)))

--001a11332b7a9291f405281030a1--