Commit graph

12 commits

Author SHA1 Message Date
Hanno Perrey
2b1cb2620a
fix(mu4e): do not set coding-system-for-read globally
`+mu4e-lock-pid-info` had unintentional side effects: it changed
`coding-system-for-read` globally.

Fix: #5788
2021-11-18 19:11:55 +01:00
Henrik Lissner
3b0eeb104b revert: fix(mu4e): reflect upstream naming changes (#5620)
Revert 390fd1a7b0
Ref #5620
2021-10-18 14:53:32 +02:00
Dylan Barker
390fd1a7b0
fix(mu4e): reflect upstream naming changes (#5620) 2021-10-18 01:36:21 +02:00
TEC
61126c6bb4
fix(mu4e): improve mu-lock compatability with mac
On mac process args aren't defined, but comm is. Since comm also works
on Linux, we now check for that instead, accounting for a potential
capitalisation difference.
2021-08-03 03:36:57 +08:00
Ellis Kenyő
425f6a1264
fix(mu4e): remove autoload cookie
Autoload cookie was not working as expected

Close #5331
2021-08-02 03:55:13 -04:00
Ellis Kenyő
89bb96c304
fix(mu4e): allow mu4e to be started early
mu4e complains about missing file-notify-*-watch functions if loaded too early.

Close #5327
2021-08-01 14:54:35 -04:00
TEC
a4db56be2f
Mu4e: Confirm that lockfile pid is an emacs proc
Or else another app can be given the same PID and we'll be complaining
another Emacs process is using mu4e when that simply isn't true.
2021-07-30 01:56:53 +08:00
TEC
e5c8cb747b
Mu4e: Remove spurious autoloads
None of these functions are called outside the file they're defined in.
2021-07-30 01:56:53 +08:00
TEC
3778862a79
mu4e: lock file may not be created by file watcher
On some OS implementations (e.g. BSD uses kqueue),
`file-notify-add-watch' might not create the file if it doesn't exist.
This patch fixes that error. Arguably, emacs lisp should ensure the same
behaviour exists across each implementation.
2021-07-30 01:56:53 +08:00
TEC
e76dcb328a
Mu4e: lock file, use temp file var instead of /tmp 2021-07-30 01:56:52 +08:00
TEC
eebe2859cf
Mu4e: Replace shell-commands with call-process
Shell-process actually initialises a shell, which is completely
unnecessary here.
2021-07-30 01:56:52 +08:00
TEC
b983b8ec33
Mu4e: Refile autoload functions semantically
With a dash of renaming
2021-07-30 01:56:51 +08:00