help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a drawing with Emacs


From: Tomas Hlavaty
Subject: Re: make a drawing with Emacs
Date: Thu, 03 Sep 2020 19:55:02 +0200

On Thu 03 Sep 2020 at 19:28, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>> The arguments can be any attribute that's valid for an SVG element.  I'm
>> not sure how digging into the source code helps you with determining
>> that -- you'd need to look at the SVG standards document to find out
>> what keywords/values are valid.

At the moment, args is passed to svg--arguments.

But the point is that eldoc should be useful so that nobody needs to
look anywhere else.

> (That said, changing the signature on all these functions to
>
>   (cl-defun svg-... (... &key stroke-width stroke-color fill-color ... 
> &allow-other-keys)
>   
> would be fine by me, and should be backwards-compatible.)

Why &allow-other-keys?  How would you pass the other keys to
svg-arguments?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]