[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible to ignore diacritics with isearch?
From: |
Teemu Likonen |
Subject: |
Re: Possible to ignore diacritics with isearch? |
Date: |
Wed, 29 Dec 2021 20:38:31 +0200 |
User-agent: |
Notmuch/0.34.2+1~g2394ee6 (https://notmuchmail.org) Emacs/28.0.90 (x86_64-pc-linux-gnu) |
* 2021-12-29 17:53:46+0100, Tor Kringeland wrote:
> Is it possible to instruct commands like `isearch-forward' in Emacs to
> ignore diacritics? For example so that searching for "galaxia" would
> match strings like "galáxia". (Mainly I'm using `helm-occur' and
> `org-refile', both of which don't ignore diacritics.)
Yes:
(setq search-default-mode 'char-fold-to-regexp)
Emacs manual info node tells about all that:
(emacs) Lax Search
--
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
signature.asc
Description: PGP signature