Re: Feature request: uncolor not only in index
* Gary Johnson [EMAIL PROTECTED] [2002-04-10 14:22]: Being able to color and uncolor patterns in the pager would be a good solution. yes - an uncolor command is definitely missing. i keep finding this when testing new color patterns. you'll know once you enter a pattern like ^ or . with a color command. ;-) furthermore, i find that limiting by color is missing, too. the idea being that once all the coloring is done you might want to select all those with the same color. for example, i have lots of color commands for possible spam mails - and once these are done i want to tag them all by color - for deletion. hehe Sven
Re: Feature request: uncolor not only in index
* Michael Tatge [EMAIL PROTECTED] [2002-04-10 14:52:24 +0200]: So far so good. Currently it is impossible to remove that pattern again. uncolor only works in the index. Devellopers, any chance to change that? Once again I'd like to add my voice this feature. I see how you people are...I mention it 4 or 5 times and nobody says anything but now... :p Anyway, I think this would be great. I have a lot of different incoming mailboxes and certain strings have special significance if they come in from a particular source, that the same string doesn't have in other contexts; not being able to remove body/header colors means I wind up with a bunch of highlighted strings after I've been running for a while, which kinda defeats the purpose... By the way, Michael...would you mind asking for a feature where mutt will print the entire comment for the key being used to sign (in the compose screen) instead of just the Key ID? :pp -- [EMAIL PROTECTED] msg27030/pgp0.pgp Description: PGP signature
Re: Feature request: uncolor not only in index
* Gary Johnson [EMAIL PROTECTED] [2002-04-10 10:22]: [-- snip --] That being said, I would really like such an uncolor feature myself. I receive internal newsletters that I find easier to read if I highlight the section headings like this: display-hook '~s blips' 'push /\^[A-Z0-9][A-Z0-9 [:punct:]]*$^M' These highlights disappear, however, whenever I search for something. Being able to color and uncolor patterns in the pager would be a good solution. Where does display-hook come from? I just built 1.3.28 and use 1.3.22.1 regularly and neither has it. I'm assuming it comes from a patch, but which one? (darren) -- I accept chaos. I'm not sure whether it accepts me. I know some people are terrified of the bomb. But then some people are terrified to be seen carrying a modern screen magazine. Experience teaches us that silence terrified people the most. -- Bob Dylan
Re: Feature request: uncolor not only in index
On Thu, Apr 11, 2002 at 11:54:49AM -0400, darren chamberlain wrote: That being said, I would really like such an uncolor feature myself. I receive internal newsletters that I find easier to read if I highlight the section headings like this: display-hook '~s blips' 'push /\^[A-Z0-9][A-Z0-9 [:punct:]]*$^M' These highlights disappear, however, whenever I search for something. Being able to color and uncolor patterns in the pager would be a good solution. Where does display-hook come from? I just built 1.3.28 and use 1.3.22.1 regularly and neither has it. I'm assuming it comes from a patch, but which one? I _think_ it's actually a message-hook? -- Dan Boger [EMAIL PROTECTED] msg27054/pgp0.pgp Description: PGP signature
Re: Feature request: uncolor not only in index
On Thu, Apr 11, 2002 at 11:54:49AM -0400, darren chamberlain wrote: Where does display-hook come from? I just built 1.3.28 and use 1.3.22.1 regularly and neither has it. I'm assuming it comes from a patch, but which one? It was a patch for the 1.2 series. I'm using patch-1.2.bj.display-hook.2. I assumed that it would be applied to the 1.3 series, but I haven't followed the development branch features very closely. I think the name may have changed to message-hook in 1.3, but I don't really know. HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: Feature request: uncolor not only in index
* Dan Boger [EMAIL PROTECTED] [2002-04-11 12:02]: On Thu, Apr 11, 2002 at 11:54:49AM -0400, darren chamberlain wrote: That being said, I would really like such an uncolor feature myself. I receive internal newsletters that I find easier to read if I highlight the section headings like this: display-hook '~s blips' 'push /\^[A-Z0-9][A-Z0-9 [:punct:]]*$^M' These highlights disappear, however, whenever I search for something. Being able to color and uncolor patterns in the pager would be a good solution. Where does display-hook come from? I just built 1.3.28 and use 1.3.22.1 regularly and neither has it. I'm assuming it comes from a patch, but which one? I _think_ it's actually a message-hook? Yup, got it. Thanks. I was interested in the hook displayed above, which is why I was looking for display-hook in the first place. I noticed, though, that the above command jumps to the first occurance of the match, so my version adds a top after the search. Here is an example, similar to the above: message-hook ~s 'pgp|gpg' 'push searchpgp|gpgReturntop' This highlights pgp and gpg in messages with pgp or gpg in the subject. Thanks to all who helped. (darren) -- A theory is not accepted when it's critics are converted, but when they eventually die. -- Maxwell Plank
Feature request: uncolor not only in index
Hi all, I just played around with my color setup. I found that it's sometimes usefull to hightlight numbers in the body of a message to find a phone number and the like. Now, I want to do that only on demand. macro pager f5 exitenter-commandcolor body [0-9]enterdisplay-message So far so good. Currently it is impossible to remove that pattern again. uncolor only works in the index. Devellopers, any chance to change that? TIA, Michael -- I've run DOOM more in the last few days than I have the last few months. I just love debugging ;-) (Linus Torvalds) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: Feature request: uncolor not only in index
Michael -- ...and then Michael Tatge said... % % Hi all, Hello! % % I just played around with my color setup. I found that it's sometimes % usefull to hightlight numbers in the body of a message to find a phone Sure; that makes sense. % number and the like. Now, I want to do that only on demand. Of course :-) % % macro pager f5 exitenter-commandcolor body [0-9]enterdisplay-message % % So far so good. Currently it is impossible to remove that pattern % again. uncolor only works in the index. % % Devellopers, any chance to change that? What about a different approach: just search for [0-9\-/\.]* (figuring that that will match most ways to write a phone number; with some magic I'm sure it can include spaces without hitting ALL spaces in the message) while in the pager and let mutt highlight the search results for you. % % TIA, HTH HAND % % Michael % -- % I've run DOOM more in the last few days than I have the last few % months. I just love debugging ;-) % (Linus Torvalds) % % PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key :-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! msg26967/pgp0.pgp Description: PGP signature
Re: Feature request: uncolor not only in index
David T-G ([EMAIL PROTECTED]) muttered: ...and then Michael Tatge said... % macro pager f5 exitenter-commandcolor body [0-9]enterdisplay-message % What about a different approach: just search for [0-9\-/\.]* No. This would color each and every -, / and ., too. But ([0-9]+[\.:/-]*)* would do for most numbers, phones, dates and times. Only I cannot turn it off, which sucks. Michael -- Are [Linux users] lemmings collectively jumping off of the cliff of reliable, well-engineered commercial software? (By Matt Welsh) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: Feature request: uncolor not only in index
Michael -- ...and then Michael Tatge said... % % David T-G ([EMAIL PROTECTED]) muttered: % ...and then Michael Tatge said... % % macro pager f5 exitenter-commandcolor body [0-9]enterdisplay-message % % % % What about a different approach: just search for [0-9\-/\.]* % % No. This would color each and every -, / and ., too. But % ([0-9]+[\.:/-]*)* would do for most numbers, phones, dates and times. Agreed; I said it would need some magic :-) % Only I cannot turn it off, which sucks. What's to turn off? You can either re-search for a non-existent pattern (or something empty like ^$ which won't show up anyway) if you're going to continue reading through that message and somehow don't want to notice the number any more or go back to the index and move on; on my mutt, at least, the next message I enter is not pre-highlighted after a search in another message. % % Michael 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! msg26969/pgp0.pgp Description: PGP signature
Re: Feature request: uncolor not only in index
On Wed, Apr 10, 2002 at 04:06:02PM +0200, Michael Tatge wrote: David T-G ([EMAIL PROTECTED]) muttered: ...and then Michael Tatge said... % macro pager f5 exitenter-commandcolor body [0-9]enterdisplay-message % What about a different approach: just search for [0-9\-/\.]* No. This would color each and every -, / and ., too. But ([0-9]+[\.:/-]*)* would do for most numbers, phones, dates and times. Only I cannot turn it off, which sucks. Sure you can. Since it is a search string, just type something like /lasjdslkddd I just let my fingers jitter on the home row. It won't match anything, thereby turning off the highlighting and leaving the pager otherwise unchanged. That being said, I would really like such an uncolor feature myself. I receive internal newsletters that I find easier to read if I highlight the section headings like this: display-hook '~s blips' 'push /\^[A-Z0-9][A-Z0-9 [:punct:]]*$^M' These highlights disappear, however, whenever I search for something. Being able to color and uncolor patterns in the pager would be a good solution. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: Feature request: uncolor not only in index
David T-G ([EMAIL PROTECTED]) muttered: ...and then Michael Tatge said... % % What about a different approach: just search for [0-9\-/\.]* ^^ % ([0-9]+[\.:/-]*)* would do for most numbers, phones, dates and times. % Only I cannot turn it off, which sucks. What's to turn off? Right, you're talking about seraching not coloring, which I missed the first time. Sorry. Michael -- Avoid the Gates of Hell. Use Linux (Unknown source) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: Feature request: uncolor not only in index
Michael -- ...and then Michael Tatge said... % % David T-G ([EMAIL PROTECTED]) muttered: % ...and then Michael Tatge said... ... % % % Only I cannot turn it off, which sucks. % % What's to turn off? % % Right, you're talking about seraching not coloring, which I missed the Ah. Right. % first time. Sorry. Hey, no problem :-) % % Michael % -- % Avoid the Gates of Hell. Use Linux % (Unknown source) % % PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key :-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! msg26974/pgp0.pgp Description: PGP signature