Re: Emacs Environment Variables
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Emacs Environment Variables         


Author: Peter Dyballa
Date: Nov 24, 2007 05:38

Am 24.11.2007 um 13:48 schrieb Ismael Valladolid Torres:
> I am afraid he means running emacs from an icon in its window manager
> menu. Then it doesn't honor .bashrc, as it wasn't run from a bash
> session.

I did not understand the message this way, although I though of login
and non-login interactive sessions.
>
> If running Debian or Ubuntu he could move important env definitions
> into /etc/environment. I am sure there are ways to do this on Fedora
> or Mandriva systems.
Show full article (1.55Kb)
27 Comments
Re: Emacs Environment Variables         


Author: Phi
Date: Nov 24, 2007 05:45

Thanks for the quick replies. Yes, emacs does inherit the variables
automatically if I start it from a bash terminal. But if I start it
from say my ubuntu menu, then I need
to use the /etc/environment trick. Thanks again!
no comments
Re: Emacs Environment Variables         


Author: Tim X
Date: Nov 24, 2007 22:18

Peter Dyballa writes:
> Am 24.11.2007 um 13:48 schrieb Ismael Valladolid Torres:
>
>> I am afraid he means running emacs from an icon in its window manager
>> menu. Then it doesn't honor .bashrc, as it wasn't run from a bash...
Show full article (3.05Kb)
no comments
Re: Emacs Environment Variables         


Author: Peter Dyballa
Date: Nov 25, 2007 02:18

Am 25.11.2007 um 07:18 schrieb Tim X:
>> IMO bash is a bit too complicated to be used as a user's default
>> shell.
>
> Really? What would you recommend as a default user shell (and
> please don't
> say csh!)?

For interactive use I recommend tcsh to begin with. Tcsh makes no
complicated difference between interactive and login shells, it
confuses an user only when preferring an existing ~/.cshrc before
~/.tcshrc.

Do you know why you are so prejudiced against csh?

--
Greetings

Pete

"A mathematician is a machine that turns coffee into theorems."
no comments
Re: Emacs Environment Variables         


Author: David Kastrup
Date: Nov 25, 2007 02:44

Peter Dyballa writes:
> Am 25.11.2007 um 07:18 schrieb Tim X:
>
>>> IMO bash is a bit too complicated to be used as a user's default
>>> shell.
>>
>> Really? What would you recommend as a default user shell (and please
>> don't
>> say csh!)?
>
>
> For interactive use I recommend tcsh to begin with. Tcsh makes no
> complicated difference between interactive and login shells, it
> confuses an user only when preferring an existing ~/.cshrc before
> ~/.tcshrc.
>
> Do you know why you are so prejudiced against csh?

Because it sucks for scripting and does not offer any advantage for
interactive work when compared to modern Bourne shells?
Show full article (0.72Kb)
no comments
Re: Emacs Environment Variables         


Author: Harald Hanche-Olsen
Date: Nov 25, 2007 03:36

+ David Kastrup gnu.org>:
> Peter Dyballa writes:
>
>> Do you know why you are so prejudiced against csh?
>
> Because it sucks for scripting and does not offer any advantage for
> interactive work when compared to modern Bourne shells?

Time to blow the dust off an old classic?

http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell
no comments
Re: Emacs Environment Variables         


Author: Peter Dyballa
Date: Nov 25, 2007 05:25

Am 25.11.2007 um 12:36 schrieb Harald Hanche-Olsen:
> Time to blow the dust off an old classic?
>
> http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

I know, since some years or decades.

--
Greetings

Pete

"I love deadlines. I love the whooshing noise they make as they go by."
(Douglas Adams)
no comments
Re: Emacs Environment Variables         


Author: Peter Dyballa
Date: Nov 25, 2007 05:25

Am 25.11.2007 um 11:44 schrieb David Kastrup:
>> Do you know why you are so prejudiced against csh?
>
> Because it sucks for scripting and does not offer any advantage for
> interactive work when compared to modern Bourne shells?

Where can I find a Bourne shell, in which old museum?

--
Mit friedvollen Grüßen

Pete

Diese Nachricht wurde mit einer Taschenlampe ins offene Ende eines
Glasfaserkabels gemorst.
no comments
Re: Emacs Environment Variables         


Author: David Kastrup
Date: Nov 25, 2007 05:55

Peter Dyballa writes:
> Am 25.11.2007 um 12:36 schrieb Harald Hanche-Olsen:
>
>> Time to blow the dust off an old classic?
>>
>> http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
>
> I know, since some years or decades.

"man csh" verifies that csh is still unsuitable for redirecting stdout
and stderr to different locations.

After years and decades, yes.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
no comments
Re: Emacs Environment Variables         


Author: Peter Dyballa
Date: Nov 25, 2007 06:54

Am 25.11.2007 um 14:55 schrieb David Kastrup:
> "man csh" verifies that csh is still unsuitable for redirecting stdout
> and stderr to different locations.

I am proud to report that I have experience in not boiling my eggs
with my hammer!

How often do you need to separate stdout and stderr in some shell?
Maybe I have bad habits so that it does not happen that often to me
that I could remember.

--
Mit friedvollen Grüßen

Pete

There is no national science just as there is no national
multiplication table; what is national is no longer science.
-- Anton Checov
no comments
1 2 3