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: M-; and M-j and c-comment alignment Date: Tue, 26 Nov 2013 10:24:37 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1385457906 20604 80.91.229.3 (26 Nov 2013 09:25:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 09:25:06 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 10:25:12 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 1VlEtM-00028d-0v for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 10:25:12 +0100 Original-Received: from localhost ([::1]:57411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlEtL-0005Nw-Gt for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 04:25:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlEsu-0004gJ-Ae for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 04:24:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlEss-0000XG-Q0 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 04:24:44 -0500 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:57185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlEss-0000Wc-Jh for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 04:24:42 -0500 Original-Received: by mail-wi0-f169.google.com with SMTP id hm6so5536604wib.4 for ; Tue, 26 Nov 2013 01:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=+XOI0Wdesa9xSeM1N5qvXtKciJwUTKpUZmSRW5TF82c=; b=bqXYG8k30bXad6Uf32zZpomZNMq9YDcTykcF18HhPEgW22tY0Y+RBgorM9O1djNgsY yJgmVhJooRnMRREBqGg1ISDa1DIwBxB8BcfbfjWq+ydLexKnagjp5NPJNTid4YFAAToL +MWFzm8nv9gXEMnbBjXrvK4xkTypVSFnloS796ZaPNsViYC7+8WAEh1W1ekgdThlz1Xd 6HQRmTDnyn8NRpwEjWgdA5l/fChgTSmalEYmuPVRBSOSuSk3JfL0enWECP5jLZhe9jiq Atqq/yICOdc649iluzzUnAe0OkPmbpkvkbEQVYaH/VyFvCpCAEkeYKAi+LoKTxG0SOY5 9e0w== X-Received: by 10.194.237.226 with SMTP id vf2mr5034357wjc.58.1385457877493; Tue, 26 Nov 2013 01:24:37 -0800 (PST) Original-Received: by 10.194.44.6 with HTTP; Tue, 26 Nov 2013 01:24:37 -0800 (PST) X-Google-Sender-Auth: eTuZRp2i75Cprm6s3CC3Mc7r0H0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 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:94645 Archived-At: Hi, I would like my comments to be multi-line as follows: /* * */ and so a comment decorated with an empty top and bottom line. When I press M-; emacs correctly opens the comment, and if then I hit M-j emacs goes down one line and places the '*' for the new line, but this makes the end of the comment on the last line: /* * */ and so I have to manually C-j and indent the last line. Is there a way to automatically open an aligned comment as the one I would like to have? Thanks, Luca