bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46909: [External] : Re: bug#46909: 27.1; (rx (literal EXPR))


From: Drew Adams
Subject: bug#46909: [External] : Re: bug#46909: 27.1; (rx (literal EXPR))
Date: Thu, 4 Mar 2021 01:34:14 +0000

> 0. emacs -Q
> 1. (rx (literal "abc")) C-j
>    => "abc"
> 
> > In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32)

Sorry; this is my bad.  I'll close the bug.

I had both Emacs 26.3 and 27.1 open.  I didn't realize
I was trying that in 26.3.  This is the error, FWIW:

Debugger entered--Lisp error: (error "Unknown rx form 'literal'")
  signal(error ("Unknown rx form 'literal'"))
  error("Unknown rx form `%s'" literal)
  rx-form((literal "abc"))
  rx-to-string((literal "abc") t)
  #f(compiled-function (&rest regexps) #<bytecode 0x31a9f25>)((literal "abc"))
  (rx (literal "abc"))
...

There was no doc for `rx' in the 26.3 manuals, but I
somehow mistakenly used a 26.3 window for that test.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]