darcs

Issue 288 search feature in interactive patch selection

Title search feature in interactive patch selection
Priority feature Status needs-implementation
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics UI

Created on 2006-10-11.14:34:36 by kowey, last changed 2017-08-09.14:54:03 by bfrk.

Messages
msg1062 (view) Author: kowey Date: 2006-10-11.14:34:26
Import of RT #314

Junio C Hamano <junkio@cox.net>
-------------------------------
I often wish 'What now?' prompt for many darcs commands included
'look for an item that matches a string I am going to type'.

An example session with a version of darcs that does not exist
on my machine with the feature I wish:

- In hunk selection interface of "darcs record", look for a
hunk that have a given string as substring; skip to it
without changing the action selection for the item currently
being asked about. '/' goes forwards, '?' goes backwards:

$ darcs record --ask-deps
hunk ./file 2
-primero change
+first change
Shall I record this patch? (1/350) [ynWsfqadjk/?], or h for help: /
Enter a string to look for (going forward): import
hunk ./file 230
-note so important line
+not so important line
Shall I record this patch? (224/350) [ynWsfqadjk/?], or h for help: y
hunk ./file 231
+some other change
Shall I record this patch? (225/350) [ynWsfqadjk/?], or h for help: ?
Enter a string to look for (going backward): primero
hunk ./file 2
-primero change
+first change
Shall I record this patch? (1/350) [ynWsfqadjk/?], or h for help:
...

- In patch selection interface of "darcs record --ask-deps",
look for a patch that have a given string as substring of its
name or comments; skip to it without changing the action
selection for the item currently being asked about. '/' goes
forwards, '?' goes backwards:

Sat Apr 2 08:55:05 PST 2005 junkio
* foo
Shall I depend on this patch? (1/320) [ynWvxqadjk/?], or h for help: /
Enter a string to look for (going forward): tripe ration

Fri Apr 1 12:30:59 PST 2004 junkio
* Double weight of tripe ration to balance the game difficulty
Shall I depend on this patch? (223/320) [ynWvxqadjk], or ? for help: y
...
msg3018 (view) Author: markstos Date: 2008-02-01.03:33:30
I have also found myself looking for the "/" (search) option in patch selection
lists.
msg19531 (view) Author: bfrk Date: 2017-08-09.14:54:02
+1 that would be a nice feature. however, implementing it means to delve
into Darcs.UI.SelectChanges which is... challenging.
History
Date User Action Args
2006-10-11 14:34:36koweycreate
2007-08-14 06:26:06koweysettopic: - FromRequestTracker
nosy: + beschmi
2008-02-01 03:33:31markstossetstatus: unread -> deferred
nosy: + markstos
messages: + msg3018
2009-08-06 17:49:45adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:52:06adminsetnosy: - beschmi
2009-08-10 21:56:27adminsetnosy: - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:01:24adminsetnosy: + darcs-devel, - simon
2009-08-27 13:53:57adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin
2009-08-27 14:41:13koweysetstatus: deferred -> needs-implementation
nosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin
topic: + UI
2017-08-09 14:54:03bfrksetmessages: + msg19531