GNU bug report logs - #6973
old-style backquotes in psgml

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Thu, 2 Sep 2010 18:34:02 UTC

Severity: normal

Merged with 6490, 7148, 7286, 10321

Found in versions 24.0.50, 24.0.92

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6973 in the body.
You can then email your comments to 6973 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6973; Package emacs. (Thu, 02 Sep 2010 18:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 02 Sep 2010 18:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; parse-sgml.el sends error
Date: Thu, 02 Sep 2010 20:33:53 +0200
[Message part 1 (text/plain, inline)]
Emacs -Q

Hi,

when loading parse-sgml.el an error is signaled, which don't occur
with Emacs 23.

Backtrace attached.

Thanks


Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/



In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2010-09-02
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
p s <tab> - s <tab> <return> M-x e v a l - b <tab>
<return> M-x e l e <tab> <return> <down> <down> <up>
<return> M-x <up> <up> <return> C-x C-f p s g <tab>
- i <tab> d <tab> <return> M-x <up> <return> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> C-x
C-f <up> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> ~ / g n u - e m q <tab> <backspace> a <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> . g n u - e m <tab> a l l <tab>
<return> C-s p a r s e <backspace> <backspace> <backspace>
<backspace> <backspace> p s g m l <down> C-a C-SPC
C-e M-w C-x C-e C-s p s g m l C-e C-s C-s C-s C-s <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> C-x C-e C-SPC M-< C-x C-w t e x t e
/ p a r e s <backspace> <backspace> s e - s g m l -
b a c k t r e <backspace> a c e . t x t <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> e l - C-e <return> C-x 1 C-g M-x
r e p o r t - e m a c s - b u <tab> <return>

Recent messages:
Mark set
Loading /home/speck/progarbeit/emacs/veraendert/suse-start-psgml.el 
(source)...done
t
Mark saved where search started [2 times]
Loading /usr/share/emacs/site-lisp/psgml/psgml-parse.el (source)...
Entering debugger...
Mark set
Saving file /home/speck/texte/parse-sgml-el-backtrace.txt...
Loading vc-git...done
Wrote /home/speck/texte/parse-sgml-el-backtrace.txt
Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message byte-opt sendmail rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug vc-git debug multi-isearch vc-rcs psgml-ids help-mode view
mule-util ebuff-menu electric psgml-sysdep sgml-mode psgml derived cl
cl-19 bytecomp byte-compile sh-script executable ffap locate dired
regexp-opt help-fns cus-edit easymenu cus-start cus-load wid-edit
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face files text-properties overlay md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
[parse-sgml-el-backtrace.txt (text/plain, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6973; Package emacs. (Thu, 02 Sep 2010 20:00:03 GMT) Full text and rfc822 format available.

Message #8 received at 6973 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6973 <at> debbugs.gnu.org
Subject: Re: bug#6973: 24.0.50; parse-sgml.el sends error
Date: Thu, 2 Sep 2010 16:01:02 -0400
> Debugger entered--Lisp error: (invalid-function (\` (defmacro ((\, (intern (format "sgml-eltype-%s" n)))) (et) (list (quote get) et (quote (quote ((\, n))))))))

From etc/NEWS:

  * Incompatible Lisp Changes in Emacs 24.1

  ** A backquote not followed by a space is now always treated as new-style.

and psgml-parse.el contains:

(defmacro sgml-prop-fields (&rest names)
  (cons
   'progn
   (loop for n in names collect
     (`(defmacro (, (intern (format "sgml-eltype-%s" n))) (et)
     ^^^^
         (list 'get et ''(, n)))))))





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6973; Package emacs. (Thu, 02 Sep 2010 20:12:01 GMT) Full text and rfc822 format available.

Message #11 received at 6973 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6973 <at> debbugs.gnu.org
Subject: Re: bug#6973: 24.0.50; parse-sgml.el sends error
Date: Thu, 2 Sep 2010 16:13:22 -0400
merge 6490 6973
stop

>      (`(defmacro (, (intern (format "sgml-eltype-%s" n))) (et)
>      ^^^^

PS there is a patch for this in

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6490#23




Merged 6490 6973. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 02 Sep 2010 20:12:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6973; Package emacs. (Thu, 02 Sep 2010 20:28:01 GMT) Full text and rfc822 format available.

Message #16 received at 6973 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 6973 <at> debbugs.gnu.org
Subject: Re: bug#6973: 24.0.50; parse-sgml.el sends error
Date: Thu, 02 Sep 2010 22:29:02 +0200
> when loading parse-sgml.el an error is signaled, which don't occur
> with Emacs 23.

parse-sgml.el is not bundled with Emacs, so please attach it,


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6973; Package emacs. (Sat, 04 Sep 2010 07:34:01 GMT) Full text and rfc822 format available.

Message #19 received at 6973 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6973 <at> debbugs.gnu.org
Subject: Re: bug#6973: 24.0.50; parse-sgml.el sends error
Date: Sat, 04 Sep 2010 09:34:38 +0200
[Message part 1 (text/plain, inline)]
Am 02.09.2010 22:29, schrieb Stefan Monnier:
>> when loading parse-sgml.el an error is signaled, which don't occur
>> with Emacs 23.
>
> parse-sgml.el is not bundled with Emacs, so please attach it,
>
>
>          Stefan
>

Hi Stefan,

think I misunderstood your request.
You want the file in use here?

Attached.
BTW misspelled it's name, sorry for that.
[psgml-parse.el (text/x-emacs-lisp, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6973; Package emacs. (Sat, 04 Sep 2010 08:30:04 GMT) Full text and rfc822 format available.

Message #22 received at 6973 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 6973 <at> debbugs.gnu.org
Subject: Re: bug#6973: 24.0.50; parse-sgml.el sends error
Date: Sat, 04 Sep 2010 10:30:49 +0200
>>> when loading parse-sgml.el an error is signaled, which don't occur
>>> with Emacs 23.
>> parse-sgml.el is not bundled with Emacs, so please attach it,
> think I misunderstood your request.

Indeed.

> You want the file in use here?

Yes, thanks.  Tho others have already pointed out the source of the
problem: this file uses old-style backquotes and has several places
where these backquotes are not followed by a space.
It should be changed to use new-style backquotes instead.


        Stefan




Merged 6490 6973 7148. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 02 Oct 2010 19:02:02 GMT) Full text and rfc822 format available.

Forcibly Merged 6490 6973 7148 7286. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 27 Oct 2010 06:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 20 Oct 2011 11:24:06 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 19 Dec 2011 21:22:03 GMT) Full text and rfc822 format available.

Forcibly Merged 6490 6973 7148 7286 10321. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 19 Dec 2011 21:22:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 17 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.