Re: Content-Disposition
On Mon, Sep 25, 2000 at 01:29:10PM +0200, Andy Spiegl wrote: > Is there a way I can teach mutt to use "inline", too? > I am currently using Mutt 1.0.1i ^D on the compose menu toggles this, under Mutt 1.2.5i. (If I hit ? in the compose menu, it's the very first keybinding described. :) -- - Bruce
Re: Content-Disposition
Bruce DeVisser wrote: > ^D on the compose menu toggles this, under Mutt 1.2.5i. > > (If I hit ? in the compose menu, it's the very first keybinding > described. :) Great! I just upgraded and really like this feature. Now I am wondering how I can set the default of disposition to I(nline). I can't find anything about that in the manual. Is there a way? Thanks a lot, Andy. -- E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ - __o __o /\_ _ \\o (_)\__/o (_) --- _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ -- (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o_ ~~~ "There is no snooze button on a cat who wants breakfast." - Unknown
Re: Content-Disposition
On 2000.09.26, in <[EMAIL PROTECTED]>, "Andy Spiegl" <[EMAIL PROTECTED]> wrote: > Bruce DeVisser wrote: > > ^D on the compose menu toggles this, under Mutt 1.2.5i. > > > > (If I hit ? in the compose menu, it's the very first keybinding > > described. :) > > Great! I just upgraded and really like this feature. > Now I am wondering how I can set the default of disposition to I(nline). > I can't find anything about that in the manual. Is there a way? Well, you can set a compose macro to inline after adding. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: Content-Disposition
> Well, you can set a compose macro to inline after adding. Ehmm, sounds like a good idea, but how do I do that? Sorry for the stupid question, Andy. -- E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ - __o __o /\_ _ \\o (_)\__/o (_) --- _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ -- (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o_ ~~~ Mixed Emotions: Watching your mother-in-law back off a cliff in your brand new Mercedes.
Re: Content-Disposition
On 2000.09.26, in <[EMAIL PROTECTED]>, "Andy Spiegl" <[EMAIL PROTECTED]> wrote: > > Well, you can set a compose macro to inline after adding. > Ehmm, sounds like a good idea, but how do I do that? > > Sorry for the stupid question, > Andy. Actually, I think it was a bad idea. I guess you can't macro an interactive text entry *and* keystrokes that come afterward. You have to pre-assign the entered text, or stop with the symbol that invokes the text entry. It wouldn't be a bad feature to add, though -- some special token meaning "wait for , then proceed with macro processing". -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: Content-Disposition
David Champion <[EMAIL PROTECTED]> wrote on Tue, 26 Sep 2000: > It wouldn't be a bad feature to add, though -- some > special token meaning "wait for , then proceed with macro > processing". That kind of function would solve a lot of macro problems. But, actually, I think the person is asking how to set the content-disposition of an attachement to "inline". This is not done with edit-type (^T) rather than with a separate function, toggle-disposition (^D). No need to macro that. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / Don't force it, use a bigger hammer.
Re: Content-Disposition
Andy Spiegl <[EMAIL PROTECTED]> wrote on Tue, 26 Sep 2000: > Now I am wondering how I can set the default of disposition to I(nline). > I can't find anything about that in the manual. Is there a way? Oops, my previous email missed the mark a bit, as I forgot what this original question was. If I understand your question, you want to know how the disposition for any file attachements that you add to a message (from the compose menu) start with the "inline" disposition, not "attachement"? The solution is quite simple, you create a macro for the compose menu, which does "attach-file" (the default a keybinding) and then toggles the disposition: macro compose a This will override the original binding for "a" in the compose menu. There is one pitfall here -- if you cancel the attach-file process, the current attachement's disposition will be changed instead. That could be even your "main body text" (the first inline text part)... Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / "Yesterday was the deadline on all complaints."
Re: Content-Disposition
> The solution is quite simple, you create a macro for the compose menu, > which does "attach-file" (the default a keybinding) and then toggles > the disposition: > > macro compose a > > This will override the original binding for "a" in the compose menu. This sounds like a great idea, but unfortunately it doesn't work. When I press 'a' it leads to: -- Mutt: Compose Attach file: I guess the macro would have to wait for text between and . Is that possible somehow? Thanks, Andy. -- E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ - __o __o /\_ _ \\o (_)\__/o (_) --- _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ -- (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o_ ~~~ "Press button to test.""Release to detonate."
Re: Content-Disposition
Andy Spiegl <[EMAIL PROTECTED]> wrote on Wed, 27 Sep 2000: > This sounds like a great idea, but unfortunately it doesn't work. > When I press 'a' it leads to: > -- Mutt: Compose > Attach file: Oh, umm, right. > I guess the macro would have to wait for text between and > . Is that possible somehow? No, it's currently not possible, unfortunately. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / 10.0 times 0.1 is hardly ever 1.0.
Re: Content-Disposition
> No, it's currently not possible, unfortunately. Too bad. Wouldn't a variable like "disposition-default" be a good idea? Are any developers listening here? :-) Or maybe an extension to mailcap like copiousoutput, or like netscape is doing it with the "x-mozilla-flags"? Andy. -- E-Mail: [EMAIL PROTECTED] URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ - __o __o /\_ _ \\o (_)\__/o (_) --- _`\<,__`\<,__>(_) (_)/<_\_| \ _|/' \/ -- (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o_ ~~~ Everyone you meet deserves to be greeted with a smile.