help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help in upgrade from emacs 23.1 to 23.2


From: Tim X
Subject: Re: Need help in upgrade from emacs 23.1 to 23.2
Date: Mon, 10 May 2010 08:20:19 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

hap 497 <hap497@gmail.com> writes:

> Hi,
>
> i am using emacs 23.1 on ubuntu 10.04.
> And after 23.2 release, i have download and compiled it under ubuntu 10.04.
>
> But when I start emacs 23.2 (using the same .emacs file works for
> emacs 23.1). I get the following error:
> Debugger entered--Lisp error: (wrong-number-of-arguments #[(&optional
> arg) "\306    \307=\203
>
>
> ?\202(
> \204\"10\316\323\324\"\210\202N326 \315211\203x
> \203he--(13%)
> \203\2032\203\251
> \203\246
> \207" [last-message arg global-font-lock-mode buf --dolist-tail-- 
> font-lock-mode
>  current-message toggle prefix-numeric-value 0 t message "Toggling %s off; 
> bette
> r pass an explicit argument." nil add-hook after-change-major-mode-hook 
> global-f
> ont-lock-mode-enable-in-buffers find-file-hook 
> global-font-lock-mode-check-buffe
> rs change-major-mode-hook global-font-lock-mode-cmhh remove-hook buffer-list 
> tur
> n-on-font-lock-if-desired -1 run-hooks global-font-lock-mode-hook 
> global-font-lo
> ck-mode-on-hook global-font-lock-mode-off-hook called-interactively-p any 
> custom
> ize-mark-as-set "Global-Font-Lock mode %sabled" "en" "dis" 
> force-mode-line-updat
> e] 4 2242414 (list (or current-prefix-arg (quote toggle)))] 2)
>   global-font-lock-mode(1 ON)
>   eval-buffer(#<buffer  *load*> nil "/home/scheung/.emacs" nil t)  ; Reading 
> at
> buffer position 1230
>   load-with-code-conversion("/home/scheung/.emacs" "/home/scheung/.emacs" t t)
>   load("~/.emacs" t t)
>   #[nil \205\264
>                 \321=\203_30\232\203\244ile-1 user-init-file otherfile
> source ms-dos "~" "/_emacs" windows-nt directory-
> files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" 
> "~/_ema
> cs" "/.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-newe
> r-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt 
> inh
> ibit-default-init inhibit-startup-screen] 7]()
>   command-line()
>   normal-top-level()
>

If you are replacing a ubuntu build of emacs with one you are building
yourself, there are some patches which need to be applied. In
particular, the startup.el file needs to be modified to include the
debian-flavor variable and the subsequent library load process needs to
be modified to use this information. There are other patches, but I find
just modifying the startup.el file works fine for a home built version. 

What I do is grep startup.el from emacs 23.1 for the string debian. I
then modify the emacs 23.2 startup.el to include the same bits and then
do the build.

Tim



-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]