9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Look backwards in acme?
@ 2005-08-22  1:43 YAMANASHI Takeshi
  2005-08-22  1:54 ` Russ Cox
  0 siblings, 1 reply; 8+ messages in thread
From: YAMANASHI Takeshi @ 2005-08-22  1:43 UTC (permalink / raw)
  To: 9fans

> > than :-/foobar.  Right click will only search forward,

This discussion reminded me of a suggestion to acme UI
I have been having for some while.

When you right click :/foo.bar , the mouse cursor
jumps to the next word matched by the regexp.
This jumping behaviour is a bit annoying if you want to
continue searching words matched by the regexp.
Can't we let stay the cursor on the regexp when you use ":/" or ":-/"?
-- 




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

* Re: [9fans] Look backwards in acme?
  2005-08-22  1:43 [9fans] Look backwards in acme? YAMANASHI Takeshi
@ 2005-08-22  1:54 ` Russ Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Russ Cox @ 2005-08-22  1:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> When you right click :/foo.bar , the mouse cursor
> jumps to the next word matched by the regexp.
> This jumping behaviour is a bit annoying if you want to
> continue searching words matched by the regexp.
> Can't we let stay the cursor on the regexp when you use ":/" or ":-/"?

Highlight the expression before clicking,
and then the cursor will stay put.

Russ


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

* Re: [9fans] Look backwards in acme?
@ 2005-08-22  2:03 YAMANASHI Takeshi
  0 siblings, 0 replies; 8+ messages in thread
From: YAMANASHI Takeshi @ 2005-08-22  2:03 UTC (permalink / raw)
  To: 9fans

> > When you right click :/foo.bar , the mouse cursor
> > jumps to the next word matched by the regexp.
 :
> Highlight the expression before clicking,
> and then the cursor will stay put.

SUPERB!!  thank you so much. :D
-- 




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

* Re: [9fans] Look backwards in acme?
  2005-08-21 20:16     ` Russ Cox
@ 2005-08-22  1:17       ` Sam
  0 siblings, 0 replies; 8+ messages in thread
From: Sam @ 2005-08-22  1:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


>> ... or right click even.  ?foobar works as well.
>
> "Edit ?foobar" will work, though that's longer
> than :-/foobar.  Right click will only search forward,
> unless you count wrapping around to the beginning
> of the file as searching "backwards".

And apparently, I do.



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

* Re: [9fans] Look backwards in acme?
  2005-08-21 13:59   ` Sam
@ 2005-08-21 20:16     ` Russ Cox
  2005-08-22  1:17       ` Sam
  0 siblings, 1 reply; 8+ messages in thread
From: Russ Cox @ 2005-08-21 20:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> > To search backwards for 'foobar' execute:
> >
> >      :-/foobar
> 
> ... or right click even.  ?foobar works as well.

"Edit ?foobar" will work, though that's longer
than :-/foobar.  Right click will only search forward,
unless you count wrapping around to the beginning
of the file as searching "backwards".

Russ


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

* Re: [9fans] Look backwards in acme?
  2005-08-21  0:49 ` Uriel
@ 2005-08-21 13:59   ` Sam
  2005-08-21 20:16     ` Russ Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Sam @ 2005-08-21 13:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


>> From the "Tip_o'_the_day" wiki page Acme section[1]):
>
> To search backwards for 'foobar' execute:
>
>      :-/foobar

... or right click even.  ?foobar works as well.




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

* Re: [9fans] Look backwards in acme?
  2005-08-21  0:45 quanstro
@ 2005-08-21  0:49 ` Uriel
  2005-08-21 13:59   ` Sam
  0 siblings, 1 reply; 8+ messages in thread
From: Uriel @ 2005-08-21  0:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>From the "Tip_o'_the_day" wiki page Acme section[1]):

To search backwards for 'foobar' execute:

      :-/foobar

[1]http://plan9.bell-labs.com/wiki/plan9/Tip_o'_the_day/index.html#ACME%20TIPS

On Sun, Aug 21, 2005 at 12:45:15AM +0000, quanstro@speakeasy.net wrote:
> is it possible to Look toward the beginning of a file with acme?
> frequently i am running win and Looking toward the end of a win
> window doesn't make much sense.
> 
> erik
> 
> 
> 


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

* [9fans] Look backwards in acme?
@ 2005-08-21  0:45 quanstro
  2005-08-21  0:49 ` Uriel
  0 siblings, 1 reply; 8+ messages in thread
From: quanstro @ 2005-08-21  0:45 UTC (permalink / raw)
  To: 9fans

is it possible to Look toward the beginning of a file with acme?
frequently i am running win and Looking toward the end of a win
window doesn't make much sense.

erik





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

end of thread, other threads:[~2005-08-22  2:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-22  1:43 [9fans] Look backwards in acme? YAMANASHI Takeshi
2005-08-22  1:54 ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-08-22  2:03 YAMANASHI Takeshi
2005-08-21  0:45 quanstro
2005-08-21  0:49 ` Uriel
2005-08-21 13:59   ` Sam
2005-08-21 20:16     ` Russ Cox
2005-08-22  1:17       ` Sam

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).