Questions tagged [plists]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Dom traversal return nil even though the test condition seems to be true

The purpose of the traversal this time is to be able to visit each node, if there is a specific attribute inside that node, it should return true, add that node to the list and proceed on the next ...
alexander's user avatar
  • 133
3 votes
1 answer

Defcustom definition for plists

I want to write a defcustom definition for a variable my-var. my-var is an alist that maps strings to plists. Each such plists maps one of three keys (:x, :y, :z) to a list of strings. So, a member ...
efl's user avatar
  • 93
0 votes
3 answers

Problems using a function reference from a plist

I'm trying to (funcall) a function reference I have in a plist. (defun helper-get-filename () "Argument Helper to get a filename." (read-file-name "-l <filename>: " "...
ocodo's user avatar
  • 1,202
4 votes
1 answer

How can I make `setf` work with `plist-get`?

There's no built-in setter for plist-get. Example: (let ((pl '(:what (one)))) (push 'two (plist-get pl :what)) pl) Error: let*: Symbol’s function definition is void: \(setf\ plist-get\) How can I ...
user3496846's user avatar
2 votes
2 answers

How to access a value in a plist, given its key

I have a list of key-value pairs that is assigned to a variable. (setq m-point '(:beg 2811 :end 3018 :op "(" :cl ")" :prefix "" :suffix "")) How do I access the values of :beg and :end within it? ...
Sati's user avatar
  • 775