Re: [Ebib-users] elisp function to start ebib on specified bibtex entry
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2010-12-08 13:15:19
|
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 |