Gnus development mailing list
 help / color / mirror / Atom feed
* Can't compile gnus cvs since 2008-04-25
@ 2008-05-04 11:43 Oystein Viggen
  2008-05-04 21:29 ` Reiner Steib
  0 siblings, 1 reply; 4+ messages in thread
From: Oystein Viggen @ 2008-05-04 11:43 UTC (permalink / raw)
  To: ding

Hi,

If I do "cvs update -D 2008-04-24", gnus compiles and runs just fine.
This message is proof of that.

If I do "cvs update -D 2008-04-25", a lot of the files no longer want to
compile, tossing me error messages like this:

,----
| While compiling toplevel forms in file /home/xdrift/oysteivi/cvs/gnus-test/lisp/gnus-topic.el:
|   !! error (("Invalid escape character syntax"))
`----

The diff between these two dates is fairly huge, so I didn't go closer
into it yet.  Hoping that someone on this list might have an idea what
could be wrong and be able to point me in the right direction.


Emacs version is the one in Debian stable (4.0 / etch):
"GNU Emacs 21.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-06-19 on etch-builder.my.flat, modified by Debian"

Locale is en_US with LC_CTYPE set to nb_NO.  These should both be latin1
locales, and I see there are some UTF-8 related conversions in the
diff.  Don't know if this can be related to the problem.

Øystein
-- 
ssh -c rot13 otherhost




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't compile gnus cvs since 2008-04-25
  2008-05-04 11:43 Can't compile gnus cvs since 2008-04-25 Oystein Viggen
@ 2008-05-04 21:29 ` Reiner Steib
  2008-05-04 23:16   ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2008-05-04 21:29 UTC (permalink / raw)
  To: Juri Linkov; +Cc: ding

On Sun, May 04 2008, Oystein Viggen wrote:

> If I do "cvs update -D 2008-04-24", gnus compiles and runs just fine.
> This message is proof of that.
>
> If I do "cvs update -D 2008-04-25", a lot of the files no longer want to
> compile, tossing me error messages like this:
>
> ,----
> | While compiling toplevel forms in file /home/xdrift/oysteivi/cvs/gnus-test/lisp/gnus-topic.el:
> |   !! error (("Invalid escape character syntax"))
> `----
>
> The diff between these two dates is fairly huge, so I didn't go closer
> into it yet.

There was a big merge from Emacs CVS in between.

> Emacs version is the one in Debian stable (4.0 / etch):
> "GNU Emacs 21.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2007-06-19 on etch-builder.my.flat, modified by Debian"

The problem is "\s*\\('\\)?%s\\1?\s*\\'" in the new function
`mailcap-file-default-commands'.

Emacs 21 already barf when compiling this file:

--8<---------------cut here---------------start------------->8---
"\s*"
--8<---------------cut here---------------end--------------->8---

,----
| Compiling file EMACS21.el at Sun May  4 23:11:14 2008
|   !! error (("Invalid escape character syntax"))
`----

Juri, could you rewrite "\s*\\('\\)?%s\\1?\s*\\'" in an Emacs-21
compatible way?

There's another (minor?) problem with `mailcap-file-default-commands':
`replace-regexp-in-string' is not compatible with XEmacs 21.4
(cf. `gnus-replace-in-string' in `gnus-util.el').  But as this
function is not used in the rest of Gnus, it's not a big deal (it is
only used in dired-aux.el in Emacs CVS, AFAICS).

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't compile gnus cvs since 2008-04-25
  2008-05-04 21:29 ` Reiner Steib
@ 2008-05-04 23:16   ` Juri Linkov
  2008-05-05  8:09     ` Oystein Viggen
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2008-05-04 23:16 UTC (permalink / raw)
  To: ding

> Juri, could you rewrite "\s*\\('\\)?%s\\1?\s*\\'" in an Emacs-21
> compatible way?

I fixed this in Emacs CVS.

> There's another (minor?) problem with `mailcap-file-default-commands':
> `replace-regexp-in-string' is not compatible with XEmacs 21.4
> (cf. `gnus-replace-in-string' in `gnus-util.el').  But as this
> function is not used in the rest of Gnus, it's not a big deal (it is
> only used in dired-aux.el in Emacs CVS, AFAICS).

I created a new compatibility alias `mailcap-replace-in-string'.

-- 
Juri Linkov
http://www.jurta.org/emacs/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't compile gnus cvs since 2008-04-25
  2008-05-04 23:16   ` Juri Linkov
@ 2008-05-05  8:09     ` Oystein Viggen
  0 siblings, 0 replies; 4+ messages in thread
From: Oystein Viggen @ 2008-05-05  8:09 UTC (permalink / raw)
  To: ding

* [Juri Linkov] 

> I fixed this in Emacs CVS.
>
>> [...]
>
> I created a new compatibility alias `mailcap-replace-in-string'.

Can confirm that cvs head works for me now.

Thank you, Reiner and Juri!

Øystein
-- 
Nobody really reads these signatures anyway.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-05  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-04 11:43 Can't compile gnus cvs since 2008-04-25 Oystein Viggen
2008-05-04 21:29 ` Reiner Steib
2008-05-04 23:16   ` Juri Linkov
2008-05-05  8:09     ` Oystein Viggen

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 NNTP newsgroup(s).