[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question regarding "paragraph" and "p"
From: |
Ludovic Courtès |
Subject: |
Re: Question regarding "paragraph" and "p" |
Date: |
Thu, 14 Jan 2021 15:23:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
Michael Vehrs <Michael.Burschik@gmx.de> skribis:
> As far as I can tell, this definition from package/base.scm means that p
> will only ever call paragraph with the minimum arguments, making it
> impossible to extend p:
>
> (define-markup (p :rest opt :key ident (class #f))
> (paragraph :ident ident :class class :loc &invocation-location
> (the-body opt)))
>
> I would consider this a bug. I think it would be better to define p in
> the usual way, and to extend markup-writer to handle a list of markup
> elements.
Doesn’t that just mean that ‘p’ is an alias for ‘paragraph’, and that
all you have to do is define a markup writer for ‘paragraph’? Or am I
missing something?
Thanks,
Ludo’.
- Question regarding "paragraph" and "p", Michael Vehrs, 2021/01/02
- Re: Question regarding "paragraph" and "p", Michael Vehrs, 2021/01/03
- Re: Question regarding "paragraph" and "p",
Ludovic Courtès <=
- Re: Question regarding "paragraph" and "p", Michael Vehrs, 2021/01/15
- Re: Question regarding "paragraph" and "p", Michael Vehrs, 2021/01/16
- Re: Question regarding "paragraph" and "p", Ludovic Courtès, 2021/01/16
- Re: Question regarding "paragraph" and "p", Michael Vehrs, 2021/01/17
- Re: Question regarding "paragraph" and "p", Ludovic Courtès, 2021/01/18