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. Re: Configuration of Ebib with ebibrc (Joost Kremers)
2. Re: Configuration of Ebib with ebibrc (Phil and Marlene Carter)
3. Re: Configuration of Ebib with ebibrc (Joost Kremers)
4. Re: Configuration of Ebib with ebibrc (Phil and Marlene Carter)
5. Re: Configuration of Ebib with ebibrc (Joost Kremers)
6. Re: Configuration of Ebib with ebibrc (Phil and Marlene Carter)
----------------------------------------------------------------------
Message: 1
Date: Wed, 16 Sep 2015 09:55:08 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Configuration of Ebib with ebibrc
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Phil,
Your case is getting more and more puzzling...
> I have come to the conclusion that Ebib doesn't like remote files. I
> have attached the latest version of my ebibrc file. I said before that
> I use a laptop and a desktop. My .emacs.d directory is stored on
> Dropbox, this directory is symlinked to each computer, This seems to
> work fine for Emacs customisation; each computer has an identical
> version of Emacs.
Note that the files in your Dropbox folder aren't really remote files:
they are stored on your local disk and kept in sync with the Dropbox
server.
But what's puzzling to me is that my setup seems to be the same as
yours. My .emacs.d is a symlink to a folder inside my Dropbox folder
(~/Dropbox/Settings/emacs.d to be exact).
I've also switched over to per-directory keywords files, just for
testing, and so far haven't run into any trouble. When I copy a .bib
file to temporary directory and open it in Ebib, all the keywords are
shown in red as expected, and when I hit `K s` on an entry, the keywords
are stored and saved.
> Rather than use a per-directory keywords file I have been testing a
> single keywords file. But Ebib doesn't seem not be able to find the
> ebib-keywords.txt file if it is stored in a symlinked .emacs.d
> directory. Local files on each computer seem to work fine, but when I
> moved it over to the .emacs.d directory, all the keywords appear in
> red, which seems to me to indicate that the keywords list has not been
> accessed.
Yes, it does... Like I said, your case is very puzzling... Note that
changing the setting `ebib-keywords-file` may require a complete restart
of Emacs (not just Ebib) to take effect. (I'm not entirely sure why that
is the case, something to do with the way Emacs handles customisable
variables, I think.)
Could you check the value of the variables `ebib-keywords-file` and
`ebib--keywords-files-alist` (note the double dash in the latter) while
Ebib is running? The easiest way would be to use the *scratch* buffer
(provided you haven't customised its major mode). So start Ebib and
lower it again, then switch to the *scratch* buffer and type the name of
the variable followed by `C-j`. Then the variable's value should appear
on the next line. (If it's very long, its value will be collapsed, which
is indicated with three dots near the end. You can put the cursor on it
and hit RETRUN to make it visible).
> I have another observation. I had a bib file, the first line of which
> was @comment. This file didn't open correctly, but when I edited the
> @comment out, all was well.
Could you send me the .bib file with the @comment, or at least the
@comment itself? There shouldn't be any problem opening a file with a
comment on the first line.
Best,
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 2
Date: Sat, 26 Sep 2015 17:17:36 +1000
From: Phil and Marlene Carter <[email protected]>
Subject: Re: [Ebib-users] Configuration of Ebib with ebibrc
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi Joost,
I checked the values of the variables you suggested. Here is what C-h v
reported:
ebib-keywords-file: Its value is "/Users/carters/.emacs.d/ebib-keywords.txt"
Seems OK.
ebib--keywords-files-alist: Its value is nil.
I suspect this value shouldn't be nil.
I don't remember whether I told you before, but I am running Emacs 24.4.1 on as
Mac with OS X 10.7.5. I seem to remember that there was a substantial step in
going from Emacs 23 to Emacs 24. Could this have some bearing on the problem?
Thanks again for your patience.
Phil
>
On 16/09/2015, at 5:55 PM, Joost Kremers wrote:
> Hi Phil,
>
> Your case is getting more and more puzzling...
>
>> I have come to the conclusion that Ebib doesn't like remote files. I
>> have attached the latest version of my ebibrc file. I said before that
>> I use a laptop and a desktop. My .emacs.d directory is stored on
>> Dropbox, this directory is symlinked to each computer, This seems to
>> work fine for Emacs customisation; each computer has an identical
>> version of Emacs.
>
> Note that the files in your Dropbox folder aren't really remote files:
> they are stored on your local disk and kept in sync with the Dropbox
> server.
>
> But what's puzzling to me is that my setup seems to be the same as
> yours. My .emacs.d is a symlink to a folder inside my Dropbox folder
> (~/Dropbox/Settings/emacs.d to be exact).
>
> I've also switched over to per-directory keywords files, just for
> testing, and so far haven't run into any trouble. When I copy a .bib
> file to temporary directory and open it in Ebib, all the keywords are
> shown in red as expected, and when I hit `K s` on an entry, the keywords
> are stored and saved.
>
>
>> Rather than use a per-directory keywords file I have been testing a
>> single keywords file. But Ebib doesn't seem not be able to find the
>> ebib-keywords.txt file if it is stored in a symlinked .emacs.d
>> directory. Local files on each computer seem to work fine, but when I
>> moved it over to the .emacs.d directory, all the keywords appear in
>> red, which seems to me to indicate that the keywords list has not been
>> accessed.
>
> Yes, it does... Like I said, your case is very puzzling... Note that
> changing the setting `ebib-keywords-file` may require a complete restart
> of Emacs (not just Ebib) to take effect. (I'm not entirely sure why that
> is the case, something to do with the way Emacs handles customisable
> variables, I think.)
>
> Could you check the value of the variables `ebib-keywords-file` and
> `ebib--keywords-files-alist` (note the double dash in the latter) while
> Ebib is running? The easiest way would be to use the *scratch* buffer
> (provided you haven't customised its major mode). So start Ebib and
> lower it again, then switch to the *scratch* buffer and type the name of
> the variable followed by `C-j`. Then the variable's value should appear
> on the next line. (If it's very long, its value will be collapsed, which
> is indicated with three dots near the end. You can put the cursor on it
> and hit RETRUN to make it visible).
>
>> I have another observation. I had a bib file, the first line of which
>> was @comment. This file didn't open correctly, but when I edited the
>> @comment out, all was well.
>
> Could you send me the .bib file with the @comment, or at least the
> @comment itself? There shouldn't be any problem opening a file with a
> comment on the first line.
>
> Best,
>
> Joost
>
>
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
Message: 3
Date: Mon, 28 Sep 2015 00:12:14 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Configuration of Ebib with ebibrc
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Phil,
On Sa, Sep 26 2015, Phil and Marlene Carter <[email protected]> wrote:
> I checked the values of the variables you suggested. Here is what C-h v
> reported:
>
> ebib-keywords-file: Its value is "/Users/carters/.emacs.d/ebib-keywords.txt"
>
> Seems OK.
>
> ebib--keywords-files-alist: Its value is nil.
>
> I suspect this value shouldn't be nil.
No, it shouldn't be nil. If you have a .bib file loaded, it should at
the very least contain the path to your .emacs.d directory.
I just realised, Ebib logs the file it's using for keywords every time a
.bib file is opened. Could you check Ebib's log buffer (press 'l' in the
index buffer) and see which keywords file Ebib reports?
> I don't remember whether I told you before, but I am running Emacs
> 24.4.1 on as Mac with OS X 10.7.5. I seem to remember that there was a
> substantial step in going from Emacs 23 to Emacs 24. Could this have
> some bearing on the problem?
I don't think so. Ebib should work on Emacs 24.4, and on OS X. But since
I have no idea what could be going wrong here, anything's possible...
--
Joost Kremers
Life has its moments
------------------------------
Message: 4
Date: Mon, 28 Sep 2015 20:56:22 +1000
From: Phil and Marlene Carter <[email protected]>
Subject: Re: [Ebib-users] Configuration of Ebib with ebibrc
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi Joost,
Here is a copy of the *Ebib-log* buffer with a bib file loaded:
Ebib log messages
(Press C-v or SPACE to scroll down, M-v or `b' to scroll up, `q' to quit.)
28 Sep 2015, 20:42:05: Opening file ~/fh-phil/Book/bib/othersources.bib
62 entries, 1 @STRINGs and no @PREAMBLE found in file.
Using general keyword list.
No mention of a keyword file, just a keyword list. Should a file name appear
here? The keywords appear in red; so it seems that Ebib is not finding either a
keywords list or a keywords file.
If I press K (to try to save the keywords) I get this message in the
mini-buffer: Wrong type argument: consp, nil.
Phil
On 28/09/2015, at 8:12 AM, Joost Kremers wrote:
> Hi Phil,
>
> On Sa, Sep 26 2015, Phil and Marlene Carter <[email protected]> wrote:
>> I checked the values of the variables you suggested. Here is what C-h v
>> reported:
>>
>> ebib-keywords-file: Its value is "/Users/carters/.emacs.d/ebib-keywords.txt"
>>
>> Seems OK.
>>
>> ebib--keywords-files-alist: Its value is nil.
>>
>> I suspect this value shouldn't be nil.
>
> No, it shouldn't be nil. If you have a .bib file loaded, it should at
> the very least contain the path to your .emacs.d directory.
>
> I just realised, Ebib logs the file it's using for keywords every time a
> .bib file is opened. Could you check Ebib's log buffer (press 'l' in the
> index buffer) and see which keywords file Ebib reports?
>
>> I don't remember whether I told you before, but I am running Emacs
>> 24.4.1 on as Mac with OS X 10.7.5. I seem to remember that there was a
>> substantial step in going from Emacs 23 to Emacs 24. Could this have
>> some bearing on the problem?
>
> I don't think so. Ebib should work on Emacs 24.4, and on OS X. But since
> I have no idea what could be going wrong here, anything's possible...
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
Message: 5
Date: Mon, 28 Sep 2015 20:30:20 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] Configuration of Ebib with ebibrc
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain
Hi Phil,
> Here is a copy of the *Ebib-log* buffer with a bib file loaded:
>
> Ebib log messages
>
> (Press C-v or SPACE to scroll down, M-v or `b' to scroll up, `q' to quit.)
>
> 28 Sep 2015, 20:42:05: Opening file ~/fh-phil/Book/bib/othersources.bib
> 62 entries, 1 @STRINGs and no @PREAMBLE found in file.
> Using general keyword list.
>
> No mention of a keyword file, just a keyword list. Should a file name
> appear here? The keywords appear in red; so it seems that Ebib is not
> finding either a keywords list or a keywords file.
Yes, if Ebib is using a keywords file, it should say something like this:
,----
| 28 Sep 2015, 19:39:16: Opening file
/home/joost/Copy/Work/Bibtex/Bibliography.bib
| 1124 entries, 23 @STRINGs and a @PREAMBLE found in file.
| Using keywords from ~/Copy/Work/Bibtex/ebib.keywords.
`----
But if `ebib--keywords-file-alist` is empty, which it is in your case,
then Ebib uses the keywords stored in `ebib-keywords-list`, which is
what Ebib is saying in your case.
The thing that I don't understand is that the only way
`ebib--keywords-files-alist` could be nil is when `ebib-keywords-file`
is not set. What does
(file-name-directory ebib-keywords-file)
say?
> If I press K (to try to save the keywords) I get this message in the
> mini-buffer: Wrong type argument: consp, nil.
Do you get that after just pressing `K`, or after pressing `K s`?
Best,
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 6
Date: Fri, 2 Oct 2015 18:01:50 +1000
From: Phil and Marlene Carter <[email protected]>
Subject: Re: [Ebib-users] Configuration of Ebib with ebibrc
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi again Joost,
What do you mean by what does
> (file-name-directory ebib-keywords-file)
say? I tried evaluating this expression, but I didn't get any result.
I get the wrong type argument after pressing 'K s'.
Phil Carter
On 29/09/2015, at 4:30 AM, Joost Kremers wrote:
> Hi Phil,
>
>> Here is a copy of the *Ebib-log* buffer with a bib file loaded:
>>
>> Ebib log messages
>>
>> (Press C-v or SPACE to scroll down, M-v or `b' to scroll up, `q' to quit.)
>>
>> 28 Sep 2015, 20:42:05: Opening file ~/fh-phil/Book/bib/othersources.bib
>> 62 entries, 1 @STRINGs and no @PREAMBLE found in file.
>> Using general keyword list.
>>
>> No mention of a keyword file, just a keyword list. Should a file name
>> appear here? The keywords appear in red; so it seems that Ebib is not
>> finding either a keywords list or a keywords file.
>
> Yes, if Ebib is using a keywords file, it should say something like this:
>
> ,----
> | 28 Sep 2015, 19:39:16: Opening file
> /home/joost/Copy/Work/Bibtex/Bibliography.bib
> | 1124 entries, 23 @STRINGs and a @PREAMBLE found in file.
> | Using keywords from ~/Copy/Work/Bibtex/ebib.keywords.
> `----
>
> But if `ebib--keywords-file-alist` is empty, which it is in your case,
> then Ebib uses the keywords stored in `ebib-keywords-list`, which is
> what Ebib is saying in your case.
>
> The thing that I don't understand is that the only way
> `ebib--keywords-files-alist` could be nil is when `ebib-keywords-file`
> is not set. What does
>
> (file-name-directory ebib-keywords-file)
>
> say?
>
>> If I press K (to try to save the keywords) I get this message in the
>> mini-buffer: Wrong type argument: consp, nil.
>
> Do you get that after just pressing `K`, or after pressing `K s`?
>
> Best,
>
> Joost
>
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users
End of Ebib-users Digest, Vol 24, Issue 1
*****************************************