Gnus development mailing list
 help / color / mirror / Atom feed
* Completion confusion with gnus-split-methods
@ 1996-04-24 22:14 Mark Boyns
  1996-04-24 23:44 ` Hallvard B Furuseth
  1996-04-25  9:30 ` Per Abrahamsen
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Boyns @ 1996-04-24 22:14 UTC (permalink / raw)


I've been discussing this with Lars and so far we haven't come up with
a good solution...

Normally gnus-summary-save-article displays a prompt like:

    Save in Unix mail file: (default file) ~/News/

But, when gnus-split-methods has more than one match there is
no default and thus the prompt is:

    Save in Unix mail file: 

At first I didn't know what was going on, but pressing TAB made it
clear that gnus was performing completion of the matching
gnus-split-methods files.

Lars and I haven't been able to come up with a better way handle
the situation.  Some ideas are:

    Save in Unix mail file: (default file1 file2 file3) ~/News/

    Save in Unix mail file: (3 matches) ~/News/

    Save in Unix mail file: (not unique) ~/News/

    Save in Unix mail file: (TAB for completions) ~/News/

    A completions buffer

    Leave it as-is

Any suggestions?

-- 
Mark Boyns <boyns@sdsu.edu> <URL:http://www.sdsu.edu/~boyns/>
PGP fingerprint = D3 28 A2 F7 D1 4C F8 EE  BF 7A 11 54 1C E5 6E CC


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Completion confusion with gnus-split-methods
  1996-04-24 22:14 Completion confusion with gnus-split-methods Mark Boyns
@ 1996-04-24 23:44 ` Hallvard B Furuseth
  1996-04-25  9:30 ` Per Abrahamsen
  1 sibling, 0 replies; 4+ messages in thread
From: Hallvard B Furuseth @ 1996-04-24 23:44 UTC (permalink / raw)
  Cc: ding

> Normally gnus-summary-save-article displays a prompt like:
> 
>     Save in Unix mail file: (default file) ~/News/
> 
> But, when gnus-split-methods has more than one match there is
> no default and thus the prompt is:
> 
>     Save in Unix mail file: 
> (...)
> Any suggestions?

Define gnus-split-methods to list the choices by priority and use the
first choice as default.

>     A completions buffer

Is there wa way to let the initial completions buffer contain the
matched choices and let the user complete these, but still allow the
user to switch (in an intuitive way) to normal filename completion?

Maybe let the "default" completions start with "*", for example..?


Regards,

Hallvard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Completion confusion with gnus-split-methods
  1996-04-24 22:14 Completion confusion with gnus-split-methods Mark Boyns
  1996-04-24 23:44 ` Hallvard B Furuseth
@ 1996-04-25  9:30 ` Per Abrahamsen
  1996-04-28  9:17   ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Per Abrahamsen @ 1996-04-25  9:30 UTC (permalink / raw)



You can cheat and put the completions in the prompt history.  That way
you will get normal file completion with TAB and use arrow `up' and
`down' to move through the defaults.

>>>  Save in Unix mail file: (`M-p' for defaults) ~/News/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Completion confusion with gnus-split-methods
  1996-04-25  9:30 ` Per Abrahamsen
@ 1996-04-28  9:17   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-04-28  9:17 UTC (permalink / raw)


Per Abrahamsen <abraham@dina.kvl.dk> writes:

> You can cheat and put the completions in the prompt history.  That way
> you will get normal file completion with TAB and use arrow `up' and
> `down' to move through the defaults.
> 
> >>>  Save in Unix mail file: (`M-p' for defaults) ~/News/

That's the best suggestion I've seen so far.  If we couple this with
Hallvard's suggestion that the first match is the most default, then
if the user just types `RET', then the first match is used.  

-- 
  "Yes.  The journey through the human heart 
     would have to wait until some other time."


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-04-28  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-24 22:14 Completion confusion with gnus-split-methods Mark Boyns
1996-04-24 23:44 ` Hallvard B Furuseth
1996-04-25  9:30 ` Per Abrahamsen
1996-04-28  9:17   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).