Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need help in upgrade from emacs 23.1 to 23.2

16 views
Skip to first unread message

hap 497

unread,
May 9, 2010, 3:14:09 AM5/9/10
to help-gn...@gnu.org
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()

how can I fix it?

Thank you.


Stefan Monnier

unread,
May 9, 2010, 11:52:10 AM5/9/10
to
> But when I start emacs 23.2 (using the same .emacs file works for
> Emacs 23.1). I get the following error:
[...]
> global-font-lock-mode(1 ON)

Remove the second argument.


Stefan "Where does this second arg come from anyway?"

Tim X

unread,
May 9, 2010, 6:20:19 PM5/9/10
to
hap 497 <hap...@gmail.com> writes:

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

Enrico Indiogine

unread,
May 10, 2010, 3:36:27 PM5/10/10
to help-gn...@gnu.org
Hi!

2010/5/9 hap 497 <hap...@gmail.com>:


> 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.

I have a recent install of Ubuntu 10.0.4 and found this PPA repository:

deb http://ppa.launchpad.net/portis25/ia32libs/ubuntu lucid main
deb-src http://ppa.launchpad.net/portis25/ia32libs/ubuntu lucid main

this will install Emacs 24.0.50.1.  I use this Emacs version every day
and have had no problems with it.  You need to add the key, but that
is simple to do.  Just Google for this repository and all the
necessary info can be easily found.

Best,
Henri-Paul

Mathematics Education
Texas A&M University

Email: hindi...@gmail.com
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico

"Rien ne va de soi.  Rien n'est donné. Tous est construit."   Gaston
Bachelard, 1934


--
Enrico Indiogine

Mathematics Education
Texas A&M University

Email: hindi...@gmail.com
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico

"Rien ne va de soi. Rien n'est donné. Tous est construit." Gaston
Bachelard, 1934

Tim X

unread,
May 10, 2010, 6:13:03 PM5/10/10
to
Enrico Indiogine <hindi...@gmail.com> writes:

> Hi!
>
> 2010/5/9 hap 497 <hap...@gmail.com>:
>> 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.
>
> I have a recent install of Ubuntu 10.0.4 and found this PPA repository:
>
> deb http://ppa.launchpad.net/portis25/ia32libs/ubuntu lucid main
> deb-src http://ppa.launchpad.net/portis25/ia32libs/ubuntu lucid main
>
> this will install Emacs 24.0.50.1.  I use this Emacs version every day
> and have had no problems with it.  You need to add the key, but that
> is simple to do.  Just Google for this repository and all the
> necessary info can be easily found.
>

A very easy way to do this is with the do-apt-repository command. Just
specify the ppa on the command line and it will add it to your sources
list and download and install the GPG key. Note the convenient PPA
specification method.

0 new messages