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 .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@gmail.com> 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 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.,
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR