On Wed, Mar 16, 2016 at 10:10:36PM -0400, Xu Wang wrote:
> Dear all,
> 
> On my keyboard I do not have the character é. But I would like to be
> respectful to spell the name as they prefer so I want to keep the
> abook entry name as José. But problem is that in mutt when I do "Jose"
> it does not match. I can do "Jos" but sometimes I forget and in other
> cases "Jos" might lead to many cases.
> 
> Does anyone approach a solution for this?
> 
> Kind regards,
> 
> Xu

It depends on your setup.  I don't use abook, but I mostly use mutt
in an X term (normally, urxvt).  I'm british, and the default keymap
lets me use AltGr for dead keys (specifically, AltGr with ; for an
acute accent, so AltGr ; e for é.  I also happen to use my own
extensions for some less-common diacriticals - but you probably
don't need those.  In a plain tty I can also do something similar,
but only because I inserted my own keymap.

If you use an american keyboard, you can see the symbols in
/usr/share/X11/xkb/symbols/us (or wherever yourr system puts that
file), and dead_acute seems to be on the key two places to the
right of 'l'.  You will also need to check the Compose sequences -
normally in /usr/share/X11/locale/en_US.UTF-8/Compose [ again,
distros and BSDs might put that in a different place, but almost all
locales use the en_US.UTF-8 Compose settings ].

You can, of course, add your own Compose settings and perhaps map
something to the Compose key ('<Multi_key>'), but like the extra
dead keys I added to my own keyboard definition, that is only
normally needed if you want to use uncommon things such as romanian
s with comma below [ ș ] or the schwa [ ə ].  If anybody does go
down that road, mass-market desktop environments such as gnome and
kde might do their best to thwart you ;-)

ĸen
-- 
This email was written using 100% recycled letters.

Reply via email to