[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some proposed tweaks to HTML mode
From: |
Eric Abrahamsen |
Subject: |
Re: some proposed tweaks to HTML mode |
Date: |
Sun, 05 May 2019 11:43:42 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eric Abrahamsen <address@hidden> writes:
> Stefan Monnier <address@hidden> writes:
>
>>>> Indeed, `class` and `id` should be automatically added to all elements
>>>> (i.e. not in the above list but directly in the sgml-attributes code).
>>>> But for many elements it makes sense to not query any attributes at all
>>>> since they almost never have any attributes (not even "class" nor "id").
>>>
>>> I was also thinking `sgml-attributes', but I'm less sure about excluding
>>> elements.
>>
>> I didn't mean to exclude elements. I meant that if attributes are
>> queried then we do want to include `class` and `id`, but if they're not
>> then we shouldn't change it just on the premise that `class` or `id`
>> could be added.
>
> Yes, that makes more sense.
Patches are in at bug #35517.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: some proposed tweaks to HTML mode,
Eric Abrahamsen <=