[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Verify if record in field exists
From: |
Morgan Smith |
Subject: |
Verify if record in field exists |
Date: |
Sat, 11 Dec 2021 14:04:36 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hello!
I was wondering if it would be possible to validate that the records
referred to in a field actually exist. For example, the following file
does not trigger an error when checking with recfix, but I would really
rather that it did since there is no record with the key "Does not
exist".
Furthermore, it would be cool if rec-mode could autocomplete records.
I understand how this could become difficult with multi-file setups, but
that's not my use-case ;).
Thanks,
Morgan
#+begin_src
%rec: Person
%key: Name
%type: Sibling rec Person
Name: Joe
Sibling: John
Sibling: Does not exist
Name: John
#+end_src
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Verify if record in field exists,
Morgan Smith <=