From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: Re: M-; and M-j and c-comment alignment Date: Tue, 26 Nov 2013 13:52:07 +0100 Message-ID: References: <52947d5f$0$2242$426a34cc@news.free.fr> <52947db5$0$2242$426a34cc@news.free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1385470334 4909 80.91.229.3 (26 Nov 2013 12:52:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 12:52:14 +0000 (UTC) Cc: help-gnu-emacs To: Damien Wyart Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 13:52:20 2013 Return-path: Envelope-to: geh-help-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 1VlI7o-0007ZZ-Lj for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 13:52:20 +0100 Original-Received: from localhost ([::1]:58302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlI7o-0004au-Bd for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 07:52:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlI7d-0004ap-LJ for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 07:52:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlI7c-0001lV-II for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 07:52:09 -0500 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:38061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlI7c-0001lO-Aw for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 07:52:08 -0500 Original-Received: by mail-wi0-f181.google.com with SMTP id hq4so5545172wib.2 for ; Tue, 26 Nov 2013 04:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=LPUyeRZDCZL8O8Q0yde1lTQ4zUercdMU0/pgSI8pEFA=; b=DCFvWoKdpYPD6tdbzyH1+NnqXLi2cvwWWgMgJF1+5TlqjFiQVq8bNfKKjLaRdmCUu4 nJY1jmJsA33RzRxlbujPEXfCzYKIIEK/bH+ruCYMF7la12HjHs0Ic+eUImQElN2AZ8rn RpJMHiVMOj2GvI1LDmRFYb1p+yMBUKCSQBqUsIU7VIoHoFAl7YWR6Kiy6Z4W0YqTi98Y Fq4WEApq3q2at2ZTIwYSMPVlT8klhV4KkpW1Z0d3mzOKBl0OYZ/gxGDGr8p/n1vRClEy o2oIGGts/PvDdGwx9f93YulgGLtS2vhZutI+fD5EjYpyZd3WnIRnvt1weuartSkZFAAX QKAw== X-Received: by 10.194.104.66 with SMTP id gc2mr199065wjb.75.1385470327431; Tue, 26 Nov 2013 04:52:07 -0800 (PST) Original-Received: by 10.194.44.6 with HTTP; Tue, 26 Nov 2013 04:52:07 -0800 (PST) In-Reply-To: <52947db5$0$2242$426a34cc@news.free.fr> X-Google-Sender-Auth: tAuHyeFph0BZpdvlTQX7AFdaPWo X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::235 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94650 Archived-At: On Tue, Nov 26, 2013 at 11:53 AM, Damien Wyart wrote: >> Does setting comment-end to "\n*/" for C/C++ mode answers the question ? > > You can also have a look at doxymacs, which defines additional > comment-related commands you might find useful (even if you do not use > Doxygen at all). Currently I've doxymacs installed, but the doxymacs-insert-blank-multiline-comment is not strictly what I want because: 1) it adds and extra line and an extra '*' in the beginning of the comment (to mark it doxygen-like) 2) it requires me to use another key binding when M-; works for both insert a new comment and comment out a region. Thanks, Luca