🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Hubert Canon Thu, 10 Jul 1997 00:00
[SLRN] Yes/No prompt
#35021
Author: Hubert Canon
Date: Thu, 10 Jul 1997 00:00
9 lines
823 bytes
When I press 'f' by accident, slrn gives me a 'Yes/No' prompt. I have
the reflex to type C-g (I'm a emacs-addict), but slrn say "Invalid
answer". Why C-g doesn't simply cancel the prompt ?

-- 
Hubert Canon

Re: [SLRN] Yes/No prompt
#35020
Author: Sven Guckes
Date: Thu, 10 Jul 1997 00:00
12 lines
1079 bytes
Hubert.Canon@irisa.fr (Hubert Canon):
> When I press 'f' by accident, slrn gives me a 'Yes/No' prompt.
> I have the reflex to type C-g (I'm a emacs-addict), but slrn say
> "Invalid answer".  Why doesn't C-g simply cancel the prompt?

Well, it is one of those parts in the code where a ^G does not apply.
It is simply missing, I'd say.  JED - can you add it?

Sven

Re: [SLRN] Yes/No prompt
#35031
Author: John E. Davis
Date: Thu, 10 Jul 1997 00:00
22 lines
1580 bytes
On 10 Jul 1997 14:51:11 GMT, Sven Guckes <guckes@math.fu-berlin.de>
wrote:
>Hubert.Canon@irisa.fr (Hubert Canon):
>> When I press 'f' by accident, slrn gives me a 'Yes/No' prompt.
>> I have the reflex to type C-g (I'm a emacs-addict), but slrn say
>> "Invalid answer".  Why doesn't C-g simply cancel the prompt?
>
>Well, it is one of those parts in the code where a ^G does not apply.
>It is simply missing, I'd say.  JED - can you add it?

What does Ctrl-G mean when the user is presented with such a prompt?
Does it mean yes?  Does it mean no?  Does it mean something else?  If
it means something else such as `cancel', then the prompt is
inappropriate.  I will change that particular prompt to a
yes/no/cancel prompt for 0.9.4.3.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Re: [SLRN] Yes/No prompt
#35040
Author: Sven Guckes
Date: Fri, 11 Jul 1997 00:00
25 lines
1849 bytes
> davis@space.mit.edu (John E. Davis) writes:
> > What does Ctrl-G mean when the user is presented with such a prompt?
> > Does it mean yes?  Does it mean no?  Does it mean something else?

hniksic@srce.hr (Hrvoje Niksic):
> In Emacs it means `cancel the whole operation you started'.  For instance,
> if you press a key that gets you to a strange prompt, pressing C-g will
> abort both the prompt, and the command that started it.
> You can regard it as a longjmp to toplevel.

I always regarded the command ^G to "abort" the current prompt.
And I always expected it to abort the whole command sequence.
With a "cancel" I would expect to be returned to the previous
prompt of the command sequence, though.

But as long as ^G and "cancel" behave consistently, I don't mind either way.

Btw, there are other prompts where I would want an additonal "cancel", too.
An additional "cancel" for clarity would be much appreciated.
Could you add these, JED?  (Yes, I should write a list of these first.)

Sven

Re: [SLRN] Yes/No prompt
#35053
Author: Hrvoje Niksic
Date: Fri, 11 Jul 1997 00:00
17 lines
1563 bytes
davis@space.mit.edu (John E. Davis) writes:

> What does Ctrl-G mean when the user is presented with such a prompt?
> Does it mean yes?  Does it mean no?  Does it mean something else?

In Emacs it means `cancel the whole operation you started'.  For
instance, if you press a key that gets you to a strange prompt,
pressing C-g will abort both the prompt, and the command that started
it.  You can regard it as a longjmp to toplevel.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!!

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads