原数据结构:
(
(
(noteId . 1675318046934)
(tags)
(fields
(transcription
(value . "We can't! The containment field is failing. The portal is gonna tear itself apart!
我们关不掉的!遏制场正在失效。传送门会自己销毁!")
(order . 0))
(pronunciation
(value . "")
(order . 1))
(meaning
(value . "")
(order . 2))
(notes
(value . "")
(order . 3))
(sound
(value . "[sound:eudic_2_07_PM_containment.mp3]")
(order . 4))
(image
(value . "")
(order . 5)))
(modelName . "Audio note (English)")
(cards 1675318046934)
)
(
(noteId . 1675318213063)
(tags)
(fields
(transcription
(value . "It was really about a portal to knowledge, different environments and adapting.
更是让我收获了知识,应对不同环境时学会了适应。")
(order . 0))
(pronunciation
(value . "/'pɔrtl/")
(order . 1))
(meaning
(value . "")
(order . 2))
(notes
(value . "")
(order . 3))
(sound
(value . "[sound:eudic_2_10_PM_portal.mp3]")
(order . 4))
(image
(value . "")
(order . 5)))
(modelName . "Audio note (English)")
(cards 1675318213063)
)
)
希望达到效果:
(
[:noteId 1675318046934 :transcription "We can't! The containment field is failing. The portal is gonna tear itself apart! 我们关不掉的!遏制场正在失效。传送门会自己销毁!" :sound "[sound:eudic_2_07_PM_containment.mp3]"]
[:noteId 1675318213063 :transcription "It was really about a portal to knowledge, different environments and adapting. 更是让我收获了知识,应对不同环境时学会了适应。" :sound "[sound:eudic_2_10_PM_portal.mp3]" ]
)
和这个话题类似:如何将嵌套树状列表压平为alist(包含层级信息)
该话题的解决方案超出了我现有 elisp 的认知水平,看不懂如何实现,无从下手进行修改借鉴。
感谢哪位大佬指点。