From: Matt Lundin <mdl@imapmail.org>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH 3/4] Do not export TYPE property as field when allowing arbitrary fields
Date: Sun, 01 May 2011 17:10:36 -0400 [thread overview]
Message-ID: <87ei4inn3n.fsf@fastmail.fm> (raw)
In-Reply-To: <87k4eann8c.fsf@fastmail.fm> (Matt Lundin's message of "Sun, 1 May 2011 16:56:32 -0400")
The subject should be patch 3/4 - sorry.
Matt Lundin <mdl@imapmail.org> writes:
> * lisp/org-bibtex.el (org-bibtex-headline): Don't export TYPE property
> as field
> ---
> lisp/org-bibtex.el | 12 +++++++-----
> 1 files changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el
> index cf7fc49..513519b 100644
> --- a/lisp/org-bibtex.el
> +++ b/lisp/org-bibtex.el
> @@ -320,11 +320,13 @@ This variable is relevant only if `org-bibtex-export-tags-as-keywords` is t."
> org-bibtex-prefix)
> (mapcar
> (lambda (kv)
> - (when (string-match org-bibtex-prefix (car kv))
> - (cons (downcase (replace-regexp-in-string
> - org-bibtex-prefix ""
> - (car kv)))
> - (cdr kv))))
> + (let ((key (car kv)) (val (cdr kv)))
> + (when (and (string-match org-bibtex-prefix key)
> + (not (equalp
> + (concat org-bibtex-prefix "TYPE") key)))
> + (cons (downcase (replace-regexp-in-string
> + org-bibtex-prefix "" key))
> + val))))
> (org-entry-properties nil 'standard))
> (mapcar
> (lambda (field)
prev parent reply other threads:[~2011-05-01 21:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-01 20:56 [PATCH 5/6] Do not export TYPE property as field when allowing arbitrary fields Matt Lundin
2011-05-01 21:10 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ei4inn3n.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.