From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Olum Newsgroups: gmane.emacs.bugs Subject: bug#7974: lisp-do-defun on defuns with trailing comments Date: Thu, 03 Feb 2011 11:39:11 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1296758417 31882 80.91.229.12 (3 Feb 2011 18:40:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 18:40:17 +0000 (UTC) Cc: kdo@cosmos.phy.tufts.edu To: 7974@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 03 19:40:08 2011 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.69) (envelope-from ) id 1Pl46A-0005CC-Qa for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Feb 2011 19:40:08 +0100 Original-Received: from localhost ([127.0.0.1]:38938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl469-000137-8t for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Feb 2011 13:40:05 -0500 Original-Received: from [140.186.70.92] (port=41305 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl3UJ-0004Jg-Nb for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 13:01:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl2ct-0004hT-5q for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 12:05:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl2ct-0004hP-2z for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 12:05:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pl2Hr-00031W-0O; Thu, 03 Feb 2011 11:44:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Olum Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Feb 2011 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7974 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.129675138311524 (code B ref -1); Thu, 03 Feb 2011 16:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Feb 2011 16:43:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl2Gs-0002zl-M0 for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:43:02 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl257-0002gg-9n for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:30:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl2DJ-0001ZJ-Ev for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:39:22 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:44803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl2DJ-0001YS-3S for submit@debbugs.gnu.org; Thu, 03 Feb 2011 11:39:21 -0500 Original-Received: from [140.186.70.92] (port=52662 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl2DG-0003Ur-QG for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 11:39:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl2DE-0001WR-N0 for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 11:39:17 -0500 Original-Received: from cosmos.phy.tufts.edu ([130.64.83.16]:58209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl2DE-0001Ud-Le for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2011 11:39:16 -0500 Original-Received: from kdo by cosmos.phy.tufts.edu ([local]:local) with local id 1Pl2D9-0000ni-5P - Using Exim-4.72 (MandrivaLinux) MTA (return-path ); Thu, 03 Feb 2011 11:39:11 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.64.83.16 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Mailman-Approved-At: Thu, 03 Feb 2011 11:43:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 03 Feb 2011 11:44:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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: , 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:43888 Archived-At: If you say lisp-compile-defun on a defun which has a comment on the line with the final closing parenthesis, then your defun does not get compiled, because emacs sends lisp a form with some close parens added at the end of the comment, and naturally lisp does not read them. One cure for this would be to remove the line (skip-chars-backward " \t\n\r\f") ; Makes allegro happy from lisp-do-defun. Then emacs would keep the new line that terminates the comment at the end of the defun and put the close parens after that. Ken