Re: How to bind esct to pager as it's done to index?

2002-03-03 Thread Charles Jie

Ah... I see. Thank you all.

The misunderstanding came from that I used to call the screen triggered
by '?' help, and call the very long file manual.txt manual.

Now I take Benjamin's macro for my need. Thanks.

But, BTW, it should be exit instead of quit in the macro.

best regards,
charlie

On Sun, Mar 03, 2002 at 07:20:32AM +, Benjamin Smith wrote:
 On Sun, Mar 03, 2002 at 09:08:41AM +0200, Holger Lillqvist wrote:
  It seems you didn't understand parv's comment. The function tag-thread
  isn't available in the pager. So it is pointless to try to bind a
  non-existent function to a key...

 Yes, but you could write a macro to quit the pager than tag the thread:

 macro pager \eT quittag-thread Tag the current thread

 --
 Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]





Re: How to bind esct to pager as it's done to index?

2002-03-03 Thread MuttER

* Holger Lillqvist [EMAIL PROTECTED] [03-03-02 02:10] crowed:
 On Mar  3, Charles Jie [EMAIL PROTECTED] wrote:
  On Sat, Mar 02, 2002 at 09:46:11PM -0500, parv wrote:
   i am also using 1.3.27i version, but i don't see tag-thread action
   in help in pager context, only tag-message.  are you sure that,
   by chance you didn't see tag-thread in index context?
  
  You are right. esct is not bound to pager by default. And that's why I
  have to bind it by myself here. :-)
 
 It seems you didn't understand parv's comment. The function tag-thread
 isn't available in the pager. So it is pointless to try to bind a
 non-existent function to a key...

His confusion MAY come from the manual:

 2.3.3.  Threaded Mode

  When the mailbox is `sorted'' by threads, there are a few additional
  functions available in the index and pager modes.

  D  delete-thread   delete all messages in the current thread
 ^U  undelete-thread undelete all messages in the current thread
 ^N  next-thread jump to the start of the next thread
 ^P  previous-thread jump to the start of the previous thread
 ^R  read-thread mark the current thread as read
 ESC d   delete-subthreaddelete all messages in the current subthread
 ESC u   undelete-subthread  undelete all messages in the current subthread
 ESC n   next-subthread  jump to the start of the next subthread
 ESC p   previous-subthread  jump to the start of the previous subthread
 ESC r   read-subthread  mark the current subthread as read
 ESC t   tag-thread  toggle the tag on the current thread


NOTICE: above indicates INDEX and PAGER modes..

-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: How to bind esct to pager as it's done to index?

2002-03-03 Thread Charles Jie

Thank Pat's comment

The inconsistency in manual indicates that such funcions are reasonable
and perhaps useful in PAGER mode, too

* How to request mutt developers to add them to mutt so that we can have
  these functions in more intuitive and natural way?

best regards,
charlie

On Sun, Mar 03, 2002 at 08:12:19AM -0500, MuttER wrote:
  It seems you didn't understand parv's comment The function tag-thread
  isn't available in the pager So it is pointless to try to bind a
  non-existent function to a key

 His confusion MAY come from the manual:

  233  Threaded Mode

   When the mailbox is `sorted'' by threads, there are a few additional
   functions available in the index and pager modes

   D  delete-thread   delete all messages in the current thread
  ^U  undelete-thread undelete all messages in the current thread
  ^N  next-thread jump to the start of the next thread
  ^P  previous-thread jump to the start of the previous thread
  ^R  read-thread mark the current thread as read
  ESC d   delete-subthreaddelete all messages in the current subthread
  ESC u   undelete-subthread  undelete all messages in the current subthread
  ESC n   next-subthread  jump to the start of the next subthread
  ESC p   previous-subthread  jump to the start of the previous subthread
  ESC r   read-subthread  mark the current subthread as read
  ESC t   tag-thread  toggle the tag on the current thread


 NOTICE: above indicates INDEX and PAGER modes

 --
 Pat Shanahan Registered Linux User #207535
   Registered at: http://counterliorg



How to bind esct to pager as it's done to index?

2002-03-02 Thread Charles Jie

Hi,

I'd like the 'ESC t' or meta-key alt-t in pager bound to tag-thread as
in index menu But I failed

I tried:

bind pager esct tag-thread

 There is an error It may be because it's not a single key
 But there is no description about how to name such keys in manual

I tried again:

macro pager esct tag-thread

 It got wrong action though I can see it right with '?'
 It just tags a single message and prompts me to define an alias

* How do people do to bind such 'ESC t' or alt-t key?

(I use mutt-1327i + patchvvvnntp)

Thanks for your help

best regards,
charlie




Re: How to bind esct to pager as it's done to index?

2002-03-02 Thread parv

in message [EMAIL PROTECTED], 
wrote Charles Jie thusly...

...
 I tried:
 
 bind pager esct tag-thread
 
 I tried again:
 
 macro pager esct tag-thread
 
 . It got wrong action though I can see it right with '?'.
 . It just tags a single message and prompts me to define an alias.
 
 * How do people do to bind such 'ESC t' or alt-t key?
 
 (I use mutt-1.3.27i + patch.vvv.nntp)


i am also using 1.3.27i version, but i don't see tag-thread action
in help in pager context, only tag-message.  are you sure that,
by chance you didn't see tag-thread in index context?

however, if an action is valid, then the above bind syntax
will/should work.


-- 
 



Re: How to bind esct to pager as it's done to index?

2002-03-02 Thread dan radom

well home and end are bound as well, but neither of those have worked in a long time.

* parv ([EMAIL PROTECTED]) wrote:
 in message [EMAIL PROTECTED], 
 wrote Charles Jie thusly...
 
 ...
  I tried:
  
  bind pager esct tag-thread
  
  I tried again:
  
  macro pager esct tag-thread
  
  . It got wrong action though I can see it right with '?'.
  . It just tags a single message and prompts me to define an alias.
  
  * How do people do to bind such 'ESC t' or alt-t key?
  
  (I use mutt-1.3.27i + patch.vvv.nntp)
 
 
 i am also using 1.3.27i version, but i don't see tag-thread action
 in help in pager context, only tag-message.  are you sure that,
 by chance you didn't see tag-thread in index context?
 
 however, if an action is valid, then the above bind syntax
 will/should work.



Re: How to bind esct to pager as it's done to index?

2002-03-02 Thread Benjamin Smith

On Sun, Mar 03, 2002 at 09:08:41AM +0200, Holger Lillqvist wrote:
 It seems you didn't understand parv's comment. The function tag-thread
 isn't available in the pager. So it is pointless to try to bind a
 non-existent function to a key...

Yes, but you could write a macro to quit the pager than tag the thread:

macro pager \eT quittag-thread Tag the current thread

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg24926/pgp0.pgp
Description: PGP signature