Accents Users Guide

Author: Ollie Rutherfurd
Date: 2004-05-15
Version: 1.3

About

Accents enables one to enter non-ascii characters using abbreviations. Accents converts the abbreviations to the characters they represent, as you type. For example, if you enter "a, Accents converts it to ä when you type the "a" character.

However, with this convenience comes a cost. If you actually wanted to enter 'a, not á, you must enter ' a, which Accents will convert to 'a (it removes the space).

NOTE: At present, Accents assumes one is using the ISO-8859-1 character encoding (also known as Latin-1).

Character Abbreviations

The default set of characters and abbreviations:

Character Abbreviation
À `A
Á 'A
 ^A
Ä "A
à ~A
Å /A
Æ /E
Ç ~C
Ð ~D
È `E
É 'E
Ê ^E
Ë "E
Ì `I
Í 'I
Î ^I
Ï "I
Ñ ~N
Ò `O
Ó 'O
Ô ^O
Ö "O
Ø /O
Õ ~O
Þ ~T
Ú 'U
Ù `U
Û ^U
Ü "U
Ý 'Y
à `a
á 'a
â ^a
ä "a
ã ~a
å /a
æ /e
ç ~c
ð ~d
è `e
é 'e
ê ^e
ë "e
ì `i
í 'i
î ^i
ï "i
ñ ~n
ò `o
ó 'o
ô ^o
ö "o
ø /o
õ ~o
ß "s
þ ~t
ù `u
ú 'u
û ^u
ü "u
ý 'y
ÿ "y
× ~*
÷ ~/
/P
§ /S
© /C
® /R
° /d
º /T
± +-
¹ ^1
² ^2
³ ^3
´ ~'
¼ /4
½ /2
¾ /3
« ~<
» ~>
¡ ~!
¿ ~?
¢ /c
£ ~L
¥ ~Y

Usage

Accents menu items:

Enabled:
Enable or disable Accents.
Convert Abbreviation before Caret:
Convert the abbreviation before the caret. This works regardless of whether Accents is enabled to convert abbreviations as you type them.
Ignore Next:
Ignore the next abbreviation match.
List:
Display a dockable list of accent characters and abbreviations.
Reload Accents:
Reload accents and abbreviations from ~/.jedit/accents.txt.
Verbose Logging:
Increases amount of logging for trouble-shooting.

Configuration

Options

Enable Accents when jEdit starts:
Toggles whether Accents is enabled when jEdit starts. This is indepenent of whether Accents is currently enabled or not. By default, Accents is enabled when jEdit starts.
Accents Encoding:
Character set of accents.txt. Default is ISO-8859-1.
Enable Verbose Logging by default:
Whether to turn on verbose logging by defaul for Accents.

Character Abbreviations

Character abbreviations are stored in ~/.jedit/accents.txt. Edit accents.txt to add or remove abbreviations.

accents.txt is a tab-delimited text file with the character in the first field and the 2-character abbreviation in the second field. Blank lines are ignored and lines beginning with # are comments.

The CharacterMap plugin may be useful for inserting characters.

Feedback

Bug reports, comments, and suggestions regarding Accents may be sent to Ollie Rutherfurd at oliver@jedit.org or posted on the jedit-users mailing list jedit-users@lists.sourceforge.net (membership is required).

I'd appreciate feedback on what works, what doesn't, and how to it more useful. I don't use the plugin, as I don't have a need for it.

To Do

  • Add an option to try to be clever w/comments, strings, etc... -- if the abbrevation is the start of one, don't expand it. This would save one from having to type " a" to enter the string "a".

Credits

Accents is inspired by iso-accents-mode in Emacs.

Accent abbreviations were provided by David Bourguignon who originally requested the functionality.

History

  • Version 1.0, May 2004
    • Initial release.