Send Ebib-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/ebib-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ebib-users digest..."


Today's Topics:

   1. Using BibLateX (Sergio Bacelar)
   2. Re: Using BibLateX (Joost Kremers)
   3. Can't save multiline buffer (Phil and Marlene Carter)
   4. Re: Can't save multiline buffer (Joost Kremers)
   5. Re: Can't save multiline buffer (Phil and Marlene Carter)
   6. Re: Can't save multiline buffer (Joost Kremers)
   7. Discussion of issues relating to Ebib (Phil and Marlene Carter)


----------------------------------------------------------------------

Message: 1
Date: Tue, 11 Mar 2014 10:07:48 +0000
From: Sergio Bacelar <[email protected]>
Subject: [Ebib-users] Using BibLateX
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Is it possible to use BibLateX with EBib?



------------------------------

Message: 2
Date: Tue, 11 Mar 2014 12:45:47 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Using BibLateX
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain

On Tue, Mar 11 2014, Sergio Bacelar <[email protected]> wrote:
> Is it possible to use BibLateX with EBib?

Yeah, it's possible, I've been doing it for quite some time now. Though
if your .bib files use entry types and/or fields that are not defined in
BibTeX, you should customise `ebib-entry-types' to make sure all they
are known to Ebib.

If your Emacs is set up to support utf-8, then you can use it in Ebib as
well, since Ebib uses Emacs for encoding support.

BTW, if you're up for it, you can also use the devel branch from the git
repository: it includes much better BibLaTeX support. It recognises
BibLaTeX entry types, properly handles field inheritance from
crossreferenced entries and deals with entry type and field aliases that
BibLaTeX defines for legacy BibTeX support. Plus, there are a few other
improvements that aren't directly linked to BibLaTeX.

It requires Emacs 24.3, though, and the documentation is not yet
up-to-date (though you can ask here if you run into trouble). Also, some
bugs may pop up here and there, but I'm using devel myself and try to
fix bugs immediately.

HTH

Joost


-- 
Joost Kremers
Life has its moments




------------------------------

Message: 3
Date: Tue, 30 Jun 2015 10:38:44 +1000
From: Phil and Marlene Carter <[email protected]>
Subject: [Ebib-users] Can't save multiline buffer
To: Ebib Users List <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Dear Mr Kremers,

I have been trying Ebib out, as a replacement for bibtex-mode.

I use the annote field a lot, for keeping notes, reminders etc. When I execute 
C-c | s or C-c | q in the annote buffer I get the error message "Wrong type 
argument: array, nil", and the buffer is not saved.

Here is the backtrace I get after toggling the debugger:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  ebib-db-get-entry("bonyhady2011" nil)
  ebib-db-set-field-value("annote" "This is a note about....\n" "bonyhady2011" 
nil overwrite)
  ebib--store-multiline-text(#<buffer bonyhady2011-->annote>)
  ebib-save-from-multiline-buffer()
  call-interactively(ebib-save-from-multiline-buffer nil nil)

My limited understanding of elisp don't allow me to get any further with this 
these error messages. I wonder if you could suggest some way around this 
problem.

I am running Emacs 24.4.1 under Mac OS X 10.7.5.

Thanks for your assistance.

Phil Carter






 


------------------------------

Message: 4
Date: Tue, 30 Jun 2015 11:39:12 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Can't save multiline buffer
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain

Hi Phil,

What seems to be going on is that when you try to save the contents of
the multiline edit buffer, Ebib is not able to determine which database
the annotation belongs to. I'm not sure why this is happening, though.

Could you try the following: open an annotation buffer (i.e., edit an
'annote' field) and then type

C-h v ebib--multiline-info RET

(Note the two dashes after 'ebib'). This will pop up a buffer with info
about the variable `ebib-multiline-info'. I'm interested in its value,
which should be near the top of the buffer. Could you post that value
here? Thanks!

Best regards,

Joost



