[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix regex for determining image width from attribute
From: |
Matt Huszagh |
Subject: |
Re: [PATCH] Fix regex for determining image width from attribute |
Date: |
Wed, 24 Nov 2021 07:59:20 -0800 |
Max Nikulin <manikulin@gmail.com> writes:
> This is related solely to docscring.
>
>> +that is not found, use the first #+ATTR_.*:width specification.
>
> I am unsure how to make this phrase more clear, maybe something like
> "use :width value from the first #+ATTR_,*" or even "#+ATTR_xxx" to
> avoid ".*".
>
>> + (re-search-forward (funcall attr-re
>> "[a-z]*?")
>> + par-end t))))
>
> https://orgmode.org/worg/dev/org-syntax.html#Keywords
> has no requirement that it may be letter only. I expect it to be more
> coherent with
> http://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-element.el#n2387
> that uses "\\S-" non-space character.
Better?
Matt
attr_org.patch
Description: Text Data
- Re: [PATCH] Fix regex for determining image width from attribute, (continued)
- Re: [PATCH] Fix regex for determining image width from attribute, Timothy, 2021/11/22
- Re: [PATCH] Fix regex for determining image width from attribute, Matt Huszagh, 2021/11/22
- Re: [PATCH] Fix regex for determining image width from attribute, Kyle Meyer, 2021/11/22
- Re: [PATCH] Fix regex for determining image width from attribute, Timothy, 2021/11/23
- Re: [PATCH] Fix regex for determining image width from attribute, Matt Huszagh, 2021/11/23
- Re: [PATCH] Fix regex for determining image width from attribute, Timothy, 2021/11/23
- Re: [PATCH] Fix regex for determining image width from attribute, Matt Huszagh, 2021/11/23
- Re: [PATCH] Fix regex for determining image width from attribute, Max Nikulin, 2021/11/23
- Re: [PATCH] Fix regex for determining image width from attribute, Matt Huszagh, 2021/11/23
- Re: [PATCH] Fix regex for determining image width from attribute, Max Nikulin, 2021/11/24
- Re: [PATCH] Fix regex for determining image width from attribute,
Matt Huszagh <=
- Re: [PATCH] Fix regex for determining image width from attribute, Max Nikulin, 2021/11/24
- Re: [PATCH] Fix regex for determining image width from attribute, Max Nikulin, 2021/11/25
- Re: [PATCH] Fix regex for determining image width from attribute, Matt Huszagh, 2021/11/28
- Re: [PATCH] Fix regex for determining image width from attribute, Timothy, 2021/11/29
- Re: [PATCH] Fix regex for determining image width from attribute, Matt Huszagh, 2021/11/30
- Re: [PATCH] Fix regex for determining image width from attribute, Max Nikulin, 2021/11/29
- Re: [PATCH] Fix regex for determining image width from attribute, Max Nikulin, 2021/11/22