Sidebar keys

2009-05-03 Thread Alex Huth
Hello!
I am using mutt on debian with the sidebar patch. Even with the lines below in
the muttrc i am not able to move in the sidebar.


# Sidebar Settings
set sidebar_visible
set sidebar_width
set sidebar_delim

# Sidebar keys
macro index \CP sidebar-prev
macro index \CN sidebar-next
macro index \CO sidebar-open
macro pager \CP sidebar-prev
macro pager \CN sidebar-next
macro pager \CO sidebar-open
--

Which mistakes have i done?

Greetings

Alex


Re: Sidebar keys

2009-05-03 Thread Alex Huth
* Chris Jones schrieb:
> On Sun, May 03, 2009 at 04:26:54PM EDT, Andreas Kneib wrote:
> > * Alex Huth schrieb am Sonntag, den 03. Mai 2009:
> > 
> > > Which mistakes have i done?
> > 
> > http://lunar-linux.org/index.php?page=mutt-sidebar
> > 
> > See "Documentation"
> 
> Does this patch break anything..?
> 
> After 3 year, why has it not been integrated to mainstream code?
> 
> CJ
> 

OK, first of all. I read always docs, wikis, etc. But in this case i haven't
looked at the beginning of the string. Replacing "macro" with "bind" was the
needed help.
Thank's a lot!

Alex


folder-hook commands

2009-05-05 Thread Alex Huth
Hello!

I have a problem using a command in folder-hooks. I wnat to read a config file
using folder-hooks:

folder-hooks:
folder-hook . set sort = reverse-date-received
folder-hook = freebsd-current source ~/.mutt/defaults.maillist

defaults.maillist:
set sort = threads
set strict_threads = yes
set collapse_unread = yes
set uncollapse_jump = yes

Using this i get "unknown command" when i open the mailbox. Is it not possible
to use "source" in folder-hooks? If not how can i configure it to get it
working?

Thanks in advance

Alex


Re: folder-hook commands

2009-05-06 Thread Alex Huth
* Gary Johnson schrieb:
> On 2009-05-05, Alex Huth wrote:
> > Hello!
> > 
> > I have a problem using a command in folder-hooks. I wnat to read a
> > config file using folder-hooks:
> > 
> > folder-hooks:
> > folder-hook   . set sort = reverse-date-received
> > folder-hook   = freebsd-current source ~/.mutt/defaults.maillist
> > 
> > defaults.maillist:
> > set sort = threads
> > set strict_threads = yes
> > set collapse_unread = yes
> > set uncollapse_jump = yes
> > 
> > Using this i get "unknown command" when i open the mailbox. Is it
> > not possible to use "source" in folder-hooks? If not how can i
> > configure it to get it working?
> 
> The folder-hook command is expecting to see the command as a single
> argument.  Therefore, if the command includes any whitespace, the
> command must be enclosed in quotes, or the whitespace otherwise
> removed.  With that change, your hooks would become:
> 
> folder-hook   . "set sort=reverse-date-received"
> folder-hook   =/freebsd-current "source ~/.mutt/defaults.maillist"
> 
> I removed the spaces surrounding the = in the set command because
> the manual doesn't indicate that spaces are allowed there.  I also
> added a / in the folder name of the second folder-hook, assuming
> that one belongs there.
> 
> HTH,
> Gary
> 
> 
First folder-hook worked without qoutes, full path for the second hook is
~/Mail/freebsd/freebsd-current. But even with your version i get the error
"unknown command" for the second hook.

Alex


Re: folder-hook commands

2009-05-06 Thread Alex Huth
* Michael Tatge schrieb:
> * On Tue, May 05, 2009 06:09PM +0200 Alex Huth (alex.h...@alice-dsl.net) 
> muttered:
> > folder-hook . set sort = reverse-date-received
> > folder-hook = freebsd-current source ~/.mutt/defaults.maillist
> 
> better quote the argument
> folder-hook   . 'set sort = reverse-date-received'
> folder-hook   =freebsd-current 'source ~/.mutt/defaults.maillist'
>^ also note that there's a space in your quoted version
> 
> 
> HTH,
> 
> Michael
> -- 
> BOFH excuse #233:
> 
> TCP/IP UDP alarm threshold is set too low.
> 
> PGP-Key-ID: 0xDC1A44DD
> Jabber: init...@amessage.de
> 

Have checked it now more then twice and added next row:

