projects
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into light-emacs
[dotfiles.git]
/
emacs
/
emacs.el
diff --git
a/emacs/emacs.el
b/emacs/emacs.el
index
b5e7575
..
acef8dc
100644
(file)
--- a/
emacs/emacs.el
+++ b/
emacs/emacs.el
@@
-1,7
+1,7
@@
;; -*- emacs-lisp -*-
;; Author: Olivier Tetard <olivier.tetard@miskin.fr>
;; -*- emacs-lisp -*-
;; Author: Olivier Tetard <olivier.tetard@miskin.fr>
-;; URL : http://
www.miskin.be
/
+;; URL : http://
toutoune25.miskin.fr
/
;; This file is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by the
;; This file is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by the
@@
-28,13
+28,6
@@
(push (expand-file-name "~/.elisp") load-path)
(push (expand-file-name "~/.elisp") load-path)
-;; Mozmail is available in XEmacs CVS :
-;; http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/net-utils/mozmail.el
-(load "mozmail" t)
-(load "tt25-passwords" t)
-;; (require 'tt25-muse)
-(load "tt25-erc" t)
-(require 'color-theme)
(require 'ido)
(require 'uniquify)
(require 'themes)
(require 'ido)
(require 'uniquify)
(require 'themes)
@@
-44,14
+37,8
@@
;; | Couleurs et apparence
;; `----
;; | Couleurs et apparence
;; `----
-;(if window-system)
- (color-theme-tango)
-;; (color-theme-dark-laptop))
-
-;old: (set-face-background 'default "black")
-
(if window-system
(if window-system
- (progn
+ (progn
(tool-bar-mode nil)
(tooltip-mode nil)
(scroll-bar-mode t)))
(tool-bar-mode nil)
(tooltip-mode nil)
(scroll-bar-mode t)))
@@
-74,6
+61,11
@@
(setq display-time-24hr-format t) ; Heure au format 24h
(display-time) ; On affiche l'heure dans la barre
(setq visible-bell t) ; On desactive les beeps
(setq display-time-24hr-format t) ; Heure au format 24h
(display-time) ; On affiche l'heure dans la barre
(setq visible-bell t) ; On desactive les beeps
+(setq inhibit-startup-screen t) ; On désactive le splash screen
+(setq use-file-dialog nil) ; Désactivation des boites de
+(setq use-dialog-box nil) ; fichiers GTK+
+(setq scroll-bar-mode 'right)
+(column-number-mode 1)
;; Configuration d'uniquify
(setq uniquify-buffer-name-style 'reverse)
;; Configuration d'uniquify
(setq uniquify-buffer-name-style 'reverse)
@@
-81,6
+73,10
@@
(setq uniquify-after-kill-buffer-p t)
(setq uniquify-ignore-buffers-re "^\\*")
(setq uniquify-after-kill-buffer-p t)
(setq uniquify-ignore-buffers-re "^\\*")
+;; Les copiers/coller doivent aller dans le clipboard de l'OS
+(setq x-select-enable-clipboard t)
+(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
+
;; Quand vous recevez un fichier .txt d'une machine dos/windows il est
;; très énervant de voir les ^M a chaque fin de ligne, utiliser M-x
;; dos-unix pour vous en débarrasser. (J. Danjou)
;; Quand vous recevez un fichier .txt d'une machine dos/windows il est
;; très énervant de voir les ^M a chaque fin de ligne, utiliser M-x
;; dos-unix pour vous en débarrasser. (J. Danjou)
@@
-99,6
+95,9
@@
(set default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(set default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
+;; Enable longlines-mode for LaTeX files
+(add-hook 'latex-mode-hook 'longlines-mode)
+
;; Impression
(setq lpr-command "/usr/bin/gtklp")
(setq ps-lpr-command "/usr/bin/gtklp")
;; Impression
(setq lpr-command "/usr/bin/gtklp")
(setq ps-lpr-command "/usr/bin/gtklp")
@@
-162,7
+161,7
@@
(setq debian-changelog-full-name "Olivier Tétard")
(setq debian-changelog-mailing-address "olivier.tetard@miskin.fr")
(setq debian-changelog-full-name "Olivier Tétard")
(setq debian-changelog-mailing-address "olivier.tetard@miskin.fr")
-(setq safe-local-variable-values
+(setq safe-local-variable-values
(quote ((TeX-PDF-mode . PDF))))
;; Stolen from http://xemacs.seanm.ca/lisp/dired-extras.el
(quote ((TeX-PDF-mode . PDF))))
;; Stolen from http://xemacs.seanm.ca/lisp/dired-extras.el