Bonjour,

        j'ai un petit effet de bord avec xemacs :

        en premier j'avais une erreur :
        
        ~/.xemacs/init.el ( fichier inexistant)
# je corrige le tir
        mkdir -p ~/.xemacs/
# je recherche un fichier d'exemple :

        locate init.el |grep sample
        /usr/share/xemacs-21.4.22/etc/sample.init.el

# je corrige le tir

        cat /usr/share/xemacs-21.4.22/etc/sample.init.el >~/.xemacs/init.el

# je relance emacs :

        Warning (initialization): An error occurred while loading

        ~/.xemacs/init.el': Wrong type argument: arrayp, f1

#       j'essaye de trouver une solution :

        grep f1 ~/.xemacs/init.el

;; i.e. f1, f4, f5, f8, f9, and f12.  Finally, you may note that f9,
;; f11, and f12 are purposely left blank. [F6 is defined below.]
(global-set-key 'f1 'advertised-undo) ;; Undo
(global-set-key 'f10 'isearch-forward)
(define-key isearch-mode-map 'f10 (lookup-key isearch-mode-map "\C-s"))
(define-key minibuffer-local-isearch-map 'f10
(global-set-key '(shift f10) 'isearch-backward)
(define-key isearch-mode-map '(shift f10) (lookup-key isearch-mode-map "\C-r"))
(define-key minibuffer-local-isearch-map '(shift f10)
;;    that, that the 'f1, 'f2, etc. took, which where in fact "long"
(defun Init-select-buffers-tab-buffers (buffer-to-select buf1)
      (funcall buffers-tab-selection-function buffer-to-select buf1)
    (let ((mode1 (symbol-name (symbol-value-in-buffer 'major-mode buf1)))
          (modenm1 (symbol-value-in-buffer 'mode-name buf1))
;; the bracket keys and f11/f12, respectively).  Brackets (much less
;(define-key key-translation-map 'f11 "{")
;(define-key key-translation-map 'f12 "}")
(global-set-key '(shift f11) 'describe-foo-at-point)
(global-set-key '(control f11) 'eval-last-sexp)
(global-set-key '(meta f11) 'edebug-defun)
(global-set-key '(meta f12) 'add-change-log-entry)
       (global-set-key '(shift f12) 'function-menu)

           je devient chèvre ...

slt
bernard




-----------------------------------------------------------------
Les listes de diffusion du CULTe - Pour une informatique libre
http://www.CULTe.org/listes/
Pour se desabonner:
mailto:[email protected]?subject=Cliquez_sur_ENVOYER

Répondre à