Re: index_format

2022-07-26 Thread Dennis Preiser
On Tue, Jul 26, 2022 at 08:30:27PM +0200, Fourhundred Thecat wrote: >> On 2022-07-26 19:38, Dennis Preiser wrote: >> set size_show_mb >> index-format-hook size_flags "~z -1M" " " >> index-format-hook size_flags "~z >1M" "%5c&qu

Re: index_format

2022-07-26 Thread Fourhundred Thecat
> On 2022-07-26 19:38, Dennis Preiser wrote: On Tue, Jul 26, 2022 at 04:53:28PM +0200, Fourhundred Thecat wrote: I have following index_format: set size_show_mb index-format-hook size_flags "~z -1M" " " index-format-hook size_flags "~z >1M" "%5c

Re: index_format

2022-07-26 Thread Dennis Preiser
On Tue, Jul 26, 2022 at 04:53:28PM +0200, Fourhundred Thecat wrote: > I have following index_format: > > index_format="%{%Y-%b-%d %H:%M} %?X?(%X)& ? %-25.25F %.96s %> %5c" > > I would like to make following change to the last column, where message > siz

index_format

2022-07-26 Thread Fourhundred Thecat
Hello, I have following index_format: index_format="%{%Y-%b-%d %H:%M} %?X?(%X)& ? %-25.25F %.96s %> %5c" I would like to make following change to the last column, where message size is shown: 1) if message size is less than 0.1M, show empty column 2) if message size is mo

Re: bypassing $reverse_alias in $index_format

2020-10-21 Thread Cameron Simpson
ript to extract >>>the name part of the full address? >>> >>>set index_format="%D %@from_part@ %S %?M?(%M) ?%?H?[%H] ?%s%* %?y? y? >>> %4c" >>>index-format-hook from_part '%f polyname' "~/bin/extractname '%f'|" >>>i

Re: bypassing $reverse_alias in $index_format

2020-10-21 Thread Cameron Simpson
On 29Jul2020 09:13, Cameron Simpson wrote: >On 28Jul2020 13:27, Kevin J. McCarthy wrote: >>On Tue, Jul 28, 2020 at 12:52:02PM +1000, Cameron Simpson wrote: >>>What I would rather do is keep the full name in my alias, but have some >>>kind of $index_format format str

Toggling multiple index_format or limits

