Re: [Ebib-users] Discussion of issues relating to Ebib
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2015-07-23 00:02:22
|
Hi Phil, My condolances for your loss. And of course a late reply won't keep me from looking into your problem. It seems there was a bug in the function `ebib--get-db-from-filename` that for some reason has remained undetected for quite some time... It should be fixed now in the latest commit (53919c1), which should appear on Melpa in a few hours. If you still run into trouble, let me know and I'll take another look. Regards, Joost On Tue, Jul 21 2015, Phil and Marlene Carter <pan...@bi...> wrote: > Hi Joost, > > Sorry I have been slow in replying. We had a death in the family. > > For reasons which I don't understand my reply to your last email could not be delivered, so I am starting a fresh email. > > Here are the results of the commands: > > *** Welcome to IELM *** Type (describe-mode) for help. > ELISP> (ebib--get-db-from-filename (cl-second (buffer-local-value 'ebib--multiline-info (car ebib--multiline-buffer-list)))) > nil > ELISP> (ebib-db-get-filename ebib--cur-db) > "~/Documents/Phil/misc/books-read.bib" > ELISP> (expand-file-name (ebib-db-get-filename ebib--cur-db)) > "/Users/carters/Documents/Phil/misc/books-read.bib" > ELISP> (expand-file-name (cl-second (buffer-local-value 'ebib--multiline-info (car ebib--multiline-buffer-list)))) > "/Users/carters/Documents/Phil/misc/books-read.bib" > ELISP> > > The first command did in fact return "nil". The other commands return the correct database. > > Thanks again for your help. It worries me that I have done something fundamentally wrong, but I can't think what it might be. > > Regards, > > Phil Carter > > Hi Phil, > > Well, that's exactly the value I'd expect (assuming that the file is > correct). Unfortunately, that doesn't make it easier figuring out what's > going wrong... > > Could you try a few things and report the results? Start a fresh > instance of Ebib (please quit Ebib first if it's already running), open > the relevant file and then edit an annote field. While the annote buffer > is open, do the following: > > M-x ielm RET > > This will start an interactive Elisp session. Then type (copy & paste): > > (ebib--get-db-from-filename (cl-second (buffer-local-value 'ebib--multiline-info (car ebib--multiline-buffer-list)))) > > This should return the database containing the entry whose annote field > you're editing. If there are a lot of entries in it, it may take a while > for Emacs to display the value. I suspect it returns `nil`, however, > which is not correct. If that is the case, please enter the following at > the IELM prompt: > > (ebib-db-get-filename ebib--cur-db) > > then: > > (expand-file-name (ebib-db-get-filename ebib--cur-db)) > > and: > > (expand-file-name (cl-second (buffer-local-value 'ebib--multiline-info (car ebib--multiline-buffer-list)))) > > The last two results should be identical, but it seems that for some > reason, they are not. > > Best, > > Joost > > > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Ebib-users mailing list > Ebi...@li... > https://lists.sourceforge.net/lists/listinfo/ebib-users -- Joost Kremers Life has its moments |