[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35689: Customizable char-fold
From: |
Eli Zaretskii |
Subject: |
bug#35689: Customizable char-fold |
Date: |
Tue, 14 May 2019 09:37:14 +0300 |
User-agent: |
K-9 Mail for Android |
On May 14, 2019 1:18:18 AM GMT+03:00, Noam Postavsky <npostavs@gmail.com> wrote:
> Juri Linkov <juri@linkov.net> writes:
>
> > Oh, right. Do you see a problem with a better patch:
>
> > +(eval-and-compile (defcustom char-fold-include-base nil
> > + "Include mappings from composite character to base letter."
> > + :type 'boolean
> > + :set (lambda (sym val)
> > + (set sym val)
> > + (when (boundp 'char-fold-table)
> > + (setq char-fold-table (char-fold-make-table))))
>
> Looks like it could work (though I haven't tested). The docstrings
> are
> too terse for me easily follow, and they should probably include
> something along the lines of "Setting this variable directly does not
> take effect; either use M-x customize or ..."
We don't gave defcustoms inside eval-and/when-compile anywhere else. Do we
really need this? For starters, it would defeat cus-dep.el, I think.
- bug#35689: Customizable char-fold, Juri Linkov, 2019/05/11
- bug#35689: Customizable char-fold, Juri Linkov, 2019/05/12
- bug#35689: Customizable char-fold, Noam Postavsky, 2019/05/12
- bug#35689: Customizable char-fold, Juri Linkov, 2019/05/13
- bug#35689: Customizable char-fold, Noam Postavsky, 2019/05/14
- bug#35689: Customizable char-fold,
Eli Zaretskii <=
- bug#35689: Customizable char-fold, Juri Linkov, 2019/05/14
- bug#35689: Customizable char-fold, npostavs, 2019/05/16
- bug#35689: Customizable char-fold, Juri Linkov, 2019/05/16
- bug#35689: Customizable char-fold, Juri Linkov, 2019/05/21
- bug#35689: Customizable char-fold, npostavs, 2019/05/21