From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Newsgroups: gmane.emacs.bugs Subject: bug#193: Fix for bug#193. Date: Fri, 09 Jul 2010 19:41:12 -0600 Message-ID: <4C37CFB8.2020707@gmail.com> References: <4820D259.2060805@bbn.com> <20100709185115.GA3036@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278727215 17269 80.91.229.12 (10 Jul 2010 02:00:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Jul 2010 02:00:15 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 10 04:00:13 2010 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 1OXPMS-0003JJ-Dt for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jul 2010 04:00:12 +0200 Original-Received: from localhost ([127.0.0.1]:60309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXPMR-00089I-MK for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Jul 2010 22:00:11 -0400 Original-Received: from [140.186.70.92] (port=57912 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXPMK-00089A-Tg for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 22:00:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXPMJ-0000M0-TD for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 22:00:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35462) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXPMH-0000KH-NB; Fri, 09 Jul 2010 22:00:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OXP4r-0000wE-Rd; Fri, 09 Jul 2010 21:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 10 Jul 2010 01:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 193 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12787260933597 (code B ref -1); Sat, 10 Jul 2010 01:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jul 2010 01:41:33 +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 1OXP4P-0000vy-4Z for submit@debbugs.gnu.org; Fri, 09 Jul 2010 21:41:33 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXP4N-0000vt-Fs for submit@debbugs.gnu.org; Fri, 09 Jul 2010 21:41:32 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:56549) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OXP4J-00048D-Vs for submit@debbugs.gnu.org; Fri, 09 Jul 2010 21:41:28 -0400 Original-Received: from [140.186.70.92] (port=49909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXP4I-0005jC-Df for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 21:41:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXP4H-00071M-EJ for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 21:41:26 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:36326) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXP4H-00071G-AB for bug-gnu-emacs@gnu.org; Fri, 09 Jul 2010 21:41:25 -0400 Original-Received: by gyf1 with SMTP id 1so2125133gyf.0 for ; Fri, 09 Jul 2010 18:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=AHwcAIHTUz1fx+vNfiKLm0OFXVxt4MLhP/3XkcuzYvM=; b=rILqEKAlN8Mq4ASUogglGjya8OC8gAHA5A7e1Ce1/+IzGN8E2cP62iLaI1GhnrASR/ R6jbltVp/M3tvXvygEqaEXGi8c8ng88AXQeG8yfdBE4rjCVA1zrXVh3hn9n2COm5g6JD w877PwC5WyT6kEYPucUjkCmUcD1WMBieZMSbU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=qq/ZQl7p59pkWEH+NSjfILqDndPUadQ3zyp1RUXRJikXaPJ/WtbeuXfYV5VMyTirbT 3tNmtEC0R4NUVE1xKbkZAMgGYHHdqXdQ6lR27ShCFMaRWsz6KCw3RZTRNAPFCH09ZvpZ ezVgT80T30ntpdOv1DOdNjzoSzFX9eYfAS5F0= Original-Received: by 10.101.170.1 with SMTP id x1mr3832726ano.82.1278726084164; Fri, 09 Jul 2010 18:41:24 -0700 (PDT) Original-Received: from [192.168.1.2] (97-122-111-58.hlrn.qwest.net [97.122.111.58]) by mx.google.com with ESMTPS id r7sm17533890anb.35.2010.07.09.18.41.19 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Jul 2010 18:41:23 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <20100709185115.GA3036@muc.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 09 Jul 2010 21:42:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:38332 Archived-At: Hi Alan, On 7/9/2010 12:51 PM, Alan Mackenzie wrote: > Hi, Deniz, > > On Sun, Jun 27, 2010 at 02:47:52PM +0200, Deniz Dogan wrote: >> Did anyone ever agree on what needs to be done to fix the problem? > > Would you try this patch, please, and then tell me whether or not it > works fully. Thanks! M-q works fine for me with C as well as C++ style comments, both ways, i.e. shorting long comments and extending short comments to fill the line. The only "quirk" I found: Using C-style comments, if the original comment looks like this: /* This is a short comment which is extended */ the resulting comment is: /* This is a short comment which is extended */ Notice the two spaces after the last word 'extended', before the close comment marker. I would have expected either: /* This is a short comment which is extended */ i.e. the whitespace of the original comment is preserved, or /* This is a short comment which is extended */ i.e. the whitespace is zapped except one space before the close comment marker. This might be nitpicking but I thought I bring it up. Christoph