camarche

XEmacs

Options à régler

  • options > syntax highlighting > in this buffer
  • options > display > line numbers
  • options > keyboard and mouse > delete key deletes selection
;;; ********************
;;; Load the custom.el
(custom-set-variables
 '(pending-delete-mode t nil (pending-del))
 '(line-number-mode t)
 '(font-lock-mode t nil (font-lock)))
(custom-set-faces)
(global-set-key [(meta q)]    'kill-this-buffer)
(global-set-key [(control z)] 'undo)
(global-set-key [(control c)] 'copy-primary-selection)
(global-set-key [(control v)] 'yank-clipboard-selection)
(global-set-key [(control x)] 'kill-primary-selection)
(global-set-key [(control a)] 'mark-whole-buffer)

Autosave files

;;; ********************
;;; Load the auto-save.el package, which lets you put all of your autosave
;;; files in one place, instead of scattering them around the file system.
;;;
(setq auto-save-directory (expand-file-name "~/autosave/")
      auto-save-directory-fallback auto-save-directory
      auto-save-hash-p nil
      efs-auto-save t
      efs-auto-save-remotely nil
      ;; now that we have auto-save-timeout, let's crank this up
      ;; for better interactive response.
      auto-save-interval 2000
      )
;; We load this afterwards because it checks to make sure the
;; auto-save-directory exists (creating it if not) when it's loaded.
(require 'auto-save)

Delete forward dans les fichiers XSL

(defun pb-xsl-mode-hook ()
  (define-key xsl-mode-map "\177" 'delete-char))
(add-hook 'xsl-mode-hook 'pb-xsl-mode-hook)

Disable tab grouping

(custom-set-variables
 '(buffers-tab-filter-functions nil))
 
  xemacs.txt · Last modified: 2005/01/18 20:08
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki