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 (Phil and Marlene Carter)
   4. Re: Configuration of Ebib with ebibrc (Joost Kremers)
   5. configure external PDF viewer (Iliya Lefterov)


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

Message: 1
Date: Fri, 02 Oct 2015 11:01:41 +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,

> 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.

How did you evaluate it? You should have Ebib running, then go to the
*scratch* buffer, type (or copy&paste) the expression and press C-j.

Better yet, before you do that, type `ebib-keywords-file` in the
*scratch* buffer and press C-j.

This is the output I get when I do that:

ebib-keywords-file
"~/Copy/Work/Bibtex/ebib.keywords"
(file-name-directory ebib-keywords-file)
"~/Copy/Work/Bibtex/"

Yours should be similar.

The thing is, given that `ebib-keywords-file` seems to be set, the only
way `ebib--keywords-files-alist` could be nil is if the function
`file-name-directory` for some reason doesn't produce the correct
output. 

> I get the wrong type argument after pressing 'K s'.

Yes, that makes sense. Ebib tries to push the keywords in the keywords
field of the current entry onto `ebib--keywords-files-alist`, but since
that variable is nil, it cannot do that.

Best,

Joost



-- 
Joost Kremers
Life has its moments



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

Message: 2
Date: Sat, 3 Oct 2015 08:55:33 +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,

What I did first up was to copy (file-name-directory ebib-keywords-file) into 
the scratch buffer, mark it, then M-x eval-region.

But using C-j here is what I get:

ebib-keywords-file
"/Users/carters/.emacs.d/ebib-keywords.txt"

(file-name-directory ebib-keywords-file)
"/Users/carters/.emacs.d/"

which all seems to be correct.

I wondered whether there was something in my init.el that was throwing ebib 
off, so I created a temporary init.el with nothing in it except lines related 
to ebib. No change.
  
I am getting to the point here where I am feeling guilty for wasting your time. 
The thing that attracted me to Ebib was the keywords facility, if I can't it to 
work I may have to try another method.

Phil


On 02/10/2015, at 7:01 PM, Joost Kremers wrote:

> Hi Phil,
> 
>> 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.
> 
> How did you evaluate it? You should have Ebib running, then go to the
> *scratch* buffer, type (or copy&paste) the expression and press C-j.
> 
> Better yet, before you do that, type `ebib-keywords-file` in the
> *scratch* buffer and press C-j.
> 
> This is the output I get when I do that:
> 
> ebib-keywords-file
> "~/Copy/Work/Bibtex/ebib.keywords"
> (file-name-directory ebib-keywords-file)
> "~/Copy/Work/Bibtex/"
> 
> Yours should be similar.
> 
> The thing is, given that `ebib-keywords-file` seems to be set, the only
> way `ebib--keywords-files-alist` could be nil is if the function
> `file-name-directory` for some reason doesn't produce the correct
> output. 
> 
>> I get the wrong type argument after pressing 'K s'.
> 
> Yes, that makes sense. Ebib tries to push the keywords in the keywords
> field of the current entry onto `ebib--keywords-files-alist`, but since
> that variable is nil, it cannot do that.
> 
> Best,
> 
> Joost
> 
> 
> 
> -- 
> Joost Kremers
> Life has its moments
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
> 




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

Message: 3
Date: Mon, 5 Oct 2015 10:38:32 +1100
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've got some more things to throw into the Ebib ring.

I have been trying out per-directory keywords. here is my ebibrc file:

; ebibrc
; configuration file for ebib
; see Ebib manual for details
; created 2015-09-06, by Phil Carter

; change default entry type to book
; added 2015-09-06
(setq ebib-default-entry-type "Book")

; 2015-10-05
; single keywords file
(setq ebib-keywords-file "ebib-keywords.txt")

I opened up a bib file with this configuration, then evaluated some of the 
expressions you have referred to. Here are the results:

ebib-keywords-file
"ebib-keywords.txt"

(file-name-directory ebib-keywords-file)
nil

ebib--keywords-files-alist
(("/Users/carters/fh-phil/Book/bib/" ("pm" "minmi" "queanbeyan" "nundle" 
"maitland" "newcastle" "afc" "ajc" "salvos" "smith" "writing" "temperance" ...) 
nil))

The keywords file is correct.

I am not sure whether the file-name-directory should be nil.

The ebib--keywords-files-alist returns the correct directory for my bib file, 
but it has returned a list of the keywords from this file. Based on the name of 
the variable I would have expected a list of one or more file names. Is this 
the correct interpretation of this variable?

Thanks yet again,

Phil Carter


On 03/10/2015, at 8:55 AM, Phil and Marlene Carter wrote:

> Hi Joost,
> 
> What I did first up was to copy (file-name-directory ebib-keywords-file) into 
> the scratch buffer, mark it, then M-x eval-region.
> 
> But using C-j here is what I get:
> 
> ebib-keywords-file
> "/Users/carters/.emacs.d/ebib-keywords.txt"
> 
> (file-name-directory ebib-keywords-file)
> "/Users/carters/.emacs.d/"
> 
> which all seems to be correct.
> 
> I wondered whether there was something in my init.el that was throwing ebib 
> off, so I created a temporary init.el with nothing in it except lines related 
> to ebib. No change.
> 
> I am getting to the point here where I am feeling guilty for wasting your 
> time. The thing that attracted me to Ebib was the keywords facility, if I 
> can't it to work I may have to try another method.
> 
> Phil
> 
> 
> On 02/10/2015, at 7:01 PM, Joost Kremers wrote:
> 
>> Hi Phil,
>> 
>>> 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.
>> 
>> How did you evaluate it? You should have Ebib running, then go to the
>> *scratch* buffer, type (or copy&paste) the expression and press C-j.
>> 
>> Better yet, before you do that, type `ebib-keywords-file` in the
>> *scratch* buffer and press C-j.
>> 
>> This is the output I get when I do that:
>> 
>> ebib-keywords-file
>> "~/Copy/Work/Bibtex/ebib.keywords"
>> (file-name-directory ebib-keywords-file)
>> "~/Copy/Work/Bibtex/"
>> 
>> Yours should be similar.
>> 
>> The thing is, given that `ebib-keywords-file` seems to be set, the only
>> way `ebib--keywords-files-alist` could be nil is if the function
>> `file-name-directory` for some reason doesn't produce the correct
>> output. 
>> 
>>> I get the wrong type argument after pressing 'K s'.
>> 
>> Yes, that makes sense. Ebib tries to push the keywords in the keywords
>> field of the current entry onto `ebib--keywords-files-alist`, but since
>> that variable is nil, it cannot do that.
>> 
>> 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
> 




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

Message: 4
Date: Mon, 05 Oct 2015 10:15:46 +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,

Now all the values appear as they should be. The expression
`(file-name-directory ebib-keywords-file)` should return nil in this
case, because the value of the variable `ebib-keywords-file` doesn't
have a directory part. Also, the value of ebib--keywords-files-alist has
the right value: it should contain a list of lists. Each sublist has
three elements: the first one is the path to the keywords file, the
second one a list of keywords from that file and the third one a list of
keywords added during the current session (which will be nil when you
just started Ebib).

So everything should be working now as advertised... I hope it does, but
if not, let me know and I'll see what I can do.

Best,

Joost





