[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using punctuation in abbrev
From: |
Aurélien Aptel |
Subject: |
Re: Using punctuation in abbrev |
Date: |
Sun, 2 Jun 2013 00:49:40 +0200 |
On Sat, Jun 1, 2013 at 8:42 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> I want to substitute $-> with a unicode rightwards arrow (U+2192 →).
>
> 1. Does that mean that you want to type `$->' and use `expand-abbrev'
> each time to insert a Unicode right arrow? If so, and if you don't
> really care whether you use abbrev, consider binding insertion of a
> right arrow char to a key sequence instead.
The abbrev minor mode is active in all my buffers and it doesn't have
to be triggered by a specific key, it's automatically substituted as I
type. I plan on having a lot of easy-to-remember abbreviations for
unicode chars I regularly use, all prefixed by $ or some other less
used character so that it only triggers when I want. Calling
insert-char is too cumbersome and breaks the flow.
The only thing that doesn't work is this word extraction regex...
> 2. On the other hand, if you already have lots of `$->' occurrences in
> your text and you want to change them to right arrows, consider using
> `query-replace' or `replace-string' instead.
That is not what I want.
- Using punctuation in abbrev, Aurélien Aptel, 2013/06/01
- RE: Using punctuation in abbrev, Drew Adams, 2013/06/01
- Re: Using punctuation in abbrev,
Aurélien Aptel <=
- Message not available
- Message not available
- Re: Using punctuation in abbrev, Emanuel Berg, 2013/06/02
- Re: Using punctuation in abbrev, Aurélien Aptel, 2013/06/02
- Re: Using punctuation in abbrev, Jambunathan K, 2013/06/02
- Re: Using punctuation in abbrev, Yuri Khan, 2013/06/02
- Message not available
- Re: Using punctuation in abbrev, Emanuel Berg, 2013/06/03
- Re: Using punctuation in abbrev, Yuri Khan, 2013/06/03
- Re: Using punctuation in abbrev, Aurélien Aptel, 2013/06/04
- Message not available
- Re: Using punctuation in abbrev, Emanuel Berg, 2013/06/04