Re: ISO cancel option in quit prompt from send-message

2002-10-10 Thread Ken Weingold

On Wed, Oct  9, 2002, Gary Johnson wrote:
> > Then why not put it in the Help line for newbies?
> 
> For the same reason that it shouldn't be put in the help menu.  The help
> line is just a short form of the help menu.

Yeah, but unlike the help menus, the $help line is present with all
prompts in the index.  Might at least help out people who need the
help line in the first place.


-Ken





Re: ISO cancel option in quit prompt from send-message

2002-10-09 Thread Gary Johnson

On Tue, Oct 08, 2002 at 09:59:27PM -0400, Ken Weingold wrote:
> On Tue, Oct  8, 2002, rex wrote:
> > On Tue, 08 Oct 2002 at 06:10:11PM -0700, Michael Elkins wrote:
> > > Technically, control-G is not a valid command in that context.  It only
> > > works inside of prompts, and there is no help menu available when using
> > > the line-editor.  It would be misleading to put it elsewhere.
> > 
> > Rather a large number of people have trouble discovering it and it's an
> > essential command. IMHO, it ought to be easier to find.
> 
> Then why not put it in the Help line for newbies?

For the same reason that it shouldn't be put in the help menu.  The help
line is just a short form of the help menu.

Gary

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



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Ken Weingold

On Tue, Oct  8, 2002, rex wrote:
> On Tue, 08 Oct 2002 at 06:10:11PM -0700, Michael Elkins wrote:
> > Technically, control-G is not a valid command in that context.  It only
> > works inside of prompts, and there is no help menu available when using
> > the line-editor.  It would be misleading to put it elsewhere.
> 
> Rather a large number of people have trouble discovering it and it's an
> essential command. IMHO, it ought to be easier to find.

Then why not put it in the Help line for newbies?


-Ken






Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Erik Christiansen

On Tue, Oct 08, 2002 at 09:06:54PM -0400, Rob Reid wrote:
> 
> It's what the one true editor uses, but you're right, C-g should be a
> hard-coded addition to the ? menu, right at the top.

   Ah, yes. Bells and chords. That's self-consistent for the editor.

   Finding ^C neither in the ? help, nor in the manual (either as ^C or
   [Cc]ontrol-C), there seems to be scope for hacking the source to
   provide a standard escape as an alternative to the Unix-inconsistent
   one. 

   It might even be possible to say that this would be of general
   benefit.

Regards,
Erik





Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Rob Reid

At  9:10 PM EDT on October  8 Michael Elkins sent off:
> Rob Reid wrote:
> > It's what the one true editor uses, but you're right, C-g should be a
> > hard-coded addition to the ? menu, right at the top.
> 
> Technically, control-G is not a valid command in that context.  It only
> works inside of prompts,

Fair enough, but notice that we're talking about prompts instead of input
fields.  Maybe the title of section 2.2 of the manual should be changed to
"Editing Input Fields (Typing at Prompts)".

> and there is no help menu available when using
> the line-editor.  It would be misleading to put it elsewhere.

Maybe ^? for a help menu...or just ? if help is set?  Naaa...too annoying.
This is the first time I've seen this problem on the list.

-- 
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread rex

On Tue, 08 Oct 2002 at 06:10:11PM -0700, Michael Elkins wrote:
> Rob Reid wrote:
> > It's what the one true editor uses, but you're right, C-g should be a
> > hard-coded addition to the ? menu, right at the top.
> 
> Technically, control-G is not a valid command in that context.  It only
> works inside of prompts, and there is no help menu available when using
> the line-editor.  It would be misleading to put it elsewhere.

Rather a large number of people have trouble discovering it and it's an
essential command. IMHO, it ought to be easier to find.

Many thanks to you and the other developers for creating a great MUA.

Regards,

-rex



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Michael Elkins

Rob Reid wrote:
> It's what the one true editor uses, but you're right, C-g should be a
> hard-coded addition to the ? menu, right at the top.