On Mo, Okt 05 2015, Phil and Marlene Carter <[email protected]> wrote:
> Hi Joost,
>
> I've got some more things to throw into the Ebib ring.
>
> I have been trying out per-directory keywords. here is my ebibrc file:
>
> ; ebibrc
> ; configuration file for ebib
> ; see Ebib manual for details
> ; created 2015-09-06, by Phil Carter
>
> ; change default entry type to book
> ; added 2015-09-06
> (setq ebib-default-entry-type "Book")
>
> ; 2015-10-05
> ; single keywords file
> (setq ebib-keywords-file "ebib-keywords.txt")
>
> I opened up a bib file with this configuration, then evaluated some of the 
> expressions you have referred to. Here are the results:
>
> ebib-keywords-file
> "ebib-keywords.txt"
>
> (file-name-directory ebib-keywords-file)
> nil
>
> ebib--keywords-files-alist
> (("/Users/carters/fh-phil/Book/bib/" ("pm" "minmi" "queanbeyan" "nundle" 
> "maitland" "newcastle" "afc" "ajc" "salvos" "smith" "writing" "temperance" 
> ...) nil))
>
> The keywords file is correct.
>
> I am not sure whether the file-name-directory should be nil.
>
> The ebib--keywords-files-alist returns the correct directory for my bib file, 
> but it has returned a list of the keywords from this file. Based on the name 
> of the variable I would have expected a list of one or more file names. Is 
> this the correct interpretation of this variable?
>
> Thanks yet again,
>
> Phil Carter
>
>
> On 03/10/2015, at 8:55 AM, Phil and Marlene Carter wrote:
>
>> Hi Joost,
>> 
>> What I did first up was to copy (file-name-directory ebib-keywords-file) 
>> into the scratch buffer, mark it, then M-x eval-region.
>> 
>> But using C-j here is what I get:
>> 
>> ebib-keywords-file
>> "/Users/carters/.emacs.d/ebib-keywords.txt"
>> 
>> (file-name-directory ebib-keywords-file)
>> "/Users/carters/.emacs.d/"
>> 
>> which all seems to be correct.
>> 
>> I wondered whether there was something in my init.el that was throwing ebib 
>> off, so I created a temporary init.el with nothing in it except lines 
>> related to ebib. No change.
>> 
>> I am getting to the point here where I am feeling guilty for wasting your 
>> time. The thing that attracted me to Ebib was the keywords facility, if I 
>> can't it to work I may have to try another method.
>> 
>> Phil
>> 
>> 
>> On 02/10/2015, at 7:01 PM, Joost Kremers wrote:
>> 
>>> Hi Phil,
>>> 
>>>> 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.
>>> 
>>> How did you evaluate it? You should have Ebib running, then go to the
>>> *scratch* buffer, type (or copy&paste) the expression and press C-j.
>>> 
>>> Better yet, before you do that, type `ebib-keywords-file` in the
>>> *scratch* buffer and press C-j.
>>> 
>>> This is the output I get when I do that:
>>> 
>>> ebib-keywords-file
>>> "~/Copy/Work/Bibtex/ebib.keywords"
>>> (file-name-directory ebib-keywords-file)
>>> "~/Copy/Work/Bibtex/"
>>> 
>>> Yours should be similar.
>>> 
>>> The thing is, given that `ebib-keywords-file` seems to be set, the only
>>> way `ebib--keywords-files-alist` could be nil is if the function
>>> `file-name-directory` for some reason doesn't produce the correct
>>> output. 
>>> 
>>>> I get the wrong type argument after pressing 'K s'.
>>> 
>>> Yes, that makes sense. Ebib tries to push the keywords in the keywords
>>> field of the current entry onto `ebib--keywords-files-alist`, but since
>>> that variable is nil, it cannot do that.
>>> 
>>> 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
>> 
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users

-- 
Joost Kremers
Life has its moments



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

Message: 5
Date: Sat, 7 Jan 2017 10:35:23 -0500
From: Iliya Lefterov <[email protected]>
Subject: [Ebib-users] configure external PDF viewer
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Good morning,

I found Ebib  extremely helpful and easy to configure  on a Linux machine; on a 
Mac platform, however I have a configuration problem: i couldn't find a way to 
point to Skim as an external PDF viewer? in Ubuntu or Mint it is very easy - 
evince or okular are found immediately and they work perfectly fine.

I know the problems with the Application folder in MacOS / command line/path, 
but whatever i do with the location of Skim.app i always get the error message, 
that ?Specified program for new process is a directory?

any idea how to fix it?

Thanks, and Happy New Year

-I.



--

Iliya Lefterov, MD, PhD
Professor, University of Pittsburgh
Pittsburgh, Pennsylvania, USA

[email protected]
[email protected]

-------------- next part --------------
An HTML attachment was scrubbed...

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

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

_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users


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

Reply via email to