From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.bugs Subject: bug#31792: 27.0.50; Regression in #'labels, recent versions Date: Tue, 12 Jun 2018 00:11:04 +0100 Message-ID: <5b1f.0188.5dc11.f21c@parhasard.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528758604 28056 195.159.176.226 (11 Jun 2018 23:10:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2018 23:10:04 +0000 (UTC) To: 31792@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 01:10:00 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSVwl-0007B6-HV for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 01:09:59 +0200 Original-Received: from localhost ([::1]:51793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSVys-0002N7-Ql for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jun 2018 19:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSVyl-0002Mv-60 for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSVyj-0000M6-Um for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:12:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSVyj-0000M2-QX for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fSVyj-0007qg-LX for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aidan Kehoe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jun 2018 23:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152875870630145 (code B ref -1); Mon, 11 Jun 2018 23:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jun 2018 23:11:46 +0000 Original-Received: from localhost ([127.0.0.1]:43787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSVyT-0007q9-Jo for submit@debbugs.gnu.org; Mon, 11 Jun 2018 19:11:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSVyR-0007pu-U8 for submit@debbugs.gnu.org; Mon, 11 Jun 2018 19:11:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSVyL-0000Eu-HP for submit@debbugs.gnu.org; Mon, 11 Jun 2018 19:11:38 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSVyL-0000Eo-DY for submit@debbugs.gnu.org; Mon, 11 Jun 2018 19:11:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSVyJ-0002Js-MI for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:11:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSVyI-0000C4-75 for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:11:35 -0400 Original-Received: from mail.parhasard.net ([2a01:4f8:c17:36df::2]:59342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSVyH-0000BK-QG for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 19:11:34 -0400 Original-Received: by mail.parhasard.net (Postfix, from userid 1000) id 721A24A25C5; Tue, 12 Jun 2018 01:11:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=parhasard.net; s=mail; t=1528758691; bh=Z9/ZVu4eX/4HR4QWLY626ovXv7wNnA61jpp7hjecJjk=; h=From:Date:To:Subject:From; b=ZQ9IVMvz1kq0Wv3jD4KNZbwyacdP9Fs4yDYqMC1LykRlcd0p78yIaxxVxxiFk7es/ yRezlvHlBnHtA7kHNePKyfs5XHxAcJdHMHzt9VJWc1bObviJiJUWrn5QWY95VVEKvC NC2HD87xxaLbLKDRwID99JNFTlPkoGJLYYUmuW+4= X-Mailer: VM 8.2.0b under 21.5 (beta34) "kale" 06e4b596dc40 XEmacs Lucid (i386-apple-darwin10.8.0) X-NS5-file-as-sent: t X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147305 Archived-At: When I start this binary (see below for the details), do M-x byte-compile= -file /tmp/aidan/u.el RET, and then execute the following in *scratch*: (progn (load "/tmp/aidan/u.elc") (symbol-function 'my-package-accept-process-output)) I get: =3D> my-package-accept-process-output-1 When I do the same in the emacs 22.1.1 that Apple built and shipped with my OS, I get a compiled function object, as is much closer to being the correct behaviour. Contents of /tmp/aidan/u.el (a narrowed-down test case of some code I had planned to write):=20 ---- Begin: (require 'cl) (labels ((my-package-accept-process-output-1 (process-object &optional timeou= t-secs timeout-msecs) "Call `my-package-filter' and pass it the output of the last my-pa= ckage invocation." (if (null process-object) (error "No My-Package process to read output from!") (let ((buf my-package-output-buffer) my-package-output) (if (not (bufferp buf)) (setq my-package-filter nil) (with-current-buffer buf (setq my-package-output (buffer-substring-no-properties (point-min) (point-max)))) (my-package-filter t my-package-output) (with-current-buffer buf (erase-buffer))))))) (defalias 'my-package-accept-process-output (if (boundp 'my-package-async-processp) #'accept-process-output #'my-package-accept-process-output-1))) ---- End: In GNU Emacs 27.0.50 (build 3, i386-apple-darwin10.8.0, NS appkit-1038.36= Version 10.6.8 (Build 10K549)) of 2018-06-11 built on bonbon Repository revision: 94d60f59fc654706c3a52ed2c90c355b36be7898 Windowing system distributor 'Apple', version 10.3.1038 System Description: Mac OS X 10.6.8 Recent messages: Auto-saving...done Saving file /tmp/aidan/u.el... Wrote /tmp/aidan/u.el Compiling /tmp/aidan/u.el... =E2=80=98labels=E2=80=99 is an obsolete macro (as of 24.3); use =E2=80=98= cl-labels=E2=80=99 instead. Compiling /tmp/aidan/u.el...done Wrote /tmp/aidan/u.elc Loading /tmp/aidan/u.elc...done Quit Mark set [3 times] Configured using: 'configure --with-wide-int CC=3Dgcc-4.2 PKG_CONFIG_PATH=3D/usr/pkg/lib/pkgconfig:/X11/lib/pkgconfig' Configured features: RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS LCMS2 Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived 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 cl-seq cl-macs disass cl-extra cl gv help-fns radix-tree help-mode easymenu cl-loaddefs cl-lib warnings byte-opt compile comint ansi-color ring bytecomp byte-compile cconv time-date elec-pair tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 225419 15013) (symbols 40 21102 1) (miscs 36 68 413) (strings 16 33618 3363) (string-bytes 1 872171) (vectors 12 37343) (vector-slots 8 742671 16894) (floats 8 49 351) (intervals 36 910 74) (buffers 860 18)) --=20 =E2=80=98As I sat looking up at the Guinness ad, I could never figure out= / How your man stayed up on the surfboard after forty pints of stout=E2=80=99 (C. Moore)