folder-hook . 'set sort=reverse-date-received'
folder-hook =freebsd-current 'set sort=threads'
folder-hook =freebsd-acpi 'source ~/.mutt/defaults.maillist'

Now i get the reverse sort as default, threads in freebsd-current and the
error "unknown command" for freebsd-acpi. It seems that "source " is the
problem. But if this is a unknown command in folder-hooks, how can i set
multiple values for a folder?

Alex


Re: folder-hook commands

2009-05-07 Thread Alex Huth
* Michael Tatge schrieb:
> * On Wed, May 06, 2009 03:33PM +0200 Alex Huth (alex.h...@alice-dsl.net) 
> muttered:
> > folder-hook . 'set sort=reverse-date-received'
> > folder-hook =freebsd-current 'set sort=threads'
> > folder-hook =freebsd-acpi 'source ~/.mutt/defaults.maillist'
> > 
> > Now i get the reverse sort as default, threads in freebsd-current and the
> > error "unknown command" for freebsd-acpi.
> 
> All folder-hooks now have valid syntax good.
> 
> > It seems that "source " is the problem.
> 
> Yes
> 
> > But if this is a unknown command in folder-hooks, how can i set
> > multiple values for a folder?
> 
> It's not the source command that's the problem. Lost likely there an
> error in the sourced file. So check ~/.mutt/defaults.maillist for
> errors.
> 
> HTH,
> 
> Michael
> -- 
> > Linux is not user-friendly.
> It _is_ user-friendly.  It is not ignorant-friendly and idiot-friendly.
>   -- Seen somewhere on the net
> 
> PGP-Key-ID: 0xDC1A44DD
> Jabber: init...@amessage.de
> 
Thanks for the help and the patience, that was the problem. In the sourced file 
was a space after the =.

Alex


Indexing of mailinglists

2009-10-28 Thread Alex Huth
Hi!

How are you working with mailinglists? when there are a few thousands mails in
a folder, the indexing till the folder is opened takes some seconds. Is there
a way to get around that, because it is indexing evwen when there are no new
mails.

Thx

Alex

Never be afraid to try something new.
Remember, amateurs built the ark.
Professionals built the Titanic. — unknow


Re: Indexing of mailinglists

2009-10-28 Thread Alex Huth
* Michael Wagner schrieb:
> * Alex Huth  28.10.2009
>  
> 
> I have for this purpose these options in my muttrc:
> 
> set header_cache=~/.mutt/cache/headers  
> set message_cachedir=~/.mutt/cache/bodies
> set message_cache_clean=yes
> 
That's it. Very good.
Hmmm, thought i had a good setup. Maybe i should really go back the manual,
after a year of using it. ;)

Thx

Alex

Never be afraid to try something new.
Remember, amateurs built the ark.
professionals built the Titanic. — unknow


Names in sent folder

2009-11-13 Thread Alex Huth
Hi!

Actual i see in the sent folder my own name in the overview. How can i
configure it, that i can see instead the To-address?

Thx

Alex


Re: Names in sent folder

2009-11-13 Thread Alex Huth
Even when i comment my index_format line there is no change in the index of
the sent folder. I have only one address ia m sending from.
How can i use different index_format for different folders?

* Kevin Kammer schrieb:
> On Fri, Nov 13, 2009 at 11:19:20AM +0100 René Clerc wrote:
> > Hi Alex,
> > 
> > * Alex Huth  [13-11-2009 11:03]:
> > 
> > > Actual i see in the sent folder my own name in the overview. How can i
> > > configure it, that i can see instead the To-address?
> > 
> > Read the manual on $index_format, most notably the %F sequence.
> > 
> > -- 
> > René Clerc  - (r...@clerc.nl) - PGP: 0x9ACE0AC7
> 
> The default $index_format should already display the recipient's name in
> your Sent folder, or any folder for that matter, if the message was from
> you.
> 
> Perhaps you need to define any additional addresses you send mail from
> in your muttrc file using the "alternates" command. This is how mutt
> knows what addresses are yours.
> 
> -Kevin
> 
> -- 
> "Le hasard favorise l'esprit préparé."
>   --Louis Pasteur


Re: Names in sent folder

2009-11-15 Thread Alex Huth
* Patrick Shanahan schrieb:
> * Alex Huth  [11-13-09 12:29]:
> 
> read the manual on "folder_hooks"  :^)
> 
I am using already folder_hooks and have a hook for the sent folder, but it
seems to be ignored.


