* Need help in upgrade from emacs 23.1 to 23.2
@ 2010-05-09 7:14 hap 497
[not found] ` <AANLkTin2irH7PZ0nl1wkJZCVdXOyZbOczKIq7dCOtxSC@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: hap 497 @ 2010-05-09 7:14 UTC (permalink / raw)
To: help-gnu-emacs
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 \x18 \307=\203\x0e
?\202(
\204\"10\316\323\324\"\210\202N326 \315211\x1c\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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Need help in upgrade from emacs 23.1 to 23.2
[not found] <mailman.0.1273389261.9296.help-gnu-emacs@gnu.org>
@ 2010-05-09 15:52 ` Stefan Monnier
2010-05-09 22:20 ` Tim X
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2010-05-09 15:52 UTC (permalink / raw)
To: help-gnu-emacs
> 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?"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Need help in upgrade from emacs 23.1 to 23.2
[not found] <mailman.0.1273389261.9296.help-gnu-emacs@gnu.org>
2010-05-09 15:52 ` Need help in upgrade from emacs 23.1 to 23.2 Stefan Monnier
@ 2010-05-09 22:20 ` Tim X
1 sibling, 0 replies; 5+ messages in thread
From: Tim X @ 2010-05-09 22:20 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Need help in upgrade from emacs 23.1 to 23.2
[not found] ` <AANLkTin2irH7PZ0nl1wkJZCVdXOyZbOczKIq7dCOtxSC@mail.gmail.com>
@ 2010-05-10 19:36 ` Enrico Indiogine
[not found] ` <mailman.9.1273520193.11383.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Enrico Indiogine @ 2010-05-10 19:36 UTC (permalink / raw)
To: help-gnu-emacs
Hi!
2010/5/9 hap 497 <hap497@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: hindiogine@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: hindiogine@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Need help in upgrade from emacs 23.1 to 23.2
[not found] ` <mailman.9.1273520193.11383.help-gnu-emacs@gnu.org>
@ 2010-05-10 22:13 ` Tim X
0 siblings, 0 replies; 5+ messages in thread
From: Tim X @ 2010-05-10 22:13 UTC (permalink / raw)
To: help-gnu-emacs
Enrico Indiogine <hindiogine@gmail.com> writes:
> Hi!
>
> 2010/5/9 hap 497 <hap497@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.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-05-10 22:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.0.1273389261.9296.help-gnu-emacs@gnu.org>
2010-05-09 15:52 ` Need help in upgrade from emacs 23.1 to 23.2 Stefan Monnier
2010-05-09 22:20 ` Tim X
2010-05-09 7:14 hap 497
[not found] ` <AANLkTin2irH7PZ0nl1wkJZCVdXOyZbOczKIq7dCOtxSC@mail.gmail.com>
2010-05-10 19:36 ` Enrico Indiogine
[not found] ` <mailman.9.1273520193.11383.help-gnu-emacs@gnu.org>
2010-05-10 22:13 ` Tim X
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).