Uriel | 1 Jun 2012 13:54

Re: Heresy alert, Zerox -> Clone

On Thu, May 31, 2012 at 8:18 PM, John Floren <john <at> jfloren.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,
> Plan 9 doesn't use a lot of config files, but Acme is one of the most
> complex bits of software we've got. This could allow the addition of
> new functionality (like a switch to make Undo/Redo warp-to-location)
> while still maintaining Curmudgeon Mode (triggered by not having an
> acme.conf).

Rob can predict the future and already answered to this a few days ago
in golang-dev:

https://groups.google.com/d/msg/golang-dev/ov2CtuwmNmM/QpOZvsGCBFkJ

Rudolf Sykora | 1 Jun 2012 20:12
Picon

insert 'control a' into a text in acme

Hello,

please, how does one insert a ^A character when writing a text in (p9p) acme?
In vi(m) one uses ^V^A...

Thank you!
Ruda

erik quanstrom | 1 Jun 2012 20:27
Favicon

Re: insert 'control a' into a text in acme

On Fri Jun  1 14:15:24 EDT 2012, rudolf.sykora <at> gmail.com wrote:
> Hello,
> 
> please, how does one insert a ^A character when writing a text in (p9p) acme?
> In vi(m) one uses ^V^A...
> 
> Thank you!
> Ruda

acme doesn't know the difference between <compose>X001 and <ctl>a,
so you're going to have to sneak by the keyboard tricks and cut and paste.

i'd use "unicode 0x1".  then cut&paste.

- erik

Skip Tavakkolian | 1 Jun 2012 20:34
Picon

Re: insert 'control a' into a text in acme

execute: unicode 10
and copy the output to where you need.

On Fri, Jun 1, 2012 at 11:12 AM, Rudolf Sykora <rudolf.sykora <at> gmail.com> wrote:
> Hello,
>
> please, how does one insert a ^A character when writing a text in (p9p) acme?
> In vi(m) one uses ^V^A...
>
> Thank you!
> Ruda
>

Rudolf Sykora | 1 Jun 2012 20:38
Picon

Re: insert 'control a' into a text in acme

> i'd use "unicode 0x1".  then cut&paste.
>
> - erik

Thank you both, Erik and Skip!
Ruda

Salman Aljammaz | 1 Jun 2012 20:39

Re: insert 'control a' into a text in acme

or execute "<unicode 10" from the tag.

On Fri, Jun 1, 2012 at 7:34 PM, Skip Tavakkolian
<skip.tavakkolian <at> gmail.com> wrote:
> execute: unicode 10
> and copy the output to where you need.

Antonio Barrones | 1 Jun 2012 22:40
Picon

Re: Heresy alert, Zerox -> Clone

On May 31, 10:01 pm, tlaro... <at> 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.

Antonio

Russ Cox | 3 Jun 2012 01:49

for the mercurial users

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

Ethan Grammatikidis | 3 Jun 2012 02:31

Re: Heresy alert, Zerox -> Clone

On Fri, 1 Jun 2012 23:40:11 +0300
Antonio Barrones <antonio.fin <at> gmail.com> wrote:

> On May 31, 10:01 pm, tlaro... <at> 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.

Ethan Grammatikidis | 3 Jun 2012 02:36

Re: Heresy alert, Zerox -> Clone

On Thu, 31 May 2012 07:32:41 -0400
Anthony Sorace <a <at> 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.


Gmane