9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Autoexpand in sam
Date: Wed, 22 Sep 2021 22:29:13 -0700	[thread overview]
Message-ID: <CAJSxfmJNjwmd6eWcKz4yo5oj_jfbpO9nAg+FESc9vsDa2=j8+Q@mail.gmail.com> (raw)
In-Reply-To: <16323416980.Df93.845004@composer.9fans.topicbox.com>

For sam, the best bet is to feed text into spell and separately use
dict for partial word match and definitions.

Using acme with aspell and adict helpers (/acme/bin/source) works
reasonably well. Select some text, feed it to aspell (>aspell), then
do partial lookups of the misspelled words in the adict window.


On Wed, Sep 22, 2021 at 1:15 PM <revcomninos@gmail.com> wrote:
>
> Is there a way to implement autoexpand and autocorrect in sam in any way, i.e. for common spelling mistakes and commonly used phrases?
>
> I don't need anything too sophisticated.
>
> Thanks.
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-Mb3a6fa8e3ece9bc2f6f0bead
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  parent reply	other threads:[~2021-09-23  5:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 20:14 revcomninos
2021-09-22 22:51 ` umbraticus
2021-09-23  0:51   ` revcomninos
2021-09-23  3:08 ` Ethan Gardener
2021-09-23  5:29 ` Skip Tavakkolian [this message]
2021-09-23  5:54   ` umbraticus
2021-09-23  9:22     ` revcomninos
2021-09-25 16:07       ` revcomninos
2021-09-25 18:45         ` Silas
2021-09-26  4:40           ` revcomninos
2021-09-26  7:42             ` Steve Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJSxfmJNjwmd6eWcKz4yo5oj_jfbpO9nAg+FESc9vsDa2=j8+Q@mail.gmail.com' \
    --to=skip.tavakkolian@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).