Re: [Ebib-users] Can't save multiline buffer
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2015-07-02 08:46:35
|
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 On Wed, Jul 01 2015, Phil and Marlene Carter <pan...@bi...> wrote: > Hi Joost, > > Thanks for getting back to me so quickly. > > Here is the contents of the *Help* buffer that I get when I execute C-h v ebib--multiline-info: > > ebib--multiline-info is a variable defined in `ebib-utils.el'. > Its value is > (field "~/Documents/Phil/misc/books-read.bib" "bonyhady2011" "annote") > > Local in buffer bonyhady2011-->annote; global value is nil > > Automatically becomes buffer-local when set. > > Documentation: > Information about the multiline text being edited. > > Hope this helps somehow. > > Thanks again, > > Phil Carter -- Joost Kremers Life has its moments |