aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorGravatar Uwe Kleine-König <ukleinek@strlen.de>2011-07-10 21:42:41 +0200
committerGravatar Felipe Contreras <felipe.contreras@gmail.com>2011-07-16 21:49:12 +0300
commitbcb17491b5f9f303b853a9797dfbb4f60279ece9 (patch)
treeb13687500389afbbf8e71289131bd722690b034b /notmuch-restore.c
parent9d0e2ebc0766dad536962eabf06f47717a944886 (diff)
vim: skip trailing slash for g:notmuch_compose_temp_file_dir
With the trailing slash I get Error detected while processing function <SNR>10_NM_new_mail..<SNR>10_NM_cmd_compose..<SNR>10_NM_newComposeBuffer..<SNR>10_NM_newFileBuffer: line 3: E739: Cannot create directory: /home/ukleinek/.notmuch/compose/ when hitting 'm' to compose a new mail. strace shows: stat("/home/ukleinek/.notmuch/compose/", 0x7fffee314a10) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch/compose/", 0x7fffee314e30) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch/compose", 0x7fffee315270) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 mkdir("/home/ukleinek/.notmuch/compose", 0755) = 0 mkdir("/home/ukleinek/.notmuch/compose/", 0755) = -1 EEXIST (File exists) so it seems vim's mkdir() isn't able to handle a trailing slash. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'notmuch-restore.c')
0 files changed, 0 insertions, 0 deletions