18 Mar 15:21
acme-sac: analysis osx :., idiom problem
From: Axel Belinfante <Axel.Belinfante@...>
Subject: acme-sac: analysis osx :., idiom problem
Newsgroups: gmane.os.inferno.general
Date: 2008-03-18 14:26:04 GMT
Subject: acme-sac: analysis osx :., idiom problem
Newsgroups: gmane.os.inferno.general
Date: 2008-03-18 14:26:04 GMT
(ok, analysis is probably wrong wording. anyway.) I looked at the problems I had with :, and :., on acme-sac os-x. one of the things that happens with single-click b3 actions is that the selection is expanded, using character classes allowed for file name part, regular expression, or address part. to my surprise there is a difference in the list of characters allowed by isaddrc (in regx.b) in inferno acme compared with corresponding isaddrc in plan9/p9p acme (in addr.c). p9p and plan9 allow: 0123456789+-/$.#,; inferno/acme-sac allow: 0123456789+-/$.# to me this explains why acme-sac refuses to match :, but I don't understand why/how it does/could work on other platforms - but I did not take the time to look at what happens there. I added ,; to the list of characters allowed. that makes the :, idiom work. Furthermore there is some interesting interplay with the plumber that on acme-sac osx seems to match more than the plan9/p9p plumber do. I saw that since the :, problem was mentioned already some changes have been made to the acme-sac plumbing rules. I took the latest acme-sac plumber rule file as base, and on :., I no longer get acme opening a new window showing non-existent file /usr/axel/whatever/:.,(Continue reading)

RSS Feed