From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 15 Dec 2013 09:25:07 -0600 Message-ID: From: Blake McBride To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7bdc119ae06ef304ed944c4c Subject: Re: [9fans] Acme: spaces in file names Topicbox-Message-UUID: 9ad45974-ead8-11e9-9d60-3106f5b1d025 --047d7bdc119ae06ef304ed944c4c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Discovering button-3-drag, is there a reason button-3-drag could not be made to load a file or directory with spaces in it? In other words, would this conflict with some other intended operation? Thanks. Blake On Thu, Dec 12, 2013 at 3:10 PM, Blake McBride wrote: > When you button-2-click on text acme executes the word. If you want to > execute something larger with spaces, you highlight the whole thing and > then button-2-click on it to execute the whole thing. > > When you button-3-click on text in a file list buffer acme loads the file > with that name. I should be able to highlight a file name with spaces an= d > then button-3-click on it to load the file. This would be totally > consistent. > > It there a reason this hasn't been done? > > Thanks. > > Blake > > > > On Thu, Dec 12, 2013 at 11:00 AM, Rub=E9n Berenguel wrote: > >> A kind of crude workaround is using the whole /Users/whatever/file with >> spaces, selecting it with first button and 1-2 chording it to Get. This >> works on Mac, problem is that it's quite horrible to do. An intermediate >> solution may be to use some piping rule like sp:filename with spaces, bu= t I >> don't remember if piping works with right-button and selected text or >> follows the same rules as opening a file. >> >> Ruben >> >> >> On Thu, Dec 12, 2013 at 5:53 PM, Robert Raschke wrote: >> >>> Someone once made a little filesystem that would substitute spaces in >>> filenames with a different character. When placed between the normal fs= and >>> Acme, this would make things work quite nicely. >>> >>> If I remember correctly, Acme-SAC (built on top of Inferno) does that b= y >>> default. >>> >>> No idea where you can find such a fs for Mac though. But this might giv= e >>> you a start. >>> >>> Robby >>> On Dec 11, 2013 6:19 PM, "Blake McBride" wrote: >>> >>>> Greetings, >>>> >>>> Just started using acme (and sam). Cool. >>>> >>>> I am using acme on a Mac form plan9port. >>>> >>>> Within a file list one can right-click a listing in order to decend in= to >>>> another directory or load a file. The problem is that neither work if= a >>>> space is contained within the name. Apparently, the right-click >>>> functionality only looks at non-white space strings. An easy fix to t= his >>>> would be to allow the user to highlight the entire string (including >>>> spaces) and then right-click as normal. The system would allow the >>>> highlight facility to override the "just test for contigous non-space >>>> string" current functionality. >>>> >>>> Any thoughts on this? >>>> >>>> Thanks. >>>> >>>> Blake McBride >>>> >>>> >> > --047d7bdc119ae06ef304ed944c4c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Discovering button-3-drag, is there a reason button-3-drag= could not be made to load a file or directory with spaces in it? =A0In oth= er words, would this conflict with some other intended operation?

<= /div>
Thanks.

Blake



On Thu, Dec 12, 20= 13 at 3:10 PM, Blake McBride <blake@mcbride.name> wrote:
When you button-2-click on = text acme executes the word. =A0If you want to execute something larger wit= h spaces, you highlight the whole thing and then button-2-click on it to ex= ecute the whole thing.

When you button-3-click on text in a file list buffer acme loads the f= ile with that name. =A0I should be able to highlight a file name with space= s and then button-3-click on it to load the file. =A0This would be totally = consistent.

It there a reason this hasn't been done?
=
Thanks.
=

Blake


On Thu,= Dec 12, 2013 at 11:00 AM, Rub=E9n Berenguel <ruben@mostlymaths.net> wrote:
A kind of crude workaround = is using the whole /Users/whatever/file with spaces, selecting it with firs= t button and 1-2 chording it to Get. This works on Mac, problem is that it&= #39;s quite horrible to do. An intermediate solution may be to use some pip= ing rule like sp:filename with spaces, but I don't remember if piping w= orks with right-button and selected text or follows the same rules as openi= ng a file.

Ruben

On Thu, Dec 12, 2013 at 5:53 PM, Robert Raschk= e <rtrlists@googlemail.com> wrote:

Someone once made a little filesystem tha= t would substitute spaces in filenames with a different character. When pla= ced between the normal fs and Acme, this would make things work quite nicel= y.

If I remember correctly, Acme-SAC (built on top of Inferno) does that by= default.

No idea where you can find such a fs for Mac though. But this might give= you a start.

Robby

On Dec 11, 2013 6:19 PM, "Blake McBride&quo= t; <blake@mcbrid= e.name> wrote:
Greetings,

Just started using acme (and= sam). =A0Cool.

I am using acme on a Mac form plan= 9port.

Within a file list one can right-click a li= sting in order to decend=A0into another directory or load a fi= le. =A0The problem is that neither work if a space is contained within the = name. =A0Apparently, the right-click functionality only looks at non-white = space strings. =A0An easy fix to this would be to allow the user to highlig= ht the entire string (including spaces) and then right-click as normal. =A0= The system would allow the highlight facility to override the "just te= st for contigous=A0non-space string" current functionalit= y.

Any thoughts on this?

Thanks.<= /div>

Blake McBride




--047d7bdc119ae06ef304ed944c4c--