9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] New internal command for acme proposal (with implementations)
@ 2014-01-24 10:44 Uvelichitel
  2014-01-24 10:59 ` Uvelichitel
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Uvelichitel @ 2014-01-24 10:44 UTC (permalink / raw)
  To: 9fans

	Hi 9fans. While working with large sources in acme I feeling some lack
of navigation capacity. So two new cmd. 1) 'Rev' , works precisely as
'Look' but in reverse direction. It also change behavior of right mouse
button search to search reverse. You will notice change with pointer
position and little symbol near pipe in tag. Executing 'Look' instantly
change behavior back. After all navigation 2) 'Tip' , return pointer to
last typing point. It understand 2-1 chording, so you can handy insert
selection to last insert point without snarfing, including same window.
	I can't implement cmd as external, so I did little changes in original
acme sources. I did all my best to make it accurate. Things work for me
on p9p for around a year. You can try it at
https://bitbucket.org/uvelichitel/acme. Repo contains full src/cmd/acme
dir, which you can 'mk install' and patch.diff to see changes. Any
feedback very appreciated, proposal can be implemented. In positive
case I can try to commite to p9p official repo at least.
	Best regards.



^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [9fans] New internal command for acme proposal (with implementations)
@ 2014-01-24 12:49 Uvelichitel
  2014-01-24 17:32 ` Bence Fábián
  0 siblings, 1 reply; 12+ messages in thread
From: Uvelichitel @ 2014-01-24 12:49 UTC (permalink / raw)
  To: 9fans

Hi dexen.

>> 	Hi 9fans. While working with large sources in acme I feeling some lack
>>of navigation capacity. So two new cmd. 1) 'Rev' , works precisely as
>>'Look' but in reverse direction. It also change behavior of right mouse
>>button search to search reverse. You will notice change with pointer
>>position and little symbol near pipe in tag. Executing 'Look' instantly
>>change behavior back.

>:-/REGEX

Sure, but it regexp search, which more expensive not literal and need
more typing. My proposal as opposite behave exactly as 'Look' and also
change behavior of right mouse
button search.

>> After all navigation 2) 'Tip' , return pointer to
>>last typing point. It understand 2-1 chording, so you can handy insert
>>selection to last insert point without snarfing, including same window.

>Left/Right Arrow keys takes you to the position where selection (cursor)
>currently is.

>if the selection covers several lines, Left takes you to beginning, and
Right
>to the end.


>this plays well with double-click on any open/close
parenthesis/bracket/brace.
>to quickly move to the other end of code block etc.

Proposal 'Tip' command operate with last insertion point, not selection
point, mean 'Tip' cmd return you where you typing after all selections
and scrolling.

Anyway thanks for feedback. Best regards.




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

end of thread, other threads:[~2014-02-05 17:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24 10:44 [9fans] New internal command for acme proposal (with implementations) Uvelichitel
2014-01-24 10:59 ` Uvelichitel
2014-01-24 11:15 ` dexen deVries
2014-02-05 10:49 ` Alexander Sychev
2014-02-05 11:36   ` erik quanstrom
2014-02-05 16:04     ` Bakul Shah
2014-02-05 16:10       ` erik quanstrom
2014-02-05 16:26         ` Bakul Shah
2014-02-05 16:39       ` dexen deVries
2014-02-05 17:04         ` Bakul Shah
2014-01-24 12:49 Uvelichitel
2014-01-24 17:32 ` Bence Fábián

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