1 Return-Path: <felipe.contreras@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0992A431FD0
\r
6 for <notmuch@notmuchmail.org>; Sat, 16 Jul 2011 12:10:20 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id aLWBLShqURRh for <notmuch@notmuchmail.org>;
\r
17 Sat, 16 Jul 2011 12:10:19 -0700 (PDT)
\r
18 Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com
\r
19 [74.125.83.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 8CED1431FB6
\r
22 for <notmuch@notmuchmail.org>; Sat, 16 Jul 2011 12:10:19 -0700 (PDT)
\r
23 Received: by pvg13 with SMTP id 13so2221376pvg.26
\r
24 for <notmuch@notmuchmail.org>; Sat, 16 Jul 2011 12:10:18 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
\r
27 :cc:content-type:content-transfer-encoding;
\r
28 bh=FR8LkibOo45CDWdVQT5u341hiVcnkG041WwNJFatIkM=;
\r
29 b=rxgYteBfJUyWk8fUzuPs7MFG8fQ1/zik4KViAM1OS/brnsV3zRNKvf55OzB3fy9SOG
\r
30 0D+3AfQ98SlEJ+HY5VKehckpUFPCC7ZSy0UTqDyl+xK9GbQIG2lI6ld/aOCHk2XDaEv7
\r
31 CPd0cIrAAGOWn+1pl4EiNBj4BX4ffw2xU9QhM=
\r
33 Received: by 10.68.30.2 with SMTP id o2mr6152923pbh.414.1310843418831; Sat, 16
\r
34 Jul 2011 12:10:18 -0700 (PDT)
\r
35 Received: by 10.68.41.129 with HTTP; Sat, 16 Jul 2011 12:10:18 -0700 (PDT)
\r
36 In-Reply-To: <1310326961-6914-1-git-send-email-ukleinek@strlen.de>
\r
37 References: <1310326961-6914-1-git-send-email-ukleinek@strlen.de>
\r
38 Date: Sat, 16 Jul 2011 22:10:18 +0300
\r
40 <CAMP44s1ripZeXRLbQ5f=7r55MX8XiPrUT9uECHwQCzEoT9ruHA@mail.gmail.com>
\r
41 Subject: Re: [PATCH] vim: skip trailing slash for
\r
42 g:notmuch_compose_temp_file_dir
\r
43 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
44 To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= <ukleinek@strlen.de>
\r
45 Content-Type: text/plain; charset=UTF-8
\r
46 Content-Transfer-Encoding: quoted-printable
\r
47 Cc: notmuch@notmuchmail.org
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Sat, 16 Jul 2011 19:10:20 -0000
\r
62 2011/7/10 Uwe Kleine-K=C3=B6nig <ukleinek@strlen.de>:
\r
63 > With the trailing slash I get
\r
65 > =C2=A0 =C2=A0 =C2=A0 =C2=A0Error detected while processing function <SNR>=
\r
66 10_NM_new_mail..<SNR>10_NM_cmd_compose..<SNR>10_NM_newComposeBuffer..<SNR>1=
\r
68 > =C2=A0 =C2=A0 =C2=A0 =C2=A0line =C2=A0 =C2=A03:
\r
69 > =C2=A0 =C2=A0 =C2=A0 =C2=A0E739: Cannot create directory: /home/ukleinek/=
\r
72 > when hitting 'm' to compose a new mail. strace shows:
\r
74 > =C2=A0 =C2=A0 =C2=A0 =C2=A0stat("/home/ukleinek/.notmuch/compose/", 0x7ff=
\r
75 fee314a10) =3D -1 ENOENT (No such file or directory)
\r
76 > =C2=A0 =C2=A0 =C2=A0 =C2=A0stat("/home/ukleinek/.notmuch/compose/", 0x7ff=
\r
77 fee314e30) =3D -1 ENOENT (No such file or directory)
\r
78 > =C2=A0 =C2=A0 =C2=A0 =C2=A0stat("/home/ukleinek/.notmuch/compose", 0x7fff=
\r
79 ee315270) =3D -1 ENOENT (No such file or directory)
\r
80 > =C2=A0 =C2=A0 =C2=A0 =C2=A0stat("/home/ukleinek/.notmuch", {st_mode=3DS_I=
\r
81 FDIR|0755, st_size=3D4096, ...}) =3D 0
\r
82 > =C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir("/home/ukleinek/.notmuch/compose", 0755)=
\r
84 > =C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir("/home/ukleinek/.notmuch/compose/", 0755=
\r
85 ) =3D -1 EEXIST (File exists)
\r
87 > so it seems vim's mkdir() isn't able to handle a trailing slash.
\r
91 > is that a bug in vim? (BTW, I'm using vim 2:7.2.445+hg~cb94c42c0e1a-1 fro=
\r
95 Weird, it works fine for me with vim from F15 (7.3).
\r
97 Anyway, if it helps, I guess it should go in. Applied.
\r