ask-from quadoption was 3 quick questions
On Fri, Jun 07, 2002 at 08:13:40AM -0400, darren chamberlain wrote: * Ken Weingold [EMAIL PROTECTED] [2002-06-06 16:40]: Well here's a feature request. I wish there were an option to have mutt prompt you for which return address to use, being able to pick from a menu of addresses set somewhere in the muttrc. Any possibility? A few months ago, some (sorry, I don't remember who) posted a patch that adds an ask-from quadoption, which does what you're asking for in not too many lines. It's written against 1.3.27, and I've applied it to 1.3.28 (haven't tried 1.4 yet). It's attached. (darren) Many thanks for the patch. I'll give it a try, but have to learn how to apply them first. I've graduated from windoze to linux rpms to now being comfortable with compiling source, but haven't tried the patch route yet. Got to read up on it first. Kevin
Re: patching (was Re: ask-from quadoption was 3 quick questions)
Kevin -- ...and then Kevin Coyner said... % % On Fri, Jun 07, 2002 at 08:13:40AM -0400, darren chamberlain wrote: ... % A few months ago, some (sorry, I don't remember who) posted a patch that ... % 1.3.28 (haven't tried 1.4 yet). It's attached. % % (darren) % % Many thanks for the patch. I'll give it a try, but have to learn how % to apply them first. I've graduated from windoze to linux rpms to now Patching is really quite simple. If you have the patch program (test by running patch --help and looking for sensible results), then a simple save of the patch to some build dir and a cd $your_build_dir tar xpfz mutt-1.4i.tar.gz cd mutt-1.4 patch -p0 ../name_of_patch ./configure ... make ... where -p0 is probably useful but might not be necessary and then you run the configure and make with whatever arguments you usually provide is all it takes. To see patching in action, surf over to http://mutt.justpickone.org/mutt-build-cocktail/ and take a look at the 00.makeme.sh script; that pulls together my entire patch cocktail in one step. HTH have fun! :-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! msg28723/pgp0.pgp Description: PGP signature
Re: ask-from quadoption was 3 quick questions
* Kevin Coyner [EMAIL PROTECTED] [2002-06-07 09:28]: Many thanks for the patch. I'll give it a try, but have to learn how to apply them first. I've graduated from windoze to linux rpms to now being comfortable with compiling source, but haven't tried the patch route yet. Got to read up on it first. In this case, the patch can be applied, from within the mutt source directory, like so: $ patch -p1 patch-1.3.27.ds.askfrom.txt For patch, the -p# tells patch how many directory levels to remove from the filenames. If you read through the patch file, you can see that it references files as mutt-1.3.27/init.h and mutt-1.3.27/send.c, which is to say 1 directory and then a filename, so patch has to strip off 1 level of directories to file the name of the file to patch. (darren) -- All men are mortal. Socrates was mortal. Therefore, all men are Socrates. -- Woody Allen
Re: ask-from quadoption was 3 quick questions
On Fri, Jun 07, 2002 at 09:37:12AM -0400, darren chamberlain wrote: * Kevin Coyner [EMAIL PROTECTED] [2002-06-07 09:28]: Many thanks for the patch. I'll give it a try, but have to learn how to apply them first. I've graduated from windoze to linux rpms to now being comfortable with compiling source, but haven't tried the patch route yet. Got to read up on it first. In this case, the patch can be applied, from within the mutt source directory, like so: $ patch -p1 patch-1.3.27.ds.askfrom.txt For patch, the -p# tells patch how many directory levels to remove from the filenames. If you read through the patch file, you can see that it references files as mutt-1.3.27/init.h and mutt-1.3.27/send.c, which Question: If I've installed Mutt-1.4i, do I need to go into the patch source and change all references to mutt-1.3.27 so that they read mutt-1.4i instead? is to say 1 directory and then a filename, so patch has to strip off 1 level of directories to file the name of the file to patch. (darren) As always, many thanks. This group is great. Kevin -- All men are mortal. Socrates was mortal. Therefore, all men are Socrates. -- Woody Allen -- Kevin Coyner mailto: [EMAIL PROTECTED] GnuPG key: 1024D/8CE11941
Re: ask-from quadoption was 3 quick questions
On Fri, Jun 7, 2002, Kevin Coyner wrote: For patch, the -p# tells patch how many directory levels to remove from the filenames. If you read through the patch file, you can see that it references files as mutt-1.3.27/init.h and mutt-1.3.27/send.c, which Question: If I've installed Mutt-1.4i, do I need to go into the patch source and change all references to mutt-1.3.27 so that they read mutt-1.4i instead? No, that's why you use 'patch -p1', so it ignores the 'mutt-1.3.27/' part of the path in the patch. -Ken