Re: Various unimportant nitpicks
On Sat, Jan 15, 2000 at 09:04:42PM +0100, Byrial Jensen wrote: > On Sat, Jan 15, 2000 at 18:54:59 +0200, Marius Gedminas wrote: > > There is no `help' function in editor context (BTW `editor' is a very > > misleading name. Until today I thought it meant that mutt had a very > > basic (maybe like ed(1)) internal editor for composing messages :-) > > It has. Use "set editor=builtin" to use it. This doesn't work in 1.1.2i. After :set editor=builtin trying to edit a message results in an error from the shell builtin: /tmp/mutt-mg-6883-75: not a shell builtin BTW I also tried :set editor="" and mutt segfaulted: Core was generated by `mutt'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libslang.so.1...done. Reading symbols from /lib/libm.so.6...done. Reading symbols from /lib/libc.so.6...done. Reading symbols from /lib/ld-linux.so.2...done. Reading symbols from /lib/libnss_files.so.2...done. #0 0x400d6a93 in strchr () from /lib/libc.so.6 (gdb) bt #0 0x400d6a93 in strchr () from /lib/libc.so.6 #1 0x400 in ?? () #2 0x808e73a in mutt_expand_file_fmt (dest=0xbfffe69c "\220\226\r\b<çÿ¿ÿ", destlen=1024, fmt=0x0, src=0xbfffec94 "/tmp/mutt-mg-6883-114") at muttlib.c:584 #3 0x8057545 in mutt_edit_file (editor=0x0, data=0xbfffec94 "/tmp/mutt-mg-6883-114") at curs_lib.c:133 #4 0x808f3da in edit_one_message (ctx=0x80ba440, cur=0x80efcd8) at editmsg.c:91 #5 0x808f872 in mutt_edit_message (ctx=0x80ba440, hdr=0x80efcd8) at editmsg.c:193 #6 0x805bb39 in mutt_index_menu () at curs_main.c:1568 #7 0x806ac46 in main (argc=1, argv=0xbb94) at main.c:724 Marius Gedminas -- Hacking graphics in X is like finding sqrt(pi) with roman numerals. -- man xdaliclock
Re: Various unimportant nitpicks
On Sun, Jan 16, 2000 at 13:58:36 +0200, Marius Gedminas wrote: > On Sat, Jan 15, 2000 at 09:04:42PM +0100, Byrial Jensen wrote: > > On Sat, Jan 15, 2000 at 18:54:59 +0200, Marius Gedminas wrote: > > > There is no `help' function in editor context (BTW `editor' is a very > > > misleading name. Until today I thought it meant that mutt had a very > > > basic (maybe like ed(1)) internal editor for composing messages :-) > > > > It has. Use "set editor=builtin" to use it. > > This doesn't work in 1.1.2i. After > > :set editor=builtin > > trying to edit a message results in an error from the shell I said that it was possible to *compose* messages using the builtin editor, and it is. You're right that it cannot be used to edit existing messages. There should of course be a check to see if you're trying to do that, so you can get a proper error message instead of core dumps or other strange things. I'm sure someone will post patch to repair that. -- Byrial
Re: Various unimportant nitpicks
On 2000-01-16 14:07:17 +0100, Byrial Jensen wrote: >> This doesn't work in 1.1.2i. After >>>set editor=builtin >> trying to edit a message results in an error from the shell diff -u -p -u -r2.5 editmsg.c --- editmsg.c 2000/01/10 10:40:37 2.5 +++ editmsg.c 2000/01/16 13:43:37 @@ -88,7 +88,7 @@ static int edit_one_message (CONTEXT *ct if (stat (tmp, &sb) == 0) mtime = sb.st_mtime; - mutt_edit_file (Editor, tmp); + mutt_edit_file (NONULL (Visual), tmp); if ((rc = stat (tmp, &sb)) == -1) { -- http://www.guug.de/~roessler/
Re: mailbox question
Oliver Groschopp <[EMAIL PROTECTED]>: > my mutt-users mailbos has over 3000 mails. I want to move all mails > from 1999 in mutt-users-1999. > > Is there a way (Perl-Script, ...)? If you've got a reasonably fast auto-repeat on your keyboard, it's probably quickest to just sort the mailbox by date and either tag the messages you want or the messages you don't want, whichever are fewer, by holding down 't'. I'm sure other people will suggest much clever solutions, but are they really faster to implement? If it were 300 messages, on the other hand ...
Problem wit aliases
Dear Group, I have just started mutt and am having some problems with aliases. From having looked at some scripts and some existing ones I gathered that the format of an alias definition was as follows: alias alias_namedescriptions\ ^ one space here where is the tab-character and \< and \> denote the '<' and '>' characters. Unfortunately this doesn't seem to work and some aliases are not recognized. Is there anything else I need to know (documentation to read, etc.) Thanks in avance, Marc van Dongen -- Marc van Dongen, CS Dept | phone: +353 21 903578 University College Cork, NUIC | Fax: +353 21 903113 College Road, Cork, Ireland | Email: [EMAIL PROTECTED]
Re: Problem wit aliases
Jon Walthour ([EMAIL PROTECTED]) wrote: : To make sure you get the format right, open a message (like this one) : and press 'a' and follow the steps. It will write out the .mutt-aliases : file for you. From there, you should be able to get the proper format. Thanks Jon, I was aware of the existence of a functionality like that, but then if I want to use an alias to send emails to the people in a class I am teaching, I have to type in all their password (or use paste and copy) which seems a bit awkward. If I know the format, it's a bit easier (especially if the list is very long and if I have it stored in a file somewhere). Regards, Marc van Dongen -- Marc van Dongen, CS Dept | phone: +353 21 903578 University College Cork, NUIC | Fax: +353 21 903113 College Road, Cork, Ireland | Email: [EMAIL PROTECTED]
Re: Problem wit aliases
Marc van Dongen <[EMAIL PROTECTED]> wrote on Sun, 16 Jan 2000: > alias alias_namedescriptions\ > ^ >one space here > > where is the tab-character and \< and \> denote > the '<' and '>' characters. I'm not sure if it's white-space sensitive, but I've always used just plain spaces for all of the places and it works fine for me. I suggest you try it with spaces instead of tabs. (Though really, it *ought* to work with tabs to...) 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 / "You don't grow by age, you grow by mind" -- Lena Carin Molander
Re: multiple mailboxes (how to check for mail in them?)
Jan Fedak <[EMAIL PROTECTED]> wrote: > > Now, in mutt manual I've found that if I hit TAB, I'll be transferred > to next mailbox with any new mail. Perhaps you mis-read the manual; Mutt does not do this, as far as I know. TAB takes you to the next new message in the current folder; that's all. > However, if I push 'c' (change mailbox) and there's a new mail in some > of them, I'm offered its name on the command line. That's how it should work. -- David DeSimone | "The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: Problem wit aliases
Marc van Dongen [[EMAIL PROTECTED]] wrote: ... > Unfortunately this doesn't seem to work and some aliases are > not recognized. Is there anything else I need to know > (documentation to read, etc.) Section 3.2 of the manual. -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- "If Microsoft can change and compete on quality, I've won." -- L. Torvalds PGP signature
Re: multiple mailboxes (how to check for mail in them?)
Hi. Perhaps I did misread it... Anyway, is there an easy way to find out what mailboxes I have new mail in? I mean from inside mutt, not by running mutt -y Thanks, Jan David DeSimone wrote: >Perhaps you mis-read the manual; Mutt does not do this, as far as I >know. TAB takes you to the next new message in the current folder; >that's all. -- Jan Fedaktalk:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] Linux - the ultimate NT Service Pack.
Re: multiple mailboxes (how to check for mail in them?)
Jan Fedak [[EMAIL PROTECTED]] wrote: > Perhaps I did misread it... Anyway, is there an easy way to find out > what mailboxes I have new mail in? I mean from inside mutt, not by > running > > mutt -y c? lists all defined mailboxes, with an N flag by those with new mail. c - change folder f - see a list of files in your Mail dir - show only defined mailboxes -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- "If Microsoft can change and compete on quality, I've won." -- L. Torvalds PGP signature
Re: Unable to send mail to AOL?
I also had problems sending mail to AOL users until I changed my sendmail.cf according to the following howto: http://www.thestuff.net/howto/mail_suite/
Re: Unable to send mail to AOL?
* On Sun, Jan 16, 2000 at 05:46:40PM -0500, R. Pell wrote: > > I also had problems sending mail to AOL users until I changed my > sendmail.cf according to the following howto: > > http://www.thestuff.net/howto/mail_suite/ > Hmm. I'll have to go take a look, although my MTA is postfix. Cheers... -- Alex Lane * Seabrook, Texas, USA -*- [EMAIL PROTECTED] * www.galexi.com/alex/ Ask me about www.quixtar.com!
aliases with the same name..
Hi, Is there any option to set so that mutt can recognise multiple entries of the alias... For example, if I have more than one email addresses, I would like to do this: alias me [EMAIL PROTECTED] (Shao Zhang) alias me [EMAIL PROTECTED] (Shao Zhang) alias me [EMAIL PROTECTED] (Shao Zhang) But mutt seems overwrite the them leaving only the last entry. So I have to do this: alias me1 alias me2 alias me3 This is still fine, coz they are referring to the same person. But if I have two different "daniel", I really don't want to make them "daniel1", and "daniel2", so that each time when I have a new friend called daniel, I will have to search through and assign a number to it... Thanks. Shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
Re: handling of New flag for folders
At 00:03 +0200 15 Jan 2000, Mikko Hänninen <[EMAIL PROTECTED]> wrote: > Jorge Godoy <[EMAIL PROTECTED]> wrote on Fri, 14 Jan 2000: > > I do that often. Mut can be configured to don't tag messages as > > OLD. The line is: > > > > set nomark_old > > The problem with that is that it makes Mutt lose the distinction of new > and old, not just stop marking messages as old. (I think.) Right. > > What's the difference between the patched version behaviour and the > > non-patched version behaviour? > > Three differences: > > $mark_old gets changed into a quadoption, whereby you can get prompted > on folder exit whether the new messages should be marked old, or not. > > The addition of a new boolean variable, $see_old, which determines > whether old messages are shown as new or old. > > Mutt will distinguish between messages which are old and which are new > at all times, though if $see_old is unset, ~N will (ought to?) match > both new and old. With the patch, it will always distinguish between new and old messages, but if $see_old is unset, this information is only used for rewriting messages (so that having it unset doesn't result in old messages becoming new again when a mailbox is rewritten, unlike $mark_old in standard mutt). Another difference is that changing $see_old takes effect immediately, rather than just upon opening a new mailbox. It's been awhile since the patch was last posted, so I'm attaching it again (updated to patch cleanly against the latest CVS version). I've now been using this patch without problems for several months, I think this should get included. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ Wizard's First Rule: People are stupid. ats.mark_old-1.1.2-1.diff.gz
Re: New Mail Sent to different mailboxes
Edmund, In my first tests this worked great. My original change was after this, trying to 'eat up' the next input. But that didn't work nicely. This, however seems to do what I was looking for just fine. Thanks, Kurt On Fri, Jan 14, 2000 at 03:16:13PM +, Edmund GRIMLEY EVANS wrote: > [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > I think if there was an option which would cause commands on tagged > > messages (initiated with ;) to simply do nothing if there was no tagged > > message, then it might work. > > It looks like curs_main.c:550 in my copy of mutt here, where it says: > > if (!Context->tagged) > { > mutt_error _("No tagged messages."); > continue; > } >
Re: handling of New flag for folders
Aaron Schrab <[EMAIL PROTECTED]> wrote on Sun, 16 Jan 2000: > It's been awhile since the patch was last posted, so I'm attaching it > again (updated to patch cleanly against the latest CVS version). Thanks, though the old version did patch with just minor offset complaints against 1.1.2i. :-) > I've > now been using this patch without problems for several months, I think > this should get included. Seconded. I've been using it for well over a month with no problems, as well. I've been very happy with it. 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 / Time is what keeps everything from happening at once.
Re: aliases with the same name..
Shao -- ...and then Shao Zhang said... % % alias me [EMAIL PROTECTED] (Shao Zhang) % alias me [EMAIL PROTECTED] (Shao Zhang) % alias me [EMAIL PROTECTED] (Shao Zhang) I don't get it... What would this serve? When you type "me" as your alias, how is mutt supposed to know which one you mean? From your further detail below, I assume that you're not asking how to create a single alias "me" which points to all three addresses, right? % % alias me1 % alias me2 % alias me3 % % This is still fine, coz they are referring to the same person. % But if I have two different "daniel", I really don't want to % make them "daniel1", and "daniel2", so that each time when I % have a new friend called daniel, I will have to search through % and assign a number to it... Well, you could find some other way to make the aliases unique, like using a firstname.lastname approach or maybe daniel.isp since the ISP is very likely to be different... % % Thanks. % % Shao. :-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! "Why2k? Well, I didn't think at the time that I could charge any more!" Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: Problem wit aliases
Marc -- ...and then Marc van Dongen said... % Jon Walthour ([EMAIL PROTECTED]) wrote: % % : To make sure you get the format right, open a message (like this one) ... % % I was aware of the existence of a functionality like that, but then ... % If I know the format, it's a bit easier (especially if the list is % very long and if I have it stored in a file somewhere). I think that that was his point; let mutt walk you through the steps of making a sample alias and then check its output to see the format. For what it's worth, here are a few alias definitions from my mutt.aliases file: ## # Info: David @ BigFoot alias me-bigfoot <[EMAIL PROTECTED]> (David @ BigFoot) # Info: SunService NetRequest alias netrequest <[EMAIL PROTECTED]> (SunService NetRequest) # Info: Clariion Folks alias clariion mark.decker,bill.andrews # Info: Interview Report recipients alias interviews Interview Report recipients : ramana,scott.lebowitz, ; ## As you can see, the alias format that I have (I won't claim to know whether it's the official one or not, but it definitely works) is alias a_name Full Name or alias a_name Pseudo Name: ; where, in each case, can be one or more email addresses enclosed in <> and separated by a comma. The Full Name data is read in and the To: line is formatted as To: Full Name in the mutt headers. The multiple-address aliases contain targets that are themselves defined as aliases elsewhere, in the same manner as the me-bigfoot and netrequest aliases. % % Regards, HTH & HAND % % % Marc van Dongen % -- % Marc van Dongen, CS Dept | phone: +353 21 903578 % University College Cork, NUIC | Fax: +353 21 903113 % College Road, Cork, Ireland | Email: [EMAIL PROTECTED] :-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! "Why2k? Well, I didn't think at the time that I could charge any more!" Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: aliases with the same name..
David T-G [[EMAIL PROTECTED]] wrote: > Shao -- > > ...and then Shao Zhang said... > % > % alias me [EMAIL PROTECTED] (Shao Zhang) > % alias me [EMAIL PROTECTED] (Shao Zhang) > % alias me [EMAIL PROTECTED] (Shao Zhang) > > I don't get it... What would this serve? When you type "me" as your > alias, how is mutt supposed to know which one you mean? I would like mutt to give me the alias menu when there exists duplicate entries, same effect of pressing TAB. > From your > further detail below, I assume that you're not asking how to create a > single alias "me" which points to all three addresses, right? > > > % > % alias me1 > % alias me2 > % alias me3 > % > % This is still fine, coz they are referring to the same person. > % But if I have two different "daniel", I really don't want to > % make them "daniel1", and "daniel2", so that each time when I > % have a new friend called daniel, I will have to search through > % and assign a number to it... > > Well, you could find some other way to make the aliases unique, like > using a firstname.lastname approach or maybe daniel.isp since the ISP is > very likely to be different... It is no big deal, I can still live with it. It is just that I think it is better for mutt not to overwrite those duplicate entries. In addition, I think mutt should have a better support of address book, such as searching the first name, last name and so on. shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _ PGP signature
Re: aliases with the same name..
Shao Zhang [[EMAIL PROTECTED]] wrote: > I would like mutt to give me the alias menu when there exists > duplicate entries, same effect of pressing TAB. Use firstname.lastname for the alias name, then enter 'daniel' at the prompt at hit tab, you'll get a list of all the daniels. > In addition, I think mutt should have a better support of > address book, such as searching the first name, last name and so > on. When you're on the alias menu, you can use / to search for any text. -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- "If Microsoft can change and compete on quality, I've won." -- L. Torvalds PGP signature
Re: aliases with the same name..
Jeremy Blosser [[EMAIL PROTECTED]] wrote: > Shao Zhang [[EMAIL PROTECTED]] wrote: > > I would like mutt to give me the alias menu when there exists > > duplicate entries, same effect of pressing TAB. > > Use firstname.lastname for the alias name, then enter 'daniel' at the > prompt at hit tab, you'll get a list of all the daniels. I understand that there are many ways to get around with my problem. But I still think mutt should support that as a feature. > > > In addition, I think mutt should have a better support of > > address book, such as searching the first name, last name and so > > on. > > When you're on the alias menu, you can use / to search for any text. In that case, yes. But what if I want to sort my addressbook accroding to the firstname, or lastname, or nick name?? Here is my proposal for the format of .mutt.alias: Alias: I-love-mutt First Name: Shao[optional] Middle Name:Ying[optional] Last Name: Zhang [optional] Email: [EMAIL PROTECTED] Info: my phonenumber is 123. Alias: I-love-mutt-too First Name: Shao[optional] Middle Name:Ying[optional] Last Name: Zhang [optional] Email: [EMAIL PROTECTED] Addr: my address is mutt street Now, with this, users can customise the fields they want. Eg, they can take out the middle name if they think it is no need. And they can add additional fields such as Info, Addr, or whatever. Then users can customise the alias browser to display certain fields, and can search certain fields and so on. I am not trying to say mutt should implement a complete address book, and I think the above is very *reasonable* for a mailer. Thanks. Shao -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _ PGP signature
Re: OT(?) Mailboxes
On Sat, Jan 15, 2000 at 18:40 -0500, Stan Ryckman wrote: > Aside from what the other folks wrote, I spotted this: > [...] > You seem to be using the names both >mutt-user > and >mutt-users > > If this wasn't the cause of any of the confusion, it probably > will be in the future :-) Thanks, indeed. Kinda blind, ain't I, huh? I'll change that as well... Volker