"Eric Schulte" <schulte.e...@gmail.com> writes:

>> 2. In addition, since the symbols in org-bibtex-types are keywords, the
>>    completions are in the form ":article", ":book", etc. Might I ask why
>>    everything is org-bibtex-type is a keyword? Could we use strings or
>>    plain symbols instead? (Note: I haven't read the code carefully
>>    enough to see if there is a reason.)
>
> I tend to prefer keywords for items which are primarily used as keys
> (e.g., for alist lookup w/assoc), I like that keywords are only interned
> once and are clearly not variables or functions, however you're right
> that it may add some extra complexity to this code.
>
> I've changed the code which prompts for fields so that it now strips the
> leading ":" from the keyword names, leading to nicer prompts.
>

Thanks for the fixes!

My chief interest in using strings instead of keywords is to make it
easier to generate the value of bibtex-entry-field-alist from
org-bibtex-types and org-bibtex-fields. But if I'm already going to go
the trouble of rearranging the lists, changing the keywords to strings
shouldn't be too much trouble. :)

Best,
Matt

Reply via email to