Re: Disable arrow keys for navigation

2016-04-28 Thread Jonas Hedman
On 16-04-28 18:41:35, Joel Buckley wrote:
> Something like this:
> 
> bind index,pager  noop
> bind index,pager  noop
> bind index,pager  noop
> bind index,pager  noop
> 
> Works for me
> 
> -- 
> Joel Buckley


That does exactly what I want!

Many thanks and I apologize for not reading the documentation carefully
enough and failing to notice noop.
-- 
Jonas Hedman 

XMPP:n...@jabber.at
PGP Key: 0x5c3989e0616bb08c
Fingerprint: 8F72 C5BE AAFA B4BA 8F46  9185 5C39 89E0 616B B08C


signature.asc
Description: Digital signature


Re: Disable arrow keys for navigation

2016-04-28 Thread Joel Buckley

Something like this:

bind index,pager  noop
bind index,pager  noop
bind index,pager  noop
bind index,pager  noop

Works for me

--
Joel Buckley

On Thu, Apr 28, 2016 at 10:07:53AM +0200, Jonas Hedman wrote:

Hi mutters

This might be slightly weird but I would like to disable navigation
(goto next or previous email) by arrow keys (up, down) in the index &
pager. The motivation for this is to get into my thick head that I
should use hjkl.

Can this be achieved somehow? I tried to search in the documentation for
a way to override default behaviour _and_ bind a key to do nothing but I
couldn't find any "do nothing" function in
http://www.mutt.org/doc/manual/#functions

What is the best (or least worst) way of doing this?

Any ideas?

Regards
--
Jonas Hedman

XMPP:n...@jabber.at
PGP Key: 0x5c3989e0616bb08c
Fingerprint: 8F72 C5BE AAFA B4BA 8F46  9185 5C39 89E0 616B B08C





Disable arrow keys for navigation

2016-04-28 Thread Jonas Hedman
Hi mutters

This might be slightly weird but I would like to disable navigation 
(goto next or previous email) by arrow keys (up, down) in the index &  
pager. The motivation for this is to get into my thick head that I 
should use hjkl.

Can this be achieved somehow? I tried to search in the documentation for
a way to override default behaviour _and_ bind a key to do nothing but I
couldn't find any "do nothing" function in
http://www.mutt.org/doc/manual/#functions

What is the best (or least worst) way of doing this? 

Any ideas?

Regards
-- 
Jonas Hedman 

XMPP:n...@jabber.at
PGP Key: 0x5c3989e0616bb08c
Fingerprint: 8F72 C5BE AAFA B4BA 8F46  9185 5C39 89E0 616B B08C


signature.asc
Description: Digital signature


Re: Better folder navigation ?

2013-03-28 Thread Jonas Geiregat
On 25/03/2013, Max Rydahl Andersen wrote:
 With ~250 nested folders the 'c' change folder is rather tedious to use.
 
 Is there a command to search for a folder by name so I don't have to 
 type/complte in the full name ?

You could list your mailboxes by using the mailboxes command in your
muttrc file.

Then you can easily switch by using the y key:

yMchange-folder?toggle-mailboxes  show
incoming mailboxes list

Then you'll get a list of all your mailboxes and you can search them
using the / key.

 
 Or is it somehow possible to write a macro that uses find shell command to 
 locate list of possible folders
 and then have me choose the right one ?
 
 Thanks,
 /max


Re: Better folder navigation ?

2013-03-27 Thread Elimar Riesebieter
* Max Rydahl Andersen max.ander...@gmail.com [2013-03-25 01:01 -0400]:

 With ~250 nested folders the 'c' change folder is rather tedious
 to use.
 
 Is there a command to search for a folder by name so I don't have
 to type/complte in the full name ?

just type c=ftabtab and you'll get a list of all folders
starting with f.

Elimar
-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche


Re: Better folder navigation ?

2013-03-27 Thread Nikola Petrov
This might work if you have a single account but doesn't work for my
setup. Your matching also won't work if you have subfolders. I think he
is looking for a fuzzy match on the folder name.

Best, Nikola


