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. Re: elisp function to start ebib on specified bibtex      entry
      (Ali Tofigh)
   2. Re: elisp function to start ebib on specified bibtex entry
      (Joost Kremers)
   3. save virtual database or new feature? (Piter_)
   4. Re: save virtual database or new feature? (Joost Kremers)
   5. Re: elisp function to start ebib on specified bibtex      entry
      (Ali Tofigh)
   6. Re: elisp function to start ebib on specified bibtex entry
      (Joost Kremers)
   7. Re: elisp function to start ebib on specified bibtex      entry
      (Ali Tofigh)


----------------------------------------------------------------------

Message: 1
Date: Thu, 28 Oct 2010 21:37:29 -0400
From: Ali Tofigh <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
        bibtex  entry
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi Joost,

I finally had some time on my hand to try the function you wrote
(ebib-start-on-entry). I tried to clone the git repository but I get
the following warning/error:

Initialized empty Git repository in ebib/.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Any ideas?

/Ali

On Mon, Sep 13, 2010 at 04:56, Joost Kremers <[email protected]> wrote:
> Hi Ali,
>
>> Thanks so much for this function. It will be very useful to me.
>
> Ah, I'm glad to hear that!
>
> Of course, if any problems turn up or you need some further functionality, 
> don't
> hesitate to ask.
>
>> I have
>> been using Ebib a while now and I am very happy with it. I have also
>> migrated my task management to org-mode. And now I have the glue that
>> I need to connect these two. I'm used to working with git so that will
>> be perfect. Once I have set things up for myself, I will probably send
>> a note to the org-mode mailing list. I remember that this issue has
>> come up there previously, so hopefully more people will find it
>> useful.
>
> I'd be interested in that myself, actually. :-) I've started using org-mode a
> while ago (though for the moment I'm barely scratching the surface of what it
> can do!) and it be interesting to see how exactly you connect ebib and 
> org-mode.
> So I'll keep an eye out for your message to the org-mode mailing list!
>
> Best,
>
> Joost
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>



------------------------------

Message: 2
Date: Sun, 31 Oct 2010 13:58:23 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
        bibtex entry
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

On Thu, Oct 28, 2010 at 09:37:29PM -0400, Ali Tofigh wrote:
> Hi Joost,
> 
> I finally had some time on my hand to try the function you wrote
> (ebib-start-on-entry). I tried to clone the git repository but I get
> the following warning/error:
> 
> Initialized empty Git repository in ebib/.git/
> warning: remote HEAD refers to nonexistent ref, unable to checkout.
> 
> Any ideas?

To be honest, no... I tried to clone the repository myself with:

git clone git://repo.or.cz/ebib.git

in a temporary directory and it works fine.

For some reason, git on your side seems to think that HEAD doesn't point to
anything, which a quick Google search suggests may be caused by a missing master
branch, but there *is* a master branch in the repo...

Google also suggested that the .git directory should have been created with the
proper remote branches and that you can set up a local tracking branch by hand.
But this really should happen automatically...

Unfortunately, I'm not a git expert... If you could try cloning again and see it
if works, that'd be great. If it doesn't work, I'll contact the guys 'n galls at
repo.or.cz and see if they have an idea what might be wrong.

-- 
Joost Kremers
Life has its moments



------------------------------

Message: 3
Date: Wed, 24 Nov 2010 17:26:54 +0100
From: Piter_ <[email protected]>
Subject: [Ebib-users] save virtual database or new feature?
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Hi all.
Virtual databases can be created for some keywords, but sometimes one
wants to sort articles in the different manner.
Is it possible to make the following:
add a "drawer" field into entry, which contains a keywords names for
different drawers.
now one can define a function add-to-drawer  which upon execution
shows menu with all available drawers in current database, plus
possibility to create (add) new drawer. The menu similar to ispell
menu.

(1)topic1(2)topuc2)(c)create new

or something like this.
similar function remove-from-drawer, and show the drawer which uses
virtual database feature to show references from different drawers.

I believe it will be useful.
Thanks.
Petro.



------------------------------

Message: 4
Date: Tue, 30 Nov 2010 12:31:30 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] save virtual database or new feature?
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Hi Petro,

sorry for the late reply, I haven't been reading my mail for the past few 
days...

> Virtual databases can be created for some keywords, but sometimes one
> wants to sort articles in the different manner.
> Is it possible to make the following:
> add a "drawer" field into entry, which contains a keywords names for
> different drawers.

I'm not entirely sure what you mean by "drawers". Do you mean you'd like to add
another field called "drawers"? That's pretty easy, you can do that by
configuring the variable ebib-additional-fields. Of course, that doesn't give
you a menu.

> now one can define a function add-to-drawer  which upon execution
> shows menu with all available drawers in current database, plus
> possibility to create (add) new drawer. The menu similar to ispell
> menu.
> 
> (1)topic1(2)topuc2)(c)create new
> 
> or something like this.
> similar function remove-from-drawer, and show the drawer which uses
> virtual database feature to show references from different drawers.

