all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: emacs-24.0.92 and backquote
@ 2011-12-13  2:05 Nelson H. F. Beebe
  2011-12-13  3:32 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Nelson H. F. Beebe @ 2011-12-13  2:05 UTC (permalink / raw)
  To: emacs-devel; +Cc: beebe

Many thanks to Paul Eggert for the fine detective work in tracing the
gradual disappearance of the `old-style backquote' and its
reappearance in a `new-style backquote' form with one level of outer
parentheses stripped in the evolution of emacs-20 to emacs-24.

I've spent part of today revising ltxmenu.el, and moved the old and
new versions of the backquoted menu definition into separate files
that are loaded according to the value of emacs-version, so as not to
break the code on any currently-installed version of emacs (I have
many such, on more than two dozen flavors of Unix).

The new files are available here:

	http://www.math.utah.edu/pub/emacs/ltxaccnt.el
	http://www.math.utah.edu/pub/emacs/ltxmenu.el
	http://www.math.utah.edu/pub/emacs/ltxmenu-23.el
	http://www.math.utah.edu/pub/emacs/ltxmenu-24.el

There are corresponding .sig files for each, as well as signed
checksum files for the entire directory.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 5+ messages in thread
* emacs-24.0.92 and backquote
@ 2011-12-11  0:00 Nelson H. F. Beebe
  2011-12-11  2:20 ` Paul Eggert
  0 siblings, 1 reply; 5+ messages in thread
From: Nelson H. F. Beebe @ 2011-12-11  0:00 UTC (permalink / raw)
  To: emacs-devel; +Cc: beebe

In testing emacs-24.0.92, I discovered that some venerable code that
has worked from Fall 1994 through emacs-23.* versions now fails to
load in emacs-24.0.92.  I get this error:

Loading /u/sy/beebe/emacs/ltxmenu.el (source)...
setq: Invalid function: (\` ("LaTeX main menu" ((\,
    internal-x-LaTeX-menu-startup)) ((\, internal-x-LaTeX-menu-accents))
    ((\, internal-x-LaTeX-menu-insertion)) ((\,
    internal-x-LaTeX-menu-begin-end)) ((\,
    internal-x-LaTeX-menu-begin-end-1)) ((\,
    internal-x-LaTeX-menu-begin-end-2)) ((\,
    internal-x-LaTeX-menu-begin-end-3)) ((\,
    internal-x-LaTeX-menu-begin-end-4)) ((\,
    internal-x-LaTeX-menu-checking)) ...))

The code in ltxmenu.el (available at

	http://www.math.utah.edu/pub/emacs/ltxmenu.el

) has this function:

(setq internal-x-LaTeX-menu-of-menus
      (`("LaTeX main menu"		;this menu title is never displayed
	(, internal-x-LaTeX-menu-startup)
	(, internal-x-LaTeX-menu-accents)
...
	(, internal-x-LaTeX-menu-miscellaneous)
	)))

I dug around in the emacs-24 source code, and in lread.c, found the
function load_warn_old_style_backquotes().  However, I cannot find any
indication in ChangeLog files or the *.texi files that the syntax of
backquote has changed, so I don't know what ``old-style backquotes''
is supposed to mean.

As new versions of emacs have appeared, it has been rare to require
modification of my existing Emacs Lisp code (70K lines or so).

Can any of you offer suggestions as to what is expected here, or have
I possibly exposed a bug in the new emacs-24 code?

Our university's winter term break begins next week, and that is
usually the time that we make newer versions of software and hardware
the default ones, so I would like to get this resolved soon.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



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

end of thread, other threads:[~2011-12-13  3:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13  2:05 emacs-24.0.92 and backquote Nelson H. F. Beebe
2011-12-13  3:32 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2011-12-11  0:00 Nelson H. F. Beebe
2011-12-11  2:20 ` Paul Eggert
2011-12-11  5:58   ` Jambunathan K

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.