On Wed, Mar 27, 2013 at 11:52:46AM +0100, Elimar Riesebieter wrote:
 * Max Rydahl Andersen max.ander...@gmail.com [2013-03-25 01:01 -0400]:
 
  With ~250 nested folders the 'c' change folder is rather tedious
  to use.
  
  Is there a command to search for a folder by name so I don't have
  to type/complte in the full name ?
 
 just type c=ftabtab and you'll get a list of all folders
 starting with f.
 
 Elimar
 -- 
   Alles was viel bedacht wird ist bedenklich!;-)
  Friedrich Nietzsche


Re: Better folder navigation ?

2013-03-25 Thread Chris Bannister
On Mon, Mar 25, 2013 at 01:01:00AM -0400, Max Rydahl Andersen wrote:
 With ~250 nested folders the 'c' change folder is rather tedious to use.
 
 Or is it somehow possible to write a macro that uses find shell command to 
 locate list of possible folders
 and then have me choose the right one ?

I believe so yes, this is what mutt is good at.

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


Re: Better folder navigation ?

2013-03-25 Thread Andre Klärner
On Mon, Mar 25, 2013 at 01:01:00AM -0400, Max Rydahl Andersen wrote:
 With ~250 nested folders the 'c' change folder is rather tedious to use.
 
 Is there a command to search for a folder by name so I don't have to 
 type/complte in the full name ?

Well, do you have all your folders in the mailboxes-view? If yes, a simply
/ in the default keybinding can search for that folder. There is no
limit functionality, but I use the search function quite every day.

Regards, Andre

-- 
Andre Klärner


smime.p7s
Description: S/MIME cryptographic signature


Better folder navigation ?

2013-03-24 Thread Max Rydahl Andersen

With ~250 nested folders the 'c' change folder is rather tedious to use.

Is there a command to search for a folder by name so I don't have to 
type/complte in the full name ?

Or is it somehow possible to write a macro that uses find shell command to 
locate list of possible folders
and then have me choose the right one ?

Thanks,
/max


Re: navigation

2009-07-22 Thread Robert Holtzman

On Sun, 19 Jul 2009, Tim Tebbit wrote:


Robert Holtzman wrote:
Running mutt and mutt-patched 1.5.17 with the side panel listing mailboxes 
on Ubuntu Hardy. I can't find a way to navigate in this list other than by 
using c and ?. Is the side panel functional or just informative? I run 
mutt and mutt-patched 1.5.18 in Debian Lenny and it exhibits the same 
behavior.


Possibly

# Sidebar keys

bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open


Just got the time to try this. Works great. I can navigate the sidebar 
but the only way I can navigate the pager is with the arrow keys and 
that's fine with me.


I'll have some more questions shortly.

Thanks.

--
Bob Holtzman
AF9D 8760 0CFA F95A 6C77  E125 BF90 580F 8D54 9279
If you think you're getting free lunch,
 check the price of the beer


Re: navigation

2009-07-22 Thread lee
On Wed, Jul 22, 2009 at 10:46:12AM -0700, Robert Holtzman wrote:
 On Mon, 20 Jul 2009, lee wrote:
 Did you get sidebar-scroll-up and sidebar-scroll-down to work? I can
 bind them to keys, but mutt says the key isn't bound when I press it.

 The sidebar scroll works great but the pager scroll doesn't. Not sure  
 why. I can still use the arrow keys for the pager.

Hm, I was able to scroll up and down one line after another, but when
you bind sidebar-scroll-up and sidebar-scroll-down to keys, you're
supposed to be able to scroll the sidebar up or down by a page. That
didn't work for me.


Re: navigation

2009-07-20 Thread lee
On Sun, Jul 19, 2009 at 10:44:07AM -0700, Robert Holtzman wrote:
 Running mutt and mutt-patched 1.5.17 with the side panel listing  
 mailboxes on Ubuntu Hardy. I can't find a way to navigate in this list  
 other than by using c and ?. Is the side panel functional or just  
 informative? I run mutt and mutt-patched 1.5.18 in Debian Lenny and it  
 exhibits the same behavior.

http://www.lunar-linux.org/index.php?option=com_contenttask=viewid=44

Did you get sidebar-scroll-up and sidebar-scroll-down to work? I can
bind them to keys, but mutt says the key isn't bound when I press it.


navigation

