From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6424 invoked by alias); 5 Jun 2011 17:49:16 -0000 Received: (qmail 6416 invoked by uid 22791); 5 Jun 2011 17:49:15 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 05 Jun 2011 17:49:01 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id p55HmqE4004522; Sun, 5 Jun 2011 19:48:52 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id p55HmoqD008982; Sun, 5 Jun 2011 19:48:51 +0200 (CEST) Date: Sun, 05 Jun 2011 17:49:00 -0000 Message-Id: <201106051748.p55HmoqD008982@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: jan.kratochvil@redhat.com CC: schwab@linux-m68k.org, gdb-patches@sourceware.org In-reply-to: <20110605163506.GA1273@host1.jankratochvil.net> (message from Jan Kratochvil on Sun, 5 Jun 2011 18:35:06 +0200) Subject: Re: comments formatting [Re: [patch] physname regression: Non-matching type false breakpoint] References: <20110605153419.GA14873@host1.jankratochvil.net> <201106051557.p55FvVIu022894@glazunov.sibelius.xs4all.nl> <20110605161907.GA28751@host1.jankratochvil.net> <20110605163506.GA1273@host1.jankratochvil.net> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00077.txt.bz2 > Date: Sun, 5 Jun 2011 18:35:06 +0200 > From: Jan Kratochvil > > On Sun, 05 Jun 2011 18:23:40 +0200, Andreas Schwab wrote: > > Jan Kratochvil writes: > > > I agree, this commonly happens, I do not know what is the right way to do with it. > > > > M-q (c-fill-paragraph) > > What does it do? I use VIM. See, there is your problem ;). Seriosuly though, given that people use different tools some reformatting of comments simply can't be avoided. If I make changes to a comment I'll make some effort to minimize the diff, but if the changes are in the middle of the comment, or if the end-result simply looks wrong I'll simply hit M-q and be done with it. And */ on a line of its own will almost certainly make me hit M-q. Which is why I brought this up. In this case I'd simply move the last word of the previous line to the next line to avoid the dangling */. Cheers, Mark