all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Ismael Valladolid Torres <ivalladt@ono.com>
Cc: emacs list <help-gnu-emacs@gnu.org>, Phi <cyan.phi@gmail.com>
Subject: Re: Emacs Environment Variables
Date: Sat, 24 Nov 2007 14:38:30 +0100	[thread overview]
Message-ID: <1CF4E827-71FC-4CEB-813C-2C561273681B@Web.DE> (raw)
In-Reply-To: <20071124124821.GA5409@ono.com>


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.


There is also /etc/profile which is read by bash if it's launched as  
a login shell. If a user does not have ~/.profile, then a bash login  
shell reads ~/.bash_login. When this file sets important environment  
variables like LANG or LC_CTYPE, then the user's environment will  
have set these values from login time at the login screen. All other  
processes will inherit from this environment, including X, will which  
pass this on to all clients launched via menu entries – and maybe  
also via icons on the desktop or in the dock (but I am guessing, I'm  
mostly on Mac OS X or Solaris with OpenWindows). ~/.bashrc would not  
need to contain that many basic settings if it can "delegate" some to  
~/.bash_login or ~/.profile.

IMO bash is a bit too complicated to be used as a user's default shell.

--
Greetings

   Pete                           <]
              o        __o         |__    o       HPV, the real
     ___o    /I       -\<,         |o \  -\),-%     high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________

  reply	other threads:[~2007-11-24 13:38 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 13:43 Emacs Environment Variables Phi
2007-11-23 21:09 ` Barry Margolin
2007-11-24  9:34 ` Peter Dyballa
2007-11-24 12:48   ` Ismael Valladolid Torres
2007-11-24 13:38     ` Peter Dyballa [this message]
2007-11-24 14:02       ` Ismael Valladolid Torres
     [not found]       ` <mailman.4026.1195912966.18990.help-gnu-emacs@gnu.org>
2007-11-24 16:41         ` David Kastrup
2007-11-25  6:25           ` Tim X
2007-11-25  9:06             ` David Kastrup
     [not found]     ` <mailman.4025.1195911521.18990.help-gnu-emacs@gnu.org>
2007-11-24 13:45       ` Phi
2007-11-25  6:18       ` Tim X
2007-11-25 10:18         ` Peter Dyballa
     [not found]         ` <mailman.4054.1195985894.18990.help-gnu-emacs@gnu.org>
2007-11-25 10:44           ` David Kastrup
2007-11-25 11:36             ` Harald Hanche-Olsen
2007-11-25 13:25               ` Peter Dyballa
     [not found]               ` <mailman.4059.1195997121.18990.help-gnu-emacs@gnu.org>
2007-11-25 13:55                 ` David Kastrup
2007-11-25 14:54                   ` Peter Dyballa
2007-11-25 15:19                     ` David Kastrup
2007-11-25 15:50                       ` Peter Dyballa
     [not found]                     ` <mailman.4071.1196004563.18990.help-gnu-emacs@gnu.org>
2007-11-28 16:51                       ` Sven Utcke
2007-11-28 18:06                         ` David Kastrup
2007-11-30 12:25                           ` Sven Utcke
2007-11-30 11:46                         ` Johan Bockgård
2007-11-30 12:28                           ` Sven Utcke
2007-11-30 13:32                             ` Johan Bockgård
2007-11-30 15:17                               ` Peter Dyballa
2007-12-03 10:17                               ` Sven Utcke
     [not found]                               ` <mailman.4354.1196435852.18990.help-gnu-emacs@gnu.org>
2007-12-03 10:20                                 ` Sven Utcke
2007-11-28 16:43                   ` Sven Utcke
2007-12-01 10:54               ` Peter Dyballa
2007-11-25 13:25             ` Peter Dyballa
2007-11-27  8:03           ` Tim X
2007-11-27 10:00             ` Peter Dyballa
     [not found]             ` <mailman.4168.1196157656.18990.help-gnu-emacs@gnu.org>
2007-11-27 10:28               ` David Kastrup
2007-11-27 16:27                 ` Joel J. Adamson
2007-11-28  9:02                   ` Tim X
2007-12-23  2:01                   ` David Combs
2007-11-28  8:55               ` Tim X
     [not found]   ` <mailman.4022.1195908516.18990.help-gnu-emacs@gnu.org>
2007-11-25  6:02     ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1CF4E827-71FC-4CEB-813C-2C561273681B@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=cyan.phi@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ivalladt@ono.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.