unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54797: 27.1; "Old-style backquotes detected!" when there are no backquotes.
       [not found] <318682461.5015086.1649439801318.ref@mail.yahoo.com>
@ 2022-04-08 17:43 ` Bruce Mardle via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-09  8:39   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Mardle via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-08 17:43 UTC (permalink / raw)
  To: 54797



Short version:
Try to evaluate
'(, foo)
and you'll get (error "Old-style backquotes detected!"), which is
confusing considering that the expression doesn't contain a backquote!


Long version:
My code was evaluating happily yesterday (on what much have been an old
version of Emacs) but came up with that error on 27.1 today.  It turned
out I had "(, " in a few places. They should have been "(* ", (OCR
failure) so I suppose I should thank the error message for helping me find
those... but it's a confusing message when source doesn't contain any
backquotes!
(I spent a while Googling to find out what was happening but only found
cases of people getting the error message whose code *did* contain a
backquote.)






In GNU Emacs 27.1 (build 1, x86_64-pc-cygwin)
 of 2020-10-29 built on moufang2
Repository revision: 14432a33511ec750815c6f3b188f2c0d21b4cb22
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Recent messages:
Quit
Please type y or n, or C-v/M-v to scroll: y
View mode: type C-h for help, h for commands, q to quit.
Mark saved where search started
Mark set
Mark saved where search started
split-window: Attempt to split minibuffer window
command-execute: Command attempted to use minibuffer while in minibuffer
elisp--preceding-sexp: Old-style backquotes detected!
Making completion list...
Quit
Configured using:
 'configure
 --srcdir=/home/kbrown/src/cygpackages/emacs/emacs-27.1-2.x86_64/src/emacs-27.1
 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc
 --docdir=/usr/share/doc/emacs --htmldir=/usr/share/doc/emacs/html -C
 --with-w32 'CFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
 --param=ssp-buffer-size=4
 -fdebug-prefix-map=/home/kbrown/src/cygpackages/emacs/emacs-27.1-2.x86_64/build=/usr/src/debug/emacs-27.1-2
 -fdebug-prefix-map=/home/kbrown/src/cygpackages/emacs/emacs-27.1-2.x86_64/src/emacs-27.1=/usr/src/debug/emacs-27.1-2'
 CPPFLAGS= LDFLAGS='


Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GLIB NOTIFY GFILENOTIFY ACL GNUTLS
LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS XIM MODULES THREADS JSON
PDUMPER LCMS2 GMP


Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  locale-coding-system: utf-8-unix


Major mode: Lisp Interaction


Minor modes in effect:
  shell-dirtrack-mode: t
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t


Load-path shadows:
/usr/share/emacs/27.1/lisp/woman hides /cygdrive/c/users/bruce/elisp/woman


Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa epg epg-config
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils goto-addr noutline outline view
browse-url smerge-mode diff diff-mode easy-mmode shrinkrapt thingatpt
vc-filewise vc-rcs vc vc-dispatcher bookmark text-property-search pp
mule-util jka-compr info cl-print debug backtrace find-func derived
time-date subr-x cl-extra help-fns radix-tree help-mode misearch
multi-isearch shell pcomplete compile comint ansi-color ring cc-mode
cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs cl-loaddefs cl-lib seq byte-opt gv bytecomp byte-compile
cconv avoid time paren cus-start cus-load tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel disp-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
gfilenotify w32 lcms2 multi-tty make-network-process emacs)


Memory information:
((conses 16 145234 17681)
 (symbols 48 12800 1)
 (strings 32 42138 2254)
 (string-bytes 1 1296256)
 (vectors 16 23598)
 (vector-slots 8 910481 118458)
 (floats 8 86 398)
 (intervals 56 6614 0)
 (buffers 1000 30))






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

* bug#54797: 27.1; "Old-style backquotes detected!" when there are no backquotes.
  2022-04-08 17:43 ` bug#54797: 27.1; "Old-style backquotes detected!" when there are no backquotes Bruce Mardle via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-04-09  8:39   ` Lars Ingebrigtsen
  2022-04-09 17:59     ` Drew Adams
       [not found]     ` <170831386.714375.1650213585250@mail.yahoo.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-09  8:39 UTC (permalink / raw)
  To: Bruce Mardle; +Cc: 54797

Bruce Mardle <marblypup@yahoo.co.uk> writes:

> Short version:
> Try to evaluate
> '(, foo)
> and you'll get (error "Old-style backquotes detected!"), which is
> confusing considering that the expression doesn't contain a backquote!

I can reproduce this in Emacs 27.1, but not in Emacs 28.1 (it just
evaluates to ((\, foo))), so I guess this has been fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#54797: 27.1; "Old-style backquotes detected!" when there are no backquotes.
  2022-04-09  8:39   ` Lars Ingebrigtsen
@ 2022-04-09 17:59     ` Drew Adams
       [not found]     ` <170831386.714375.1650213585250@mail.yahoo.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2022-04-09 17:59 UTC (permalink / raw)
  To: Lars Ingebrigtsen, Bruce Mardle; +Cc: 54797@debbugs.gnu.org

> I can reproduce this in Emacs 27.1, but not in Emacs 28.1 (it just
> evaluates to ((\, foo))), so I guess this has been fixed now.

It's an Emacs 27 regression.  No such problem before Emacs 27.





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

* bug#54797: 27.1; "Old-style backquotes detected!" when there are no backquotes.
       [not found]     ` <170831386.714375.1650213585250@mail.yahoo.com>
@ 2022-04-17 18:02       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-17 18:02 UTC (permalink / raw)
  To: Bruce Mardle; +Cc: 54797

Bruce Mardle <marblypup@yahoo.co.uk> writes:

> I've only just read this properly [blush]. (I've just installed Emacs
> 28.1 under Cygwin under Windows 10.): Why DOES evaluating '(, foo)
> give ((\, foo), not (\, foo)? Evaluating '(bar foo) gives (bar foo),
> as expected.

I'm not sure -- it's not particularly valid syntax -- , is only valid
inside backquotes.

Perhaps somebody else knows.







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

end of thread, other threads:[~2022-04-17 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <318682461.5015086.1649439801318.ref@mail.yahoo.com>
2022-04-08 17:43 ` bug#54797: 27.1; "Old-style backquotes detected!" when there are no backquotes Bruce Mardle via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-09  8:39   ` Lars Ingebrigtsen
2022-04-09 17:59     ` Drew Adams
     [not found]     ` <170831386.714375.1650213585250@mail.yahoo.com>
2022-04-17 18:02       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

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