Re: categories [Was: split display?]

2009-07-16 Thread Markus Osterhoff
* lee [090715 10:25]: > Catagories would be something I want to create or remove on the fly, > eventually with sub-categories, and I would put messages into them > depending on a particular topic, depending on particular senders, > depending on age, depending on if I need or want to do something w

Re: xemacs qyestion

2009-07-16 Thread Joost Kremers
On Wed, Jul 15, 2009 at 08:04:25PM -0600, lee wrote: > > by putting it in a hook that is run when post-mode is run. normally, a major > > mode will have such a hook, simply called -hook, i.e. in the > > case of > > post-mode it should be post-mode-hook. so: > > > > (add-hook 'post-mode-hook 'turn

Re: xemacs qyestion

2009-07-16 Thread Joost Kremers
On Wed, Jul 15, 2009 at 08:04:25PM -0600, lee wrote: > Maybe it's not working because I'm using xemacs, and I'm starting > gnuclient from within mutt to edit mails. just now, i installed post-mode myself, because it's so much better than what i had before. (so thanks for bringing it to my attentio

Re: multipart/alternative question

2009-07-16 Thread Tim Gray
On Wed 15, Jul'09 at 11:59 PM -0600, lee wrote: Hm, I was reading the manual, and there's an object "attachment" that can be used with "color". But I don't understand what that is for: That colors the attachment in message display, like this: [-- Attachment #1 --] [-- Type: multipart/alternati

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wednesday, July 15 at 11:02 PM, quoth Tim Gray: > I have my alternative_order set to text/plain text/html. So do I. > However I have some people who use a mailer (Apple Mail) that send > multipart/alternative messages with attachments. How biz

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wednesday, July 15 at 11:59 PM, quoth lee: >> You can also use the %X sequence in your index_format definition to >> display the number of attachments in a message. However, I don't >> think either of those methods pick up on inline attachments

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 08:17 AM, quoth Tim Gray: > Playing around last night, I see if I set add 'multipart/related > multipart/mixed' to the front of my alternative order, it does pick > up these messages from Apple Mail and display them. Huh! I

Re: multipart/alternative question

2009-07-16 Thread Tim Gray
On Thu 16, Jul'09 at 9:19 AM -0500, Kyle Wheeler wrote: Here's a wacky message structure my mom sent me (using Apple Mail): I 1 [multipa/alterna, 7bit, 653K] I 2 |-> [text/plain, utf-8, 2.0K] I 3 `-> [multipa/mixed, 7bit, 651K] I 4 |-> [text/html, quo

Re: multipart/alternative question

2009-07-16 Thread Tim Gray
On Thu 16, Jul'09 at 9:03 AM -0500, Kyle Wheeler wrote: It depends on what you're going for. I recommend an attachment counter in $pager_format. I didn't realize this was there. I think that's what I was asking for. Thanks. I'll also start hitting them with some bug reports. I have an out

Re: split display?

2009-07-16 Thread Derek Martin
On Wed, Jul 15, 2009 at 09:54:16PM -0600, lee wrote: > > So, in other words, you would need to manually mark the message as > > belonging to a category. You would need to take action to associate > > the message with a category. So, what's the problem with just moving > > the mail to a category-s

Re: multipart/alternative question

2009-07-16 Thread David Champion
* On 16 Jul 2009, Tim Gray wrote: > > > >I 1 [multipa/alterna, 7bit, 653K] > >I 2 |-> [text/plain, utf-8, 2.0K] > >I 3 `-> [multipa/mixed, 7bit, 651K] > >I 4 |-> [text/html, quoted, windows-1252, 3.0K] > >I 5 |->Typeface Ideas.pdf [applica/pdf ..

Re: multipart/alternative question

2009-07-16 Thread Tim Gray
On Thu 16, Jul'09 at 10:49 AM -0500, David Champion wrote: The best combination of efficiency and accuracy for this message would have been: multipart/mixed -> multipart/alternative -> multipart/mixed -> text/plain -> application/pdf (reference, no content) `-> text/plain `-> multipart/mixe

Re: split display?

2009-07-16 Thread Derek Martin
On Thu, Jul 16, 2009 at 09:34:49AM -0500, Derek Martin wrote: > > You could say that mutt is designed to handle a lot of mail and each > > mail individually, accessible through a list of mails. That you can > > switch to different folders is not actually supported and only > > "merely possible". >

sigdashes

2009-07-16 Thread Tim Gray
Mutt seems to be stripping the space in valid sigdashes when I reply to messages. Piping a message out to an editor shows that the sigdashes are formed correctly "-- ", but when I reply, it's ">--". I currently have my sigdash stripping function to match on that, but it'd be nice if I could se

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 10:49 AM, quoth David Champion: > The attachment-counting algorithm has a flag that decides whether to > traverse (recurse) the container types while looking for attachments

Re: sigdashes

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 01:55 PM, quoth Tim Gray: > Mutt seems to be stripping the space in valid sigdashes when I reply > to messages. Piping a message out to an editor shows that the > sigdashes are formed correctly "-- ", but when I reply, it's

Re: sigdashes

2009-07-16 Thread Tim Gray
On Thu 16, Jul'09 at 1:18 PM -0500, Kyle Wheeler wrote: A quoted signature is no longer a signature, and removing the space at the end helps keep it from being re-wrapped (especially if you send the message as format=flowed), thus preserving the format. True. I just wanted to make sure that

Re: multipart/alternative question

2009-07-16 Thread David Champion
* On 16 Jul 2009, Kyle Wheeler wrote: > > > > Multipart/alternative containers are specifically excluded from ever > > being traversed. Why? Because mutt at this stage has no way of knowing > > which alternative in a multipart/alternative you want looked at. > > Well, it's not an issue of "wh

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 01:40 PM, quoth David Champion: >> Thus, for attachment counting purposes, we can reasonably decide to >> ALWAYS count *only* the attachments within the last alternative in >> a multipart/alternative MIME section. That's the

SSL encrypts for recipients only

2009-07-16 Thread Bertram Scharpf
Hi, I'm just beginning to understand SSL encryption but so far everything works well. Yet, there's one thing I miss: When given an Fcc field, this recipient (myself) will not be included in the list handed over to openssl. The header fields look like this: From: bert...@example.com To: bertr

Re: split display?

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 12:55:34PM -0500, Derek Martin wrote: > On Thu, Jul 16, 2009 at 09:34:49AM -0500, Derek Martin wrote: > > > You could say that mutt is designed to handle a lot of mail and each > > > mail individually, accessible through a list of mails. That you can > > > switch to differen

Re: categories [Was: split display?]

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 10:20:54AM +0200, Markus Osterhoff wrote: > > if set_sort=threads is okay for you, maybe I have a solution: > > in my .muttrc I put > > color index brightwhite green "~f ---" > folder-hook .maildir/$ 'set sort = threads; exec collapse-all' > bind index < collapse-thread >

Re: split display?

2009-07-16 Thread lee
Hm, I need to split this mail because I got it back with a message telling me that only 20k characters are allowed. This is part two. On Thu, Jul 16, 2009 at 09:34:49AM -0500, Derek Martin wrote: > > But this way is as much a result of what options/ways mutt offers its > > users as it is a resu

Re: split display?

2009-07-16 Thread lee
Hm, I need to split this mail because I got it back with a message telling me that only 20k characters are allowed. This is part 1-1/2. Part one was a bit too long, so I had to send it again ... On Thu, Jul 16, 2009 at 09:34:49AM -0500, Derek Martin wrote: > > Well, I wouldn't want to separate

Re: categories [Was: split display?]

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 06:14:56PM -0600, lee wrote: > I created a category-mail with the subject "SATA controller", and an > unrelated mail with "SATA" in the subject is linked to the category > automatically. Is there a way to prevent that? Never mind, I found I can break the thread and the mail

Re: multipart/alternative question

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 09:19:14AM -0500, Kyle Wheeler wrote: > On Wednesday, July 15 at 11:59 PM, quoth lee: > >> You can also use the %X sequence in your index_format definition to > >> display the number of attachments in a message. However, I don't > >> think either of those methods pick up

Re: SSL encrypts for recipients only

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday, July 17 at 12:24 AM, quoth Bertram Scharpf: > Yet, there's one thing I miss: When given an Fcc field, this > recipient (myself) will not be included in the list handed over to > openssl. Well, the FCC is not, strictly speaking, a recipi

Re: multipart/alternative question

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 01:14:22PM -0500, Kyle Wheeler wrote: > If you want to add a config option to allow it to count ALL > alternatives, that's fine by me, but I think counting only the last > alternative is perfectly reasonable and compliant. Well, I think it depends on what the user of mut

Re: multipart/alternative question

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 02:23:40PM -0500, Kyle Wheeler wrote: > Of course, like I said, I'm more worried about incorrectly saying > there are 0 attachments when there is in fact (at least) 1 than I am > with incorrectly saying there are 3 attachments when there are in fact > (depending on how y

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 08:18 PM, quoth lee: >> The definition of "attachment" is not as clear as you would think. >> For example, we tend to think of MIME components whose type is >> text/* as not being "attachments", but sometimes they can be (e.

Re: xemacs qyestion

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 11:05:00AM +0200, Joost Kremers wrote: > At the risk of stating the obvious, you need to put that in your ~/.emacs > (~/.xemacs? or wasn't it in some subdir with xemacs? I don't know...) and then > restart xemacs to make sure it takes effect. Yeah, I did that. XEmacs has a

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 08:56 PM, quoth lee: >On Thu, Jul 16, 2009 at 02:23:40PM -0500, Kyle Wheeler wrote: > >> Of course, like I said, I'm more worried about incorrectly saying >> there are 0 attachments when there is in fact (at least) 1 than I am

Re: xemacs qyestion

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 12:40:26PM +0200, Joost Kremers wrote: > > just now, i installed post-mode myself, because it's so much better than what > i > had before. (so thanks for bringing it to my attention! :-) You're welcome :) > in the file post.el there is a snippet that needs to be added to

Re: multipart/alternative question

2009-07-16 Thread Tim Gray
On Thu 16, Jul'09 at 10:16 PM -0500, Kyle Wheeler wrote: But anyway, I don't consider this message to have ANY "attachments". The person didn't send me any extra files to look at. They sent me the same message twice, one with extra formatting and one without. I don't think most people would con

Re: multipart/alternative question

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 10:09:16PM -0500, Kyle Wheeler wrote: > On Thursday, July 16 at 08:18 PM, quoth lee: > > > > Yeah, but mutt already has a way of showing a list of attachments. > > Those aren't attachments, they're MIME components. There's a > difference, at least in modern lingo. MIME com

Re: multipart/alternative question

2009-07-16 Thread lee
On Thu, Jul 16, 2009 at 10:16:57PM -0500, Kyle Wheeler wrote: > But anyway, I don't consider this message to have ANY "attachments". > The person didn't send me any extra files to look at. They sent me the > same message twice, one with extra formatting and one without. I don't > think most peo

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 10:27 PM, quoth lee: > On Thu, Jul 16, 2009 at 10:09:16PM -0500, Kyle Wheeler wrote: >> On Thursday, July 16 at 08:18 PM, quoth lee: >>> >>> Yeah, but mutt already has a way of showing a list of attachments. >> >> Those aren't

Re: multipart/alternative question

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 10:51 PM, quoth lee: >On Thu, Jul 16, 2009 at 10:16:57PM -0500, Kyle Wheeler wrote: > >> But anyway, I don't consider this message to have ANY "attachments". >> The person didn't send me any extra files to look at. They sent m

storing tagged state?

2009-07-16 Thread lee
Hi, is it possible to store which messages are currently tagged, to do something and then to restore the previous tags? Application: I made a macro to mark all new messages as read: macro index .c "~A~N \ N~A" \ "Mark all read" To do this cleanly, the macro would have to store which messa

Re: storing tagged state?

2009-07-16 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 16 at 11:52 PM, quoth lee: >is it possible to store which messages are currently tagged, to do >something and then to restore the previous tags? Sure, it's possible. Not *easy*, but possible. The way I'd suggest is to have your ma