Re: Problème avec la config de Emacs sous Ubuntu Dapper
Mehdi Baccouche wrote:
> Bonsoir la liste,
>
> J'ai installé une Ubuntu Dapper et j'ai voulu avoir la même config Emacs
> que mon poste Debian (taille fenêtre, couleur bg...), j'ai donc copié
> mon fichier .emacs depuis mon poste Debain vers Ubuntu, mais lorsque je
> lance emacs, il ne le prend pas en charge...
>
> Est-ce que le fichier de conf a un nom différent sous Ubuntu ??
>
> Voici mon fichier .emacs:
>
> (global-font-lock-mode t)
> (require 'paren)
> (show-paren-mode 1)
> (column-number-mode t)
> (line-number-mode t)
> (custom-set-variables '(pc-selection-mode t nil (pc-select)))
> (setq visible-bell t)
> (require 'paren)
> (scroll-bar-mode 1)
> (menu-bar-mode 1)
> (tool-bar-mode 1)
>
Un bon point de départ:
5.3 How do I debug a `.emacs' file?
===================================
Start Emacs with the `-debug-init' command-line option. This
enables the Emacs Lisp debugger before evaluating your `.emacs' file,
and places you in the debugger if something goes wrong. The top line
in the `trace-back' buffer will be the error message, and the second or
third line of that buffer will display the Lisp code from your `.emacs'
file that caused the problem.
You can also evaluate an individual function or argument to a
function in your `.emacs' file by moving the cursor to the end of the
function or argument and typing `C-x C-e' (`M-x eval-last-sexp').
Use `C-h v' (`M-x describe-variable') to check the value of
variables which you are trying to set or use.
(http://www.gnu.org/software/emacs/emacs-faq.text)
Pour aller plus loin, je te conseille de contacter un groupe
d'utilisateurs de emacs.
> Cordialement,
>
> Mehdi
>
--
David.
Reply to: