GNU bug report logs - #41947
Pcase examples in the Elisp manual requires deprecated alias.

Previous Next

Package: emacs;

Reported by: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>

Date: Fri, 19 Jun 2020 06:50:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

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 41947 in the body.
You can then email your comments to 41947 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 bug-gnu-emacs <at> gnu.org:
bug#41947; Package emacs. (Fri, 19 Jun 2020 06:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 19 Jun 2020 06:50:02 GMT) Full text and rfc822 format available.

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

From: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Pcase examples in the Elisp manual requires deprecated alias.
Date: Fri, 19 Jun 2020 15:49:37 +0900
[Message part 1 (text/plain, inline)]
Hi,

In pcase macro examples in the Elisp manual, the examples use 'evenp'
function as pred, but 'evenp' requires alias defined in deprecated "cl.el".

http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/control.texi#n960

>>> log
$ emacs -Q --batch --eval '(evenp 42)'                     Symbol’s
function definition is void: evenp
$ emacs -Q --batch --eval "(and (require 'cl) (evenp 42))" Package cl is
deprecated

Thanks,
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 20 Jun 2020 07:32:02 GMT) Full text and rfc822 format available.

Notification sent to Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>:
bug acknowledged by developer. (Sat, 20 Jun 2020 07:32:02 GMT) Full text and rfc822 format available.

Message #10 received at 41947-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
Cc: 41947-done <at> debbugs.gnu.org
Subject: Re: bug#41947: Pcase examples in the Elisp manual requires deprecated
 alias.
Date: Sat, 20 Jun 2020 10:31:25 +0300
> From: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
> Date: Fri, 19 Jun 2020 15:49:37 +0900
> 
> In pcase macro examples in the Elisp manual, the examples use 'evenp' function as pred, but 'evenp'
> requires alias defined in deprecated "cl.el".
> 
> http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/control.texi#n960

Thanks, fixed on the emacs-27 branch.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Jul 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 33 days ago.

Previous Next


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