On Sun, Oct 31, 2021 at 09:19:47AM +, Chris Green wrote:
> On Sat, Oct 30, 2021 at 09:05:18PM +0100, Chris Green wrote:
> Well I now have:-
>
> auto_view text/html
> unalternative_order
> message-hook ~A "alternative_order text/html text/plain text&quo
gt; > >auto_view text/html
> > >alternative_order text/html text/plain text
> > >message-hook '~f .*ilovefreegle.org.*' 'alternative_order text/plain
> > > text/html'
> >
> > Each invocation of alternative_order appends to the l
On Sat, Oct 30, 2021 at 10:06:41AM -0700, Kevin J. McCarthy wrote:
> On Sat, Oct 30, 2021 at 10:56:12AM +0100, Chris Green wrote:
> > So, I have the following lines in my muttrc file:-
> >
> >auto_view text/html
> >alternative_order text/html text/plain t
On Sat, Oct 30, 2021 at 10:56:12AM +0100, Chris Green wrote:
So, I have the following lines in my muttrc file:-
auto_view text/html
alternative_order text/html text/plain text
message-hook '~f .*ilovefreegle.org.*' 'alternative_order text/plain
text/html'
I am trying to match messages in a mailing list with a message-hook so
that I can change the alternative_order setting to prioritise plain
text for this one mailing list.
So, I have the following lines in my muttrc file:-
auto_view text/html
alternative_order text/html text/plain text
, Keith Smiley wrote:
> Hey everyone,
>
> I've had a long running problem with my mutt configuration when using
> message-hook to run a script for unread messages. The configuration looks like
> this:
>
> ```
> message-hook '~U !~T ~f notifications@github\.com
Hey everyone,
I've had a long running problem with my mutt configuration when using
message-hook to run a script for unread messages. The configuration looks like
this:
```
message-hook '~U !~T ~f notifications@github\.com' \
"push 'set my_old_pipe_decode=\$pipe
Hi all,
I'm using this trick to automatically mark a github notification as
read via HTTP whenever I read the corresponding notification email
in mutt:
message-hook "(~N|~O) ~f notificati...@github.com" "push
'read-github-notification\n'"
Full d
= '"➤ %H %C| ✣%N [%4Z] %-13L » %s %>
%4c"' # for macro "gi"
I want to apply similar rules on message-hook. but it can not work. (I guess
that maybe problem is
on the order of folder-hook and message-hook, maybe one will override another
one).
I want to become li
= '"➤ %H %C| ✣%N [%4Z] %-13L » %s %>
%4c"' # for macro "gi"
I want to apply similar rules on message-hook. but it can not work. (I guess
that maybe problem is
on the order of folder-hook and message-hook, maybe one will override another
one).
I want to become li
I think I have a better fix. I've included a patch that introduces a
search_regex pager setting. This allows one to initialize the search
string via a message-hook when entering the mutt pager. Here is an
example of how to use it:
message-hook '~s "^CR "' 'set s
x
> > mode and I have the following setting:
> >
> > message-hook '~s "^CR "' 'push ":macro pager / ^===\\ "'
> >
> > and I select a message with Subject: CR etc...
> > and I type s to save it I see:
> >
> >
On Thu, Oct 14, 2010 at 04:36:07PM -0500, Will Fiveash wrote:
> Actually, that's not really working for me as it interferes with other
> mutt functions like saving a message. For example when I'm in index
> mode and I have the following setting:
>
> message-hook '
ular subject. The reason I want this is that some messages
> > > I receive have sections with section delimiters and I want search
> > > initialized to that delimiter pattern. Is this possible and if so can
> > > someone give me a hint as to how?
> >
> > me
have sections with section delimiters and I want search
> > initialized to that delimiter pattern. Is this possible and if so can
> > someone give me a hint as to how?
>
> message-hook '~s pattern' 'macro pager n "^===";
> macro pager / "bind page
have sections with section delimiters and I want search
> > initialized to that delimiter pattern. Is this possible and if so can
> > someone give me a hint as to how?
>
> message-hook '~s pattern' 'macro pager n "^===";
> macro pager / "bind page
> > I receive have sections with section delimiters and I want search
> > initialized to that delimiter pattern. Is this possible and if so can
> > someone give me a hint as to how?
>
> message-hook
Thank
t; initialized to that delimiter pattern. Is this possible and if so can
> someone give me a hint as to how?
message-hook
--
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.
iter pattern. Is this possible and if so can
> someone give me a hint as to how?
message-hook '~s pattern' 'macro pager n "^===";
macro pager / "bind pager n search-next; bind pager / search; push /"'
message-hook . 'bind pager n search-next
I'd like to set search to a particular pattern when I view a message
with a particular subject. The reason I want this is that some messages
I receive have sections with section delimiters and I want search
initialized to that delimiter pattern. Is this possible and if so can
someone give me a hi
es?
Yes, there is a way: unhook. I've been using the same sort of
setup you're playing with for several years now and it works very
well. All my save-hooks are folder-independent, but I do have a lot
of folder-dependent message-hooks. My first folder-hook is this:
folder-hook . &
should consider, the delete action should vary. [...]
| > Now, I can write patterns to recognise messages but I don't know how to have
| > them take effect. Looking at "message-hook" in "man muttrc" it says that it
| > runs when a message is displayed/form
-all for
> messages
> I should consider, the delete action should vary. For example, I'd like
> certain logwatch messages to "delete" into a reports folder, work
> related discussion email to "delete" into the "work" folder etc.
>
> Now, I can wri
essages to "delete" into a reports folder, work
related discussion email to "delete" into the "work" folder etc.
Now, I can write patterns to recognise messages but I don't know how to have
them take effect. Looking at "message-hook" in "man muttrc&q
On Sun, Apr 13, 2008, Gary Johnson wrote:
> The alternative_order command does not set the alternative_order
> list to the command's arguments, it appends those arguments to the
> list. If you want to replace the contents of the alternative_order
> list, you'll need to execute the unalternative
On 2008-04-13, Ken Weingold <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 14, 2008, Christian Ebert wrote:
> > > message-hook '~f [EMAIL PROTECTED]' 'alternative_order text/html
> > > text/plain text/html'
> >
> > Why text/html tw
On Mon, Apr 14, 2008, Christian Ebert wrote:
> > message-hook '~f [EMAIL PROTECTED]' 'alternative_order text/html text/plain
> > text/html'
>
> Why text/html twice?
Woops. :) I took that out.
> > message-hook . 'alternative_order text/plain te
s HTML for that one address. This is what I have, along with
> auto_view:
>
> message-hook '~f [EMAIL PROTECTED]' 'alternative_order text/html text/plain
> text/html'
Why text/html twice?
> message-hook . 'alternative_order text/plain text/html text/rtf te
ust can't get it to only display
as HTML for that one address. This is what I have, along with
auto_view:
message-hook '~f [EMAIL PROTECTED]' 'alternative_order text/html text/plain
text/html'
message-hook . 'alternative_order text/plain text/html text/rtf text/x-vca
=- Ken Weingold wrote on Sat 12.Apr'08 at 19:54:50 -0400 -=
> I get messages from one person that are always on one line. It's
> from the Sun Java Messenger thing. I tried a message hook to
> handle the messages from that one address as HTML, but I don't
> want thi
I get messages from one person that are always on one line. It's from
the Sun Java Messenger thing. I tried a message hook to handle the
messages from that one address as HTML, but I don't want this default
for every message. It's not working for me, though. Here's the hoo
Hi Henry!
On Wednesday, August 22, 2007 at 6:48:32 +0900, Henry Nelson wrote:
[superscript one]
> In Alain's post it was a wide character, in Breen's, single width.
There is a problem: You're supposed to see question mark(s). You
have an EUC-JP-MS terminal, and its subset EUC-JP locale
On Wed, Aug 22, 2007 at 12:11:23PM +0900, Henry Nelson wrote:
> were lost and replaced with literal "?". Alain's was "$BB9(B" (_mago_,
> grand-
> child), iirc, and Breen's was "?" (_ke_, half-width katakana). (I see them
Probably no one interested, but as a final follow-up I'll mention here
t
On Tue, Aug 21, 2007 at 08:40:20PM -0600, Kyle Wheeler wrote:
> On Wednesday, August 22 at 06:48 AM, quoth Henry Nelson:
> >On Tue, Aug 21, 2007 at 01:39:49PM +0200, Alain Bench wrote:
> >> | message-hook pattern 'set display_filter="sed s/??/\\\047/g"'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wednesday, August 22 at 06:48 AM, quoth Henry Nelson:
>On Tue, Aug 21, 2007 at 01:39:49PM +0200, Alain Bench wrote:
>> | message-hook pattern 'set display_filter="sed s/??/\\\047/g"'
>
>On Tue, Aug 21, 2007
On Tue, Aug 21, 2007 at 01:39:49PM +0200, Alain Bench wrote:
> | message-hook pattern'set display_filter="sed s/??/\\\047/g"'
On Tue, Aug 21, 2007 at 07:29:27AM -0700, Breen Mullins wrote:
> * Alain Bench <[EMAIL PROTECTED]> [2007-08-21 13:39 +0200]:
>
* Alain Bench <[EMAIL PROTECTED]> [2007-08-21 13:39 +0200]:
| set config_charset=utf-8 # muttrc's charset
|
| message-hook ."unset display_filter"
| message-hook pattern 'set display_filter="sed s/¹/\\\047/g"'
That's done it. Thank
muttrc, and let
Mutt's $config_charset feature convert it to whatever is the current
locale:
| set config_charset=utf-8 # muttrc's charset
|
| message-hook . "unset display_filter"
| message-hook pattern 'set display_filter="sed s/¹/\\\047/g"
* Kyle Wheeler <[EMAIL PROTECTED]> [2007-08-20 20:21 -0600]:
Heh, OSX's sed can handle the character directly. For example:
/usr/bin/sed "s/¹/'/g"
Huh. So it can. Now all I have to do is sort out the quoting in the
message-hook...
Thanks again!
--
Breen Mullins
Menlo Park, California
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, August 20 at 05:25 PM, quoth Breen Mullins:
>> The best way to fix this is with sed, rather than tr:
>>
>> sed "s/\o302\o271/'/g"
>>
>> (That's for GNU sed; other sed's use different syntax for
>> specifying bytes.)
>
> Yeah. OS X here
* Kyle Wheeler <[EMAIL PROTECTED]> [2007-08-20 09:50 -0600]:
Aha! :)
It's pretty obvious when you think about it. Let me guess, you use a
UTF-8 locale?
Yep.
The tr program, knowing only bytes, finds the 0xB9 byte and transforms
it into 0x27, just like you told it to, leaving 0xC2 0x27. Be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, August 20 at 07:40 AM, quoth Breen Mullins:
> * Kyle Wheeler <[EMAIL PROTECTED]> [2007-08-20 07:42
> -0600]:
>
>> On Sunday, August 19 at 12:41 PM, quoth Breen Mullins:
>>> I've wrestled with this one for a few days and I'm not getting
>>>
* Kai Grossjohann <[EMAIL PROTECTED]> [2007-08-20 17:36 +0200]:
Type Ctrl-E on the message and replace the charset iso-8859-1 with
Windows-1252. If the message has multiple parts, hit v then choose the
part that is displayed wrongly, then do Ctrl-E as described above.
Does it help?
Nope. Sti
h in a reply with a
> vim mapping. But it's annoying and I'd like to fix the display.
> I tried this message-hook:
> message-hook "~f \"[EMAIL PROTECTED]"" \ "set display_filter='tr 271
> 047'"
>
> The hook starts off out r
* Kyle Wheeler <[EMAIL PROTECTED]> [2007-08-20 07:42 -0600]:
On Sunday, August 19 at 12:41 PM, quoth Breen Mullins:
I've wrestled with this one for a few days and I'm not getting
anywhere.
It should be simple (and probably is!) but I'm not seeing it.
Could you post an example message so that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday, August 19 at 12:41 PM, quoth Breen Mullins:
> I've wrestled with this one for a few days and I'm not getting
> anywhere.
> It should be simple (and probably is!) but I'm not seeing it.
Could you post an example message so that we can exami
#x27;s annoying and I'd like to fix the display.
I tried this message-hook:
message-hook "~f \"[EMAIL PROTECTED]"" \ "set display_filter='tr 271
047'"
The hook starts off out right - it fires on her emails and attempts the
replacement at the
On 020328, at 00:15:42, Sven Guckes wrote
> * Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-27 23:05]:
> > On Mar 27, Sven Guckes [[EMAIL PROTECTED]] wrote:
> > > There is no way to remove a message-hook, is there?
> > unhook message-hook
> > This removes all
* Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-28 01:17]:
> > i find it bad by design that "message-hook" does
> > not have an matching "unmessage-hook" command.
> There's really no difference between 'unmessage-hook',
> 'unsend-hook
t itches you.
>
> so much for theory.
?
> well, i find it bad by design that "message-hook" does not have an
> matching "unmessage-hook" command.
There's really no difference between 'unmessage-hook', 'unsend-hook',
'unfoo-hook'
* Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-27 23:49]:
> > Sven [adding one more item for the pet peeves list]
> The un* functions are pretty clean; I doubt it would
> be very hard to scratch this one if it itches you.
so much for theory.
well, i find it bad by design
On Mar 28, Sven Guckes [[EMAIL PROTECTED]] wrote:
> * Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-27 23:05]:
> > On Mar 27, Sven Guckes [[EMAIL PROTECTED]] wrote:
> > > There is no way to remove a message-hook, is there? So once you
> > unhook message-hook
>
* Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-27 23:05]:
> On Mar 27, Sven Guckes [[EMAIL PROTECTED]] wrote:
> > There is no way to remove a message-hook, is there?
> > So once you screw up with the pattern or whatever then
> > you have to correct your setup and re
Sven --
...and then Sven Guckes said...
%
% * David T-G <[EMAIL PROTECTED]> [2002-03-25 15:04]:
% > Rob --
% > ...and then Feztaa said...
% > % Alas! Sven Guckes spake thus:
% > % > Sven [mmh.. ye... deeper.. oh, yeah..]
% > % You sure that's a massage you're getting? ;)
% > No, it's a m-e-
* David T-G <[EMAIL PROTECTED]> [2002-03-25 15:04]:
> Rob --
> ...and then Feztaa said...
> % Alas! Sven Guckes spake thus:
> % > Sven [mmh.. ye... deeper.. oh, yeah..]
> % You sure that's a massage you're getting? ;)
> No, it's a m-e-ssage, but it's from one of "those" lists ;-)
just ask Da
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Said Erik van der Meulen on Mon, Feb 25, 2002 at 06:49:13AM +0100:
> I have found in some Spamassassin document the tip to include:
>
> message-hook "~h X-Spam-Status:.*tests=.+" "unignore X-Spam"
>
> in .muttr
On Mon, Feb 25, 2002 at 00:31:33 -0800, Will Yardley wrote:
> the current version of mutt in woody is 1.3.27.
> ladd% dpkg -l | grep mutt
> ii mutt 1.3.27-2 Text-based mailreader supporting MIME, GPG,
> ladd% cat /etc/debian_version
> 3.0
> perhaps you're running potato?
Ah
Erik van der Meulen wrote:
>
> Thanks for your suggestion. I would however rather wait for the package
> to arrive for my Debian Woody distribution and upgrade than. I am quite
> happy with mutt as I have it (the IMAP improvements do make it
> attractive)
the current version of mutt in woody is
On Mon, Feb 25, 2002 at 07:40:28 +, Benjamin Smith wrote:
> Yes, this appeared sometime around 1.3.2x, although it is certainly
> worth upgrading as the 1.3 versions seem quite stable and have many new
> features (plus improved IMAP) over 1.2.
Thanks for your suggestion. I would however rath
On Mon, Feb 25, 2002 at 06:49:13AM +0100, Erik van der Meulen wrote:
> Am I right in assuming my version does not have this feature?
Yes, this appeared sometime around 1.3.2x, although it is certainly
worth upgrading as the 1.3 versions seem quite stable and have many new
features (plus improved
Dear List - I have found in some Spamassassin document the tip to
include:
message-hook "~h X-Spam-Status:.*tests=.+" "unignore X-Spam"
in .muttrc, in order to show this particular spam-header.
Unfortunately, my mutt version (1.2.5i) does not really like this. In
the docu
At 14:31 -0800 14 Jan 2002, Will Yardley <[EMAIL PROTECTED]> wrote:
> i'd like to use some message hooks to deal with setting / unsetting
> p_c_t when replying to messages but i'd like to set a default
> send-hook for composing new messages regardless of the message-h
ose a new
message, p_c_t is still going to be set based on the message-hook.
so the problem (as i see it) is to somehow manage to have both send-hook
and message-hook work. does that make sense?
w
David T-G wrote:
>
> Does the suggestion to instead send pgp-mime by default and
> clearsigned by special case count? ;-)
why would you want to do this? pgp-mime is the exception, not the norm.
how about not making suggestions at all if you don't have something
useful to suggest. just a sugges
At some point hitherto, David T-G hath spake thusly:
> % basically i'd like to send clearsigned by default, unless someone's
> % using a mailer that can deal with pgp/mime (like mutt, evolution,
> % sylpheed, etc).
>
> Does the suggestion to instead send pgp-mime by default and clearsigned
> by s
At some point hitherto, Will Yardley hath spake thusly:
> i'd like to use some message hooks to deal with setting / unsetting
> p_c_t when replying to messages but i'd like to set a default
> send-hook for composing new messages regardless of the message-hook.
>
>
Will --
...and then Will Yardley said...
%
% any suggestions?
...
% basically i'd like to send clearsigned by default, unless someone's
% using a mailer that can deal with pgp/mime (like mutt, evolution,
% sylpheed, etc).
Does the suggestion to instead send pgp-mime by default and clearsigned
b
i'd like to use some message hooks to deal with setting / unsetting
p_c_t when replying to messages but i'd like to set a default
send-hook for composing new messages regardless of the message-hook.
any suggestions?
i'm doing stuff like thi
On 2002-01-01 10:03 +, Benjamin Smith wrote:
> On Mon, Dec 31, 2001 at 01:36:03PM +0100, Andre Majorel wrote:
> > On 2001-12-28 18:22 +0100, Roman Neuhauser wrote:
> >
> > > > I thought that
> > > >
> > > > message-hook "
(Neat feature: tagged reply)
On Mon, Dec 31, 2001 at 01:36:03PM +0100, Andre Majorel wrote:
> On 2001-12-28 18:22 +0100, Roman Neuhauser wrote:
>
> > > I thought that
> > >
> > > message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/un
On 2001-12-28 17:15 +0100, Nicolas Rachinsky wrote:
> On Fri, Dec 28, 2001 at 05:09:05PM +0100, Andre Majorel <[EMAIL PROTECTED]>
> wrote:
> > I thought that
> >
> > message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
>
On 2001-12-28 18:22 +0100, Roman Neuhauser wrote:
> > I thought that
> >
> > message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
> >
> > would do the trick but Mutt says "pipe-message: unknown command".
>
&g
ose to something less obnoxious. Now how do I
> > configure Mutt to automatically pipe his messages through the
> > filter when reading or replying to him ?
> >
> > I thought that
> >
> > message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/un
Andre & Dan --
...and then Andre Majorel said...
%
% There is one guy out there who has particular and very annoying
% writing idiosyncracies (think Prince or B1FF). I wrote a filter to
...
...and then Dan Boger said...
%
% well, not sure how to do it with mutt - I have written a similar filte
> Date: Fri, 28 Dec 2001 17:09:05 +0100
> From: Andre Majorel <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Using message-hook to run messages through a filter
>
> There is one guy out there who has particular and very annoying
> writing idiosyncracies (think
utomatically pipe his messages through the
> filter when reading or replying to him ?
>
> I thought that
>
> message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
>
> would do the trick but Mutt says "pipe-message: unknown command&q
On Fri, Dec 28, 2001 at 05:09:05PM +0100, Andre Majorel <[EMAIL PROTECTED]> wrote:
> I thought that
>
> message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
>
> would do the trick but Mutt says "pipe-message: unknow
?
I thought that
message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
would do the trick but Mutt says "pipe-message: unknown command".
--
André Majorel http://www.teaser.fr/~amajorel/>
std::disclaimer ("Not speaking for my employer");
78 matches
Mail list logo