From: Harald Hanche-Olsen on
+ Jeffrey Goldberg <nobody(a)goldmark.org>:

> On 2010-03-22 5:44 PM, Lewis wrote:
>> In message <barmar-40072B.18281022032010(a)nothing.attdns.com> Barry
>> <barmar(a)alum.mit.edu> wrote:
>
>>> If you want a programmable text editor, you really should be using Emacs.
>>
>> You seem to have misspelt 'vim'.
>
> Haven't we had enough religious debate for one day?

Indeed, why does anybody see the need to move beyond ed?
Ed is the editor. Nothing more needs to be said.

--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell
From: Jolly Roger on
In article <slrnhqfsht.2tpm.g.kreme(a)cerebus.local>,
Lewis <g.kreme(a)gmail.com.dontsendmecopies> wrote:

> In message <jollyroger-49FC62.09532622032010(a)news.individual.net>
> Jolly <jollyroger(a)pobox.com> wrote:
> > What sort of things do you need Applescript support to do in a text
> > editor?
>
> You're joking, I hope?
>
> (granted, I use regex much more than applescript, or grep/awk/sed, but
> then I am a CLI monkey, People who aren't CLI monkeys live and die by
> Applescript)

No, I'm genuinely interested.

For me, most everything I would do in a text editor with Applescript is
actually more easily done simply by reading the text file directly with
the Applescript "read" command and so on.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
From: Jolly Roger on
In article <isw-94EAEC.10300322032010@[216.168.3.50]>,
isw <isw(a)witzend.com> wrote:

> In article <jollyroger-49FC62.09532622032010(a)news.individual.net>,
> Jolly Roger <jollyroger(a)pobox.com> wrote:
>
> > In article <2010032207321116807-cfnzrpu(a)crevtrrarg>,
> > J. Stewart <cfnzrpu(a)crevtrr.arg> wrote:
> >
> > > On 2010-03-21 20:52:01 -0400, M-M <nospam.m-m(a)ny.more> said:
> > >
> > > >> For a long time I've been using TextEdit as my
> > > >> primary document reading, composing, and editing tool, and griping
> > > >> about
> > > >> how it's almost good enough and if Apple would only add a few features
> > > >> it would be really great.
> > > >
> > > >
> > > > What I it that Bean has that Textedit doesn't?
> > >
> > > Bean does not support Applescript! That's a show stopper here. TextEdit
> > > does support it.
> > >
> > > Personally I use Tex-Edit Plus and/or TextWrangler depending on my
> > > task. Both of them have extensive Applescript and reg-ex support. They
> > > are both worth ponying up a little spare change.
> >
> > What sort of things do you need Applescript support to do in a text
> > editor?
>
> I use an Applescript to get TextWrangler to rummage through iPhoto's
> "AlbumData.xml" file to build a list of all the albums a chosen image is
> in.

Couldn't you instead do that directly with Applescript's file access
command to read the text in and do stuff with it?

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
From: Jolly Roger on
In article
<nospam.m-m-B86D95.11490722032010(a)cpe-76-190-186-198.neo.res.rr.com>,
M-M <nospam.m-m(a)ny.more> wrote:

> In article <jollyroger-49FC62.09532622032010(a)news.individual.net>,
> Jolly Roger <jollyroger(a)pobox.com> wrote:
>
> > What sort of things do you need Applescript support to do in a text
> > editor?
>
>
> SO much, I don't know where to begin.
>
> Tex-Edit comes with a bunch of scripts and a download site to contribute
> or leech from.
>
> Check it out:
>
> http://dougscripts.com/texedit/
>
> Example (just grabbed at random):
>
> Email Obscurer
> written by Andrew Sasaki
> posted: Sep 5, 2003
> This script replaces the characters in email addresses with their HTML
> equivalents, preventing them from being harvested by site-crawling
> spambots while displaying properly in a browser.

But you could do that in plain Applescript without TextEdit...

Why bother with scripting a text editor to do what you can do without
any application at all?

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
From: M-M on
In article <jollyroger-5BC1E2.00194523032010(a)news.individual.net>,
Jolly Roger <jollyroger(a)pobox.com> wrote:

>
> Why bother with scripting a text editor to do what you can do without
> any application at all?


Because it's easier to have a drop-down menu with a boatload of scripts.

--
m-m
http://www.mhmyers.com
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Fun but useless enhancements
Next: HTML code