[VM] searching in mime encoded email

2012-01-19 Thread rlk
John Hein writes: > . . . > > I guess one could also write a feature to resave a base64 encoded > attachment as some other encoding (hey, how about 7 bit ascii? instead > of base64-ified text/plain). This would be an edited message, but > that might be a nice feature. > . . . > There... tw

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
John Hein writes: > M-s is a wonderful search tool for a vm folder, but it searches the > encoded mime (i.e., the gobbledy-gook) instead of the decoded mime. > Given the ever increasing [it seems to me] usage of base64 even for > plain text messages (particularly from certain mobile devices), I >

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
r...@knighten.org writes: > I've been intending to ask for some time if anyone has coded up something that > would allow automatic saving of messages with the Content-Transfer-Encoding > (either base64 or quoted-printable). It doesn't look hard to do, but I've > neither done it myself nor found i

Re: [VM] searching in mime encoded email

2012-01-19 Thread rlk
Uday Reddy writes: > r...@knighten.org writes: > > > I've been intending to ask for some time if anyone has coded up something > > that > > would allow automatic saving of messages with the Content-Transfer-Encoding > > (either base64 or quoted-printable). It doesn't look hard to do, but I

Re: [VM] searching in mime encoded email

2012-01-19 Thread Julian Bradfield
On 2012-01-19, Uday Reddy wrote: > Perhaps we should have a way of marking messages based on selectors so that > we can bypass the creation of a virtual folder. You mean M C ?? It's there in 8.1.1...

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
Julian Bradfield writes: > You mean M C ?? > It's there in 8.1.1... Gosh, the function is called `vm-mark-matching-messages' and I would have never thought "matching" means matching a virtual folder selector! Would people mind if I rename it to `vm-mark-messages-by-selector'? Cheers, Uday

[VM] IMAP support for VM links in orgmode (org-vm.el)

2012-01-19 Thread Konrad Hinsen
The attached patch (relative to yesterday's state of the orgmode git repository) adds the possibility to have org-mode links to IMAP folders in VM and to messages inside IMAP folders. It requires VM 8.2.0a or later. IMAP links have the format vm-imap:account:imap-folder-name for a fol

Re: [VM] searching in mime encoded email

2012-01-19 Thread John Hein
Uday Reddy wrote at 11:46 + on Jan 19, 2012: > Julian Bradfield writes: > > You mean M C ?? > > It's there in 8.1.1... > > Gosh, the function is called `vm-mark-matching-messages' and I would have > never thought "matching" means matching a virtual folder selector! > > Would people m

[VM] recoding mime parts (was: searching in mime encoded email)

2012-01-19 Thread John Hein
rlk wrote at 01:34 -0800 on Jan 19, 2012: > Sorry, my message was missing a critical phrase - I want the relevant parts > of > the message decoded before the messages are saved. Right now I do this > several > times a day using a couple of crude keyboard macros, so I expect I can fully > a

Re: [VM] searching in mime encoded email

2012-01-19 Thread John Hein
Uday Reddy wrote at 09:05 + on Jan 19, 2012: > John Hein writes: > > M-s is a wonderful search tool for a vm folder, but it searches the > > encoded mime (i.e., the gobbledy-gook) instead of the decoded mime. > > Given the ever increasing [it seems to me] usage of base64 even for > > plain

Re: [VM] recoding mime parts (was: searching in mime encoded email)

2012-01-19 Thread Julian Bradfield
On 2012-01-19, John Hein wrote: > I think we should mark the new saved message as 'edited' since it's > different than the original. It will also be interesting when > "illegal" characters appear in the decoding. We could only allow the > re-coding for text/ mime, but wrong mime type hints are k

Re: [VM] recoding mime parts (was: searching in mime encoded email)

2012-01-19 Thread John Hein
Julian Bradfield wrote at 14:54 + on Jan 19, 2012: > On 2012-01-19, John Hein wrote: > > I think we should mark the new saved message as 'edited' since it's > > different than the original. It will also be interesting when > > "illegal" characters appear in the decoding. We could only al

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
r...@knighten.org writes: > Sorry, my message was missing a critical phrase - I want the relevant > parts of the message decoded before the messages are saved. Right now I > do this several times a day using a couple of crude keyboard macros, so I > expect I can fully automate this but perhaps th

Re: [VM] recoding mime parts (was: searching in mime encoded email)

2012-01-19 Thread Uday Reddy
Julian Bradfield writes: > What do you mean by an illegal character? Why would you want to stop > decoding of, say, PDFs to binary? It would save time and space later. > The main problem with textual search is that the character encoding > may vary from message to message, and even from part to pa

Re: [VM] searching in mime encoded email

2012-01-19 Thread Mark Diekhans
Hi Uday, For me, compatibility with mbox format is feature. I often use other applications to scan VM mail folders, such a procmail. So it's not necessarily just mail reading clients. A program to convert back to mbox would suffice. Although it would still remain important for VM to be able t

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
Mark Diekhans writes: > For me, compatibility with mbox format is feature. I often use > other applications to scan VM mail folders, such a procmail. So > it's not necessarily just mail reading clients. A program to > convert back to mbox would suffice. Although it would still > remain importa

Re: [VM] searching in mime encoded email

2012-01-19 Thread John Hein
Uday Reddy wrote at 15:51 + on Jan 19, 2012: > r...@knighten.org writes: > > Sorry, my message was missing a critical phrase - I want the relevant > > parts of the message decoded before the messages are saved. Right now I > > do this several times a day using a couple of crude keyboard ma

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
Good experiment, John. It is interesting that VM didn't choke on the UTF-8 message whereas Thunderbird did! I should save a link to this UTF-8 demo file. > Both thunderbird and vm can search the individual message and find > utf-8 characters (vm-isearch-presentation in vm) in the raw utf-8 > str

Re: [VM] searching in mime encoded email

2012-01-19 Thread Julian Bradfield
On 2012-01-19, Uday Reddy wrote: > More generally, I am thinking that there is no reason why we can't have VM > folders stored in some other character set, other than US-ASCII, e.g., > UTF-8. Those folders won't be interoperable with other mail clients, but do ... > careful reengineering effort.

Re: [VM] recoding mime parts (was: searching in mime encoded email)

2012-01-19 Thread John Hein
Uday Reddy wrote at 17:12 + on Jan 19, 2012: > Saving the folders in UTF-8 or whatever (the actual coding system doesn't > matter), in a non-RFC format, seems to be needed to support search. > > Does anybody know how the other mail clients do it, e.g., Thunderbird? Thunderbird does (now)

Re: [VM] searching in mime encoded email

2012-01-19 Thread John Hein
Julian Bradfield wrote at 22:06 + on Jan 19, 2012: > On 2012-01-19, Uday Reddy wrote: > > More generally, I am thinking that there is no reason why we can't have VM > > folders stored in some other character set, other than US-ASCII, e.g., > > UTF-8. Those folders won't be interoperable w

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
Julian Bradfield writes: > I have no idea what you're talking about! VM makes no assumptions at > all about the character set of its folders, except that that message > headers are (as required) in ASCII - many of my patches over > the last few years have been removing the accidental cases where i

Re: [VM] searching in mime encoded email

2012-01-19 Thread Uday Reddy
Julian Bradfield writes: > On 2012-01-19, Uday Reddy wrote: > > More generally, I am thinking that there is no reason why we can't have VM > > folders stored in some other character set, other than US-ASCII, e.g., > > UTF-8. Those folders won't be interoperable with other mail clients, but do >

Re: [VM] searching in mime encoded email

2012-01-19 Thread Ulrich Mueller
> On Fri, 20 Jan 2012, Uday Reddy wrote: > Julian Bradfield writes: >> On 2012-01-19, Uday Reddy wrote: >> > More generally, I am thinking that there is no reason why we >> > can't have VM folders stored in some other character set, other >> > than US-ASCII, e.g., UTF-8. Those folders won't b