On Tue, Jun 30 2015, Phil and Marlene Carter <[email protected]> wrote:
> Dear Mr Kremers,
>
> I have been trying Ebib out, as a replacement for bibtex-mode.
>
> I use the annote field a lot, for keeping notes, reminders etc. When I 
> execute C-c | s or C-c | q in the annote buffer I get the error message 
> "Wrong type argument: array, nil", and the buffer is not saved.
>
> Here is the backtrace I get after toggling the debugger:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   ebib-db-get-entry("bonyhady2011" nil)
>   ebib-db-set-field-value("annote" "This is a note about....\n" 
> "bonyhady2011" nil overwrite)
>   ebib--store-multiline-text(#<buffer bonyhady2011-->annote>)
>   ebib-save-from-multiline-buffer()
>   call-interactively(ebib-save-from-multiline-buffer nil nil)
>
> My limited understanding of elisp don't allow me to get any further with this 
> these error messages. I wonder if you could suggest some way around this 
> problem.
>
> I am running Emacs 24.4.1 under Mac OS X 10.7.5.
>
> Thanks for your assistance.
>
> Phil Carter
>
>
>
>
>
>
>  
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users

-- 
Joost Kremers
Life has its moments



------------------------------

Message: 5
Date: Wed, 1 Jul 2015 09:05:03 +1000
From: Phil and Marlene Carter <[email protected]>
Subject: Re: [Ebib-users] Can't save multiline buffer
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

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

On 30/06/2015, at 7:39 PM, Joost Kremers wrote:

> Hi Phil,
> 
> What seems to be going on is that when you try to save the contents of
> the multiline edit buffer, Ebib is not able to determine which database
> the annotation belongs to. I'm not sure why this is happening, though.
> 
> Could you try the following: open an annotation buffer (i.e., edit an
> 'annote' field) and then type
> 
> C-h v ebib--multiline-info RET
> 
> (Note the two dashes after 'ebib'). This will pop up a buffer with info
> about the variable `ebib-multiline-info'. I'm interested in its value,
> which should be near the top of the buffer. Could you post that value
> here? Thanks!
> 
> Best regards,
> 
> Joost
> 
> 
> 
> On Tue, Jun 30 2015, Phil and Marlene Carter <[email protected]> wrote:
>> Dear Mr Kremers,
>> 
>> I have been trying Ebib out, as a replacement for bibtex-mode.
>> 
>> I use the annote field a lot, for keeping notes, reminders etc. When I 
>> execute C-c | s or C-c | q in the annote buffer I get the error message 
>> "Wrong type argument: array, nil", and the buffer is not saved.
>> 
>> Here is the backtrace I get after toggling the debugger:
>> 
>> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>>  ebib-db-get-entry("bonyhady2011" nil)
>>  ebib-db-set-field-value("annote" "This is a note about....\n" 
>> "bonyhady2011" nil overwrite)
>>  ebib--store-multiline-text(#<buffer bonyhady2011-->annote>)
>>  ebib-save-from-multiline-buffer()
>>  call-interactively(ebib-save-from-multiline-buffer nil nil)
>> 
>> My limited understanding of elisp don't allow me to get any further with 
>> this these error messages. I wonder if you could suggest some way around 
>> this problem.
>> 
>> I am running Emacs 24.4.1 under Mac OS X 10.7.5.
>> 
>> Thanks for your assistance.
>> 
>> Phil Carter
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ebib-users
> 
> -- 
> Joost Kremers
> Life has its moments
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
> 




------------------------------

Message: 6
Date: Thu, 02 Jul 2015 10:46:13 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Can't save multiline buffer
To: "Discussion of issues relating to Ebib."
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain

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 <[email protected]> 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



------------------------------

Message: 7
Date: Tue, 21 Jul 2015 14:36:35 +1000
From: Phil and Marlene Carter <[email protected]>
Subject: [Ebib-users] Discussion of issues relating to Ebib
To: Ebib Users Ebib Users List <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users


End of Ebib-users Digest, Vol 22, Issue 1
*****************************************

Reply via email to