I'm not sure how the virtual databases come in here... Could you explain a bit
more about how this functionality should work? If it's possible to implement it,
I'd be happy to see what I can do.

HTH

Joost


-- 
Joost Kremers
Life has its moments



------------------------------

Message: 5
Date: Mon, 6 Dec 2010 17:55:18 -0500
From: Ali Tofigh <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
        bibtex  entry
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi Joost,

I finally got some time over to try this out again. The git repository
is working fine and I was able to use the function you wrote
(ebib-start-on-entry), which is great! My remaining question is: I'm
using autoload in my .emacs file to get emacs to load the
'ebib-start-on-entry' function when emacs starts up. I'm not very
cunning with emacs customization, so is the autoload function the
proper way to do this?

I'll let you know once I set things up with org-mode.

Best wishes,
/Ali

On Sun, Oct 31, 2010 at 08:58, Joost Kremers <[email protected]> wrote:
> On Thu, Oct 28, 2010 at 09:37:29PM -0400, Ali Tofigh wrote:
>> Hi Joost,
>>
>> I finally had some time on my hand to try the function you wrote
>> (ebib-start-on-entry). I tried to clone the git repository but I get
>> the following warning/error:
>>
>> Initialized empty Git repository in ebib/.git/
>> warning: remote HEAD refers to nonexistent ref, unable to checkout.
>>
>> Any ideas?
>
> To be honest, no... I tried to clone the repository myself with:
>
> git clone git://repo.or.cz/ebib.git
>
> in a temporary directory and it works fine.
>
> For some reason, git on your side seems to think that HEAD doesn't point to
> anything, which a quick Google search suggests may be caused by a missing 
> master
> branch, but there *is* a master branch in the repo...
>
> Google also suggested that the .git directory should have been created with 
> the
> proper remote branches and that you can set up a local tracking branch by 
> hand.
> But this really should happen automatically...
>
> Unfortunately, I'm not a git expert... If you could try cloning again and see 
> it
> if works, that'd be great. If it doesn't work, I'll contact the guys 'n galls 
> at
> repo.or.cz and see if they have an idea what might be wrong.
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>



------------------------------

Message: 6
Date: Wed, 8 Dec 2010 14:15:10 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
        bibtex entry
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Hi Ali,

> I finally got some time over to try this out again. The git repository
> is working fine and I was able to use the function you wrote
> (ebib-start-on-entry), which is great! My remaining question is: I'm
> using autoload in my .emacs file to get emacs to load the
> 'ebib-start-on-entry' function when emacs starts up. I'm not very
> cunning with emacs customization, so is the autoload function the
> proper way to do this?

Yeah, that would be the best way to do it.

In fact, I'm considering whether it wouldn't make more sense to just let the
main function `ebib' take an optional argument. It would function much the same
way as `ebib-start-on-entry', except that if you call `ebib' without any
argument, it just starts Ebib the way it does now. (So it wouldn't ask you on
which entry you want to start. It would still be possible to get that
functionality by calling `ebib' with a prefix argument.) I'm guessing you're not
going to use `ebib-start-on-entry' interactively, are you? In that case, I think
I should just include the functionality in the function `ebib' itself, rather
than have a special function for it.
 
> I'll let you know once I set things up with org-mode.

Yeah, that would be great. :-)

Best,

Joost


-- 
Joost Kremers
Life has its moments



------------------------------

Message: 7
Date: Wed, 8 Dec 2010 11:44:50 -0500
From: Ali Tofigh <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
        bibtex  entry
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi Joost,

On Wed, Dec 8, 2010 at 08:15, Joost Kremers <[email protected]> wrote:
> In fact, I'm considering whether it wouldn't make more sense to just let the
> main function `ebib' take an optional argument. It would function much the 
> same
> way as `ebib-start-on-entry', except that if you call `ebib' without any
> argument, it just starts Ebib the way it does now. (So it wouldn't ask you on
> which entry you want to start. It would still be possible to get that
> functionality by calling `ebib' with a prefix argument.) I'm guessing you're 
> not
> going to use `ebib-start-on-entry' interactively, are you? In that case, I 
> think
> I should just include the functionality in the function `ebib' itself, rather
> than have a special function for it.

No, I'm not planning to use the function interactively. I think it
makes a lot of sense to just extend the functionality of 'ebib'. Makes
for a very clean interface imo.

>> I'll let you know once I set things up with org-mode.
>
> Yeah, that would be great. :-)

I have now set up the connection between org-mode and ebib and it
works great! It was easier than I had anticipated. I just added three
lines to my .emacs:

(org-add-link-type "ebib" 'org-ebib-open)
(defun org-ebib-open (path)
    (ebib-start-on-entry path))

Now I can insert ebib links like this: [[ebib:Jones1998][some paper
title]] and open them in ebib by opening the link in org-mode.

I'm planning to write about this on the org-mode mailing list. Do you
want me to wait until you have rewritten the 'ebib' function?

Cheers,
/Ali



------------------------------

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com

------------------------------

_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users


End of Ebib-users Digest, Vol 14, Issue 1
*****************************************

Reply via email to