gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] abbr expansion


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] abbr expansion
Date: Tue, 29 Mar 2011 00:00:43 +0200

> 1) after each keystroke the last character entered is checked for
>    a range of end-of-word characters
> 
>       among those are spaces and interpunctions
> 
> 2) if an end-of-word character is found GNUmed checks the last "word"
>    typed for start-of-string matches in the keyword space of the
>    text macros

One can also manually invoke this match search by <CTRL-M> (as in Macro).


>        type "**dm;" will trigger on the ";" and will match
>        "**dm1" as well "**dm2" (which expand to Diabetes mellitus 1 and 

Note that, say, "**dm1;" will expand to "Diabetes mellitus 1;" (including
the semicolon that triggered the replacement). Thus you can write

   **dm1: elevated sugars

and GNUmed will turn this into

   Diabetes mellitus 1: elevated sugars

for you.

Karsten

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]