Technically, control-G is not a valid command in that context.  It only
works inside of prompts, and there is no help menu available when using
the line-editor.  It would be misleading to put it elsewhere.



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Rob Reid

At  8:57 PM EDT on October  8 Erik Christiansen sent off:
> On Tue, Oct 08, 2002 at 02:47:53PM -0500, David Champion wrote:
> > 
> > Control-G cancels most prompted operations.
> 
>With your pardon, I'll say that _doesn't_ ring a bell.
> 
>Having tried the conventional escapes, including ^C, ^D, and Esc, I'd
>surmised that mutt lacked the facility.
> 
>Is there a known rationale for the ding-dong choice?  :)

It's what the one true editor uses, but you're right, C-g should be a
hard-coded addition to the ? menu, right at the top.

-- 
At the evening service tonight, the sermon topic will be "What is
Hell?"  Come early and listen to our choir practice. - church bulletin
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Erik Christiansen

On Tue, Oct 08, 2002 at 02:47:53PM -0500, David Champion wrote:
> 
> Control-G cancels most prompted operations.

   With your pardon, I'll say that _doesn't_ ring a bell.

   Having tried the conventional escapes, including ^C, ^D, and Esc, I'd
   surmised that mutt lacked the facility.

   Is there a known rationale for the ding-dong choice?  :)

Regards,
Erik





Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Patrick

* Richard Cattien <[EMAIL PROTECTED]> [10-08-02 15:59]:
> 
> this may be offtopic, but how do you deal with mails which have no CR
> after 7x letters, and you want to break it correctly? I know this is an
> editor issue ...maybe someone knows if theres a trick in vim to do smth
> like that?

set wrapmargin=#number  # control right side margin in smart wraping

I have mine set to 5 and am comfortable.
-- 
Patrick Shanahan
Registered Linux User #207535 
  @ http://counter.li.org



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread David Champion

* On 2002.10.08, in <[EMAIL PROTECTED]>,
*   "Richard Cattien" <[EMAIL PROTECTED]> wrote:
> 
> > Control-G cancels most prompted operations.

More precisely, ^G probably cancels all prompted operations. I just
didn't want to make an assertion I hadn't proven. :)


> Well, why the heck this is not mentioned in the online help when
> pressing ``?'' I was looking for this too but was afraid of asking :-)

Because it's not a key binding. The "?" help shows bindings and macros,
but ^G is a hard-coded part of the character input routine indicating
that mutt should immediately return from whatever it's asking, with no
particular answer to the question.


^G is documented, by the way: section 2.2 of the manual.


> this may be offtopic, but how do you deal with mails which have no CR
> after 7x letters, and you want to break it correctly? I know this is an
> editor issue ...maybe someone knows if theres a trick in vim to do smth
> like that?

Yes, it's a faq. It involves a q or g or something -- I don't know, I
don't use vim. The other answers are "fmt" and "par". Check archives.

But that's about reflowing other people's text in your reply; it doesn't
address reflowing text as you view it. For that, you need to modify
$display_filter. Again, "par" and "fmt" might help here. Other answers
have been posted, too.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!"
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Thorsten Haude

Hi,

* Richard Cattien <[EMAIL PROTECTED]> [02-10-08 22:56]:
>> Control-G cancels most prompted operations.
>
>Well, why the heck this is not mentioned in the online help when
>pressing ``?'' I was looking for this too but was afraid of asking :-)

My guess is that the online help is automatically constructed from the
set of key bindings and Ctrl-g uses a different mechanism.


>this may be offtopic, but how do you deal with mails which have no CR
>after 7x letters, and you want to break it correctly? I know this is an
>editor issue ...maybe someone knows if theres a trick in vim to do smth
>like that?

Depends. Sometimes I ignore them (thus they stay too long), sometimes
I reformat them. The formatting should be simple with Vim, all you
have to do is add the '>'.


Thorsten
-- 
This is so cool I've to go to the bathroom.
- Calvin



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Ken Irving


