From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20150324183829.GA17768@ax.s16> References: <20150324183829.GA17768@ax.s16> Date: Wed, 25 Mar 2015 09:55:35 +0100 Message-ID: From: Aram Santogidis To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e0122f1b601cf150512191093 Subject: Re: [9fans] ACME Getall ? Topicbox-Message-UUID: 4ad2f380-ead9-11e9-9d60-3106f5b1d025 --089e0122f1b601cf150512191093 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great, your suggestion solves my problem. Thanks Antons. On Tue, Mar 24, 2015 at 7:38 PM, Antons Suspans 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: 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 > 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 Getal= l > along > > the lines of Putall, though. > > > > I was wondering what is the best way to handle the above situatio= n. > > > > Thanks! > > Aram > > > > > > -- > Antons =C5=A0u=C5=A1pans (Suspans), > +371 29498719, > > > --089e0122f1b601cf150512191093 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 re= placed
> 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:
>
>=C2=A0 =C2=A0Or even
>=C2=A0 =C2=A0Edit X r
>
>=C2=A0 =C2=A0--=C2=A0
>=C2=A0 =C2=A0Kostarev Ilya
>
>
>=C2=A0 =C2=A0On 24 Mar 2015 at 20:04:41, Kostarev Ilya (uvelichitel@gmail.com) wrote:
>
>=C2=A0 =C2=A0 =C2=A0Seems
>=C2=A0 =C2=A0 =C2=A0Edit X/.*/ r
>=C2=A0 =C2=A0 =C2=A0can do
>=C2=A0 =C2=A0 =C2=A0--=C2=A0
>=C2=A0 =C2=A0 =C2=A0Kostarev Ilya
>
>
>=C2=A0 =C2=A0 =C2=A0On 24 Mar 2015 at 19:54:03, Aram Santogidis (gnubuntux@gmail.com) wrote:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Hi all,
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0imagine you have multiple files open in acme= and then you=C2=A0
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0$ git checkout somebranch
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0now there is the need to update the views of= each open file. You can type
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Get in the tag of each
>=C2=A0 =C2=A0 =C2=A0 =C2=A0window and middle-click it, yes. It would be= nice to have a Getall along
>=C2=A0 =C2=A0 =C2=A0 =C2=A0the lines of Putall, though.
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0I was wondering what is the best way to hand= le the above situation.
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks!
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Aram
>
>

--
Antons =C5=A0u=C5=A1pans (Suspans),
+371 29498719,
<antox@ml.lv>


--089e0122f1b601cf150512191093--