From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2772b418c31186cdd12c944173fda946@quanstro.net> From: erik quanstrom Date: Wed, 4 Mar 2009 09:34:26 -0500 To: 9fans@9fans.net In-Reply-To: <138575260903040610u4950702es60d0e5c0f78503f2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acme Put doesn't save Topicbox-Message-UUID: b09d6c0e-ead4-11e9-9d60-3106f5b1d025 On Wed Mar 4 09:12:08 EST 2009, uair00@gmail.com wrote: > While learning some of acme's basic commands I was also shocked by > this, and I agree with Ruda that executing a Put with a non-existent > file (e.g. '/home/ruda/a' ;-) should save the contents of the window > in that file. this isn't true. if you click on New and then type something for a filename you will notice that the tag line box becomes filled and then click on Put, the file *will* be saved, even if the file does not exist. if on the other hand you try to modify the name of a directory listing frame, the tag line box is not filled. this is a hint that you're doing something wrong. also there is no Put option. this is a bigger hint that you're doing something wrong. the reason that directories behave differently is that in acme programs are allowed to take over a window. while the directory listing is built in, it operates on the same principle, and it does not make sense to write a directory through acme's interface. - erik