[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43218: EWW handles default answer incorrectly when changing a select
From: |
Lars Ingebrigtsen |
Subject: |
bug#43218: EWW handles default answer incorrectly when changing a select |
Date: |
Mon, 07 Sep 2020 00:56:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Does this sound familiar to anybody? I can grep around to see if
> there's any more, I guess...
Well, there's a bunch of faces and at least one other property:
(while md
(funcall update-score start (car md))
(add-face-text-property
start (pop md)
'completions-common-part
nil str)
(setq start (pop md)))
(funcall update-score len len)
(add-face-text-property
start end
'completions-common-part
nil str)
(if (> (length str) pos)
(add-face-text-property
pos (1+ pos)
'completions-first-difference
nil str))
(unless (zerop (length str))
(put-text-property
0 1 'completion-score
(/ score-numerator (* len (1+ score-denominator)) 1.0) str)))
We actually don't seem to have a remove-face-text-property? But perhaps
is fine nixing out the face property as long as the other properties
survive.
(completion-score should be removed too, of course.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#43218: EWW handles default answer incorrectly when changing a select, (continued)
- bug#43218: EWW handles default answer incorrectly when changing a select, Drew Adams, 2020/09/06
- bug#43218: EWW handles default answer incorrectly when changing a select, Lars Ingebrigtsen, 2020/09/06
- bug#43218: EWW handles default answer incorrectly when changing a select, Drew Adams, 2020/09/06
- bug#43218: EWW handles default answer incorrectly when changing a select, Lars Ingebrigtsen, 2020/09/06
- bug#43218: EWW handles default answer incorrectly when changing a select, Stefan Monnier, 2020/09/06
- bug#43218: EWW handles default answer incorrectly when changing a select, Lars Ingebrigtsen, 2020/09/06
- bug#43218: EWW handles default answer incorrectly when changing a select,
Lars Ingebrigtsen <=
- bug#43218: EWW handles default answer incorrectly when changing a select, Drew Adams, 2020/09/06