9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Antons Suspans <antox@ml.lv>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ACME Getall ?
Date: Tue, 24 Mar 2015 20:38:29 +0200	[thread overview]
Message-ID: <20150324183829.GA17768@ax.s16> (raw)
In-Reply-To: <CACW8ZS9MCfnWq7C4CCE77qL+BhbaC7UjxCA5WW50owTE-CrWGw@mail.gmail.com>

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>



  reply	other threads:[~2015-03-24 18:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 16:51 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 [this message]
2015-03-25  8:55         ` Aram Santogidis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150324183829.GA17768@ax.s16 \
    --to=antox@ml.lv \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).