Strange behavior on manually files moving

2013-03-20 Thread kedals0
Hello,

When I manually move some messages, these changes are detected by
notmuch but it doesn't remove these files of its database.
I think, it's more clear to show you an example:

1) Initialisation
   toto@compaq:~$ notmuch new
   No new mail.

2) I show you the initial location of the message that we will move
   toto@compaq:~$ ls /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS
   /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS

3) we move this message
   toto@compaq:~$ mv 
/home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS 
/home/toto/mail/local/trash/cur/

4) we update notmuch database
   toto@compaq:~$ notmuch new
   Processed 1 file in almost no time.
   No new mail. Removed 1 message.

5) we can observe that old message location still exist in the db
   toto@compaq:~$ notmuch search --output=files tag:draft folder:local/trash/
   /home/toto/mail/local/trash/cur/#*message*-20130312-163131#:2,DS
   /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS

6) but no file exist at this location.
   toto@compaq:~$ ls /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS
   ls: impossible d'accéder à 
/home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS: Aucun fichier ou 
dossier de ce type


I don't understand this problem because this usecase is close from a
file deletion which works.

Would anyone have an idea ?

Thx,
Dal.

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Many color per line in notuch emacs mode

2012-11-28 Thread kedals0
Hi,

Thx for your respond.

To precise my saying, I would like to color a field in terms of tags
associated to its message, as it's done for notmuch-search-color-line.

I'm not sure to really understand configuration of these options, but I
think it's not possible.

Could you confirm me it ?

Thx
Dal.

Jameson Graef Rollins jroll...@finestructure.net writes:

 On Sun, Nov 25 2012, keda...@gmail.com wrote:
 I can set color per line using notmuch-search-line-faces. But I would
 like to specify color per line field, i.e a color for date, another for
 authors for exemple.

 To do this, I would like to use a 3-tuple list for
 notmuch-search-line-faces:
 :type '(alist :key-type (string) :field (string) :value-type
 (custom-face-edit))

 The problem is function notmuch-search-color-line take a non structured
 line in args. Then it is needed to parse it to find out field.

 Do you think it would be possible to add a mecanism which permit to
 color a field during line building ?

 Hi, Dal.  There are already configuration variables to color all the
 individual fields in the search result.  See the following face
 configuration variables:

 notmuch-search-date
 notmuch-search-count
 notmuch-search-subject
 notmuch-search-matching-authors
 notmuch-search-non-matching-authors

 The best way to configure this stuff is with the emacs configuration
 interface: M-x customize-group notmuch-search

 jamie.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Many color per line in notuch emacs mode

2012-11-25 Thread kedals0
Hi,

I can set color per line using notmuch-search-line-faces. But I would
like to specify color per line field, i.e a color for date, another for
authors for exemple.

To do this, I would like to use a 3-tuple list for
notmuch-search-line-faces:
:type '(alist :key-type (string) :field (string) :value-type
(custom-face-edit))

The problem is function notmuch-search-color-line take a non structured
line in args. Then it is needed to parse it to find out field.

Do you think it would be possible to add a mecanism which permit to
color a field during line building ?

Thx,
Dal
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Bugs on adding flag D

2011-12-01 Thread kedals0
Hi,

I've a recurrent problem on syncing.
To solve it, I've to remove internal files (rm -rf ~/.offlineimap/) and mails 
in .Sent folder.

With offlineimap 6.3.5-rc1, the output is the following :
Account sync toto_irisa:
 * Processing account toto_irisa
 Copying folder structure from IMAP to Maildir
 Establishing connection to zimbra.inria.fr:993.
Folder sync [toto_irisa]:
 Syncing INBOX: IMAP - Maildir
 Syncing Drafts: IMAP - Maildir
 Syncing Sent: IMAP - Maildir
 Adding flag D to 1 messages on Sent
 ERROR [InstanceLimitedThread(Folder sync [toto_irisa], started daemon 
140489914951424)]: Syncing folder .Sent [acc: toto_irisa]
  Error with store: UID STORE failed
 ERROR [InstanceLimitedThread(Folder sync [toto_irisa], started daemon 
140489914951424)]: ERROR in syncfolder for toto_irisa folder .Sent: Traceback 
(most recent call last):
  File /home/toto/comp/offlineimap/offlineimap/accounts.py, line 358, in 
syncfolder
localfolder.syncmessagesto(remotefolder, statusfolder)
  File /home/toto/comp/offlineimap/offlineimap/folder/Base.py, line 431, in 
syncmessagesto
action(dstfolder, statusfolder)
  File /home/toto/comp/offlineimap/offlineimap/folder/Base.py, line 388, in 
syncmessagesto_flags
dstfolder.addmessagesflags(uids, set(flag))
  File /home/toto/comp/offlineimap/offlineimap/folder/IMAP.py, line 627, in 
addmessagesflags
self.addmessagesflags_noconvert(uidlist, flags)
  File /home/toto/comp/offlineimap/offlineimap/folder/IMAP.py, line 621, in 
addmessagesflags_noconvert
self.processmessagesflags('+', uidlist, flags)
  File /home/toto/comp/offlineimap/offlineimap/folder/IMAP.py, line 653, in 
processmessagesflags
assert r[0] == 'OK', 'Error with store: ' + '. '.join(r[1])
AssertionError: Error with store: UID STORE failed

  Error with store: UID STORE failed
 Syncing Trash: IMAP - Maildir
Account sync toto_irisa:
 * Finished processing account toto_irisa
 
ERROR: Exceptions occurred during the run!
 ERROR: Syncing folder .Sent [acc: toto_irisa]
  Error with store: UID STORE failed
 ERROR: ERROR in syncfolder for toto_irisa folder .Sent: Traceback (most recent 
call last):
  File /home/toto/comp/offlineimap/offlineimap/accounts.py, line 358, in 
syncfolder
localfolder.syncmessagesto(remotefolder, statusfolder)
  File /home/toto/comp/offlineimap/offlineimap/folder/Base.py, line 431, in 
syncmessagesto
action(dstfolder, statusfolder)
  File /home/toto/comp/offlineimap/offlineimap/folder/Base.py, line 388, in 
syncmessagesto_flags
dstfolder.addmessagesflags(uids, set(flag))
  File /home/toto/comp/offlineimap/offlineimap/folder/IMAP.py, line 627, in 
addmessagesflags
self.addmessagesflags_noconvert(uidlist, flags)
  File /home/toto/comp/offlineimap/offlineimap/folder/IMAP.py, line 621, in 
addmessagesflags_noconvert
self.processmessagesflags('+', uidlist, flags)
  File /home/toto/comp/offlineimap/offlineimap/folder/IMAP.py, line 653, in 
processmessagesflags
assert r[0] == 'OK', 'Error with store: ' + '. '.join(r[1])
AssertionError: Error with store: UID STORE failed

  Error with store: UID STORE failed



Of course, I can give you more detailled information if you need it.

Dal.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch