From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines Date: Thu, 30 Jun 2016 23:30:21 -0400 Message-ID: <871t3ehw6q.fsf@users.sourceforge.net> References: <871v1t7vnk.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467343898 26617 80.91.229.3 (1 Jul 2016 03:31:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2016 03:31:38 +0000 (UTC) Cc: 8348@debbugs.gnu.org To: Darren Hoo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 01 05:31:26 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bIpAm-0004gu-TR for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jul 2016 05:31:21 +0200 Original-Received: from localhost ([::1]:53515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIpAe-0001cL-M4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 23:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIpAZ-0001bE-5I for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 23:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIpAU-0006mm-6v for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 23:31:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIpAU-0006mi-37; Thu, 30 Jun 2016 23:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bIpAT-00067j-Sc; Thu, 30 Jun 2016 23:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 01 Jul 2016 03:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8348 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 8348-submit@debbugs.gnu.org id=B8348.146734382321349 (code B ref 8348); Fri, 01 Jul 2016 03:31:01 +0000 Original-Received: (at 8348) by debbugs.gnu.org; 1 Jul 2016 03:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:32996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIp9r-0005Y3-CN for submit@debbugs.gnu.org; Thu, 30 Jun 2016 23:30:23 -0400 Original-Received: from mail-io0-f172.google.com ([209.85.223.172]:36439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIp9p-0005RQ-8i; Thu, 30 Jun 2016 23:30:21 -0400 Original-Received: by mail-io0-f172.google.com with SMTP id s63so89948633ioi.3; Thu, 30 Jun 2016 20:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=F6VPoVWU6u0h5Ow4JQ2GBsMo+GjOSvWsNz+UVnMf15A=; b=P5PWPjzzbMH/tJf4jUV58W9w8c/NhxaeDeJiZ5HPhLgx6rgWCT4QEB7/S1fov6Bc3e d9xa5vRfr9KQy+ntIaOgpTpVUB8FfOIZBSpvkRVrTgybVTV58yEdAWXwux4gijk5gSgO xFhmBEFeqX/YkyEWJI4ynozRhDIRQrez1+SJnhpYQ1wNCEgvRdTrmYfh8BpZv4r+fk6D UCibEaYxAy0UIWAxLmhOCge7XzpXMPGSyIKIX2ftaF82+Fqc+78IElwLW+bCSGe+Q1HR kqRfh0jSwVKbtVnPJH+IR2nfpwXNfaxzLgFCsOcO/dIIDNN+EZb7zVGtVm4sBzipMyLj 8hGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=F6VPoVWU6u0h5Ow4JQ2GBsMo+GjOSvWsNz+UVnMf15A=; b=N4pI24CSMMZoOPxNNe8bsCpaU10+8+NIxefuHpacnfXg+0urPUtabJ8ihD2TO35EDf yJS7HOURFfFUSZ1lzTzdZdx2ew13/B0ODdPaTuuXrNzqHs13PDIRLfLWpmHjA+QXrP95 VarM1FBXXwvQprPaMEp/sjT78Nggap9+t6brNedgFP6NB5xhiZh93V/f9AIp0domDiko c0xKgb8E8G+KyRT2VaRitSrAtQxRxgj3CSYRGEmoXbGl+SkWsCSk43ydwKjsAO7QR2YQ hixjBVvD09HtBSWlQn78X/2tiN9VO/7egQigRIcesA96O8WEcyfk17/4kcCal20Iois8 BM9A== X-Gm-Message-State: ALyK8tLyfgMKWPVdA87VhBnzCe8alqDeCjH2EALSBUXjATbvy+KldXmcFyccn2GbXS6n/w== X-Received: by 10.107.53.5 with SMTP id c5mr17676618ioa.2.1467343815591; Thu, 30 Jun 2016 20:30:15 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id m203sm5296053iom.21.2016.06.30.20.30.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 20:30:15 -0700 (PDT) In-Reply-To: <871v1t7vnk.fsf@gmail.com> (Darren Hoo's message of "Sat, 26 Mar 2011 23:23:43 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) 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:120250 Archived-At: tags 8348 notabug quit Darren Hoo writes: > #define AA 1 /* ! > * a comment > * eags lines > */! > > c-end-of-macro move to the first ! instead of the second ! AFAICT this is not a bug, the macro really does end on the first line, i.e., the macro definition does not include the comment. One might argue that the macro ends where the comment starts (first "/"), not inside it, but the docstring of c-end-of-macro does say it goes to the end of line.