emacs 23.1

Le
Guillaume Connan
Bonjour,

j'ai testé l'installation de emacs 23.1 ce matin et y a un truc qui
bloque En tanpant emacs --debug-init j'obtiens :

8<8<8<8<8<8<8<8<8<
Debugger entered--Lisp error: (error "`c-lang-defconst' must be used in
a file")
signal(error ("`c-lang-defconst' must be used in a file"))
error("`c-lang-defconst' must be used in a file")
c-define-lang-constant(c-block-decls-with-vars (((c++-mode) quote
("class" "struct" "union" "enum" "typedef")) ((c-mode) quote ("struct"
"union" "enum" "typedef")) ((objc-mode) quote ("union" "enum"
"typedef")) (t))) (progn (c-define-lang-constant (quote
c-block-decls-with-vars) (quote ))) (eval-and-compile
(c-define-lang-constant (quote c-block-decls-with-vars) (quote )))
(c-lang-defconst c-block-decls-with-vars "Keywords introducing
declarations that can contain a block whichmight be followed by
variable declarations, e.g. like "foo" in"class Foo { }
foo;". So if there is a block in a declarationlike that, it ends
with the following ';' and not right away.The keywords on list are
assumed to also be present on one of the`*-decl-kwds' lists." t nil
objc (quote ("union" "enum" "typedef")) c (quote ("struct" "union"
"enum" "typedef")) c++ (quote ("class" "struct" "union" "enum"
"typedef"))) (progn (c-lang-defconst c-block-decls-with-vars "Keywords
introducing declarations that can contain a block whichmight be
followed by variable declarations, e.g. like "foo" in"class Foo
{ } foo;". So if there is a block in a declarationlike that,
it ends with the following ';' and not right away.The keywords on
list are assumed to also be present on one of the`*-decl-kwds'
lists." t nil objc (quote ) c (quote ) c++ (quote ))) (if
(fboundp (quote c-lang-defconst)) (progn (c-lang-defconst
c-block-decls-with-vars "Keywords introducing declarations that can
contain a block whichmight be followed by variable declarations,
e.g. like "foo" in"class Foo { } foo;". So if there is a
block in a declarationlike that, it ends with the following ';' and
not right away.The keywords on list are assumed to also be present
on one of the`*-decl-kwds' lists." t nil objc c c++ )))
(when (fboundp (quote c-lang-defconst)) (c-lang-defconst
c-block-decls-with-vars "Keywords introducing declarations that can
contain a block whichmight be followed by variable declarations,
e.g. like "foo" in"class Foo { } foo;". So if there is a
block in a declarationlike that, it ends with the following ';' and
not right away.The keywords on list are assumed to also be present
on one of the`*-decl-kwds' lists." t nil objc (quote ) c
(quote ) c++ (quote ))) eval-buffer(#<buffer *load*> nil
"/home/moi/emacs/asy-mode.el" nil t) ; Reading at buffer position
14957 load-with-code-conversion("/home/moi/emacs/asy-mode.el"
"/home/moi/emacs/asy-mode.el" nil t) require(asy-mode)
byte-code("ÆÀÇ"ˆÆÀÈ"ˆÆÀÉ"ˆÆÀÊ"ˆÆÀ=
Ë"ˆÆÀÌ"ˆÆÀÍ"ˆÆÀÎ"ˆÆÀÏ"ˆÆÀÍ"=
ˆÆÀÏ"ˆÆÀÐ"ˆÆÀÑ"ˆÆÀÒ"ˆÓÔ!ˆÕÖ=
×"ˆØÙ!BÓÚ!ˆÓÛ!ˆÜÝ!ˆÞßàá‰$ˆÓâ!=
ˆãá‰á䘃†Óå!ˆ@„†æ
!ˆáAèé!ˆèê!ˆëBèë!ˆÓì!ˆíîMˆïCðí#=
ˆñDBDòDBDóDBDÓô!ƒÓõá!ˆá‰EFöGáH÷á!ˆÞ=
øùá#ˆçá!ˆáAãIúá!ˆûJüKýþMˆÿM!ˆÃ=
á!ˆNá!ˆçá!ˆOLPQá"ˆPRS"ˆPT=
U"ˆPVá"ˆPWá"ˆPXY"ˆZ
[\]"‡" [load-path use-dialog-box
scroll-preserve-screen-position column-number-mode line-number-mode
system-type add-to-list "/home/moi/emacs/" "/home/moi/emacs.d/"
"/usr/local/share/emacs/22.1/" "/usr/local/share/emacs/22.1/lisp"
"/home/moi/emacs/emacs/site-lisp" "/usr/local/share/emacs/22.1/lisp/"
"/usr/share/emacs22/site-lisp/" "/home/moi/emacs/mupacs-3.2.3/"
"/usr/share/emacs/22.1/lisp/" "/usr/share/emacs/"
"/usr/share/emacs/site-lisp/" "/usr/share/emacs22/" require iso-cvt
add-hook TeX-mode-hook (lambda nil (iso-cvt-define-menu))
expand-file-name "~/gnus-5.10.10/lisp" gnus-load zone load-file
"~/emacs/std_comment.el" autoload trivial-cite "tc" t asy-mode nil
"gnu/linux" server server-start global-font-lock-mode load
"pyrex-mode" "python-mode" "sage" ipython py-shell-fullscreen
[134217848 112 121 45 115 104 101 108 108 return 24 49] define-key "i"
("\.pyx\'" . pyrex-mode) ] 6) load("~/.emacs" t t)
#[nil "…´
#=ƒÇÈQ‚7
#=ƒ3ÊÇËÌ#ƒ#͂7ÊÇËÎ#ƒ/ς7͂7ÇÐQ=
ÑÒщ#ˆ Ñ=ƒ_ÓÔÕÇÖQ!"Òfщ#ˆ Ñ==
ƒ^) ƒ¤× !ؚƒ¤Ù !‰ÚP"Û"!ƒ€"‚‹Û!=
ƒŠ‚‹Ë‰ƒ£Ü "ƒ¡ÝÞ #ˆßà!ˆ*#?…³Ë$=
Òáщ#))‡"
#[init-file-user system-type user-init-file-1 user-init-file otherfile
#source ms-dos "~" "/_emacs" windows-nt directory-files nil
#"^\.emacs\(\.elc?\)?$" "~/.emacs" "^_emacs\(\.elc?\)?$"
#"~/_emacs" "/.emacs" t load expand-file-name "init"
#file-name-as-directory "/.emacs.d" file-name-extension "elc"
#file-name-sans-extension ".el" file-exists-p file-newer-than-file-p
#message "Warning: %s is newer than %s" sit-for 1 "default" alt
#inhibit-default-init inhibit-startup-screen] 7]()
command-line() normal-top-level()





8<8<8<8<8<8<8<8<8<

D'où sort ce c-lang machin ?

--
Guillaume Connan
Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
Sébastien Kirche
Le #21769191
Le 24 août 2009 à 12:17, Guillaume Connan vraute :

Bonjour,

j'ai testé l'installation de emacs 23.1 ce matin et y a un truc qui
bloque... En tanpant emacs --debug-init j'obtiens :

8<------8<------8<------8<------8<------8<------8<------8<------8<------
Debugger entered--Lisp error: (error "`c-lang-defconst' must be used
in a file")
[...]
8<------8<------8<------8<------8<------8<------8<------8<------8<------

D'où sort ce c-lang machin ?



Aucune idée.

Tu as vérifié si ce c-lang-defconst n'était pas dans ton .emacs, ou dans
les options sauvegardées via configure ?

Autre piste : si tu as des modules précompilés (.elc) il faut
certainement les supprimer et les recompiler.
--
Sébastien Kirche
Publicité
Poster une réponse
Anonyme