2020-08-03 Thread Kevin J. McCarthy
[I'm moving this into a separate thread, because it doesn't directly help Leho.] Here's a little bit of new functionality I've added to master for the next release. I just wanted to give a peek. (Both require enabling $muttlisp_inline_eval). Three-way $index_format toggle. (The index

Re: bypassing $reverse_alias in $index_format

2020-07-28 Thread Cameron Simpson
On 28Jul2020 13:27, Kevin J. McCarthy wrote: >On Tue, Jul 28, 2020 at 12:52:02PM +1000, Cameron Simpson wrote: >>What I would rather do is keep the full name in my alias, but have some >>kind of $index_format format string which accesses the "raw" full name >>

Re: bypassing $reverse_alias in $index_format

2020-07-28 Thread Kevin J. McCarthy
On Tue, Jul 28, 2020 at 12:52:02PM +1000, Cameron Simpson wrote: What I would rather do is keep the full name in my alias, but have some kind of $index_format format string which accesses the "raw" full name from the message header instead of the name from $reverse_alias. Is this pos

bypassing $reverse_alias in $index_format

2020-07-27 Thread Cameron Simpson
es. This is goming to be fragile for me, and feels hacky. I looked at using the recent %@macro@ syntax, here's part of my attempt there: set index_format="%D %@from_part@ %S %?M?(%M) ?%?H?[%H] ?%s%* %?y? y? %4c" index-format-hook from_part '%f polyname' 'ZZ%F' index

Re: conditional index_format

2020-06-12 Thread steve
Hi, Thanks for your answer. Le 10-06-2020, à 09:58:05 -0700, Kevin J. McCarthy a écrit : On Wed, Jun 10, 2020 at 04:11:58PM +0200, steve wrote: When forwarding a message to recipient R, that message is listed as the author (me) since I defined $index_format with the %n variable. This is fine

Re: conditional index_format

2020-06-10 Thread Kevin J. McCarthy
On Wed, Jun 10, 2020 at 04:11:58PM +0200, steve wrote: When forwarding a message to recipient R, that message is listed as the author (me) since I defined $index_format with the %n variable. This is fine when I create a message or reply to a message, but it would be more convenient to see

conditional index_format

2020-06-10 Thread steve
Hi, When forwarding a message to recipient R, that message is listed as the author (me) since I defined $index_format with the %n variable. This is fine when I create a message or reply to a message, but it would be more convenient to see the recipient's name when I forward a message. So

Re: In index_format, what does %? mean?

2015-06-19 Thread Erik Christiansen
On 18.06.15 16:55, Alan Mackenzie wrote: Just as a matter of interest, when I hit F1 in mutt, I get the error message: sh: sensible-pager: command not found gzip: /usr/share/doc/mutt/manual.txt.gz: No such file or directory Press any key to continue... The manual is actually at

Re: In index_format, what does %? mean?

2015-06-18 Thread Alan Mackenzie
Hello, Michael. On Thu, Jun 18, 2015 at 12:41:22PM +0200, Michael Tatge wrote: Hi Allen, * On Thu, Jun 18, 2015 10:23AM + Alan Mackenzie (a...@muc.de) muttered: The default value of the configuration variable index_format is %4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s

Re: In index_format, what does %? mean?

2015-06-18 Thread Jon LaBadie
On Thu, Jun 18, 2015 at 08:45:14PM +1000, Erik Christiansen wrote: On 18.06.15 10:23, Alan Mackenzie wrote: The parentheses are literal characters, but what do all the ?s mean? In the manual, section: 30.2. Conditionals Just searching the manual for $? gets there quite quickly, without

Re: In index_format, what does %? mean?

2015-06-18 Thread Erik Christiansen
On 18.06.15 09:47, Jon LaBadie wrote: I was certain you meant %?. But to be certain I looked at my manual.txt and searched for '$?'. There were tons of them. Yet there were zero '$?' in my manual.html. Jon, you're spot on. Sorry for the typo. (Late in the day, when there's too little

Re: In index_format, what does %? mean?

2015-06-18 Thread Alan Mackenzie
Hello, Erik. On Fri, Jun 19, 2015 at 01:35:57AM +1000, Erik Christiansen wrote: The manual I use; just hit F1 in mutt, does (AIUI) a zcat /usr/share/doc/mutt/manual.txt.gz but a search found no \$\? there. (So circumstances have conspired to confuse.) Just as a matter of interest, when I

In index_format, what does %? mean?

2015-06-18 Thread Alan Mackenzie
Hello, mutt. I'm using mutt 1.5.23. The default value of the configuration variable index_format is %4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s. My personal value is similar. The construct (%?l?%4l%4c?) puzzles me. The parentheses are literal characters, but what do all the ?s mean

Re: In index_format, what does %? mean?

2015-06-18 Thread Christian Brabandt
Am 2015-06-18 12:23, schrieb Alan Mackenzie: Hello, mutt. I'm using mutt 1.5.23. The default value of the configuration variable index_format is %4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s. My personal value is similar. The construct (%?l?%4l%4c?) puzzles me. The parentheses are literal

Re: In index_format, what does %? mean?

2015-06-18 Thread Michael Tatge
Hi Allen, * On Thu, Jun 18, 2015 10:23AM + Alan Mackenzie (a...@muc.de) muttered: The default value of the configuration variable index_format is %4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s. The construct (%?l?%4l%4c?) puzzles me. The parentheses are literal characters, but what

Re: In index_format, what does %? mean?

2015-06-18 Thread Erik Christiansen
On 18.06.15 10:23, Alan Mackenzie wrote: The parentheses are literal characters, but what do all the ?s mean? In the manual, section: 30.2. Conditionals Just searching the manual for $? gets there quite quickly, without any knowledge of its existence. Erik -- Looking into the UN's crystal

Re: set different index_format for mails

2011-11-14 Thread stardiviner
emails in the index but you can colour different email entries differently. Actually, it is. If you set index_format to a shell command that ends with a pipe, that Mutt will run that shell command for each message and use the output as the actual index_format. If you pass index_format

Re: set different index_format for mails

2011-11-09 Thread stardiviner
= On [2011-11-08 09:13:27 -0800]: Gary Johnson Said: On 2011-11-08, Gregor Zattler wrote: Hi stardiviner, * stardiviner [08. Nov. 2011]: = On [2011-11-08 11:40:18 +0100]: * stardiviner [08. Nov. 2011]: Is there other way to set different *index_format* for mails

Re: set different index_format for mails

2011-11-09 Thread Ed Blackman
entries differently. Actually, it is. If you set index_format to a shell command that ends with a pipe, that Mutt will run that shell command for each message and use the output as the actual index_format. If you pass index_format expandos as arguments, Mutt will pass the expanded string. The shell

Re: set different index_format for mails

2011-11-09 Thread Gary Johnson
On 2011-11-09, stardiviner wrote: = On [2011-11-08 09:13:27 -0800]: Gary Johnson Said: You can also use conditional elements in index_format that will print different pieces of information depending on the values of other pieces of information. This is explained in the mutt manual

Re: set different index_format for mails

2011-11-08 Thread Gregor Zattler
Hi stardiviner, * stardiviner numbch...@gmail.com [08. Nov. 2011]: I try to set different *index_format* for maials. like this: message-hook ~g set index_format = ' A %H %C| +%N [%4Z] %-13L %s % %4c' # signed message-hook ~g set index_format = ' B %H %C| %N [%4Z] %-13L %s

Re: set different index_format for mails

2011-11-08 Thread stardiviner
= On [2011-11-08 11:40:18 +0100]: Gregor Zattler Said: Hi stardiviner, * stardiviner numbch...@gmail.com [08. Nov. 2011]: I try to set different *index_format* for maials. like this: message-hook ~g set index_format = ' A %H %C| +%N [%4Z] %-13L %s % %4c' # signed

Re: set different index_format for mails

2011-11-08 Thread Gregor Zattler
Hi stardiviner, * stardiviner numbch...@gmail.com [08. Nov. 2011]: = On [2011-11-08 11:40:18 +0100]: * stardiviner numbch...@gmail.com [08. Nov. 2011]: Is there other way to set different *index_format* for mails ? index_format describes the format of your index which shows (normally

Re: set different index_format for mails

2011-11-08 Thread stardiviner
= On [2011-11-08 14:13:05 +0100]: Gregor Zattler Said: Hi stardiviner, * stardiviner numbch...@gmail.com [08. Nov. 2011]: = On [2011-11-08 11:40:18 +0100]: * stardiviner numbch...@gmail.com [08. Nov. 2011]: Is there other way to set different *index_format* for mails ? index_format

Re: set different index_format for mails

2011-11-08 Thread Ed Blackman
On Tue, Nov 08, 2011 at 02:13:05PM +0100, Gregor Zattler wrote: It's not possible to change the index format for individual emails in the index but you can colour different email entries differently. Actually, it is. If you set index_format to a shell command that ends with a pipe, that Mutt

Re: set different index_format for mails

2011-11-08 Thread Gary Johnson
On 2011-11-08, Gregor Zattler wrote: Hi stardiviner, * stardiviner [08. Nov. 2011]: = On [2011-11-08 11:40:18 +0100]: * stardiviner [08. Nov. 2011]: Is there other way to set different *index_format* for mails ? index_format describes the format of your index which shows (normally

Re: set different index_format for mails

2011-11-08 Thread Chip Camden
Quoth Gary Johnson on Tuesday, 08 November 2011: On 2011-11-08, Gregor Zattler wrote: Hi stardiviner, * stardiviner [08. Nov. 2011]: = On [2011-11-08 11:40:18 +0100]: * stardiviner [08. Nov. 2011]: Is there other way to set different *index_format* for mails ? index_format

Re: set different index_format for mails

2011-11-08 Thread David Champion
* On 08 Nov 2011, Chip Camden wrote: As an example, I have this string as part of my index_format. %?X?* ? If the number of attachments (X) is non-zero, * is inserted. Otherwise, is inserted. That doesn't seem to work for me (it always prints the *). What versions

Re: set different index_format for mails

2011-11-08 Thread Gary Johnson
On 2011-11-08, Chip Camden wrote: Quoth Gary Johnson on Tuesday, 08 November 2011: As an example, I have this string as part of my index_format. %?X?* ? If the number of attachments (X) is non-zero, * is inserted. Otherwise, is inserted. That doesn't seem to work for me

Re: set different index_format for mails

2011-11-08 Thread David Champion
* On 08 Nov 2011, Gary Johnson wrote: I don't know--I've been out of the development loop for a while. I've used conditionals in my status_format for a long time, at least as far back as 1.4.2.2i. I think the %X sequence may be fairly recent, though, introduced in 1.5.something. I

Re: set different index_format for mails

2011-11-08 Thread stardiviner
index_format to a shell command that ends with a pipe, that Mutt will run that shell command for each message and use the output as the actual index_format. If you pass index_format expandos as arguments, Mutt will pass the expanded string. The shell command could then use that to emit different

Re: set different index_format for mails

2011-11-08 Thread stardiviner
= On [2011-11-08 09:13:27 -0800]: Gary Johnson Said: On 2011-11-08, Gregor Zattler wrote: Hi stardiviner, * stardiviner [08. Nov. 2011]: = On [2011-11-08 11:40:18 +0100]: * stardiviner [08. Nov. 2011]: Is there other way to set different *index_format* for mails

set different index_format for mails

2011-11-07 Thread stardiviner
I try to set different *index_format* for maials. like this: message-hook ~g set index_format = ' A %H %C| +%N [%4Z] %-13L %s % %4c' # signed message-hook ~g set index_format = ' B %H %C| %N [%4Z] %-13L %s % %4c' # replied This does not work. But folder-hook can set different

message-hook for set index_format

2011-11-04 Thread stardiviner
I want to set different index_format for different mails. Just like set different index_format for different mailbox. Like this example: folder-hook \!set index_format = '%H %C| %N [%4Z] %-13L » %s % %4c' folder-hook =INBOX set index_format = '➤ %H %C| ✣%N [%4Z] %-13L » %s

message-hook for set index_format

2011-11-03 Thread stardiviner
I want to set different index_format for different mails. Just like set different index_format for different mailbox. Like this example: folder-hook \!set index_format = '%H %C| %N [%4Z] %-13L » %s % %4c' folder-hook =INBOX set index_format = '➤ %H %C| ✣%N [%4Z] %-13L » %s

Expanding index_format variables in push command

2011-06-13 Thread Mikolaj Kucharski
Hi, Is there any way that mutt can expand for example %{fmt} variable in push command? Here is example, message under cursor is from year 2011, I'm executing following command in mutt 1.5.21: :push change-folder=Archives/%{!%Y}enter and I would like that mutt will do command equivalent

Re: question marks in default index_format

2009-02-02 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, February 2 at 12:21 PM, quoth Paul E Condon: I'm puzzled by the default index_format which is, I think: set index_format=%4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s I don't understand the string inside parentheses. Where can I find

Re: question marks in default index_format

2009-02-02 Thread Gary Johnson
On 2009-02-02, Paul E Condon pecon...@mesanetworks.net wrote: I'm puzzled by the default index_format which is, I think: set index_format=%4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s I don't understand the string inside parentheses. Where can I find an explanation? Question marks often invoke

question marks in default index_format

2009-02-02 Thread Paul E Condon
I'm puzzled by the default index_format which is, I think: set index_format=%4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s I don't understand the string inside parentheses. Where can I find an explanation? Question marks often invoke some sort of conditional action, but I don't see them in printf

Re: question marks in default index_format

2009-02-02 Thread Michael Tatge
* On Mon, Feb 02, 2009 12:21PM -0700 Paul E Condon (pecon...@mesanetworks.net) muttered: set index_format=%4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s I don't understand the string inside parentheses. Where can I find an explanation? Question marks often invoke some sort of conditional action

Re: question marks in default index_format (solved)

2009-02-02 Thread Paul E Condon
In the manual at www.mutt.org/doc/manual, there is no section 3.277. But there is documantation of status_format in section 6.1 and it describes the use of the question mark. The description of status_format in the man page also describes the use of the question mark. Thanks to all -- Paul E

Re: Index_format - show expired

2009-01-26 Thread Anton Achatz
Thanks for your help, but i know the page of Gary Johnson. My question is, if there is a possibility to show the expire-date at the index (index_format). Sorry about the encrypted signature, but iam working at a university and this is my standard to send mails. So now without signature. Toni

Re: Index_format - show expired

2009-01-26 Thread Patrick Shanahan
* Anton Achatz anton.ach...@fh-deggendorf.de [01-26-09 08:58]: Thanks for your help, but i know the page of Gary Johnson. My question is, if there is a possibility to show the expire-date at the index (index_format). Sorry about the encrypted signature, but iam working at a university

Index_format - show expired

2009-01-25 Thread Anton Achatz
Hi, I'm using the mutt-utils (mutt-expires-editor) to set an expire date in the mail. Is it possible to show this date in the index? greetings Toni smime.p7s Description: S/MIME cryptographic signature

Re: Different $date_format in $index_format and $attribution

2009-01-12 Thread Rado S
=- Christian Mongeau wrote on Sat 10.Jan'09 at 17:27:01 +0100 -= How can I change the $date_format in the index after setting it with a reply-hook? Maybe replace your send key with a macro to reset date_format after sending. -- © Rado S. -- You must provide YOUR effort for your goal! EVERY

Re: Different $date_format in $index_format and $attribution

2009-01-12 Thread Christian Mongeau
On Mon, Jan 12, 2009 at 10:27:44AM +0100, Rado S wrote: =- Christian Mongeau wrote on Sat 10.Jan'09 at 17:27:01 +0100 -= How can I change the $date_format in the index after setting it with a reply-hook? Maybe replace your send key with a macro to reset date_format after sending. Ah,

Different $date_format in $index_format and $attribution

2009-01-10 Thread Christian Mongeau
Hi List, I'd like to have date_format=%d/%b %H:%M in the message index and a more detailed one (date_format=!%a, %b %d, %Y at %I:%M:%S%p %Z) in the $attribution. I tried this: folder-hook . 'set date_format=%d/%b %H:%M' reply-hook . 'set date_format=!%a, %b %d, %Y at %I:%M:%S%p %Z' but I read

Re: index_format setting to show yr

2008-06-21 Thread SK
On Fri, Jun 20, 2008 at 7:42 PM, David Champion [EMAIL PROTECTED] wrote: Is there any way to setup mutt (the date_format variable?) such that in the index view, the year is shown only if the year of the message is different from the current year? The default %d shows only the Month date.

Re: index_format setting to show yr

2008-06-20 Thread David Champion
Is there any way to setup mutt (the date_format variable?) such that in the index view, the year is shown only if the year of the message is different from the current year? The default %d shows only the Month date. You need the date_conditional patch to make date formats conditional upon

Re: index_format setting to show yr

2008-06-20 Thread Michael Kjorling
On 20 Jun 2008 12:42 -0500, by [EMAIL PROTECTED] (David Champion): You need the date_conditional patch to make date formats conditional upon relative date offsets, but even so you can only say in the last 6 months or the like -- not in the current year. I haven't looked at this particular

index_format setting to show yr

2008-06-12 Thread SK
Hi, Is there any way to setup mutt (the date_format variable?) such that in the index view, the year is shown only if the year of the message is different from the current year? The default %d shows only the Month date. Thanks, SK

Re: Drafts index_format

2008-06-07 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday, June 7 at 12:27 PM, quoth Rado S: =- Kyle Wheeler wrote on Fri 6.Jun'08 at 16:36:22 -0500 -= I use folder-hooks to set the index_format; for example, in folders of mailing list messages, I use an index_format that always shows

Re: Drafts index_format

2008-06-07 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, June 6 at 07:56 PM, quoth [EMAIL PROTECTED]: Thus spake Kyle Wheeler [06/06/08 @ 16.36.22 -0500]: Does anyone know how to set a hook to change the index_format in the Postponed Messages selector? I use folder-hooks to set

Re: Drafts index_format

2008-06-07 Thread dv1445
Thus spake Kyle Wheeler [06/07/08 @ 14.37.40 -0500]: On Friday, June 6 at 07:56 PM, quoth [EMAIL PROTECTED]: Thus spake Kyle Wheeler [06/06/08 @ 16.36.22 -0500]: Does anyone know how to set a hook to change the index_format in the Postponed Messages selector? I use folder-hooks

Drafts index_format

2008-06-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Does anyone know how to set a hook to change the index_format in the Postponed Messages selector? I use folder-hooks to set the index_format; for example, in folders of mailing list messages, I use an index_format that always shows

Re: Drafts index_format

2008-06-06 Thread dv1445
Thus spake Kyle Wheeler [06/06/08 @ 16.36.22 -0500]: Does anyone know how to set a hook to change the index_format in the Postponed Messages selector? I use folder-hooks to set the index_format; for example, in folders of mailing list messages, I use an index_format that always shows

index_format - indicate which email has attachment

2007-10-06 Thread Joseph
Is it possible to show in index display which email has an attachment? I was looking for a solution but it seems to me I need to install a patch in order to show this information in index_format. This page indicate I would need this patch in order to show this information: http

Re: index_format - indicate which email has attachment

2007-10-06 Thread Christian Ebert
* Joseph on Saturday, October 06, 2007 at 00:48:00 -0600 Is it possible to show in index display which email has an attachment? I was looking for a solution but it seems to me I need to install a patch in order to show this information in index_format. Your version of Mutt should already have

Re: index_format - indicate which email has attachment

2007-10-06 Thread Joseph
in index_format. Your version of Mutt should already have the patch included. Experiment with %X in index format, and have a look at the, you know, fine manual: %X number of qualifying MIME parts in this part and its children (please see the ``attachments'' section for possible

Re: index_format - indicate which email has attachment

2007-10-06 Thread Rocco Rutte
set my index like this it displays 0 on all files, even the one with attachments. set index_format=%4C %Z %d %X %-15.15n (%?l?%4l%4c?) %s Did you properly configure all 'attachment' commands (see the system Muttrc file for examples) or did you just add '%X' to $index_format? You have

Re: index_format - indicate which email has attachment

2007-10-06 Thread David Champion
Did you properly configure all 'attachment' commands (see the system Muttrc file for examples) or did you just add '%X' to $index_format? You have to tell mutt what an you consider an attachment before %X does display the counts in $index_format. Right. You can type :attachments

Re: index_format - indicate which email has attachment

2007-10-06 Thread Joseph
On 10/06/07 13:44, David Champion wrote: Right. You can type :attachments ? (no quotes) into mutt to see what settings it has now. The defaults come from the system muttrc: Current attachments settings: attachments +A */.* attachments -A text/x-vcard attachments -A application/pgp.*

Re: index_format - indicate which email has attachment

2007-10-06 Thread Gary Johnson
On 2007-10-06, Joseph [EMAIL PROTECTED] wrote: Thanks Dave for the example, no my muttrc did not come with these defaults, and yes it works now. It displays attachments but is there a way to suppress the 0 if there is no attachment. The 'index_format' accepts conditional elements, so

Re: index_format - indicate which email has attachment

2007-10-06 Thread David Champion
Thanks Dave for the example, no my muttrc did not come with these defaults, and yes it works now. These defaults are installed when you build from source. Are you using a distributed package? If so, sounds like someone oopsed. It displays attachments but is there a way to suppress the 0

Re: index_format - indicate which email has attachment

2007-10-06 Thread Joseph
move=no set index_format=%4C %Z %{%b %d} %-16.16L %s and that is all. Though, there is a pointer to Gentoo Mutt Guide which is very, very good example in explaining the basics and if a user want something fancy we need to pull our sleeves up get to work :-) Though they have one

autre pb avec index_format

2004-10-06 Thread Philippe Monroux
re bonjour, dans set index_format=%4C %Z %[!%d/%m] %-17.17F (%3l) %s %3l me renvoie tjrs 0 alors qu'il devrait me renvoyer le nombre de ligne non ? -- Philippe Monroux Ile de la Reunion E 55.3 S 21.5

Re: autre pb avec index_format

2004-10-06 Thread Philippe Monroux
Bonjour, Le mer 06 oct 2004, à 10 h 37 min 38 s (UTC +0200), vous (Loïc Minier [EMAIL PROTECTED]) avez écrit : %3l me renvoie tjrs 0 alors qu'il devrait me renvoyer le nombre de ligne non ? Il me semble qu'il utilises le header Lines: (mais je n'ai pas vérifié). J'ai ça dans mon

problème avec index_format

2004-10-05 Thread Philippe Monroux
bonjour, Dans muttrc quand je mets : set index_format=%4C %Z %[!%d/%m] %-17.17F (%3l) %s ça marche bien mais lorsque je mets : folder-hook sent set index_format=%4C %Z %[!%d/%m] %-17.17t (%3l) %s pour changer le format d'affichage de l'index de la boite des mails envoyés (sent) là cela ne

Re: subscribe command and %L in index_format

2002-09-25 Thread Rob Lingelbach
On Tue, 24 Sep 2002, Sven Guckes wrote: set index_format=%4C %Z %[!%y%m%d] %-17.17F (%3l) %s you are mixing up %Z with %F there. rtfm. thank you Sven. I read the fine manual a few times and can't find --you know, it's part of human nature to make the same mistake more than once

Re: subscribe command and %L in index_format

2002-09-25 Thread kevin lyda
On Wed, Sep 25, 2002 at 12:42:36PM -0700, Rob Lingelbach wrote: set index_format=%4C %Z %[!%y%m%d] %-17.17F (%3l) %s thank you Sven. I read the fine manual a few times and can't find --you know, it's part of human nature to make the same mistake more than once, according to physicist

subscribe command and %L in index_format

2002-09-24 Thread Rob Lingelbach
is there a way to use 'subscribe' and index_format to have the 'L' flag on a message to show it's from a list, but instead of having the string To list returned, return the name of the author, as would happen if I didn't have the list subscribed? in other words i like the L flag

Re: subscribe command and %L in index_format

2002-09-24 Thread Sven Guckes
* Rob Lingelbach [EMAIL PROTECTED] [2002-09-24 13:08]: is there a way to use 'subscribe' and index_format to have the 'L' flag on a message to show it's from a list, but instead of having the string To list returned, return the name of the author, as would happen if I didn't have the list

Re: folder-hook index_format

2002-04-18 Thread Michael Montagne
index_format=%d %t (%3l) %s Works here. Why not use %v or %L instead ot %t? So you wouldn't have to use folder-hooks, I guess, because %v makes exactly the distinction you'd like to have. If I use this line: folder-hook sentbox set index_format=%d %s Hmm, you could try enclosing the command

folder-hook index_format

2002-04-17 Thread Michael Montagne
I want my sentbox folder to show me the recipient's name, the date, etc. So I use this line in .muttrc. But all I get are blank lines. folder-hook sentbox set index_format=%d %t (%3l) %s If I use this line: folder-hook sentbox set index_format=%d %s All I get is the date. What am I

Re: folder-hook index_format

2002-04-17 Thread Rocco Rutte
Hi, * Michael Montagne [04/17/02 20:25:08 CEST] wrote: I want my sentbox folder to show me the recipient's name, the date, etc. So I use this line in .muttrc. But all I get are blank lines. folder-hook sentbox set index_format=%d %t (%3l) %s Works here. Why not use %v or %L instead

Re: mailinglist-prefix in index_format

2002-01-23 Thread Prahlad Vaidyanathan
Hi, On Fri, 18 Jan 2002 Hanspeter Roth spewed into the ether: Some mailinglists prefix every subject with the name of the list. Is it possible to suppress this prefix in the index_format? How? Or is this a case for procmail? This works for me : http://www.symonds.net/~prahladv/files

mailinglist-prefix in index_format

2002-01-19 Thread Hanspeter Roth
Some mailinglists prefix every subject with the name of the list. Is it possible to suppress this prefix in the index_format? How? Or is this a case for procmail? -Hanspeter

Re: mailinglist-prefix in index_format

2002-01-19 Thread Michael Wagner
On Freitag, 18. Jan. 2002 at 19:08:45, Hanspeter Roth wrote: Some mailinglists prefix every subject with the name of the list. Is it possible to suppress this prefix in the index_format? How? Or is this a case for procmail? Hello Hanspeter, I have this procmail recipe for the german

Re: mailinglist-prefix in index_format

2002-01-19 Thread Michael Elkins
Hanspeter Roth wrote: Some mailinglists prefix every subject with the name of the list. Is it possible to suppress this prefix in the index_format? How? Or is this a case for procmail? It's more efficient to do it with procmail since you only have to do the operation once at delivery time.

Re: mailinglist-prefix in index_format

2002-01-19 Thread Thomas Hurst
* Michael Elkins ([EMAIL PROTECTED]) wrote: Hanspeter Roth wrote: Some mailinglists prefix every subject with the name of the list. Is it possible to suppress this prefix in the index_format? How? Or is this a case for procmail? It's more efficient to do it with procmail since you only

Re: mailinglist-prefix in index_format

2002-01-19 Thread Michael Elkins
Thomas Hurst wrote: Some of us are alergic to subject mangling like this (and there's no knowing what the mailing list will do if we strip it entirely); and Can you give an example of some mail list software which is dependent upon the format of the subject header field? Given the wide

Re: mailinglist-prefix in index_format

2002-01-19 Thread David Champion
On 2002.01.19, in [EMAIL PROTECTED], Thomas Hurst [EMAIL PROTECTED] wrote: * Michael Elkins ([EMAIL PROTECTED]) wrote: Hanspeter Roth wrote: Some mailinglists prefix every subject with the name of the list. Is it possible to suppress this prefix in the index_format? How

How to have a flag in index_format showing number of attachment?

2002-01-13 Thread Charles Jie
I'd like to make the index_format show number (or existence) of attachment in message, but failed to find a way. It is usual to see a mark of attachment in GUI MUA's, isn't it? Could mutt do it? charlie

Re: index_format confusion

2001-12-14 Thread Kenneth Pronovici
sorts the mail to), the format doesn't seem to be obeyed. The main thing that's frustrating is that I don't see the %Z message info (like T for thread, etc.). I think after digging around in /usr/doc/mutt, some more, I need to modify my question... I think that probably, %Z is working, it's

Re: index_format confusion

2001-12-14 Thread Martin Karlsson
On Fri Dec 14, 2001 at 11:21:24AM -0600, Kenneth Pronovici wrote: [...snip...] The main thing that's frustrating is that I don't see the %Z message info (like T for thread, etc.). T for Thread? Unless I'm utterly mistaken (in which place I apologize for sticking my foot in my ...), T

Re: index_format confusion

2001-12-14 Thread Kenneth Pronovici
Do you have the line set to_chars= +TCF in your .muttrc? [nothing]= not to you + = To you T = CC you F = From you hope this helps I didn't, and yes (duh) it explains why I didn't see T in my mail list folders (none of the messages were to me). I'll make this transition

Re: index_format confusion

2001-12-14 Thread Nicolas Rachinsky
On Fri, Dec 14, 2001 at 07:53:11PM +0100, Martin Karlsson [EMAIL PROTECTED] wrote: [nothing]= not to you + = To you T = CC you F = From you The Fine Manual says: + message is to you and you only T message is to you, but also to or cc'ed to others C message is cc'ed to you

Re: index_format confusion

2001-12-14 Thread Martin Karlsson
On Sat Dec 15, 2001 at 12:21:10AM +0100, Nicolas Rachinsky wrote: On Fri, Dec 14, 2001 at 07:53:11PM +0100, Martin Karlsson [EMAIL PROTECTED] wrote: [nothing]= not to you + = To you T = CC you F = From you The Fine Manual says: + message is to you and you only T message

Re: index_format confusion

2001-12-14 Thread Kenneth Pronovici
Seems my foot was only half-way in... ;-) (see my previous post) I think I shall spend the next few hours Reading The Friendly Manual! Yeah, don't feel bad. I'll join you. KEN -- Kenneth J. Pronovici [EMAIL PROTECTED] Personal Homepage: http://www.skyjammer.com/~pronovic/ They that can

mutt index_format and size of messages

2001-11-28 Thread martin f krafft
by default, mutt displays the lines count in the index listing. the %c format option allows the display of the size in bytes. is there anyway to have mutt display size in kb, possibly rounded to 2 significant figures, or an accuracy of 0.1? mutt-users, please CC me on the reply. thanks, --

Re: mutt index_format and size of messages

2001-11-28 Thread martin f krafft
have time to decode which letter it is now, but here's mine: set index_format=%4C %Z %{%b %d} %-15.15F (%4c) %s you rock! i saw %c and tried it, but it wouldn't succeed. i mean, it did work, but i had hooks overriding it. so now it's beautuitous! -- martin; (greetings from

Re: difference between hdr_format and index_format

2001-10-04 Thread Benjamin Michotte
On Wed, Oct 03, 2001 at 03:42:46PM, Shawn D. McPeek wrote: { hdr_format, DT_SYN, R_NONE, UL index_format, 0 }, The DT_SYN meens hdr_format is the same as index_format. Here are some other examples of DT_SYNs: edit_hdrs and edit_headers forw_decode and forward_decode

difference between hdr_format and index_format

2001-10-03 Thread Benjamin Michotte
hi, if I look in the mutt manual, I can find the definition of index_format but not hdr_format. They seems to do the same but what's the difference between them ? cu, binny -- Para La Queja Mexica Este Sueño De America Celebramos La Aluna De Siempre, Ahorita -- Bertrand Cantat, Tostaky

Re: difference between hdr_format and index_format

2001-10-03 Thread David Champion
On 2001.10.03, in [EMAIL PROTECTED], Benjamin Michotte [EMAIL PROTECTED] wrote: hi, if I look in the mutt manual, I can find the definition of index_format but not hdr_format. They seems to do the same but what's the difference between them ? They're synonymous. From init.h

  1   2   >