* [9fans] ACME Getall ? @ 2015-03-24 16:51 Aram Santogidis 2015-03-24 17:04 ` Kostarev Ilya 0 siblings, 1 reply; 6+ messages in thread From: Aram Santogidis @ 2015-03-24 16:51 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 392 bytes --] Hi all, imagine you have multiple files open in acme and then you $ git checkout somebranch now there is the need to update the views of each open file. You can type Get in the tag of each window and middle-click it, yes. It would be nice to have a Getall along the lines of Putall, though. I was wondering what is the best way to handle the above situation. Thanks! Aram [-- Attachment #2: Type: text/html, Size: 541 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] ACME Getall ? 2015-03-24 16:51 [9fans] ACME Getall ? Aram Santogidis @ 2015-03-24 17:04 ` Kostarev Ilya 2015-03-24 17:14 ` Kostarev Ilya 0 siblings, 1 reply; 6+ messages in thread From: Kostarev Ilya @ 2015-03-24 17:04 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 519 bytes --] Seems Edit X/.*/ r can do -- Kostarev Ilya On 24 Mar 2015 at 19:54:03, Aram Santogidis (gnubuntux@gmail.com) wrote: Hi all, imagine you have multiple files open in acme and then you $ git checkout somebranch now there is the need to update the views of each open file. You can type Get in the tag of each window and middle-click it, yes. It would be nice to have a Getall along the lines of Putall, though. I was wondering what is the best way to handle the above situation. Thanks! Aram [-- Attachment #2: Type: text/html, Size: 1581 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] ACME Getall ? 2015-03-24 17:04 ` Kostarev Ilya @ 2015-03-24 17:14 ` Kostarev Ilya 2015-03-24 17:21 ` Aram Santogidis 0 siblings, 1 reply; 6+ messages in thread From: Kostarev Ilya @ 2015-03-24 17:14 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 638 bytes --] Or even Edit X r -- Kostarev Ilya On 24 Mar 2015 at 20:04:41, Kostarev Ilya (uvelichitel@gmail.com) wrote: Seems Edit X/.*/ r can do -- Kostarev Ilya On 24 Mar 2015 at 19:54:03, Aram Santogidis (gnubuntux@gmail.com) wrote: Hi all, imagine you have multiple files open in acme and then you $ git checkout somebranch now there is the need to update the views of each open file. You can type Get in the tag of each window and middle-click it, yes. It would be nice to have a Getall along the lines of Putall, though. I was wondering what is the best way to handle the above situation. Thanks! Aram [-- Attachment #2: Type: text/html, Size: 2507 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] ACME Getall ? 2015-03-24 17:14 ` Kostarev Ilya @ 2015-03-24 17:21 ` Aram Santogidis 2015-03-24 18:38 ` Antons Suspans 0 siblings, 1 reply; 6+ messages in thread From: Aram Santogidis @ 2015-03-24 17:21 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 1205 bytes --] Thanks for your response Ilya. I tried your first suggestion I get the following Error. Edit: no file name given For the second suggestion I get this Error. Edit: <dir-name> is a directory I closed the directory windows and it was executed, however dot was replaced with the contents of a file. In this case the dot is not pointing to all text. So this didn't worked either. PS: I'm using p9p acme. On Tue, Mar 24, 2015 at 6:14 PM, Kostarev Ilya <uvelichitel@gmail.com> wrote: > Or even > Edit X r > > -- > Kostarev Ilya > > On 24 Mar 2015 at 20:04:41, Kostarev Ilya (uvelichitel@gmail.com) wrote: > > Seems > Edit X/.*/ r > can do > -- > Kostarev Ilya > > On 24 Mar 2015 at 19:54:03, Aram Santogidis (gnubuntux@gmail.com) wrote: > > Hi all, > > imagine you have multiple files open in acme and then you > > $ git checkout somebranch > > now there is the need to update the views of each open file. You can type > Get in the tag of each > window and middle-click it, yes. It would be nice to have a Getall along > the lines of Putall, though. > > I was wondering what is the best way to handle the above situation. > > Thanks! > Aram > > [-- Attachment #2: Type: text/html, Size: 3097 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] ACME Getall ? 2015-03-24 17:21 ` Aram Santogidis @ 2015-03-24 18:38 ` Antons Suspans 2015-03-25 8:55 ` Aram Santogidis 0 siblings, 1 reply; 6+ messages in thread From: Antons Suspans @ 2015-03-24 18:38 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs I guess you could try: Edit X/^'.. ./ e The leading apostrophe selects dirty windows (also directories won't match), and the trailing dot (note the space) ensures filename is set. If you want to reread non-dirty... then +Errors and dirs/ should be excluded - this looks uglier: Edit X:^... [^+].*[^\/]$: e (and will also ignore 1-letter filenames, if you care). On Tue, Mar 24, 2015 at 06:21:19PM +0100, Aram Santogidis wrote: > Thanks for your response Ilya. > > I tried your first suggestion I get the following Error. > > Edit: no file name given > > For the second suggestion I get this Error. > > Edit: <dir-name> is a directory > > I closed the directory windows and it was executed, however dot was replaced > with the contents of a file. > In this case the dot is not pointing to all text. > > So this didn't worked either. > > PS: I'm using p9p acme. > > On Tue, Mar 24, 2015 at 6:14 PM, Kostarev Ilya <uvelichitel@gmail.com> wrote: > > Or even > Edit X r > > -- > Kostarev Ilya > > > On 24 Mar 2015 at 20:04:41, Kostarev Ilya (uvelichitel@gmail.com) wrote: > > Seems > Edit X/.*/ r > can do > -- > Kostarev Ilya > > > On 24 Mar 2015 at 19:54:03, Aram Santogidis (gnubuntux@gmail.com) wrote: > > Hi all, > > imagine you have multiple files open in acme and then you > > $ git checkout somebranch > > now there is the need to update the views of each open file. You can type > Get in the tag of each > window and middle-click it, yes. It would be nice to have a Getall along > the lines of Putall, though. > > I was wondering what is the best way to handle the above situation. > > Thanks! > Aram > > -- Antons Šušpans (Suspans), +371 29498719, <antox@ml.lv> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] ACME Getall ? 2015-03-24 18:38 ` Antons Suspans @ 2015-03-25 8:55 ` Aram Santogidis 0 siblings, 0 replies; 6+ messages in thread From: Aram Santogidis @ 2015-03-25 8:55 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 2150 bytes --] Great, your suggestion solves my problem. Thanks Antons. On Tue, Mar 24, 2015 at 7:38 PM, Antons Suspans <antox@ml.lv> wrote: > I guess you could try: > > Edit X/^'.. ./ e > > The leading apostrophe selects dirty windows (also directories won't > match), and the trailing dot (note the space) ensures filename is set. > > If you want to reread non-dirty... then +Errors and dirs/ should be > excluded - this looks uglier: > > Edit X:^... [^+].*[^\/]$: e > > (and will also ignore 1-letter filenames, if you care). > > > On Tue, Mar 24, 2015 at 06:21:19PM +0100, Aram Santogidis wrote: > > Thanks for your response Ilya. > > > > I tried your first suggestion I get the following Error. > > > > Edit: no file name given > > > > For the second suggestion I get this Error. > > > > Edit: <dir-name> is a directory > > > > I closed the directory windows and it was executed, however dot was > replaced > > with the contents of a file. > > In this case the dot is not pointing to all text. > > > > So this didn't worked either. > > > > PS: I'm using p9p acme. > > > > On Tue, Mar 24, 2015 at 6:14 PM, Kostarev Ilya <uvelichitel@gmail.com> > wrote: > > > > Or even > > Edit X r > > > > -- > > Kostarev Ilya > > > > > > On 24 Mar 2015 at 20:04:41, Kostarev Ilya (uvelichitel@gmail.com) > wrote: > > > > Seems > > Edit X/.*/ r > > can do > > -- > > Kostarev Ilya > > > > > > On 24 Mar 2015 at 19:54:03, Aram Santogidis (gnubuntux@gmail.com) > wrote: > > > > Hi all, > > > > imagine you have multiple files open in acme and then you > > > > $ git checkout somebranch > > > > now there is the need to update the views of each open file. You > can type > > Get in the tag of each > > window and middle-click it, yes. It would be nice to have a Getall > along > > the lines of Putall, though. > > > > I was wondering what is the best way to handle the above situation. > > > > Thanks! > > Aram > > > > > > -- > Antons Šušpans (Suspans), > +371 29498719, > <antox@ml.lv> > > [-- Attachment #2: Type: text/html, Size: 3134 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-25 8:55 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-03-24 16:51 [9fans] ACME Getall ? Aram Santogidis 2015-03-24 17:04 ` Kostarev Ilya 2015-03-24 17:14 ` Kostarev Ilya 2015-03-24 17:21 ` Aram Santogidis 2015-03-24 18:38 ` Antons Suspans 2015-03-25 8:55 ` Aram Santogidis
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).