Re: [9fans] Autoexpand in sam
Another related convenience is to have a rule somewhere near the bottom of your plumbing file that pops up a window and prints the dictionary listing for the word you plumbed. If I could remember who it was I would thank the person who recommended this to me because I use it all the time. If you are confident with the first part of a word look(1) could be handy. You could also write a filter that transposes letters until it finds a match in /lib/words. Some toys along these lines: http://runjimmyrunrunyoufuckerrun.com/rc/anagram http://runjimmyrunrunyoufuckerrun.com/rc/bee umbraticus -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-M58401f8a2d81fe9d6ffc48f7 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
Re: [9fans] Autoexpand in sam
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 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
Re: [9fans] Autoexpand in sam
On Wed, Sep 22, 2021, at 9:14 PM, revcomni...@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 once wrote a script with several regexp substitutions, but gave up when I realised I'd need to implement an entire dictionary. I often typed 'ign' for 'ing', but words legitimately ending in 'ign' are surprisingly common. I tried to make the regexp smarter, but ended up using it on individual words, double-clicking each incorrect word and running |ac . This was quick enough in Acme, perhaps not bad in Sam. I'd attach the script, but it's long since lost now. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-Mdd6a9a834feaa1e84d555c90 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
Re: [9fans] Autoexpand in sam
No problem. Thanks. Yes, I use and love ,>spell. :) -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-Me2ac4c31218508cf798ebe8f Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
Re: [9fans] Autoexpand in sam
> autocorrect in sam not really but you can ,>spell -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-Mbb8fbc041f3be84400daf880 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[9fans] Autoexpand in sam
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 Permalink: https://9fans.topicbox.com/groups/9fans/T0e2541a723ce90e5-M9fd6984628a79bf758af4f1b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription