Re: [Ebib-users] Configuration of Ebib with ebibrc
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2015-09-09 11:15:40
|
Hi Phil, > I have been playing with keywords, I have run into another problem. > > I use Emacs on a laptop and a desktop; I have a single init.el file, > synchronised through Dropbox so that I always have identical versions > of Emacs. I want to set up per-directory lists; I wanted to do this > with the ebibrc file, rather than customising each version of Emacs, > so that they always stay the same. If you have the same version of Emacs (and of any packages you have installed) on all machines, you can also synchronise your Custom settings. (Unless, of course, you want/need different settings for each machine...) > I am unclear as to what commands I need to put into ebibrc to do this. >Reading the documentation I got the impression the all I had to do was >to name a file (ebib-keywords.txt, no path), and all would be well. Yes, that should do the trick. If there is no directory part in the file name in `ebib-keywords-file`, Ebib should create a separate keywords file in each directory. Note, however, that Ebib only creates such a file if new keywords are added in the current session. Keywords that are already in the .bib file are not automatically saved to the keywords file. Perhaps that is causing your problem? Ebib should display keywords that are not in the database's keywords file in red (or whatever you've customised the `error` face to). If you see such keywords, you can add them to the file by pressing `K s`. They should then change to your normal foreground color and when you close the database, they'll be saved. The file should automatically be created if it doesn't exist yet. If things don't work this way for you, please let me know and I'll try and figure out what goes wrong. > ; ebibrc > ; configuration file for ebib > ; see Ebib manual for details > ; created 2015-09-06, by Phil Carter > > ; change default entry type to book > ; added 2015-09-06 > (setq ebib-default-entry-type 'Book) Does this work? The value of `ebib-default-entry-type` should be a string, so: (setq ebib-default-entry-type "Book") should be safer. (That is, setting `ebib-default-entry-type` to a symbol is not guaranteed to continue to work when I update Ebib.) Best, Joost -- Joost Kremers Life has its moments |