unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: 19704@debbugs.gnu.org
Subject: bug#19704: 25.0.50; funcall with hard-quote inside cl-labels uses the local function binding
Date: Tue, 27 Jan 2015 17:22:36 +0200	[thread overview]
Message-ID: <86twzc8czn.fsf@yandex.ru> (raw)

In emacs-24 the below snippet returns (:global :local), whereas in master now, (:local :local).

(defun foo ()
  :global)

(cl-labels ((foo () :local))
  (list (funcall 'foo) (funcall #'foo)))

It's a bug, according to
http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00895.html.

In GNU Emacs 25.0.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
 of 2015-01-27 on axl
Repository revision: 11527553647f61798562f04c50b789edb8c15ac3
Windowing system distributor `The X.Org Foundation', version 11.0.11601901
System Description:	Ubuntu 14.10





             reply	other threads:[~2015-01-27 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27 15:22 Dmitry Gutov [this message]
2016-06-10  2:37 ` bug#19704: 25.0.50; funcall with hard-quote inside cl-labels uses the local function binding Noam Postavsky
2016-06-10 22:06   ` Dmitry Gutov
2016-06-11  2:42     ` Stefan Monnier
2016-06-11  2:56       ` Noam Postavsky
2016-06-11 21:38         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86twzc8czn.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=19704@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).