emacs-devel
[Top][All Lists]
Advanced

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

Re: Refactor elpa/oauth2.el to use plist over cl-defstruct


From: Soham Gumaste
Subject: Re: Refactor elpa/oauth2.el to use plist over cl-defstruct
Date: Sun, 19 Jan 2025 16:46:05 -0600
User-agent: Mozilla Thunderbird



In this case, since `plstore` is used to store the information, it would make it much easier to use a plist as it could be stored and retrieved as-is, instead of having to convert between struct<-->plist every time.



Also, storing the buffer object itself (instead of just a path) in the plstore field makes it impossible to directly serialize the struct, as when its read back it doesn't parse the #<buffer part correctly.



reply via email to

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