Re: [Ebib-users] how to edit the key?
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2012-09-01 22:36:25
|
Mandar Mitra <man...@gm...> writes: > One use case where this might be useful is if I'm working with a > collaborator on a paper, and the files are shared (e.g. through > Dropbox). If a co-author changes a bib file, it would be nice to > be able to reload quickly. For ordinary tex files, emacs prompts me > whether I should revert-buffer. Something similar for ebib... Ah, that already goes a step further. ;-) Not just the ability to reload the file, but also a warning when it has changed... Reloading the file is easy to implement, that's just another command. Checking for a file change would require keeping track of the file's state when it's opened, or at least the time when it's opened and then comparing that with the latest modification time when the user edits the file. It's doable, of course, but I'd have to think about the best way to implement it. Actually, it would be very easy if Ebib would just load the .bib file in a buffer and operate on that. Then Emacs would keep track of changes. The thing is that Ebib doesn't do that... It opens the .bib file, reads its contents and stores in in a hash table, and then closes the buffer again. > If I can put something quick and dirty together, will circulate for > feedback. If you come up with something, please share. :-) Best, Joost -- Joost Kremers Life has its moments |