Re: [Ebib-users] Fwd: Keyword options greyed out
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2017-07-07 07:57:25
|
Hi Phil, I looked into your problem a bit more and what I found is this: when I open a .bib file with keywords in it which aren't in the keywords file, they are marked red. At this point, the options 'Save New Keywords For Database (K S)' and 'Save All New Keywords' are indeed greyed out. The reason is that they only apply to keywords that have been added since the .bib file was opened. If you edit an entry and add a new keyword that's not in the established list of keywords, these options should become active. If this works for you as described, then everything is working as intended, though I might need to polish the user-friendliness of it all... Note that the current entry has keywords marked in red, you can save them with `K s` (small `s`, that is). That command is not in the menu, but I could add it. (I sometimes forget to update the menu when I add new commands, because I never use it myself.) If you have an existing .bib file with lots of keywords already, it's of course cumbersome to save them all this way, because it needs to be done for each entry individually. It should be possible to come up with a function to go through the entire database and save all keywords in one go. Let me know if you need something like that and I'll see what I can do. If things don't work for you the way I described here, there's a bug somewhere and I'll need to do some more digging. Best, Joost On Thu, Jun 29 2017, Marlene and Phil Carter wrote: > Hi Joost, > > I seem have lost the reply you sent to this email. As I > remember, you asked what version of Ebib I am using, and what > happens when I type K S. > > I had some time away from Ebib, when I decided to try again, I > updated my version to the most recent version from ELPA. > > When I type K S in the index buffer, nothing happens. > > I don’t know whether this has any bearing on my problem or not, > but when I type C-c e to fire up Ebib, these messages appear in > my *Messages* buffer, before I open a bib file: > > Error during redisplay: (eval (ebib--mode-line-modified-p)) > signaled (wrong-type-argument arrayp nil) > Error during redisplay: (eval (format " (%s)" > (ebib--get-dialect ebib--cur-db))) signaled (wrong-type-argument > arrayp nil) > Error during redisplay: (eval (ebib--mode-line-modified-p)) > signaled (wrong-type-argument arrayp nil) > Error during redisplay: (eval (format " (%s)" > (ebib--get-dialect ebib--cur-db))) signaled (wrong-type-argument > arrayp nil) > > What is going on here? > > Thanks again. > > Phil Carter > > > > >> Begin forwarded message: >> >> From: Marlene and Phil Carter <pan...@bi...> >> Subject: Keyword options greyed out >> Date: 27 June 2017 at 1:32:02 pm AEST >> To: Ebib Users List <ebi...@li...> >> >> Hi Joost, >> >> I want to set up a consistent set of keywords across several >> bib files in the same directory. I open a bib file, and I can >> enter keywords, they appear in red, which is, I suppose, the >> error face. >> >> I attempted to save the keywords, but I found that the menu >> items: >> >> Save new Keywords For Database (K S), and >> >> Save All New Keywords >> >> are greyed out. >> >> I’ve put these 2 lines in my init.el: >> >> (setq ebib-bibtex-dialect 'biblatex) >> (setq ebib-keywords-file "ebib-keywords.txt”) >> >> I thought that is allI needed. >> >> Why would these menu items be greyed out, and what can I do to >> fix the problem? >> >> Thanks for your help, >> >> Phil Carter >> >> >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! > http://sdm.link/slashdot_______________________________________________ > Ebib-users mailing list > Ebi...@li... > https://lists.sourceforge.net/lists/listinfo/ebib-users -- Joost Kremers Life has its moments |