2009-07-19 Thread Robert Holtzman
Running mutt and mutt-patched 1.5.17 with the side panel listing 
mailboxes on Ubuntu Hardy. I can't find a way to navigate in this list 
other than by using c and ?. Is the side panel functional or just 
informative? I run mutt and mutt-patched 1.5.18 in Debian Lenny and it 
exhibits the same behavior.


I searched the various online lists of mutt commands and web sites 
and found nothing useful. I get the feeling that c is the way by 
design.


Any pointers,corrections, etc gratefully accepted.

Thanks.

--
Bob Holtzman
AF9D 8760 0CFA F95A 6C77  E125 BF90 580F 8D54 9279
If you think you're getting free lunch,
 check the price of the beer


Re: navigation

2009-07-19 Thread Tim Tebbit

Robert Holtzman wrote:
Running mutt and mutt-patched 1.5.17 with the side panel listing 
mailboxes on Ubuntu Hardy. I can't find a way to navigate in this list 
other than by using c and ?. Is the side panel functional or just 
informative? I run mutt and mutt-patched 1.5.18 in Debian Lenny and it 
exhibits the same behavior.


I searched the various online lists of mutt commands and web sites and 
found nothing useful. I get the feeling that c is the way by design.


Any pointers,corrections, etc gratefully accepted.

Thanks.



Possibly

# Sidebar keys

bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open




Navigation sur un serveur IMAP

2004-03-13 Thread christophe nowicki
Bonjour la liste,

Je stoque tous mes message sur un serveur IMAP et je les lis avec un
Webmail ou bien avec mutt (bien plus pratique :)). Mais je trouve que la
navigation sur les repertoire du serveur est assez foireuse. Ou bien je
n'ai pas reussi a la configurer correctement. Lorsque je demarre avec
mutt je me restrouve sur le repertoire inbox. Pour changer de repertoire
je fait 'c' puit '?' puis je tappe l'address de mon serveur imap
'imap://serveur_avec_un_nom_pas_possible/INBOX' puis j'utilise la
completion. J'aierais donc avoir le chemain de mon serveur remplis par
default lorsque je fait 'c' ou bien mieux un menu de navigation sur le
serveur IMAP. Avec l'arborescence de tous mes repertoires :)

Merci beaucoup de votre aide

-- 
Meuuuhh elle fait la vache :))   _(__)_
Nowicki Christophe  '-e e -'__,--.__)
17, rue Saint Exupery(o_o))
77500 Chelles  \. /___.  |
Etudiant EPITECH Promo 2006 ||| _)/_)/
http://etud.epita.fr/~nowick_c/nowick_c.asc //_(/_(/_(


signature.asc
Description: Digital signature


Re: Navigation sur un serveur IMAP

2004-03-13 Thread Nicolas Ledez
Le Sat, Mar 13, 2004 at 10:25:01AM +0100, christophe nowicki a écrit :
 Je stoque tous mes message sur un serveur IMAP et je les lis avec un
 Webmail ou bien avec mutt (bien plus pratique :)). Mais je trouve que la
[...]
 default lorsque je fait 'c' ou bien mieux un menu de navigation sur le
 serveur IMAP. Avec l'arborescence de tous mes repertoires :)
Et avec cet article :
http://muttfr.org/gen.php3/2004/01/21/120,0,1,0,0.html

?
 
-- 
Plus le Gradé a de barrettes, plus le salut doit être servile.
-- Pierre Desproges

Nicolas Ledez


Re: Navigation sur un serveur IMAP

2004-03-13 Thread christophe nowicki
On Sat, Mar 13, 2004 at 06:14:10PM +0100, Nicolas Ledez wrote:
Soir,
 Le Sat, Mar 13, 2004 at 10:25:01AM +0100, christophe nowicki a écrit :
  Je stoque tous mes message sur un serveur IMAP et je les lis avec un
  Webmail ou bien avec mutt (bien plus pratique :)). Mais je trouve que la
 [...]
  default lorsque je fait 'c' ou bien mieux un menu de navigation sur le
  serveur IMAP. Avec l'arborescence de tous mes repertoires :)
 Et avec cet article :
 http://muttfr.org/gen.php3/2004/01/21/120,0,1,0,0.html
