Re: [Ebib-users] Configuration of Ebib with ebibrc
Brought to you by:
joostkremers
From: Phil a. M. C. <pan...@bi...> - 2015-09-10 08:21:56
|
Hi Joost, Sorry to keep emailing with problems. I'm sorry to say that I am still having trouble with ebibrc and the keywords file. If I open a bib file with no keywords, and attempt to add a key word, the keyword appears in red. If I type K, trying to save the keyword, I get a message in the mini-buffer that K is undefined. I don't get to type s. I wondered whether setting ebib-keywords-use-only-file to a non-nil value might fix the problem, but it didn't. I tried creating the file ebib-keywords.txt, with 1 or 2 entries, outside of Ebib, no luck with that either. Somehow, the file ebib-keywords.txt is not being recognised. Thanks for the tip about "Book", that has fixed that problem. Here is the latest version of my ebibrc file: ; 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") ; use only keywords file ; added 2015-09-10 (setq ebib-keywords-use-only-file t) ; set up keywords file ; select per-directory keywords list ; added 2015-09-08 (setq ebib-keywords-file "ebib-keywords.txt") Thanks again, Phil On 09/09/2015, at 9:15 PM, Joost Kremers wrote: > 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 > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > Ebib-users mailing list > Ebi...@li... > https://lists.sourceforge.net/lists/listinfo/ebib-users > |