> >unclear subject.   Too often I accidentally hit 'q' after editing a
> >message, and am presented with the choice to discard the message or not.
> >Usually I want to select a third option, cancel the quit operation
> >altogether, but instead have to carefully _not_ discard the message,
> >then hit 'm' to see a prompt to revisit pending messages.
> 
> Press Ctrl-g instead.

Thanks to all that replied. I was unaware of the general abort command.

-- 
Ken Irving <[EMAIL PROTECTED]>




Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Richard Cattien

Hi,

> Control-G cancels most prompted operations.

Well, why the heck this is not mentioned in the online help when
pressing ``?'' I was looking for this too but was afraid of asking :-)

this may be offtopic, but how do you deal with mails which have no CR
after 7x letters, and you want to break it correctly? I know this is an
editor issue ...maybe someone knows if theres a trick in vim to do smth
like that?

bye,
richard

-- 
Richard `rickski' Cattien <[EMAIL PROTECTED]>



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Thorsten Haude

Hi,

* Ken Irving <[EMAIL PROTECTED]> [02-10-08 21:35]:
>Apologies for subscribing just to ask a question, and maybe for the
>unclear subject.   Too often I accidentally hit 'q' after editing a
>message, and am presented with the choice to discard the message or not.
>Usually I want to select a third option, cancel the quit operation
>altogether, but instead have to carefully _not_ discard the message,
>then hit 'm' to see a prompt to revisit pending messages.

Press Ctrl-g instead.


Thorsten
-- 
This is so cool I've to go to the bathroom.
- Calvin



Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread John Iverson

* On Tue, 08 Oct 2002, Ken Irving wrote:

> Apologies for subscribing just to ask a question, and maybe for the
> unclear subject.   Too often I accidentally hit 'q' after editing a
> message, and am presented with the choice to discard the message or not.
> Usually I want to select a third option, cancel the quit operation
> altogether, but instead have to carefully _not_ discard the message,
> then hit 'm' to see a prompt to revisit pending messages.

Maybe Ctrl-G is what you're looking for?

-- 
John




Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread Michael Elkins

Ken Irving wrote:
> unclear subject.   Too often I accidentally hit 'q' after editing a
> message, and am presented with the choice to discard the message or not.
> Usually I want to select a third option, cancel the quit operation

Type control-G at that prompt, and Mutt will cancel the exit of the
menu.




Re: ISO cancel option in quit prompt from send-message

2002-10-08 Thread David Champion

* On 2002.10.08, in <[EMAIL PROTECTED]>,
*   "Ken Irving" <[EMAIL PROTECTED]> wrote:
> 
> Apologies for subscribing just to ask a question, and maybe for the
> unclear subject.   Too often I accidentally hit 'q' after editing a
> message, and am presented with the choice to discard the message or not.
> Usually I want to select a third option, cancel the quit operation
> altogether, but instead have to carefully _not_ discard the message,
> then hit 'm' to see a prompt to revisit pending messages.

Control-G cancels most prompted operations.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!"
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.




ISO cancel option in quit prompt from send-message

2002-10-08 Thread Ken Irving


Apologies for subscribing just to ask a question, and maybe for the
unclear subject.   Too often I accidentally hit 'q' after editing a
message, and am presented with the choice to discard the message or not.
Usually I want to select a third option, cancel the quit operation
altogether, but instead have to carefully _not_ discard the message,
then hit 'm' to see a prompt to revisit pending messages.

Looking in the FM, I don't see anything that might suggest that this 
feature is supported, but I confess I haven't perused the config files
or source, nor the mailing list(s) archives.  It seems a fairly common
sort of thing, so perhaps this has been hashed over previously.

I'm a loyal mutter, finding it hits the nail on the head in many ways.
I do have another question, but will post it separately.

Thanks for any hints, RFTMs, etc.,

Ken

-- 
Ken Irving <[EMAIL PROTECTED]>