Merci j'avais deja une configuration de ce type. Je ne sais pas quel
directive du fichier de configuration a changer le comportement de mutt. 
Mails lorsque je fait 'c' puis 'TAB', mutt me liste tous les repertoires 
sur le serveur imap ;)

Merci

-- 
Meuuuhh elle fait la vache :))   _(__)_
Nowicki Christophe  '-e e -'__,--.__)
17, rue Saint Exupery(o_o))
77500 Chelles  \. /___.  |
Etudiant EPITECH Promo 2006 ||| _)/_)/
http://etud.epita.fr/~nowick_c/nowick_c.asc //_(/_(/_(


signature.asc
Description: Digital signature


Re: navigation questions from a newbie

2002-06-16 Thread Marc Wilson

On Thu, Jun 13, 2002 at 11:19:34AM -0400, Brett Sanger wrote:
 Is there an equivalent of the sent-mail folder?  A convenient way to
 make one?  If I hand-roll (via perl) the monthly archiving of such folders
 to mimic pine's behavior, what locking procedure does mutt use so that I
 can ensure I don't trample while it's reading/writing?

Do this:

# make sure mail gets saved as mailx/pine would...
send-hook . set record=~/Mail/sent-mail-`date +%Y-%m`
set record==sent-mail-`date +%Y-%m`

This gives you folders in ~/Mail that look like:

$ ls Mail/sent-mail-2002*
Mail/sent-mail-2002-01  Mail/sent-mail-2002-05
Mail/sent-mail-2002-04  Mail/sent-mail-2002-06

-- 
Marc Wilson
[EMAIL PROTECTED]




Re: navigation questions from a newbie

2002-06-15 Thread Michael Maibaum

On Thu, Jun 13, 2002 at 11:19:34AM -0400, Brett Sanger wrote:

Answers to so far unanswered questions below.

 
 Okay, this is a simple one, but I didn't come across it in the docs.  How
 do I set my From: address?  I tinkered with my EMAIL enviroment, but that
 didn't make a difference.

