From: Leonard Randall <email@example.com>
Subject: Re: Feature Request. org-bibtex-tags-are-keywords inherit tags
Date: Fri, 4 Apr 2014 12:31:12 +0100 [thread overview]
Message-ID: <CAMRQoAnPxZ9fxboLKd87QXocZjqNqOektufYHKg1HKK8cgALXQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2665 bytes --]
I apologize, for the last short post. The keybinding for new headline in
org-mode sends an email in gmail. Let us try this again.
Right now when you run org-bibtex with org-bibtex-tags-are-keywords
set to true, only the tags assigned directly to the headline are
converted. So, for instance, if I run org bibtex on a file set up like
* Journal articles on Authortity :auth:
** Kant's Mature View of Legal Authority :Kant:
(bib info here)
The .bib file that is exported only inherits the second tag `:Kant:'
Having tag inheritance would be very useful for organizing large
bibliographies. This would give people the convenience of managing and
organizing the files in org-mode, but still allow them to use some of
the convenient features of gui based bibtex browsers. It would also
allow people to share their bibliographies, along with their tags with
colleagues who have not yet been converted to using org-mode.
This relevant behavior is controlled by the function
org-bibtex-headline in org-bibtex.el. I can change the behavior on
my machine by changing `org-get-local-tags-at' to `org-get-tags-at'
in my local version of org-bibtex.el. This of course does not fix
the bug I mentioned last week. (Bug: Error with org-bibtex export with tags
when using custom
)However the cases where the original
org-bibtex works this function works as well. Of course not everyone
would want this on all of the time. However it seems like it would not be
too hard to make a variable such as `org-bibtex-tags-are-keywords-inherit'
and modify `org-bibtex-headline' so that you can toggle tag inheritance.
Unfortunately, my knowledge of lisp is particularly rudimentary so I can't
offer to do it myself.
Let me know what you think
Thanks so much,
On Fri, Apr 4, 2014 at 11:43 AM, Leonard Randall <
> Right now when you run org-bibtex with org-bibtex-tags-are-keywords set to
> true, only the tags assigned directly to the headline are converted. So for
> instance if run org bibtex on a file set up like this.
> * Authority :auth:
> ** Kant's Views on authority :Kant:
> (bibliography info here)
> This behavior is controlled by the function org-bibtex-headline in
> org-bibtex.el. I can change the behavior on my machine by changing
> `org-get-local-tags-at' to `org-get-tags-at' in
[-- Attachment #2: Type: text/html, Size: 8503 bytes --]
next prev parent reply other threads:[~2014-04-04 11:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 10:43 Feature Request. org-bibtex-tags-are-keywords inherit tags Leonard Randall
2014-04-04 11:31 ` Leonard Randall [this message]
2014-04-17 14:25 ` Bastien
[not found] ` <CAMRQoAnD9W7DpuXp5ELsN2fTBPJ2URS3p3+=ERZxM_ESduXtmQ@mail.gmail.com>
2014-04-18 9:02 ` Leonard Randall
2014-04-18 11:14 ` Bastien
2014-04-18 13:44 ` Leonard Randall
2014-04-18 14:47 ` Bastien
2014-04-19 13:34 ` Leonard Randall
2014-04-19 14:41 ` Bastien
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).