emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: racin@free.fr
To: emacs-orgmode@gnu.org
Subject: Bug in org-bibtex (patch attached)
Date: Mon, 28 Jan 2013 13:39:52 +0100 (CET)	[thread overview]
Message-ID: <1088248054.824871.1359376792385.JavaMail.root@spooler4-g27.priv.proxad.net> (raw)
In-Reply-To: <907591965.818501.1359376735201.JavaMail.root@spooler4-g27.priv.proxad.net>

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

Hi,

There is a small bug in org-bibtex which prevents org-bibtex-search to work correctly when
org-bibtex-prefix is nil. Patch attached.

Matthieu

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-bibtex.el.diff --]
[-- Type: text/x-patch; name=org-bibtex.el.diff, Size: 473 bytes --]

--- /home/ml213213/git/ext/org-mode/lisp/org-bibtex.el	2013-01-28 13:28:21.910313351 +0100
+++ /home/ml213213/.emacs.d/elpa/org-plus-contrib-20121231/org-bibtex.el	2013-01-28 13:23:26.786308753 +0100
@@ -708,7 +679,7 @@
         (org-agenda-search-view-always-boolean t))
     (org-search-view nil
 		     (format "%s +{:%s%s:}"
-			     string org-bibtex-prefix
+			     string (or org-bibtex-prefix "")
 			     org-bibtex-type-property-name))))
 
 (provide 'org-bibtex)

       reply	other threads:[~2013-01-28 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <907591965.818501.1359376735201.JavaMail.root@spooler4-g27.priv.proxad.net>
2013-01-28 12:39 ` racin [this message]
2013-01-30 10:41   ` Bug in org-bibtex (patch attached) Bastien

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=1088248054.824871.1359376792385.JavaMail.root@spooler4-g27.priv.proxad.net \
    --to=racin@free.fr \
    --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 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).