Hi Peter,
On Monday Mar 14 2016, Peter Salazar wrote:
> Hey everyone,
>
> So having resolved the error I was getting with my (setq
> mu4e-compose-complete-only-personal t) setup, I got mu4e up and running.
> Everything seemed to be working perfectly. But now I get this strange error
> message (pasted below) every time I do mu4e-compose-new. Looking at the
> error message, I went into bash and tracked down and rm'd all the files
> mentioned, e.g. *.#20160314-2008c5-infinity:2,DS*@ ->
> j...@Infinity.local.48252.
>
> But then after I restart Emacs + mu4e and do mu4e-compose-new, the error
> happens again and those files are there in my directory again.
>
> Anyone know what's going on? Thanks if anyone can help!
>
Please always mention the versions of emacs, mu4e you are using, when
reporting issues.
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>
>>(nil 1048576)
> (if (> (nth 7 (file-attributes (buffer-file-name))) (* 1024 1024
> dotspacemacs-large-file-size)) (progn (if (y-or-n-p "This is a large file,
> open literally to avoid performance issues?") (progn (setq buffer-read-only
> t) (buffer-disable-undo) (fundamental-mode)))))
> spacemacs/check-large-file()
> run-hooks(find-file-hook)
> after-find-file(t t)
> find-file-noselect-1(#<buffer 20160314-e5fbba-infinity:2,DS>
> "~/Dropbox/mail/gmail/drafts/cur/20160314-e5fbba-infinity:2,DS" nil nil
> "~/Dropbox/mail/gmail/drafts/cur/20160314-e5fbba-infinity:2,DS" nil)
It seems the error points to some hook set by spacemacs, which checks
for file-size and warns if it's too big.
The hook seems to assume the file already exists in the file system,
which it doesn't. For that reason, the file-size check fails.
I'd recommend taking it up with the spacemacs folks.
Kind regards,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C