Re: file-error "not a regular file"
This seems to have done the trick! Thank you so much! This is wrong for notmuch - you need to use `notmuch-mua-send' rather > than calling `message-send' directly. On Tue, Dec 29, 2015 at 4:48 PM, David Edmondson <d...@dme.org> wrote: > On Tue, Dec 29 2015, Peter Salazar <cycleofs...@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 <da...@tethera.net> > wrote: > > > >> Peter Salazar <cycleofs...@gmail.com> 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 > >> > >> > > ___ > > notmuch mailing list > > notmuch@notmuchmail.org > > https://notmuchmail.org/mailman/listinfo/notmuch > ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: file-error "not a regular file"
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 <da...@tethera.net> wrote: > Peter Salazar <cycleofs...@gmail.com> 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 > > ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: file-error "not a regular file"
Hi David, Thanks for looking into this. Much appreciated. 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: Sending email Sending email done Invalid image size (see `max-image-size') Mark set Saving file /Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.Infinity.local... Wrote /Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.Infinity.local Sending...done To answer your other question, yes, there is an Fcc: header when I try to send email from my regular Emacs configuration. It's the same header I saw when I sent email from the minimal configuration: Fcc: /Users/peter/Dropbox/mail/gmail/sent That directory does indeed exist: drwxr-xr-x@ 9 peter staff 306 Dec 27 21:54 *sent* And it contains: .DS_Store.mbsyncstate *.nnmaildir* .uidvalidity *cur* *new* *tmp* Does this give us any leads? Thanks again. On Mon, Dec 28, 2015 at 9:46 AM, David Bremner <da...@tethera.net> wrote: > fauno <fa...@kiwwwi.com.ar> writes: > > > Peter Salazar <cycleofs...@gmail.com> writes: > > > >> Hello, > >> > >> I'm using notmuch-mode from within Emacs to send email using > async/mbsync > >> through Gmail. However, every time I send email from within Emacs, I get > >> this error: > > > > i got this message too for fcc with default values, i'm on emacs 24.5 > > with notmuch 0.21 > > > > Can either of you replicate the problem with a minimal configuration, > ideally with "emacs -q", followed by "M-x load-library > notmuch"? > > If so, does the path in the Fcc header exist? If so, what is it? a file, > a directory, a symlink? > > For me, in emacs 24.5 / notmuch 0.21, with emacs -q, if that path is > missing I am prompted to create it. If I refuse, then I later get a > message about not being a maildir. > > I guess the tl;dr is that I can't duplicate this problem. Looking at the > traceback Peter provided, it looks like he is using > "send-message-without-bullets" to send the message. Since this isn't a > notmuch function, it's likely bypassing the notmuch fcc setup that > notmuch-mua-send and notmuch-mua-send-and-exit do. > > > d > > ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
file-error "not a regular file"
Hello, I'm using notmuch-mode from within Emacs to send email using async/mbsync through Gmail. However, every time I send email from within Emacs, I get this error: Debugger entered--Lisp error: (file-error "not a regular file" "/Users/peter/Dropbox/mail/gmail/sent") insert-file-contents("/Users/peter/Dropbox/mail/gmail/sent" nil 0 100) mail-file-babyl-p("/Users/peter/Dropbox/mail/gmail/sent") message-output("/Users/peter/Dropbox/mail/gmail/sent") message-do-fcc() message-send() send-message-without-bullets() call-interactively(send-message-without-bullets nil nil) command-execute(send-message-without-bullets) Does anyone know how to fix this? I can share relevant details from my .mbsyncrc if that would be helpful. Thanks! ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: how to make return follow hyperlink?
Thanks for all the responses! Mark, where could we find the patch you mentioned? I wouldn't know how to test/update it, but maybe someone else on the list has the requisite hacking skills... On Fri, Aug 28, 2015 at 1:55 AM, Tomi Ollila tomi.oll...@iki.fi wrote: On Wed, Aug 26 2015, Peter Salazar cycleofs...@gmail.com wrote: How do I make it so that hitting RET on a hyperlink follows it? Is there a setting analogous to org-return-follows-link? I often have links in incoming emails, and I'd like to be able to open them in my browser with one keystroke. BTW: the interesting thing is that in text/plain content id: links already do something -- and e.g. https?: do not. in text/html content I get 'No usable browser found'(*) when pressing RET on top of http: link so it must be doing something ;) Tomi (*) Note to self: hack something to show the link using (message ...) in this case. Thanks! ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
how to make return follow hyperlink?
How do I make it so that hitting RET on a hyperlink follows it? Is there a setting analogous to org-return-follows-link? I often have links in incoming emails, and I'd like to be able to open them in my browser with one keystroke. Thanks! ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: notmuch-mode very slow in emacs-mac-port (railwaycat)
Wow, that fixed it! Thanks! On Mon, Aug 24, 2015 at 1:44 PM, David Bremner da...@tethera.net wrote: Peter Salazar cycleofs...@gmail.com writes: I run Emacs on Mac OSX, and I'm trying to switch from Emacs for Mac OSX http://emacsformacosx.com/ to Emacs Mac Port https://github.com/railwaycat/emacs-mac-port. I use (notmuch)[http://notmuchmail.org/emacstips/] for email. It works perfectly on Emacs for Mac OSX http://emacsformacosx.com/. But on Emacs Mac Port, it's prohibitively slow. Also, the message list is messed up, double spaced and with strange boxes: [image: display irregularities] I'm using the exact same configuration as I do with Emacs for Mac OSX. Does anyone know what's causing these problems, and how to fix them? As an experiment, you could try M-x customize-variable notmuch-tag-formats return and uncheck the Image box in the flagged entry (and any other entries where it happens to be checked). ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
notmuch-mode very slow in emacs-mac-port (railwaycat)
I run Emacs on Mac OSX, and I'm trying to switch from Emacs for Mac OSX http://emacsformacosx.com/ to Emacs Mac Port https://github.com/railwaycat/emacs-mac-port. I use (notmuch)[http://notmuchmail.org/emacstips/] for email. It works perfectly on Emacs for Mac OSX http://emacsformacosx.com/. But on Emacs Mac Port, it's prohibitively slow. Also, the message list is messed up, double spaced and with strange boxes: [image: display irregularities] I'm using the exact same configuration as I do with Emacs for Mac OSX. Does anyone know what's causing these problems, and how to fix them? Thank you so much in advance. BTW, I also posted this on StackExchange: http://emacs.stackexchange.com/questions/14875/notmuch-mode-very-slow-in-emacs-mac-port-railwaycat ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch