Subject: bug#55668: Extending the `C-x 8' map to include macrons

From: Phil Sainty <[email-masked]>
Date: Sat, 28 May 2022 13:46:52 +1200

On 2022-05-28 03:42, Eli Zaretskii wrote:
>> From: Tor Kringeland <[email-masked]>
>> Eli Zaretskii <[email-masked]> writes:
>> > Does the below fit the bill?
>> It does --- thanks!
> Thanks, installed.

Nice.

Just as an addendum:

On 2022-05-27 17:51, Eli Zaretskii wrote:
> It sounds like you want to search for letters with combining macron,
> like ā and ō?  If so, why not use a suitable input method to type
> those letters?  That is the standard way in Emacs to type characters
> that are not on the keyboard.  (If support for typing those characters
> is missing from the input methods we have, we could relatively easily
> add them.)

I find the latin-4-postfix input method good for entering macrons:

              | postfix | examples
  ------------+---------+----------
   macron     |    -    | a- -> ā

I have this configured as the default:

;; Latin-4 facilitates macron accents (e.g. a- => ā).
;; n.b. If `current-language-environment' is customized, it clobbers 
this.
(setq default-input-method "latin-4-postfix")

-Phil