Re: disabling save-to-username default
Nat, et al -- ...and then Nathaniel Irons said... % % On Wed, Mar 20, 2002 at 09:55:43AM -0800, Gary Johnson wrote: % On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: % % You could either turn off $save_name, but have to remember to turn it % back on, but have to figure out whether or not it was really on before in % case it wasn't and you shouldn't % % $save_name refers to copies of outgoing messages, correct? (Otherwise % the documentation is wrong). It has been verified to me off-list that $save_name will not only determine the target for your fcc but also for where a message in your mailbox gets saved. I haven't checked it, but it can probably be considered valid until disproven rather than the other way around... HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25858/pgp0.pgp Description: PGP signature
Re: disabling save-to-username default
On Thu, Mar 21, 2002 at 07:53:53AM -0500, David T-G wrote: % $save_name refers to copies of outgoing messages, correct? (Otherwise % the documentation is wrong). It has been verified to me off-list that $save_name will not only determine the target for your fcc but also for where a message in your mailbox gets saved. I haven't checked it, but it can probably be considered valid until disproven rather than the other way around... $save_name doesn't determine the target (as I desired to do uniformly with my macro) -- $save_name allows the target to be defined as the sender of the selected message. If a mailbox with that name exists, the message is saved to that mailbox. If no such mailbox exists, the message is saved to $record. Why would I want to save incoming mail to $record, which holds my outgoing mail? What bearing would this have on my question, which was preventing the unhelpful default of save-to-sender from interfering with my predetermined mailbox path? $save_name is a boolean, defaulting to no. I just checked it both ways in 1.3.28, with and without a $record variable, and four-for-four, saving an incoming message defaults to the sender of the currently selected message. I believe you were misinformed about $save_name operating on incoming mail, and the docs are correct. -nat
Re: disabling save-to-username default
Nat -- ...and then Nathaniel Irons said... % % On Thu, Mar 21, 2002 at 07:53:53AM -0500, David T-G wrote: % % % $save_name refers to copies of outgoing messages, correct? (Otherwise % % the documentation is wrong). % % It has been verified to me off-list that $save_name will not only ... % % $save_name doesn't determine the target (as I desired to do % uniformly with my macro) -- $save_name allows the target to be defined Right... % as the sender of the selected message. If a mailbox with that name % exists, the message is saved to that mailbox. If no such mailbox % exists, the message is saved to $record. Ah. % ... % the currently selected message. I believe you were misinformed about % $save_name operating on incoming mail, and the docs are correct. Sometimes those who know it all don't really know it all. Thanks for the clarification, and I'm sure he'll read it here as well. % % -nat :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25873/pgp0.pgp Description: PGP signature
disabling save-to-username default
I'm trying to write a simple shortcut to save tagged messages to a specific file. It looks like this: macro index S ;s righthere.mbox Save to this here mailbox and doesn't work, because mutt prepends the selected message's author's username to the save path. I'd appreciate suggestions for overriding this username default for the macro, or disabling it altogether. Thanks. -nat
Re: disabling save-to-username default
begin quoting what David T-G said on Wed, Mar 20, 2002 at 12:39:23PM -0500: HTH HAND and none of this is tested :-) Acronymize that last one. :-) msg25779/pgp0.pgp Description: PGP signature
Re: disabling save-to-username default
On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: Nathaniel -- ...and then Nathaniel Irons said... % % I'm trying to write a simple shortcut to save tagged messages to a % specific file. It looks like this: % % macro index S ;s righthere.mbox Save to this here mailbox % % and doesn't work, because mutt prepends the selected message's % author's username to the save path. I'd appreciate suggestions for % overriding this username default for the macro, or disabling it % altogether. You could either turn off $save_name, but have to remember to turn it back on, but have to figure out whether or not it was really on before in case it wasn't and you shouldn't, or you could just clear the line in your macro. I believe if you insert a ctrl-u before specifying the mailbox name you'll get what you want. Or you can just eliminate the space in your macro. Either of these will work: macro index S ;srighthere.mbox Save to this here mailbox macro index S ;save-messagerighthere.mbox Save to this here mailbox I don't know why the space does that, but it's nice to know that it does. I'll be using that feature a lot from now on. I had been appending to the suggested mailbox name by first backspacing over the last character, then replacing it. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: disabling save-to-username default
Shawn -- ...and then Shawn McMahon said... % % begin quoting what David T-G said on Wed, Mar 20, 2002 at 12:39:23PM -0500: % % HTH HAND and none of this is tested :-) % % Acronymize that last one. :-) Ha! NOTIT for you! :-) :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25784/pgp0.pgp Description: PGP signature
Re: disabling save-to-username default
Gary, et al -- ...and then Gary Johnson said... % % On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: % % ...and then Nathaniel Irons said... % % % % macro index S ;s righthere.mbox Save to this here mailbox ... % % overriding this username default for the macro, or disabling it ... % your macro. I believe if you insert a ctrl-u before specifying the % mailbox name you'll get what you want. % % Or you can just eliminate the space in your macro. Either of these will % work: % % macro index S ;srighthere.mbox Save to this here mailbox % macro index S ;save-messagerighthere.mbox Save to this here mailbox Hey, cool! I didn't even notice that the first time :-) % % I don't know why the space does that, but it's nice to know that it I'm sure it's documented somewhere, and it makes sense since *NIX doesn't usually have spaces in filenames and requires escaping to make them work nicely. Thanks for noticing! :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25786/pgp0.pgp Description: PGP signature
Re: disabling save-to-username default
On Wed, Mar 20, 2002 at 09:55:43AM -0800, Gary Johnson wrote: On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: You could either turn off $save_name, but have to remember to turn it back on, but have to figure out whether or not it was really on before in case it wasn't and you shouldn't $save_name refers to copies of outgoing messages, correct? (Otherwise the documentation is wrong). Or you can just eliminate the space in your macro. Either of these will work: Hey, good tip. I never would have thought that would parse. Thanks. -nat
Re: disabling save-to-username default
Nat -- ...and then Nathaniel Irons said... % % On Wed, Mar 20, 2002 at 09:55:43AM -0800, Gary Johnson wrote: % On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: % % You could either turn off $save_name, but have to remember to turn it % back on, but have to figure out whether or not it was really on before in % case it wasn't and you shouldn't % % $save_name refers to copies of outgoing messages, correct? (Otherwise % the documentation is wrong). Hmmm... Yes, it does, and the doc isn't wrong, but I was thinking that it would also direct mutt to save a message there instead of in $record. I haven't tried it, though, so I can't say for sure. Perhaps mbox-hook would be a better way to approach it -- if, of course, Gary hadn't helped us out! HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25793/pgp0.pgp Description: PGP signature
OT: Re: disabling save-to-username default
At 1:01 PM EST on March 20 David T-G sent off: ...and then Shawn McMahon said... % % begin quoting what David T-G said on Wed, Mar 20, 2002 at 12:39:23PM -0500: % % HTH HAND and none of this is tested :-) % % Acronymize that last one. :-) Ha! NOTIT for you! :-) No fair. Have a nice day is trivial, but even http://www.ucc.ie/cgi-bin/acronym?NOTIT doesn't expand NOTIT. It was my first excuse to try the translation menu of smart bookmarks in galeon, though. -- TTFN, Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/ PGP Key: http://astro.utoronto.ca/~reid/pgp.html
Re: OT: Re: disabling save-to-username default
Rob -- ...and then Rob Reid said... % % At 1:01 PM EST on March 20 David T-G sent off: % ...and then Shawn McMahon said... % % % % begin quoting what David T-G said on Wed, Mar 20, 2002 at 12:39:23PM -0500: % % % % HTH HAND and none of this is tested :-) % % % % Acronymize that last one. :-) % % Ha! NOTIT for you! :-) % % No fair. Have a nice day is trivial, but even % % http://www.ucc.ie/cgi-bin/acronym?NOTIT % % doesn't expand NOTIT. Heh. Look up there right after HAND :-) % % It was my first excuse to try the translation menu of smart bookmarks in % galeon, though. Not only that but you gave me the URL, for which I am quite grateful. Can't wait to check it out :-) % % -- % TTFN, % Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/ % PGP Key: http://astro.utoronto.ca/~reid/pgp.html HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25808/pgp0.pgp Description: PGP signature