Mark new as read

2009-12-08 Thread Alex Huth
Hello!

I have a simple questions which i haven't on the net. How can i mark every new
mail in a folder at once read? I need this espacially for the mailinglists.

thx

Alex


Re: Mark new as read

2009-12-08 Thread Alex Huth
* Joost Kremers schrieb:
> On Tue, Dec 08, 2009 at 10:37:55AM +0100, Alex Huth wrote:
> 
> T ~N RET ;N
> 
> T means 'tag-pattern', ~N is a pattern meaning 'new messages', and ;N toggles 
> the
> new-flag on all marked messages.
> 
thx, that's great!

Alex


check_new

2010-06-05 Thread Alex Huth
Hello!

Is there a way to reduce the time till a new mail appear? I have set
check_new and use maildir, but it takes up to 10 minutes till new mails
appear.

Alex


maillists

2010-06-06 Thread Alex Huth
Hello!

Is it possible to use two different sort variables for maillists?

I want to use:

set sort=threads
set sort=reverse-date

But when i use that, mutt sorts only for the last value.

Alex


Re: maillists

2010-06-06 Thread Alex Huth
On Sun, Jun 06, 2010 at 07:46:18AM -0700, Breen Mullins wrote:
> * Alex Huth  [2010-06-06 16:25 +0200]:
> 
> >Is it possible to use two different sort variables for maillists?
> >
> >I want to use:
> >
> >set sort=threads
> >set sort=reverse-date
> >
> >But when i use that, mutt sorts only for the last value.
> 
> Are you looking for sort_aux ? 
> 
> Breen
> -- 
> Breen Mullins
> b...@sdf.org
Yes, thx. Haven´t seen it.
-- 
Mit freundlichen Grüßen
 
Alex Huth
 


TMR - Telekommunikation
Mittleres Rurgebiet GmbH
Brenscheder str. 62
D-4479 Bochum
Tel.:  +49 0234 960 3843
Mobil: +49 163 5960638
a.h...@tmr.net
http://www.tmr.net



Indexing of mailboxes

2010-06-09 Thread Alex Huth
Hello!

I have asked this question some month ago, but i forgot the solution
because i used another mailclient meanwhile (and came with tears in my
eyes back to mutt ;) ).

Using maildir it takesa few seconds to open a large mailbox, because the
index is created every time again. Is there way to speed up the process
or another workaround?

Greetings

Alex



Re: Indexing of mailboxes

2010-06-09 Thread Alex Huth
On Wed, Jun 09, 2010 at 05:31:56PM -0700, Robert Holtzman wrote:
> On Wed, Jun 09, 2010 at 05:26:25PM -0600, Richard Johnson wrote:
> 
> mutt -v shows, in part, +USE_HCACHE. Is that it?
> 
Yes. If you use maildir you have to compile it with the option for it.
For example in your make.conf:
WITH_MUTT_MAILDIR_HEADER_CACHE=yes

Greetings

Alex



Re: A wish for the mailboxes command

2010-06-25 Thread Alex Huth
On Fri, Jun 25, 2010 at 10:47:29AM +0100, Chris G wrote:
> On Thu, Jun 24, 2010 at 09:07:01AM -0700, Chip Camden wrote:
> > 
> I don't really want to know when new mail arrives, what I want is the
> ability to quickly go to all the mailboxes which have new incoming
> mail when I'm running mutt.  I don't have any need to respond quickly
> to messages, just a need to be able to find them.  Mutt usually sits
> running in a dedicated terminal on one of my workspaces with the
> 'main' inbox displayed so I just need to glance at that to see any
> non-list E-Mails.

Hmmm, if i understand it right sidebar will be your friend. It shows all
folders/files with new mails and give you quick acces to them.

Greetings

Alex Huth


Re: A wish for the mailboxes command

2010-06-25 Thread Alex Huth
On Fri, Jun 25, 2010 at 03:33:07PM +0100, Chris G wrote:
> On Fri, Jun 25, 2010 at 03:23:55PM +0200, Alex Huth wrote:
> Only if it knows which ones have new mail in them!  That's where we
> came in.
> 

That´s what i am talking about. I am using sidebar with lot of maildirs
and the following in the config:
set check_new=yes
set mail_check=60

Works perfect!

Greetings

Alex Huth