[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: APL input revisited
From: |
Emilio Lopes |
Subject: |
Re: APL input revisited |
Date: |
Wed, 19 Feb 2014 10:46:15 +0100 |
2014-02-19 9:39 GMT+01:00 Elias Mårtenson <address@hidden>:
> Currently, I provide two main modes of inputting APL symbols:
>
> - The relevant key together with Super […]
> - A Quail mode that uses . (peroid) as a prefix […]
>
> So, what is the best way to deal with this? What options do I have?
One suggestion that comes to mind is an abbrev-table. You could setup
abbrevs like ".G" and ".8" (but you don't have to use any prefix as ".").
The user can program with abbrev-mode turned on or he can expand
abbrevs manually ("C-x '").
The "prefix" for the abbrevs need not to have word constituent syntax.
You can e.g. use
(abbrev-table-put apl-abbrev-table
:regexp
"\\(?:[^[:word:],]\\|^\\)\\(,?[[:word:]]+\\)[^[:word:]]*")
to allow for abbrevs beginnig with a comma (",").
Emílio