Send Ebib-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ebib-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ebib-users digest..."
Today's Topics:
1. ebib-20140103 (Thomas S. Dye)
2. Re: ebib-20140103 (Joost Kremers)
3. Org mode links (Thomas S. Dye)
4. Re: Org mode links (Joost Kremers)
5. Re: Org mode links (Thomas S. Dye)
6. Ebib setup (Thomas S. Dye)
7. Re: Ebib setup (Joost Kremers)
8. Re: Ebib setup (Thomas S. Dye)
----------------------------------------------------------------------
Message: 1
Date: Fri, 03 Jan 2014 15:23:22 -1000
From: [email protected] (Thomas S. Dye)
Subject: [Ebib-users] ebib-20140103
To: "Ebib-users" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Aloha Joost,
I see you've been working on ebib lately. Thanks for a great tool.
The latest download from Melpa has, for me, a bug when adding a record.
I have ebib automatically generate keys. A <new-entry> is created, but
it isn't selected and I'm left in the record of the entry I was on when
I typed 'a'.
Also, I've been using ido somewhat blindly and fiddling with settings. A
while back I noticed that ebib appears to use ido when I'm editing the
file field. As far as I can tell, this "just happened". I'd like to
keep ido out of the way here. Can you give me advice?
Happy New Year!
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
------------------------------
Message: 2
Date: Sat, 04 Jan 2014 08:49:21 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] ebib-20140103
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Tom,
On Sat, Jan 04 2014, [email protected] wrote:
> I see you've been working on ebib lately. Thanks for a great tool.
Thanks. Glad you find it useful.
> The latest download from Melpa has, for me, a bug when adding a record.
> I have ebib automatically generate keys. A <new-entry> is created, but
> it isn't selected and I'm left in the record of the entry I was on when
> I typed 'a'.
Yeah, I did a Stupid Thing (tm) in one of the changes. Should be fixed
now in the latest update, which will appear on Melpa in the course of
this day, AFAIU.
> Also, I've been using ido somewhat blindly and fiddling with settings. A
> while back I noticed that ebib appears to use ido when I'm editing the
> file field. As far as I can tell, this "just happened". I'd like to
> keep ido out of the way here. Can you give me advice?
I've started using ido myself a few weeks ago and noticed the same
thing. I haven't looked into a fix yet, but if you do C-f when you get
the ido prompt, you are dropped back into the normal completion
mechanism. Not ideal, but at least a workaround. I'll look into a proper
fix ASAP.
> Happy New Year!
Thanks, you too!
Best,
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 3
Date: Mon, 03 Mar 2014 06:43:22 -1000
From: [email protected] (Thomas S. Dye)
Subject: [Ebib-users] Org mode links
To: "Ebib-users" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Aloha Joost,
With the most recent ebib (and perhaps some earlier ones?) I'm no longer
able to jump to a bibliographic entry from an Org mode link.
When I click this link:
[[cite:schulte12:_multi_languag_comput_envir_liter][schulte]]
Ebib opens a new database named
schulte12:_multi_languag_comput_envir_liter.bib, instead of finding an
entry with that key in an open database.
What might be causing this?
I've changed my Emacs setup considerably in the last few weeks. Have I
missed a setting?
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
------------------------------
Message: 4
Date: Mon, 03 Mar 2014 19:06:47 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Org mode links
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Tom,
No, you didn't miss a setting, I missed a bug... I made a change a while
back so that if the function `ebib' is passed a parameter, it assumes
it's a .bib file to be loaded. OTOH Org mode assumes that it can call
the function `ebib' with the key as a parameter (which is how it used to
be).
I added a fix for this for this. It should work again in Ebib 1.15.3 (or
commit 053b6fc on Github, should appear on MELPA soon). You'll have to
change the Org-mode link type, though. Set it to:
```
(org-add-link-type "ebib" 'ebib-open-org-link)
```
And things should be back to normal. Let me know if you run into
trouble.
Thanks for reporting this, and sorry about the mess...
Best,
Joost
On Mon, Mar 03 2014, Thomas S. Dye <[email protected]> wrote:
> Aloha Joost,
>
> With the most recent ebib (and perhaps some earlier ones?) I'm no longer
> able to jump to a bibliographic entry from an Org mode link.
>
> When I click this link:
>
> [[cite:schulte12:_multi_languag_comput_envir_liter][schulte]]
>
> Ebib opens a new database named
> schulte12:_multi_languag_comput_envir_liter.bib, instead of finding an
> entry with that key in an open database.
>
> What might be causing this?
>
> I've changed my Emacs setup considerably in the last few weeks. Have I
> missed a setting?
>
> All the best,
> Tom
--
Joost Kremers
Life has its moments
------------------------------
Message: 5
Date: Tue, 04 Mar 2014 10:53:39 -1000
From: [email protected] (Thomas S. Dye)
Subject: Re: [Ebib-users] Org mode links
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Aloha Joost,
Yes, that works. Things are back to normal.
Thanks for looking into this.
All the best,
Tom
Joost Kremers <[email protected]> writes:
> Hi Tom,
>
> No, you didn't miss a setting, I missed a bug... I made a change a while
> back so that if the function `ebib' is passed a parameter, it assumes
> it's a .bib file to be loaded. OTOH Org mode assumes that it can call
> the function `ebib' with the key as a parameter (which is how it used to
> be).
>
> I added a fix for this for this. It should work again in Ebib 1.15.3 (or
> commit 053b6fc on Github, should appear on MELPA soon). You'll have to
> change the Org-mode link type, though. Set it to:
>
> ```
> (org-add-link-type "ebib" 'ebib-open-org-link)
> ```
>
> And things should be back to normal. Let me know if you run into
> trouble.
>
> Thanks for reporting this, and sorry about the mess...
>
> Best,
>
> Joost
>
>
>
>
> On Mon, Mar 03 2014, Thomas S. Dye <[email protected]> wrote:
>> Aloha Joost,
>>
>> With the most recent ebib (and perhaps some earlier ones?) I'm no longer
>> able to jump to a bibliographic entry from an Org mode link.
>>
>> When I click this link:
>>
>> [[cite:schulte12:_multi_languag_comput_envir_liter][schulte]]
>>
>> Ebib opens a new database named
>> schulte12:_multi_languag_comput_envir_liter.bib, instead of finding an
>> entry with that key in an open database.
>>
>> What might be causing this?
>>
>> I've changed my Emacs setup considerably in the last few weeks. Have I
>> missed a setting?
>>
>> All the best,
>> Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
------------------------------
Message: 6
Date: Fri, 07 Mar 2014 13:24:04 -1000
From: [email protected] (Thomas S. Dye)
Subject: [Ebib-users] Ebib setup
To: "Ebib-users" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Aloha Joost,
I have this Org mode source code block that I evaluate as a local
variable.
#+name: ebib-setup
#+begin_src emacs-lisp
(autoload 'ebib "ebib" "Ebib, a BibTeX database manager." t)
(dolist (hook '(org-mode-hook))
(add-hook hook (lambda () (local-set-key "\C-cb"
'ebib-insert-bibtex-key))))
(setq ebib-bib-search-dirs (quote ("./")))
(setq ebib-preload-bib-files (quote ("local.bib")))
(setq ebib-local-bibtex-filenames (quote ("local.bib")))
(setq ebib-citation-commands
(quote ((org-mode (("cite" "[[cite:%K][%A]]"))))))
#+end_src
My question: Is it useful to set ebib-local-bibtex-filenames in this
way?
This is for an Org mode template that I'm working on. The goal is to
have the local variables set up the Org mode (+ Ebib) environment so
the user doesn't have to fiddle with .emacs before using the template.
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
------------------------------
Message: 7
Date: Mon, 10 Mar 2014 14:02:44 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Ebib setup
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Tom,
On Sat, Mar 08 2014, Thomas S. Dye <[email protected]> wrote:
> I have this Org mode source code block that I evaluate as a local
> variable.
>
> #+name: ebib-setup
> #+begin_src emacs-lisp
> (autoload 'ebib "ebib" "Ebib, a BibTeX database manager." t)
> (dolist (hook '(org-mode-hook))
> (add-hook hook (lambda () (local-set-key "\C-cb"
> 'ebib-insert-bibtex-key))))
> (setq ebib-bib-search-dirs (quote ("./")))
> (setq ebib-preload-bib-files (quote ("local.bib")))
> (setq ebib-local-bibtex-filenames (quote ("local.bib")))
> (setq ebib-citation-commands
> (quote ((org-mode (("cite" "[[cite:%K][%A]]"))))))
> #+end_src
>
> My question: Is it useful to set ebib-local-bibtex-filenames in this
> way?
Well, since you say you evaluate that block as a local variable, it's
probably the only setting that is truly unproblematic. :-) The other
settings are all global settings, they need to be set only once, when
Emacs (or Ebib) is started. `ebib-local-bibtex-filenames' is a
buffer-local variable, so it's fine to set it anew for each buffer.
The other variables won't do much harm if you set them again, though
they may not necessarily do what you expect if you load a second file
with different values. `ebib-preload-bib-files', for example, is only
used the first time Ebib is started. So if you load another org file
that has a different valu for it, Ebib won't load the new file unless
you first quit Ebib altogether.
So I guess it depends a bit on how you use the code whether it will work
well or whether it'll cause confusing problems. Though mostly I think
things'll be fine.
Best,
Joost
BTW, you can change the `%A' in ebib-citaton-commands to `%D' to get a
somewhat more intuitive prompt when you put a citation in the text.
--
Joost Kremers
Life has its moments
------------------------------
Message: 8
Date: Mon, 10 Mar 2014 06:42:08 -1000
From: [email protected] (Thomas S. Dye)
Subject: Re: [Ebib-users] Ebib setup
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Joost,
Joost Kremers <[email protected]> writes:
> Hi Tom,
>
> On Sat, Mar 08 2014, Thomas S. Dye <[email protected]> wrote:
>> I have this Org mode source code block that I evaluate as a local
>> variable.
>>
>> #+name: ebib-setup
>> #+begin_src emacs-lisp
>> (autoload 'ebib "ebib" "Ebib, a BibTeX database manager." t)
>> (dolist (hook '(org-mode-hook))
>> (add-hook hook (lambda () (local-set-key "\C-cb"
>> 'ebib-insert-bibtex-key))))
>> (setq ebib-bib-search-dirs (quote ("./")))
>> (setq ebib-preload-bib-files (quote ("local.bib")))
>> (setq ebib-local-bibtex-filenames (quote ("local.bib")))
>> (setq ebib-citation-commands
>> (quote ((org-mode (("cite" "[[cite:%K][%A]]"))))))
>> #+end_src
>>
>> My question: Is it useful to set ebib-local-bibtex-filenames in this
>> way?
>
> Well, since you say you evaluate that block as a local variable, it's
> probably the only setting that is truly unproblematic. :-) The other
> settings are all global settings, they need to be set only once, when
> Emacs (or Ebib) is started. `ebib-local-bibtex-filenames' is a
> buffer-local variable, so it's fine to set it anew for each buffer.
>
> The other variables won't do much harm if you set them again, though
> they may not necessarily do what you expect if you load a second file
> with different values. `ebib-preload-bib-files', for example, is only
> used the first time Ebib is started. So if you load another org file
> that has a different valu for it, Ebib won't load the new file unless
> you first quit Ebib altogether.
>
> So I guess it depends a bit on how you use the code whether it will work
> well or whether it'll cause confusing problems. Though mostly I think
> things'll be fine.
>
> Best,
>
> Joost
>
>
>
> BTW, you can change the `%A' in ebib-citaton-commands to `%D' to get a
> somewhat more intuitive prompt when you put a citation in the text.
Thanks for your help.
I'll make clear that the sequence is 1) load file, 2) start Ebib.
I didn't know about %D--this makes Ebib seem at home with Org mode.
Very nice!
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
------------------------------
_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users
End of Ebib-users Digest, Vol 21, Issue 1
*****************************************