From: Matt Lundin <mdl@imapmail.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org-bibtex.el --- convert between Org headings and bibtex entries
Date: Sat, 23 Apr 2011 18:46:34 -0400 [thread overview]
Message-ID: <87liz0d1rp.fsf@fastmail.fm> (raw)
In-Reply-To: <878vv112ph.fsf@gmail.com> (Eric Schulte's message of "Sat, 23 Apr 2011 08:07:06 -0600")
"Eric Schulte" <schulte.eric@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
prev parent reply other threads:[~2011-04-23 22:46 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 23:52 [ANN] org-bibtex.el --- convert between Org headings and bibtex entries Eric Schulte
2011-04-20 1:01 ` Jeff Horn
2011-04-20 1:13 ` Eric Schulte
2011-04-20 7:54 ` Thomas S. Dye
2011-04-20 13:25 ` Matt Lundin
2011-04-20 14:29 ` Matt Lundin
2011-04-20 19:59 ` Eric Schulte
2011-04-20 19:00 ` Eric Schulte
2011-04-21 16:36 ` Thomas S. Dye
2011-04-21 21:06 ` Eric Schulte
2011-04-23 16:23 ` Thomas S. Dye
2011-04-23 22:59 ` Alan E. Davis
2011-04-24 0:40 ` Matt Lundin
2011-04-24 14:21 ` Eric Schulte
2011-04-24 16:53 ` Christian Moe
2011-04-25 13:19 ` Matt Lundin
2011-04-25 13:34 ` Eric Schulte
2011-04-25 15:15 ` Matt Lundin
2011-04-27 22:16 ` Eric Schulte
2011-04-24 0:52 ` Eric Schulte
2011-04-24 4:49 ` Alan E. Davis
2011-04-24 14:29 ` Eric Schulte
2011-04-24 20:40 ` Alan E. Davis
2011-04-25 13:31 ` Eric Schulte
2011-04-20 9:26 ` Christian Moe
2011-04-20 20:15 ` Eric Schulte
2011-04-20 12:10 ` Matt Lundin
2011-04-20 20:16 ` Eric Schulte
2011-04-22 14:05 ` [PATCH] " Eric Schulte
2011-04-22 15:45 ` Matt Lundin
2011-04-23 0:03 ` Matt Lundin
2011-04-23 14:07 ` Eric Schulte
2011-04-23 22:46 ` Matt Lundin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87liz0d1rp.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).