Others have mentioned use_from, also (when you have more than one email
address you should look up the alternates directive in the manual.
 
 
 Is there an equivalent of the sent-mail folder?  A convenient way to
 make one?  If I hand-roll (via perl) the monthly archiving of such folders
 to mimic pine's behavior, what locking procedure does mutt use so that I
 can ensure I don't trample while it's reading/writing?

Look at the fcc-hook in the mutt manual. You can do monthly outboxs
using something like (untested)
fcc-hook . outbox.`date +%b-%Y`

 I'm looking at having Mail::Audit parse out my mail to various folders.
 Is there a convenient way to watch for traffic in these folders without
 entering each one?

Mutt will poll folders set in mailboxes using the period set with 

set mail_check=5   # how often to poll for new mail

you can also have a window open with tail on a mail::audit log.

One Advantage of Maildir at this point. Because it has a seperate folder
for new mail, simply looking t see the new mail doesn't stop mutt from
seeing that folder as having new mail (ie unlike mbox it isn't simply
using atime vs mtime). 
 
 I appreciate all the help!
 

No problem, HTH

Michael
-- 
Dr Michael A. Maibaum - (W)+1 (415) 561 1682 - (H)+1 (415) 626 6733
[EMAIL PROTECTED] 



msg29029/pgp0.pgp
Description: PGP signature


Re: navigation questions from a newbie

2002-06-14 Thread Gary Johnson

On Thu, Jun 13, 2002 at 11:19:34AM -0400, Brett Sanger wrote:
 Okay, just started using mutt, (previously used pine, decided to make the
 switch).  I've heard pretty much nothing but good things about mutt, so
 I'm assuming most of my issues can be resolved, I just don't know how.  I
 haven't used elm, so I can't import any knowledge from that.

I'll try to answer the questions I can that I didn't see answered by
others.

 The navigation seems kind of inconsistent.  While reading from the spool
 file, return takes you inward, and i takes you to the message listing.
 Except that if you try to change mail folders, i no longer works, you
 want tab.  q takes you out of menus, but ctrl-G gets you out of
 prompts.  Vi is the default editor, but in-program prompts use Emacs
 bindings.  Is it just something to get used to, or is there some unifying
 concept that I'm not getting?

I think q will always work to exit a view, even if the help line says
i:Exit.  I don't know why i is used this way.  It may be a mnemonic
for return to Index, but that's not always where it returns you.  If
it bothers you, you can put

bind pager i noop

in your muttrc which will unbind i and change the help line to
q:Exit.

ctrl-G gets you out of prompts because that's how emacs works, which
is consistent with the command-line editing commands.  I think that's
just something you have to get used to.  There are other programs that
use (or can use) emacs key bindings for command-line editing even though
they use vi-like key bindings for screen navigation, e.g. w3m and vim.
I think the reason for using emacs key bindings is that it is simpler to
write a modeless command-line editor and because the editing commands
can be bound to the arrow, end, and home keys, which some people prefer.

 Currently, I have three locations for mail:  my spool file/dir (forget
 which exim uses), ~/Mail/* folders, and ~/mbox.  I haven't come up with a
 convenient way to navigate between these.  c lets me hop into any of the
 ~/Mail/* easily, but then getting back to the spool or to ~/mbox requires
 more work than I'd expect for the default places for mail.  am I missing
 something?  (I know I can tell mutt to use an alternate in place of
 ~/mbox, but surely there's a better way to get to the mbox its using than
 to specifiy path/file?)

If you include your spool file in your 'mailboxes' list, you can get to
it via the c command, too.  I would think that you would want your
spool file in your 'mailboxes' list anyway so that mutt will look there
for new mail.

To quickly navigate to your spool file, your mbox file, and a few other
special files, you can follow c by one of the shortcuts listed in
section 4.7 of the mutt manual.  For example, c! will take you to
your spool file.

 I've stumbled across the following flags so far: rT+*FO.  Of those, I've
 figured out (read) that r is replied-to, and * is tagged.  What are +, F,
 and O?

See the mutt manual section 2.3.1.1 Status Flags.

 [ and ] are bound to half-pages in the listing, but not in the pager.  Is
 there any navigation beyond space and - in the pager?

While in the pager, type ?  for help.  I don't remember what the
default bindings are in the pager for the half-up and half-down
functions (they may be unbound by default), but I have

bind pager [ half-up
bind pager ] half-down

in my muttrc so that [ and ] work the same in the pager as in the
index.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



navigation questions from a newbie

2002-06-13 Thread Brett Sanger

Okay, just started using mutt, (previously used pine, decided to make the
switch).  I've heard pretty much nothing but good things about mutt, so
I'm assuming most of my issues can be resolved, I just don't know how.  I
haven't used elm, so I can't import any knowledge from that.

Before I get to my questions, I just wanted to check for good resources.
I've got the Mutt Manual, the Mutt reference, and the My first Mutt
page.  Any other good newbie references I've missed?

Here goes:

Okay, this is a simple one, but I didn't come across it in the docs.  How
do I set my From: address?  I tinkered with my EMAIL enviroment, but that
didn't make a difference.

The navigation seems kind of inconsistent.  While reading from the spool
file, return takes you inward, and i takes you to the message listing.
Except that if you try to change mail folders, i no longer works, you
want tab.  q takes you out of menus, but ctrl-G gets you out of
prompts.  Vi is the default editor, but in-program prompts use Emacs
bindings.  Is it just something to get used to, or is there some unifying
concept that I'm not getting?

I've heard that you can tell it to use vi-like keybindings.  Is that one
setting in the rc file, or is that redefining everything?  I'd love the
vi-keybindings, but I don't like to rely on rc files (for any program)
that are more than 10-15 lines, since I can't always assume I'll be on the
same system.

Currently, I have three locations for mail:  my spool file/dir (forget
which exim uses), ~/Mail/* folders, and ~/mbox.  I haven't come up with a
convenient way to navigate between these.  c lets me hop into any of the
~/Mail/* easily, but then getting back to the spool or to ~/mbox requires
more work than I'd expect for the default places for mail.  am I missing
something?  (I know I can tell mutt to use an alternate in place of
~/mbox, but surely there's a better way to get to the mbox its using than
to specifiy path/file?)

I can mark messages as deleted with d.  How do I purge those aside from
exiting mutt?

I've stumbled across the following flags so far: rT+*FO.  Of those, I've
figured out (read) that r is replied-to, and * is tagged.  What are +, F,
and O?

[ and ] are bound to half-pages in the listing, but not in the pager.  Is
there any navigation beyond space and - in the pager?

Is there an equivalent of the sent-mail folder?  A convenient way to
make one?  If I hand-roll (via perl) the monthly archiving of such folders
to mimic pine's behavior, what locking procedure does mutt use so that I
can ensure I don't trample while it's reading/writing?

I'm looking at having Mail::Audit parse out my mail to various folders.
Is there a convenient way to watch for traffic in these folders without
entering each one?

I appreciate all the help!






Re: navigation questions from a newbie

2002-06-13 Thread Robert Ian Smit

On Thu, Jun 13, 2002 at 11:19:34AM -0400, Brett Sanger wrote:
 
I only use mutt for a couple of weeks now, so I can only answer some
of your questions. Read below. (I removed questions I don't know the
answer to)

One word of advise though. Get someone elses .muttrc and work with
that. One of the reasons mutt is so powerful is that you can change
everything. You really need to do that to benefit from this program.

I can send you mine if you want. I use a couple of files in ~/.mutt/
that are sourced in ~/.muttrc. My files are not very well documented
however so it's best to look for some mutt guru on the web who has
his/her .muttrc for all to see.

 Okay, this is a simple one, but I didn't come across it in the docs.  How
 do I set my From: address?  I tinkered with my EMAIL enviroment, but that
 didn't make a difference.

See Mutt manual 6.3.55

 Currently, I have three locations for mail:  my spool file/dir (forget
 which exim uses), ~/Mail/* folders, and ~/mbox.  I haven't come up with a
 convenient way to navigate between these.  c lets me hop into any of the
 ~/Mail/* easily, but then getting back to the spool or to ~/mbox requires
 more work than I'd expect for the default places for mail.  am I missing
 something?  (I know I can tell mutt to use an alternate in place of
 ~/mbox, but surely there's a better way to get to the mbox its using than
 to specifiy path/file?)

Define mailboxes. Then you can at least switch easily to boxes with
new email and you can use completion like =pri + tab for
~/Mail/private

 I can mark messages as deleted with d.  How do I purge those aside from
 exiting mutt?

Syncing the mailbox. Propably bound to $.

 Is there an equivalent of the sent-mail folder?  A convenient way to
 make one?  If I hand-roll (via perl) the monthly archiving of such folders
 to mimic pine's behavior, what locking procedure does mutt use so that I
 can ensure I don't trample while it's reading/writing?

I am not aware of anything else than set record=+my_outbox. As far
as I know you can't archive sent-mail as you can in Pine from within
mutt. At least not without extensive use of macros.

 I'm looking at having Mail::Audit parse out my mail to various folders.
 Is there a convenient way to watch for traffic in these folders without
 entering each one?

See my answer to your question regarding locations for mail.

Hope this helps,

Bob





msg28969/pgp0.pgp
Description: PGP signature


Re: navigation questions from a newbie

2002-06-13 Thread Kevin Coyner



On Thu, Jun 13, 2002 at 11:19:34AM -0400, Brett Sanger wrote..
 Okay, just started using mutt, (previously used pine, decided to make the
 switch).  I've heard pretty much nothing but good things about mutt, so
 I'm assuming most of my issues can be resolved, I just don't know how.  I
 haven't used elm, so I can't import any knowledge from that.

A good way to start a .muttrc and get a handle on all the settings is to
go to http://mutt.netliberte.org/, where you'll find Muttrc builder,
which puts together a muttrc for you, complete with explanations.

HTH as it helped me get a good start.  Kevin




msg28977/pgp0.pgp
Description: PGP signature


Re: navigation questions from a newbie

2002-06-13 Thread Brett Sanger

  Okay, this is a simple one, but I didn't come across it in the docs.  How
  do I set my From: address?  I tinkered with my EMAIL enviroment, but that
  didn't make a difference.

 See Mutt manual 6.3.55

My .muttrc file:

set from = [EMAIL PROTECTED]

(yes, so far it's just one line)

Yet when I send messages, the preview after editing shows the From: field
is blank, and when I receive, I get the ([EMAIL PROTECTED]) that is the
default (I don't know if that is mutt or exim filling that in though)

(This account is my ISP, not my home box)






Re: navigation questions from a newbie

2002-06-13 Thread Brett Sanger

 If you want to do it on just one line, you'll have to replace that with

   my_hdr From: Brett Sanger [EMAIL PROTECTED]
 to force the header into place.

Just to make sure I comprehend -- this is the not the best solution since
it precludes using hooks?

(My attachment to a small .muttrc is two-fold: one, I'll understand what's
going on in there, and two, I can recreate it quickly if on a different
machine. I have the same policy with my .vimrc)

   set use_from

Ah, that works just fine now.  (What else is from used in?  Why is this
two options?)

 HTH  HAND
Yup, and I'm closer.  Now if I can just get vim to behave over ssh

Thanks for the help!  I'll experiment for a few more hours and see if I
have other questions.






arrow-navigation

2002-05-13 Thread Sten


I am trying to emulate pine's arrow navigation
in mutt, especially in the file browser.
But I am having a problem with going to
a parent directory.

I figured this would do the trick :

macro   browser left  c ..\n
bindbrowser right select-entry

but mutt doesnt seem to sanitize paths, leading
to endless ..'s, which causes other problems.

Is there a better way to do this ?

( I am not subscribed, please reply to
  me personally as well )

-- 
Sten Spans

  What does one do with ones money,
   when there is no more empty rackspace ?





(repost) Folder navigation

2000-11-14 Thread Juergen Salk

Hi all,

I am used to let procmail sort incoming messages
into separate folders and start mutt with the
"-y" option, such that I get a menu containing the folders
specified by the "mailboxes" command.

I have the following key bindings to emulate the behavior
of tin, which is my favorite newsreader.

bind  generic   right select-entry
bind  pager left  exit
bind  index right display-message

This allows me to navigate through my mailfolders and
mail messages with mutt like I do through my subscribed
newsgroups and postings with tin.

So I can work through my mailfolders one after the
other. However - unlike tin - when leaving a mailfolder,
the cursor always jumps back to highlight the *first* folder
in the list of mailfolders instead of the most recent
one that I have just left.

So what?

Well, I have about 20 folders and if I have just left - let's
say - the 17-th folder, I have to scroll all the way down
to reach the 18-th folder (remember: I have already done this
16 times before). I know that I can alternatively enter the number
of the folder, but it would be much more efficient just to hit
the cursor-down-cursor-right key sequence to enter the next folder.

To make a long story short: How can I make the cursor highlight
the last visited mailbox in the folder view rather than the
first one in the list?

TIA.

Regards - Juergen.




Re: (repost) Folder navigation

2000-11-14 Thread Mikko Hänninen

Juergen Salk [EMAIL PROTECTED] wrote on Tue, 14 Nov 2000:
 To make a long story short: How can I make the cursor highlight
 the last visited mailbox in the folder view rather than the
 first one in the list?

There's no simple way (unfortunately).

I think someone's created a set of .muttrc macros possibly combined with
an external shell script or two that achieves this effect by storing the
number of "down arrow" keystrokes in the folder browser, and then
replaying them when you enter the folder browser again.  Or something
like that.  It sounded like a very big kludge, but I think there was
some semblance of success too. :-)

If I remember right, maybe that person could speak up..?


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  // [EMAIL PROTECTED] //  http://www.wizzu.com /
// The Corrs list maintainer  //  net.freak   //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Millihelen: The amount of beauty required to launch one ship.



Re: (repost) Folder navigation

2000-11-14 Thread lang

On Tue, 14 Nov 2000, Mikko Hänninen wrote:

 Juergen Salk [EMAIL PROTECTED] wrote on Tue, 14 Nov 2000:
  To make a long story short: How can I make the cursor highlight
  the last visited mailbox in the folder view rather than the
  first one in the list?
 
 There's no simple way (unfortunately).
 
 I think someone's created a set of .muttrc macros possibly combined with
 an external shell script or two that achieves this effect by storing the
 number of "down arrow" keystrokes in the folder browser, and then

I think something like a list of macros like the following in
.muttrc works.

folder-hook . 'macro index h change-folder?tabjumpenter0enter'
folder-hook '!' 'macro index h change-folder?tabjumpenter1enter'
folder-hook =mutt 'macro index h change-folder?tabjumpenter2enter'
folder-hook =vim 'macro index h change-folder?tabjumpenter3enter'
... etc etc

where 'h' is the key you use to return to the browser from the
index, and the order of folders is the order you have in the
mailboxes command. The folder hooks essentially write a new macro
for the key every time you enter that particular folder. The
problem with this solution is that every time you add a new
mailbox to your .muttrc, you need to rewrite the hooks. I wrote
some vim mappings to do this more easily, but they are not
robust, so I won't copy them here.

-- 
Greg MathesonLanguage learning/teaching 
Chinmin College, is like hitting head against brick wall.
Taiwan   Feels good when over



Opposite of 'P' navigation

2000-09-21 Thread Bruce DeVisser

In reading the docs I discovered 'P' for taking me to the parent
message in a thread. Handy, but then I have to find my way back to the
message I was reading. Is there a shortcut to take me back to the
previously-viewed message?

-- 
- Bruce



Re: Folder navigation

2000-09-09 Thread Jens Askengren

On Sat, Sep 09, 2000 at 02:10:35AM +0200, Juergen Salk wrote:

 Well, I have about 20 folders and if I have just left - let's
 say - the 17-th folder, I have to scroll all the way down
 to reach the 18-th folder (remember: I have already done this
 16 times before). I know that I can alternatively enter the number
 of the folder, but it would be much more efficient just to hit
 the cursor-down-cursor-right key sequence to enter the next folder.
 

I'm sorry I don't have an answer to this, but it gave me an idea:
I have a macro like this:

macro pager i   "change-folder?/"

This brings up the folder list, and asks for a search expression.
It's an attempt to mimic the woderfull editor xfte's fileselector:
When you press a key, the browser highlights the first filename that
starts with that letter. Additional keypresses narrows the search. It's
quite like incremental search in vim.

This functionality is definitely on my wishlist of new mutt features.

-Jens




Folder navigation

2000-09-08 Thread Juergen Salk

Hi all,

I am used to let procmail sort incoming messages
into separate folders and start mutt with the
"-y" option, such that I get a menu containing the folders
specified by the mailboxes command.

I have the following key bindings to mimick the behavior
of tin, which is my favorite newsreader.

bind  generic   right select-entry
bind  pager left  exit
bind  index right display-message

This allows me to navigate through my mailfolders and
mail messages with mutt like I do through my subscribed
newsgroups and postings with tin.

So I can work through my mailfolders one after the
other. However - unlike tin - when leaving a mailfolder,
the cursor always jumps back to highlight the *first* folder
in the list of mailfolders instead of the most recent
one that I have just left.

So what?

Well, I have about 20 folders and if I have just left - let's
say - the 17-th folder, I have to scroll all the way down
to reach the 18-th folder (remember: I have already done this
16 times before). I know that I can alternatively enter the number
of the folder, but it would be much more efficient just to hit
the cursor-down-cursor-right key sequence to enter the next folder.

To make a long story short: How can I make the cursor highlight
the last visited mailbox in the folder view rather than the
first one in the list?

TIA.

Regards - Juergen.




Re: Folder navigation

2000-09-08 Thread Jens Askengren

On Sat, Sep 09, 2000 at 02:10:35AM +0200, Juergen Salk wrote:

 Well, I have about 20 folders and if I have just left - let's
 say - the 17-th folder, I have to scroll all the way down
 to reach the 18-th folder (remember: I have already done this
 16 times before). I know that I can alternatively enter the number
 of the folder, but it would be much more efficient just to hit
 the cursor-down-cursor-right key sequence to enter the next folder.
 

I'm sorry I don't have an answer to this, but it gave me an idea:
I have a macro like this:

macro pager i   "change-folder?/"

This brings up the folder list, and asks for a search expression.
It's an attempt to mimic the woderfull editor xfte's fileselector:
When you press a key, the browser highlights the first filename that
starts with that letter. Additional keypresses narrows the search. It's
quite like incremental search in vim.

This functionality is definitely on my wishlist of new mutt features.


Goodnight
/Jens