* [9fans] reverse search direction in p9p acme
@ 2011-09-18 13:21 Mathieu Lonjaret
2011-09-18 13:28 ` dexen deVries
0 siblings, 1 reply; 23+ messages in thread
From: Mathieu Lonjaret @ 2011-09-18 13:21 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hi,
in case anyone's interested:
https://bitbucket.org/mpl/acme-with-easy-backwards-search
Cheers,
Mathieu
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 13:21 [9fans] reverse search direction in p9p acme Mathieu Lonjaret
@ 2011-09-18 13:28 ` dexen deVries
2011-09-18 13:32 ` Mathieu Lonjaret
0 siblings, 1 reply; 23+ messages in thread
From: dexen deVries @ 2011-09-18 13:28 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sunday 18 September 2011 15:21:34 Mathieu Lonjaret wrote:
> in case anyone's interested:
>
> https://bitbucket.org/mpl/acme-with-easy-backwards-search
Error
You do not have access to this repository.
--
dexen deVries
> It's called trolling. It's been done since there were bangs in people's
email addresses.
thaumaturgy, on HN
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 13:28 ` dexen deVries
@ 2011-09-18 13:32 ` Mathieu Lonjaret
2011-09-18 13:56 ` dexen deVries
0 siblings, 1 reply; 23+ messages in thread
From: Mathieu Lonjaret @ 2011-09-18 13:32 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Ah thanks, I always forget private is the default in bitbucket.
better now?
On Sun, Sep 18, 2011 at 3:28 PM, dexen deVries <dexen.devries@gmail.com> wrote:
> On Sunday 18 September 2011 15:21:34 Mathieu Lonjaret wrote:
>> in case anyone's interested:
>>
>> https://bitbucket.org/mpl/acme-with-easy-backwards-search
>
>
>
> Error
> You do not have access to this repository.
>
>
> --
> dexen deVries
>
>> It's called trolling. It's been done since there were bangs in people's
> email addresses.
>
> thaumaturgy, on HN
>
>
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 13:32 ` Mathieu Lonjaret
@ 2011-09-18 13:56 ` dexen deVries
2011-09-18 14:19 ` Mathieu Lonjaret
0 siblings, 1 reply; 23+ messages in thread
From: dexen deVries @ 2011-09-18 13:56 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sunday 18 September 2011 15:32:27 Mathieu Lonjaret wrote:
> Ah thanks, I always forget private is the default in bitbucket.
> better now?
yep.
you commited only the final version; it'd be easier to read if you commited
first vanilla and then your changes.
please explain: how's your Rev command better than searching via :-/REGEX? Is
Rev the equivalent of Look?
--
dexen deVries
> It's called trolling. It's been done since there were bangs in people's
email addresses.
thaumaturgy, on HN
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 13:56 ` dexen deVries
@ 2011-09-18 14:19 ` Mathieu Lonjaret
2011-09-18 14:30 ` dexen deVries
0 siblings, 1 reply; 23+ messages in thread
From: Mathieu Lonjaret @ 2011-09-18 14:19 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
As the description says:
"I found I want to quickly look for something upwards often enough
that it was getting annoying to have to type :-/ or :? everytime. With
this I just have to exec Rev in the tag bar to reverse the search
direction."
Furthermore, with :-/foobar, you have to go back with your mouse to
the tag bar where you typed this for every subsequent search.
On Sun, Sep 18, 2011 at 3:56 PM, dexen deVries <dexen.devries@gmail.com> wrote:
> On Sunday 18 September 2011 15:32:27 Mathieu Lonjaret wrote:
>> Ah thanks, I always forget private is the default in bitbucket.
>> better now?
>
> yep.
>
> you commited only the final version; it'd be easier to read if you commited
> first vanilla and then your changes.
>
> please explain: how's your Rev command better than searching via :-/REGEX? Is
> Rev the equivalent of Look?
>
>
> --
> dexen deVries
>
>> It's called trolling. It's been done since there were bangs in people's
> email addresses.
>
> thaumaturgy, on HN
>
>
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 14:19 ` Mathieu Lonjaret
@ 2011-09-18 14:30 ` dexen deVries
2011-09-18 14:52 ` Mathieu Lonjaret
0 siblings, 1 reply; 23+ messages in thread
From: dexen deVries @ 2011-09-18 14:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sunday 18 September 2011 16:19:28 Mathieu Lonjaret wrote:
> As the description says:
> "I found I want to quickly look for something upwards often enough
> that it was getting annoying to have to type :-/ or :? everytime. With
> this I just have to exec Rev in the tag bar to reverse the search
> direction."
missed that one, thanks. looks good.
> Furthermore, with :-/foobar, you have to go back with your mouse to
> the tag bar where you typed this for every subsequent search.
that depends. if you first select the whole :-/REGEX with left mouse button
and then right-click, the cursor remains over the expression and you don't
have to return to the tag bar.
--
dexen deVries
> It's called trolling. It's been done since there were bangs in people's
email addresses.
thaumaturgy, on HN
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 14:30 ` dexen deVries
@ 2011-09-18 14:52 ` Mathieu Lonjaret
2011-09-19 8:01 ` Peter A. Cejchan
0 siblings, 1 reply; 23+ messages in thread
From: Mathieu Lonjaret @ 2011-09-18 14:52 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sun, Sep 18, 2011 at 4:30 PM, dexen deVries <dexen.devries@gmail.com> wrote:
> On Sunday 18 September 2011 16:19:28 Mathieu Lonjaret wrote:
>> As the description says:
>> "I found I want to quickly look for something upwards often enough
>> that it was getting annoying to have to type :-/ or :? everytime. With
>> this I just have to exec Rev in the tag bar to reverse the search
>> direction."
>
> missed that one, thanks. looks good.
>
>
>> Furthermore, with :-/foobar, you have to go back with your mouse to
>> the tag bar where you typed this for every subsequent search.
>
> that depends. if you first select the whole :-/REGEX with left mouse button
> and then right-click, the cursor remains over the expression and you don't
> have to return to the tag bar.
Ah, yes. scratch my last remark then.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-18 14:52 ` Mathieu Lonjaret
@ 2011-09-19 8:01 ` Peter A. Cejchan
2011-09-19 8:19 ` Mathieu Lonjaret
0 siblings, 1 reply; 23+ messages in thread
From: Peter A. Cejchan @ 2011-09-19 8:01 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 63 bytes --]
would it run on native plan9, too?
thanks, peter, aka
++pac
[-- Attachment #2: Type: text/html, Size: 71 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 8:01 ` Peter A. Cejchan
@ 2011-09-19 8:19 ` Mathieu Lonjaret
2011-09-19 8:37 ` roger peppe
0 siblings, 1 reply; 23+ messages in thread
From: Mathieu Lonjaret @ 2011-09-19 8:19 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
I haven't tried, but I don't see why not.
On Mon, Sep 19, 2011 at 10:01 AM, Peter A. Cejchan <tyapca7@gmail.com> wrote:
> would it run on native plan9, too?
> thanks, peter, aka
> ++pac
>
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 8:19 ` Mathieu Lonjaret
@ 2011-09-19 8:37 ` roger peppe
2011-09-19 8:55 ` dexen deVries
` (2 more replies)
0 siblings, 3 replies; 23+ messages in thread
From: roger peppe @ 2011-09-19 8:37 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
i'm not sure about adding more invisible state to acme
windows.
i've sometimes imagined a version of acme where shift-right-click
would reverse the search. no way of implementing it under
plan 9 itself though.
On 19 September 2011 09:19, Mathieu Lonjaret <mathieu.lonjaret@gmail.com> wrote:
> I haven't tried, but I don't see why not.
>
> On Mon, Sep 19, 2011 at 10:01 AM, Peter A. Cejchan <tyapca7@gmail.com> wrote:
>> would it run on native plan9, too?
>> thanks, peter, aka
>> ++pac
>>
>
>
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 8:37 ` roger peppe
@ 2011-09-19 8:55 ` dexen deVries
2011-09-19 9:13 ` roger peppe
2011-09-19 9:14 ` Mathieu Lonjaret
2011-09-19 9:34 ` yy
2 siblings, 1 reply; 23+ messages in thread
From: dexen deVries @ 2011-09-19 8:55 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Monday 19 of September 2011 10:37:54 roger peppe wrote:
> i'm not sure about adding more invisible state to acme
> windows.
if `hidden' is the keyword, then let's have some new files in acme's control
file hierarchy for various bits of state.
aside of Rev, also paths from the Include command, the `dirty bit' that affects
behavior of Del, Delcol, and Exit, and any other elements of hidden state. a
few new files per window.
privately i think the Rev command is redundant, but meh.
--
dexen deVries
[[[↓][→]]]
For example, if the first thing in the file is:
<?kzy irefvba="1.0" rapbqvat="ebg13"?>
an XML parser will recognize that the document is stored in the traditional
ROT13 encoding.
(( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 8:55 ` dexen deVries
@ 2011-09-19 9:13 ` roger peppe
0 siblings, 0 replies; 23+ messages in thread
From: roger peppe @ 2011-09-19 9:13 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 19 September 2011 09:55, dexen deVries <dexen.devries@gmail.com> wrote:
> On Monday 19 of September 2011 10:37:54 roger peppe wrote:
>> i'm not sure about adding more invisible state to acme
>> windows.
>
> if `hidden' is the keyword, then let's have some new files in acme's control
> file hierarchy for various bits of state.
making the state available to programs doesn't really cut it for me.
for it to be useful in moment-to-moment interactions with acme,
it must be visible on screen, in the same way that the dirty
bit has the top left indicator (well, mostly).
> privately i think the Rev command is redundant, but meh.
well, i've gone all these years without it, so it is redundant in that
sense, but it still feels a bit awkward when browsing a large file
and right clicking one-too-many times, that i have to copy the
text to the tag, insert :-/, reselect and/or quote metacharacters,
and click. it's a sequence i often get slightly wrong too
by getting the selection slightly out.
a single-click reverse search would quickly internalise and be
very useful i think. the difficulty is coming up with the right way of
doing it.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 8:37 ` roger peppe
2011-09-19 8:55 ` dexen deVries
@ 2011-09-19 9:14 ` Mathieu Lonjaret
2011-09-19 9:34 ` yy
2 siblings, 0 replies; 23+ messages in thread
From: Mathieu Lonjaret @ 2011-09-19 9:14 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Mon, Sep 19, 2011 at 10:37 AM, roger peppe <rogpeppe@gmail.com> wrote:
> i'm not sure about adding more invisible state to acme
> windows.
Well I needed to do that in a hurry, but I'll gladly reimplement it
later better if you have a nice suggestion.
> i've sometimes imagined a version of acme where shift-right-click
> would reverse the search. no way of implementing it under
> plan 9 itself though.
Yeah my first idea was with ctrl+right click but I figured it was
easier/faster to just add it as a text command.
> On 19 September 2011 09:19, Mathieu Lonjaret <mathieu.lonjaret@gmail.com> wrote:
>> I haven't tried, but I don't see why not.
>>
>> On Mon, Sep 19, 2011 at 10:01 AM, Peter A. Cejchan <tyapca7@gmail.com> wrote:
>>> would it run on native plan9, too?
>>> thanks, peter, aka
>>> ++pac
>>>
>>
>>
>
>
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 8:37 ` roger peppe
2011-09-19 8:55 ` dexen deVries
2011-09-19 9:14 ` Mathieu Lonjaret
@ 2011-09-19 9:34 ` yy
2011-09-19 14:50 ` Rob Pike
[not found] ` <CAKzdPgxHUkmZ9wVHVNo>
2 siblings, 2 replies; 23+ messages in thread
From: yy @ 2011-09-19 9:34 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
2011/9/19 roger peppe <rogpeppe@gmail.com>:
> i've sometimes imagined a version of acme where shift-right-click
> would reverse the search. no way of implementing it under
> plan 9 itself though.
Another option is to use a right-click on Look to search backwards.
Then, you will need a workaround to look for Look, but I guess you can
live with that. The exception is not pretty, but it could be
convenient.
--
- yiyus || JGL .
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 9:34 ` yy
@ 2011-09-19 14:50 ` Rob Pike
2011-09-19 16:14 ` roger peppe
[not found] ` <CAKzdPgxHUkmZ9wVHVNo>
1 sibling, 1 reply; 23+ messages in thread
From: Rob Pike @ 2011-09-19 14:50 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Maybe a chorded 3-1 click (not 1-3).
-rob
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 14:50 ` Rob Pike
@ 2011-09-19 16:14 ` roger peppe
2011-09-19 18:17 ` Rob Pike
0 siblings, 1 reply; 23+ messages in thread
From: roger peppe @ 2011-09-19 16:14 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 19 September 2011 15:50, Rob Pike <robpike@gmail.com> wrote:
> Maybe a chorded 3-1 click (not 1-3).
+1
3-2 and 3-1 both do the same thing currently AFAIK,
so one could go.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 16:14 ` roger peppe
@ 2011-09-19 18:17 ` Rob Pike
2011-09-20 8:00 ` roger peppe
0 siblings, 1 reply; 23+ messages in thread
From: Rob Pike @ 2011-09-19 18:17 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
i don't think either does anything.
-rob
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
[not found] ` <CAKzdPgx2WxsMsh-opRuHAFbrqDjf9LW15b_d0xT2Ym_zngrjoQ@mail.gmail.c>
@ 2011-09-19 18:19 ` erik quanstrom
0 siblings, 0 replies; 23+ messages in thread
From: erik quanstrom @ 2011-09-19 18:19 UTC (permalink / raw)
To: 9fans
On Mon Sep 19 14:19:02 EDT 2011, robpike@gmail.com wrote:
> i don't think either does anything.
in rio, b3 gives you a menu.
- erik
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-19 18:17 ` Rob Pike
@ 2011-09-20 8:00 ` roger peppe
2011-09-20 14:22 ` Rob Pike
0 siblings, 1 reply; 23+ messages in thread
From: roger peppe @ 2011-09-20 8:00 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 19 September 2011 19:17, Rob Pike <robpike@gmail.com> wrote:
> i don't think either does anything.
indeed, but it's a useful nothing - they cancel an impending b3 action,
useful if you're sweeping with b3 and started in the wrong place.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-20 8:00 ` roger peppe
@ 2011-09-20 14:22 ` Rob Pike
2011-09-23 13:52 ` Yaroslav
2011-09-26 8:59 ` Christian Neukirchen
0 siblings, 2 replies; 23+ messages in thread
From: Rob Pike @ 2011-09-20 14:22 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
rio doesn't have button 3 search. acme does.
-rob
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-20 14:22 ` Rob Pike
@ 2011-09-23 13:52 ` Yaroslav
2011-09-26 8:59 ` Christian Neukirchen
1 sibling, 0 replies; 23+ messages in thread
From: Yaroslav @ 2011-09-23 13:52 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> rio doesn't have button 3 search. acme does.
been missing a search in rio few times...
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-20 14:22 ` Rob Pike
2011-09-23 13:52 ` Yaroslav
@ 2011-09-26 8:59 ` Christian Neukirchen
2011-09-26 9:59 ` Steve Simon
1 sibling, 1 reply; 23+ messages in thread
From: Christian Neukirchen @ 2011-09-26 8:59 UTC (permalink / raw)
To: 9fans
yarikos@gmail.com (Yaroslav) writes:
>> rio doesn't have button 3 search. acme does.
>
> been missing a search in rio few times...
Old (pre-p9p) 9terms had it, in the menu as "fwd" and "bkwd".
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneukirchen.org
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [9fans] reverse search direction in p9p acme
2011-09-26 8:59 ` Christian Neukirchen
@ 2011-09-26 9:59 ` Steve Simon
0 siblings, 0 replies; 23+ messages in thread
From: Steve Simon @ 2011-09-26 9:59 UTC (permalink / raw)
To: 9fans
I do miss this on plan9 from time-to-time.
-Steve
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2011-09-26 9:59 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18 13:21 [9fans] reverse search direction in p9p acme Mathieu Lonjaret
2011-09-18 13:28 ` dexen deVries
2011-09-18 13:32 ` Mathieu Lonjaret
2011-09-18 13:56 ` dexen deVries
2011-09-18 14:19 ` Mathieu Lonjaret
2011-09-18 14:30 ` dexen deVries
2011-09-18 14:52 ` Mathieu Lonjaret
2011-09-19 8:01 ` Peter A. Cejchan
2011-09-19 8:19 ` Mathieu Lonjaret
2011-09-19 8:37 ` roger peppe
2011-09-19 8:55 ` dexen deVries
2011-09-19 9:13 ` roger peppe
2011-09-19 9:14 ` Mathieu Lonjaret
2011-09-19 9:34 ` yy
2011-09-19 14:50 ` Rob Pike
2011-09-19 16:14 ` roger peppe
2011-09-19 18:17 ` Rob Pike
2011-09-20 8:00 ` roger peppe
2011-09-20 14:22 ` Rob Pike
2011-09-23 13:52 ` Yaroslav
2011-09-26 8:59 ` Christian Neukirchen
2011-09-26 9:59 ` Steve Simon
[not found] ` <CAKzdPgxHUkmZ9wVHVNo>
[not found] ` <CAKzdPgx2WxsMsh-opRuHAFbrqDjf9LW15b_d0xT2Ym_zngrjoQ@mail.gmail.c>
2011-09-19 18:19 ` erik quanstrom
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).