From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjib Sikder Subject: Re: Bib file path relative to home using tilde ~ in Ubuntu Date: Sun, 14 Oct 2012 11:53:52 +0530 Message-ID: References: <87391i31i3.fsf@yagnesh.org> <87r4p21d9a.fsf@yagnesh.org> <87ehl124y6.fsf@yagnesh.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae93411b3671f3e04cbfef939 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNHcp-0001g4-O9 for emacs-orgmode@gnu.org; Sun, 14 Oct 2012 02:24:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNHco-000508-En for emacs-orgmode@gnu.org; Sun, 14 Oct 2012 02:24:35 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:47298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNHco-0004zo-5N for emacs-orgmode@gnu.org; Sun, 14 Oct 2012 02:24:34 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so8220167ied.0 for ; Sat, 13 Oct 2012 23:24:33 -0700 (PDT) In-Reply-To: <87ehl124y6.fsf@yagnesh.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Yagnesh Raghava Yakkala Cc: emacs-orgmode@gnu.org --14dae93411b3671f3e04cbfef939 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, ---------------------------------------------------------------------------= ------------------------------------------------------------- > First of all can you confirm your .bashrc setting is working.? > > in the terminal > --8<---------------cut here---------------start------------->8--- > echo $BIBINPUTS --8<---------------cut here---------------end--------------->8--- > *Here is the output* ~$ echo $BIBINPUTS .//:/home/USERNAME/bst//:.//:/home/USERNAME/bibFiles//: ---------------------------------------------------------------------------= --------------------------------------------------------------- > and also can you check what is the value of BIBINPUTS in emacs.? Within > Emacs > evaluate the following (either in scratch buffer or with key press `M-:' = or > with `M-x eval-expression') > > --8<---------------cut here---------------start------------->8--- > (getenv "BIBINPUTS") > --8<---------------cut here---------------end--------------->8--- > *OUTPUT* is: nil ---------------------------------------------------------------------------= ------------------------------------------------------------------ > May be the last resort would be setting the variable within your .emacs > > --8<---------------cut here---------------start------------->8--- > (setenv "BIBINPUTS" ".:$HOME/bib:") > --8<---------------cut here---------------end--------------->8--- > I will try this one ---------------------------------------------------------------------------= -------------------------------------- BTW how you are starting emacs? (command line or gui mouse click?) I am starting emacs from GUI mouse click. All the above tests are done only with the .bashrc, i.e., after removing the lines from .profile and .gnomer= c Thanks a lot. ----------------------------- *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Sun, Oct 14, 2012 at 7:24 AM, Yagnesh Raghava Yakkala wr= ote: > > Hello Sanjib, > > Sanjib Sikder writes: > > > Hi, > > > > "The easiest way to update is logout from the computer, login again and > start > > emacs." > > > > I did that. Still not working :( > > First of all can you confirm your .bashrc setting is working.? > > in the terminal > --8<---------------cut here---------------start------------->8--- > echo $BIBINPUTS > --8<---------------cut here---------------end--------------->8--- > > and also can you check what is the value of BIBINPUTS in emacs.? Within > Emacs > evaluate the following (either in scratch buffer or with key press `M-:' = or > with `M-x eval-expression') > > --8<---------------cut here---------------start------------->8--- > (getenv "BIBINPUTS") > --8<---------------cut here---------------end--------------->8--- > > If you don't get what you set in your .bashrc, means the shell in Emacs i= s > not > getting BIBINPUTS variable. > > May be the last resort would be setting the variable within your .emacs > > --8<---------------cut here---------------start------------->8--- > (setenv "BIBINPUTS" ".:$HOME/bib:") > --8<---------------cut here---------------end--------------->8--- > > BTW how you are starting emacs? (command line or gui mouse click?) > > Thanks., > -- > =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81 > YYR > --14dae93411b3671f3e04cbfef939 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,
-------------------------------------------------------------------= ---------------------------------------------------------------------
First of all can you confirm your .bashrc setting is working.?

in the terminal
--8<---------------cut here---------------start------------->8---
echo $BIBINPUTS
--8<---------------cut here---------------end-------------= -->8---

Here is the output

= ~$ echo $BIBINPUTS
.//:/home/USERNAME/bst//:.//:/home/USER= NAME/bibFiles//:
-------------------------------------------------------= ---------------------------------------------------------------------------= --------
and also can you check wh= at is the value of BIBINPUTS in emacs.? Within Emacs
evaluate the following (either in scratch buffer or with key press `M-:'= ; or
with `M-x eval-expression')

--8<---------------cut here---------------start------------->8---
(getenv "BIBINPUTS")
--8<---------------cut here---------------end--------------->8---
=


OUTPUT is: nil
------------------------------------------= ---------------------------------------------------------------------------= ------------------------
May be the last resort would be setting the variable within your .emacs
=
--8<---------------cut here---------------start------------->8---
(setenv "BIBINPUTS" ".:$HOME/bib:")
--8<---------------cut here---------------end--------------->8---
=

I will try this one
-----------------------------------------------= ------------------------------------------------------------------
BTW how you are starting emacs? (command line or gui mouse click?)

I am starting emacs from GUI mouse click. All the above tests a= re done only with the .bashrc, i.e., after=C2=A0 removing the lines from .p= rofile and .gnomerc

Thanks a lot.
-----------------------------
Sanjib Sikder
Ph.D. Fellow
Chemical Engineering IIT Bombay






On Sun, Oct 14, 2012 at 7:24 AM, Yagnesh= Raghava Yakkala <hi@yagnesh.org> wrote:

Hello Sanjib,

Sanjib Sikder <sanjibju2002@gm= ail.com> writes:

> Hi,
>
> "The easiest way to update is logout from the computer, login aga= in and start
> emacs."
>
> I did that. Still not working :(

First of all can you confirm your .bashrc setting is working.?

in the terminal
--8<---------------cut here---------------start------------->8---
echo $BIBINPUTS
--8<---------------cut here---------------end--------------->8---

and also can you check what is the value of BIBINPUTS in emacs.? Within Ema= cs
evaluate the following (either in scratch buffer or with key press `M-:'= ; or
with `M-x eval-expression')

--8<---------------cut here---------------start------------->8---
(getenv "BIBINPUTS")
--8<---------------cut here---------------end--------------->8---

If you don't get what you set in your .bashrc, means the shell in Emacs= is not
getting BIBINPUTS variable.

May be the last resort would be setting the variable within your .emacs

--8<---------------cut here---------------start------------->8---
(setenv "BIBINPUTS" ".:$HOME/bib:")
--8<---------------cut here---------------end--------------->8---

BTW how you are starting emacs? (command line or gui mouse click?)

Thanks.,
--
=E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81
YYR

--14dae93411b3671f3e04cbfef939--