[9fans] for the mercurial users

2012-06-02 Thread Russ Cox
plumb mercurial 12-hexdigit hash from directory inside mercurial repository.

type is text
data matches '[a-zA-Z0-9¡-�_\-./]+'
data matches 
'[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
plumb start rc -c 'cd '''$wdir'''; root=`{hg root}; rev='''$0'''; {hg
log -v -r $rev  hg diff -c $rev} [2=1] | nobs | plumb -i -d edit -a
''action=showdata filename=''$root/+$rev'

(The first data matches line is the usual one, in case email mangles
the Unicode.)



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Ethan Grammatikidis
On Fri, 1 Jun 2012 23:40:11 +0300
Antonio Barrones antonio@gmail.com wrote:

 On May 31, 10:01 pm, tlaro...@polynum.com wrote:
  On Thu, May 31, 2012 at 02:55:57PM -0400, Burton Samograd wrote:
so edit/win, edit/edit, edit/dir might all be little programs that do 
part of what acme currently does.
 
   Sounds a bit like emacs :)
 
  emacs plan9 manpage is one of my preferred. I do like the laconic:
 
  BUGS
 
  Yes.
 
  and I use sam...
 
 (off-topic)  I see emacs more as a Lisp environment than an editor as sam o 
 vi.

Yeah, it's almost a successor to Lisp machines (except it's a not a
good lisp, I'm told). I call it a desktop environment, myself. :) Acme
has been called Plan 9's emacs and I can't entirely disagree.

-- 
This is obviously some strange usage of the 
word simple that I was previously unaware of.



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Ethan Grammatikidis
On Thu, 31 May 2012 07:32:41 -0400
Anthony Sorace a...@9srv.net wrote:

 On May 31, 2012, at 0:10, Ethan Grammatikidis wrote:
 
  This proper English is not the language of the English people...
 
 The English have no respect for their language, and will not teach their
 children to speak it. They spell it so abominably that no man can teach
 himself what it sounds like. It is impossible for an Englishman to open
 his mouth without making some other Englishman hate or despise him.
 --George Bernard Shaw
 
 

I'll agree to the hate part. TBH I hated the word snarf the moment I 
encountered it, but I didn't have to think at all to see how it fitted
and my hate was quickly left behind. Then again, perhaps this quote
would have been a more appropriate thing to post when snarf came up,
rather than my ramblings.

-- 
This is obviously some strange usage of the 
word simple that I was previously unaware of.



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Bakul Shah
On Sun, 03 Jun 2012 01:31:04 BST Ethan Grammatikidis eeke...@fastmail.fm  
wrote:
 Yeah, it's almost a successor to Lisp machines (except it's a not a
 good lisp, I'm told). I call it a desktop environment, myself. :) Acme
 has been called Plan 9's emacs and I can't entirely disagree.

Eric suggested creating a new editor built on acme.  I did
think sacme would make a good name for a son of acme --
emacs rearranged : )



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Ethan Grammatikidis
On Thu, 31 May 2012 14:49:38 -0400
erik quanstrom quans...@quanstro.net wrote:

  Some people would love warp-to-location for Undo/Redo, some I'm sure
  would hate it. Some people can't stand that up/down arrow keys scroll
  the page rather than move the cursor (I'm not one). Acme might benefit
  from a config file in $home/lib/acme.conf or something. Yeah yeah, [...]
 
 i think the key here is that acme has reached the stage where if there were
 version numbers, we'd be restricted to fiddling the 5th digit.  acme is great,
 but i think in terms of developing new ideas, it's time to move on.
 
 i'd like to see a new editor that builds on acme.  the feature i'd like to see
 is support for images and layouts.  the design element i'd like to see is
 lots of little programs rather than one big acme.  so edit/win, edit/edit,
 edit/dir might all be little programs that do part of what acme currently
 does.

I'd like to see acme split up. We already have page, we already have a
shell window. What I want to see is a 1-file editor, 1-dir file lister
(very simple), and a 1-page web browser. Put those with an acme-style
rio (we can call it canal), and give all the apps right-click plumb and
middle-click execute as appropriate. That would be my ideal project
environment. We may be talking about the same thing but where you're
saying a new editor I'm approaching it with the idea of enhancing
the system and removing the need for a complex editor altogether.

On a related note, what is the point of multi-file editors? I can see
their use with a primitive OS, but given ed and a shell with loops...
well I'd like to see what remains easier in a multi-file editor.

-- 
This is obviously some strange usage of the 
word simple that I was previously unaware of.



Re: [9fans] Heresy alert

2012-06-02 Thread Ethan Grammatikidis
On Thu, 31 May 2012 06:30:28 -0700
Jason Catena jason.cat...@gmail.com wrote:

 There is a computer science concept analogous to what Zerox does. Pass
 argument by reference also provides a look-in to a point in memory without
 copying it. So if you want to name it something else, try changing it to
 CpRef.

I believe I forgot to +1 a suggestion for Dup above. Dup reminds me
of dup(2) which I think is a close match.

-- 
This is obviously some strange usage of the 
word simple that I was previously unaware of.



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Ethan Grammatikidis
On Sat, 02 Jun 2012 17:43:57 -0700
Bakul Shah ba...@bitblocks.com wrote:

 On Sun, 03 Jun 2012 01:31:04 BST Ethan Grammatikidis eeke...@fastmail.fm  
 wrote:
  Yeah, it's almost a successor to Lisp machines (except it's a not a
  good lisp, I'm told). I call it a desktop environment, myself. :) Acme
  has been called Plan 9's emacs and I can't entirely disagree.
 
 Eric suggested creating a new editor built on acme.  I did
 think sacme would make a good name for a son of acme --
 emacs rearranged : )
 

Ah yeah, nice. ;)

-- 
This is obviously some strange usage of the 
word simple that I was previously unaware of.



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Connor Lane Smith
Hey,

On 3 June 2012 02:12, Ethan Grammatikidis eeke...@fastmail.fm wrote:
 On a related note, what is the point of multi-file editors? I can see
 their use with a primitive OS, but given ed and a shell with loops...
 well I'd like to see what remains easier in a multi-file editor.

Don't sam's X and Y commands demonstrate the usefulness of a
multi-file editor? You may be able to approximate them by looping eds,
but that way you lose most of the benefits anyway. Like display
editing, and undo.

cls



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Stephen Wiley

On Jun 2, 2012, at 9:12 PM, Ethan Grammatikidis wrote:
 ...
 
 On a related note, what is the point of multi-file editors? I can see
 their use with a primitive OS, but given ed and a shell with loops...
 well I'd like to see what remains easier in a multi-file editor.
 
 -- 
 This is obviously some strange usage of the 
 word simple that I was previously unaware of.
 

One thing that I can see is that the 40 billion windows you open are all 
grouped together and don't get in your way when using other apps. (One of the 
things I like about osx is that it does that with all the apps)

Though I guess you could script rio to group things with similar labels 
together...

Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread erik quanstrom
On Sat Jun  2 21:35:19 EDT 2012, c...@lubutu.com wrote:
 Hey,
 
 On 3 June 2012 02:12, Ethan Grammatikidis eeke...@fastmail.fm wrote:
  On a related note, what is the point of multi-file editors? I can see
  their use with a primitive OS, but given ed and a shell with loops...
  well I'd like to see what remains easier in a multi-file editor.
 
 Don't sam's X and Y commands demonstrate the usefulness of a
 multi-file editor? You may be able to approximate them by looping eds,
 but that way you lose most of the benefits anyway. Like display
 editing, and undo.

+1.

also, when working on a multi-file program, like say the kernel,
i find it helpful to be able to work through a problem without
having to think about the interface.

to some extent, the question boils down to what is the editor
and what is the window system.  and if we were purists we'd
ditch rio and run acme directly on the screen.

- erik



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread erik quanstrom
On Sat Jun  2 20:45:23 EDT 2012, ba...@bitblocks.com wrote:
 On Sun, 03 Jun 2012 01:31:04 BST Ethan Grammatikidis eeke...@fastmail.fm  
 wrote:
  Yeah, it's almost a successor to Lisp machines (except it's a not a
  good lisp, I'm told). I call it a desktop environment, myself. :) Acme
  has been called Plan 9's emacs and I can't entirely disagree.
 
 Eric suggested creating a new editor built on acme.  I did
 think sacme would make a good name for a son of acme --
 emacs rearranged : )

since the clone of the original was called wily, i'd suggest
e..

- erik



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Connor Lane Smith
On 3 June 2012 02:40, Stephen Wiley swwi...@gmail.com wrote:
 One thing that I can see is that the 40 billion windows you open are all
 grouped together and don't get in your way when using other apps. (One of
 the things I like about osx is that it does that with all the apps)

 Though I guess you could script rio to group things with similar labels
 together...

I remember reading this being cited as one of the reasons why sam's
windows within a window flayer approach is preferred amongst long
time users. In my opinion, if the window manager is having difficulty
managing windows, it isn't doing a very good job. Instead of resorting
to handling windowing within each and every application, we ought to
treat the source of the problem. That may be by making rio group
similar labels, but I'm inclined to think that a canal -- a tiling
window manager, effectively -- would be a better approach in the long
run.

cls



Re: [9fans] Heresy alert, Zerox - Clone

2012-06-02 Thread Bruce Ellis
shut up and back to work. nothing to see here.

On 3 June 2012 11:53, Connor Lane Smith c...@lubutu.com wrote:
 On 3 June 2012 02:40, Stephen Wiley swwi...@gmail.com wrote:
 One thing that I can see is that the 40 billion windows you open are all
 grouped together and don't get in your way when using other apps. (One of
 the things I like about osx is that it does that with all the apps)

 Though I guess you could script rio to group things with similar labels
 together...

 I remember reading this being cited as one of the reasons why sam's
 windows within a window flayer approach is preferred amongst long
 time users. In my opinion, if the window manager is having difficulty
 managing windows, it isn't doing a very good job. Instead of resorting
 to handling windowing within each and every application, we ought to
 treat the source of the problem. That may be by making rio group
 similar labels, but I'm inclined to think that a canal -- a tiling
 window manager, effectively -- would be a better approach in the long
 run.

 cls




-- 
Don't meddle in the mouth -- MVS (0416935147, +1-513-3BRUCEE)