From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1417: marked as done (23.0.60; defmacro declare syntax trips up on offsets) Date: Sat, 29 Nov 2008 19:10:03 -0800 Message-ID: References: <87ljv1diic.fsf@cyd.mit.edu> <87od06w9rw.fsf@hungover.brentg.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1228014603-25720-0" X-Trace: ger.gmane.org 1228014638 18550 80.91.229.12 (30 Nov 2008 03:10:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 03:10:38 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 04:11:39 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6cig-0001mR-SK for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 04:11:39 +0100 Original-Received: from localhost ([127.0.0.1]:37670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6chU-0002nY-3Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 22:10:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6chO-0002nS-R2 for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 22:10:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6chL-0002nA-UB for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 22:10:17 -0500 Original-Received: from [199.232.76.173] (port=35337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6chL-0002n7-Lk for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 22:10:15 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56326) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6chK-0005Ws-Vy for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 22:10:15 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAU3ACNF026498; Sat, 29 Nov 2008 19:10:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAU3A3IJ025750; Sat, 29 Nov 2008 19:10:03 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1417 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22783 Archived-At: This is a multi-part message in MIME format... ------------=_1228014603-25720-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 29 Nov 2008 22:01:31 -0500 with message-id <87ljv1diic.fsf@cyd.mit.edu> and subject line Re: bug#1417: 23.0.60; defmacro declare syntax trips up on= offsets has caused the Emacs bug report #1417, regarding 23.0.60; defmacro declare syntax trips up on offsets to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1417: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1417 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1228014603-25720-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Nov 2008 05:25:41 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAO5Pbur027768 for ; Sun, 23 Nov 2008 21:25:38 -0800 Received: from mx10.gnu.org ([199.232.76.166]:56826) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L4Twn-0002mI-RH for emacs-pretest-bug@gnu.org; Mon, 24 Nov 2008 00:25:22 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L4SsI-0001hu-Tg for emacs-pretest-bug@gnu.org; Sun, 23 Nov 2008 23:16:45 -0500 Received: from mail.avenuecable.com ([24.113.32.26]:55331 helo=wavecable.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4K8t-0005YE-3n for emacs-pretest-bug@gnu.org; Sun, 23 Nov 2008 13:57:11 -0500 Received: from [76.14.208.3] (HELO hungover.brentg.com.ewbcable.net) by wavecable.net (CommuniGate Pro SMTP 4.2.8) with ESMTP id 64718426; Sun, 23 Nov 2008 10:46:27 -0800 Date: Sun, 23 Nov 2008 10:57:07 -0800 Message-Id: <87od06w9rw.fsf@hungover.brentg.com> From: Brent Goodrick To: emacs-pretest-bug@gnu.org Subject: 23.0.60; defmacro declare syntax trips up on offsets Reply-to: bgoodr@gmail.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) I might be doing something wrong with a declare usage in a macro. However, the construct use used to work in Emacs 22, but does not work in Emacs 23. I tried to post this to the #emacs channel, but got no takers (Sun Nov 23 10:51:21 PST 2008). I did verify this with "emacs -q". I am using Emacs built from top of HEAD CVS as of Sun Nov 23 10:28:46 PST 2008 (Xft emacs). Steps to reproduce: 1. Run M-x eval-buffer on the chunk of Elisp code below. 2. Move point into the some-macro-using-function, and invoke C-u M-x edebug-eval-defun (which I think is bound to C-u M-C-x in a emacs -q session). 3. Then do M-x some-macro-using-function, and step through that function and verify no error occurs while stepping with the "n" key binding. 4. Uncomment the "declare" line inside the definition of `some-macro'. 5. Run M-x eval-buffer on this file again to get the new definition of `some-macro'. 6. Repeat step #2 above, but this time notice you get an error similar to: edebug-form: Wrong type argument: number-or-marker-p, ((416 (417 . 421) (422 (422 . 423) (423 . 427) . 427) (428 (428 . 429) (429 . 433) . 433) (434 (434 . 435) (435 . 439) . 439) . 440) . 441) Here is the chunk of Elisp code (in between the "cut here" lines): -- cut here -- (defmacro some-macro (some-directory &rest body-forms) "Bla bla bla. Yada yada yada." ;; (declare (indent 1) (debug sexp body)) `(list 'foo)) (defun some-macro-using-function () "Yacki-yack, yack, yack." (interactive) (some-macro "snickers/are/good/eating" (list 'some 'form 'here))) -- cut here -- In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11) of 2008-11-23 on hungover Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit' '--with-xft' '--prefix=/home/brentg/emacs_from_source/install'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Help Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-netsplit-mode: t desktop-save-mode: t iswitchb-mode: t erc-ring-mode: t erc-services-mode: t erc-networks-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t display-time-mode: t shell-dirtrack-mode: t delete-selection-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: 1 transient-mark-mode: t view-mode: t Recent input: s e SPC s y n t a x ? C-x o C-n C-n C-n C-n C-n C-n C-n B C-n C-n M-n C-p C-l C-n C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-l C-x o M-< C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n M-> M-x e m a c s - g b u b u g a p r o b u g C-x o C-x o C-s b u g - C-s C-s C-s C-s C-n C-n M-> C-s e m a c s C-s C-s C-s C-r C-r C-l C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r C-s C-b C-x o C-x o C-n C-x o C-n C-n C-x o C-n C-x o C-n C-x o C-n C-n C-n C-n C-n C-n C-n C-n M-x a p r o r e p o r t . * b u g C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-M-SPC C-z C-h f C-v M-x b C-v Recent messages: Pushed a window configuration. [2 times] Mark saved where search started Pushed a window configuration. [2 times] Mark saved where search started Pushed a window configuration. Type "q" to delete this window. Mark set Renamed transient buffer "*Help*" to "*Help*<3>" Pushed a window configuration. Type "q" to restore this window. ------------=_1228014603-25720-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1417-done) by emacsbugs.donarmstrong.com; 30 Nov 2008 03:01:33 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAU31UAx023675 for <1417-done@emacsbugs.donarmstrong.com>; Sat, 29 Nov 2008 19:01:31 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2AC6357E09E; Sat, 29 Nov 2008 22:01:31 -0500 (EST) From: Chong Yidong To: Brent Goodrick Cc: Stefan Monnier , 1417-done@emacsbugs.donarmstrong.com Subject: Re: bug#1417: 23.0.60; defmacro declare syntax trips up on offsets Date: Sat, 29 Nov 2008 22:01:31 -0500 Message-ID: <87ljv1diic.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in a fix to make `macro-declaration-function' complain on such problematic declarations. ------------=_1228014603-25720-0--