9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] creating new files in acme
@ 2001-05-23  6:17 nemo
  2001-05-23 20:41 ` Chris Locke
  0 siblings, 1 reply; 5+ messages in thread
From: nemo @ 2001-05-23  6:17 UTC (permalink / raw)
  To: 9fans

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

Appart from using B, you could start acme in /very/long
and then use relative path/names.


[-- Attachment #2: Type: message/rfc822, Size: 2009 bytes --]

From: Mike Haertel <mike@ducky.net>
To: 9fans@cse.psu.edu
Subject: [9fans] creating new files in acme
Date: Tue, 22 May 2001 17:26:28 -0700
Message-ID: <200105230026.f4N0QSc05792@ducky.net>

I am finding it very inconvenient to create new files in acme.
"New" creates an unnamed files.  A certain project at work
requires some /very/long/path/names.  It is annoying to have
to paste /very/long/path/name into the tag of each created
new file.  It would be nice if New would somehow inherit the
directory from the tag of the context from which it is
executed, and create a tag like /very/long/path/name/NewFile
for the new file.

My workaround: in a "win" window, type "touch filename",
then right-click filename to bring the new empty file in.
But this feels crufty.

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

* Re: [9fans] creating new files in acme
  2001-05-23  6:17 [9fans] creating new files in acme nemo
@ 2001-05-23 20:41 ` Chris Locke
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Locke @ 2001-05-23 20:41 UTC (permalink / raw)
  To: 9fans

Nemo said

> Appart from using B, you could start acme in /very/long
> and then use relative path/names.
> 
> 

This doesn't work very well if you run commands from a win shell.
The typical scenario is running mk or 8c to compile the stuff you are
working on.  The compiler spits out error strings suitable for plumbing
in acme.  If you plumb such a line a NEW instance will be opened with
the full path in the tag - you end up with two versions of the same
file(not Zerox'd) open for editing which can cause confusion.

Chris.




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

* Re: [9fans] creating new files in acme
@ 2001-05-23  7:15 forsyth
  0 siblings, 0 replies; 5+ messages in thread
From: forsyth @ 2001-05-23  7:15 UTC (permalink / raw)
  To: 9fans

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

selecting B name in the tag of an appropriate frame avoids having to type /very/long/path

you might think you could do button1[name]-button2[New], but it doesn't produce the full name.


[-- Attachment #2: Type: message/rfc822, Size: 1402 bytes --]

From: "rob pike" <rob@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] creating new files in acme
Date: Tue, 22 May 2001 20:41:00 -0400
Message-ID: <20010523004102.7D67719A11@mail.cse.psu.edu>

B /very/long/path/name

works perfectly.

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

* Re: [9fans] creating new files in acme
@ 2001-05-23  0:41 rob pike
  0 siblings, 0 replies; 5+ messages in thread
From: rob pike @ 2001-05-23  0:41 UTC (permalink / raw)
  To: 9fans

B /very/long/path/name

works perfectly.



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

* [9fans] creating new files in acme
@ 2001-05-23  0:26 Mike Haertel
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Haertel @ 2001-05-23  0:26 UTC (permalink / raw)
  To: 9fans

I am finding it very inconvenient to create new files in acme.
"New" creates an unnamed files.  A certain project at work
requires some /very/long/path/names.  It is annoying to have
to paste /very/long/path/name into the tag of each created
new file.  It would be nice if New would somehow inherit the
directory from the tag of the context from which it is
executed, and create a tag like /very/long/path/name/NewFile
for the new file.

My workaround: in a "win" window, type "touch filename",
then right-click filename to bring the new empty file in.
But this feels crufty.


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

end of thread, other threads:[~2001-05-23 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23  6:17 [9fans] creating new files in acme nemo
2001-05-23 20:41 ` Chris Locke
  -- strict thread matches above, loose matches on Subject: below --
2001-05-23  7:15 forsyth
2001-05-23  0:41 rob pike
2001-05-23  0:26 Mike Haertel

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