9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Acme: look for text in tags
@ 2019-08-21 13:12 Yuning Feng
  2019-08-21 17:33 ` Patrick Marchand
  2019-08-21 18:07 ` Skip Tavakkolian
  0 siblings, 2 replies; 3+ messages in thread
From: Yuning Feng @ 2019-08-21 13:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Is there a way to look for text in tags?

My instinct was to type in the topmost tag, then perform a button-3
click. It did not work.

A round-about way is to execute

 <9p read acme/index

and look for it there (using plan9port, much appreciated if I can be
directed to the right place to ask if this is not). The drawback is
that this needs to be done every time the tags have changed.

At the moment, button-3 click in the topmost tag does not seem to do
anything. It would be good if it could be interpreted as looking for
text in tags, if that fits into the mechanism of the editor.

Yuning



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

* Re: [9fans] Acme: look for text in tags
  2019-08-21 13:12 [9fans] Acme: look for text in tags Yuning Feng
@ 2019-08-21 17:33 ` Patrick Marchand
  2019-08-21 18:07 ` Skip Tavakkolian
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Marchand @ 2019-08-21 17:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi,

On 08/21, Yuning Feng wrote:
> Is there a way to look for text in tags?
>
> My instinct was to type in the topmost tag, then perform a button-3
> click. It did not work.
>
> A round-about way is to execute
>
>  <9p read acme/index
Not bad, just put wrap it in a script maybe ? I wonder if the plumber
has a way of knowing if a message comes from the tag bar.

>
> At the moment, button-3 click in the topmost tag does not seem to do
> anything. It would be good if it could be interpreted as looking for
> text in tags, if that fits into the mechanism of the editor.
Personally I've always felt like it would be nicer if a Look or Edit (without X or Y) in the tag bar of a column (or the top bar), would perform the operation on all buffers contained in the column (or all windows).

Would make for an easy mouse based way of doing an operation on
multiple buffers.



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

* Re: [9fans] Acme: look for text in tags
  2019-08-21 13:12 [9fans] Acme: look for text in tags Yuning Feng
  2019-08-21 17:33 ` Patrick Marchand
@ 2019-08-21 18:07 ` Skip Tavakkolian
  1 sibling, 0 replies; 3+ messages in thread
From: Skip Tavakkolian @ 2019-08-21 18:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

from inside acme win (rc) session:

% grep channel.c /mnt/acme/[1-9]*/tag
/mnt/acme/70/tag:/sys/src/libthread/channel.c Del Snarf | Look



On Wed, Aug 21, 2019 at 6:12 AM Yuning Feng <fengyuning1984@gmail.com>
wrote:

> Is there a way to look for text in tags?
>
> My instinct was to type in the topmost tag, then perform a button-3
> click. It did not work.
>
> A round-about way is to execute
>
>  <9p read acme/index
>
> and look for it there (using plan9port, much appreciated if I can be
> directed to the right place to ask if this is not). The drawback is
> that this needs to be done every time the tags have changed.
>
> At the moment, button-3 click in the topmost tag does not seem to do
> anything. It would be good if it could be interpreted as looking for
> text in tags, if that fits into the mechanism of the editor.
>
> Yuning
>
>

[-- Attachment #2: Type: text/html, Size: 1260 bytes --]

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

end of thread, other threads:[~2019-08-21 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 13:12 [9fans] Acme: look for text in tags Yuning Feng
2019-08-21 17:33 ` Patrick Marchand
2019-08-21 18:07 ` Skip Tavakkolian

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