J'utilise Emacs 23.2.1 et je ne sais pas comment accéder au PATH, enfin
si celui-ci se définit ailleurs que dans le fichier .profile. C'est le
seul fichier que j'ai modifié. Voici précisément son contenu:
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
export LANGUAGE="fr_FR:en"
export LC_MESSAGES="fr_FR.UTF-8"
# Pour changer les touches du clavier
if test -n "$DISPLAY" ; then # si c'est une session X...
xmodmap .xmodmaprc
fi
# pour emacs en mode client?
#!/bin/bash
# exec emacsclient --alternate-editor="" -c "$@"
#export EDITOR=~/bin/edit
#export LC_CTYPE="fr_FR.UTF-8"
#export LC_COLLATE="fr_FR.UTF-8"
# export ALTERNATE_EDITOR=emacs EDITOR=emacsclient VISUAL=emacsclient
EDITOR="emacsclient -c"
VISUAL="emacsclient -c"
Merci en tous cas.
Stéphane