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: c-auto-newline question Date: Thu, 10 Jan 2013 09:42:00 +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 1357807336 20689 80.91.229.3 (10 Jan 2013 08:42:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2013 08:42:16 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 10 09:42:31 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 1TtDiY-0001Hz-5o for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2013 09:42:30 +0100 Original-Received: from localhost ([::1]:51048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtDiI-000490-CC for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2013 03:42:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtDi8-00048v-7G for help-gnu-emacs@gnu.org; Thu, 10 Jan 2013 03:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtDi6-00062P-Pl for help-gnu-emacs@gnu.org; Thu, 10 Jan 2013 03:42:03 -0500 Original-Received: from mail-we0-f174.google.com ([74.125.82.174]:44635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtDi5-00062I-SN for help-gnu-emacs@gnu.org; Thu, 10 Jan 2013 03:42:02 -0500 Original-Received: by mail-we0-f174.google.com with SMTP id x10so121716wey.5 for ; Thu, 10 Jan 2013 00:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=B8gfWmSQ3HBfRx9UY7YJf7dK/EFn4t5ZWzYOgtvpBw8=; b=MlOqHxyPQdwvfis5MrlsVk0XgEtZ9LMAVqxsaC0VIrWHHxbxeom/P2UD/pcT5iAmt7 15cYIqOb4RMFAwJ6LdzaqHucPbwBqgrEX21awaSol/fWIecQYpDaIaMXPICcgrpREc6x JWt3cBw+7wP2STRTtqUpPj0UGtgGcxnclZcsiEAghEEwrATLCwxFkg2N19MfjUHfKbJo uJTXAbWDyZJ6UQWglbE+jEeNKscpSJU/0mxkNGE8ZpiiO8UyVRdWrxEAD7VW6XFHZ1Mq Rb/6D8/yCHGEaVbTBsj5YJyd+gA0ExsrFlhHRVWPyW1IMWeHR8WVdcMt1KTfNVsq2L5V 4Yfw== Original-Received: by 10.194.78.207 with SMTP id d15mr112867599wjx.52.1357807320575; Thu, 10 Jan 2013 00:42:00 -0800 (PST) Original-Received: by 10.194.30.103 with HTTP; Thu, 10 Jan 2013 00:42:00 -0800 (PST) X-Google-Sender-Auth: 8gQWnZNHOpbG6gBNHF0rzjdrp20 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.174 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:88546 Archived-At: Hi all, I've configured c-auto-newline for my code editing, and it is great but I'd like to have the newline added when ";" is typed only if the following line is empty or not-existent yet. In other words, if I'm editing a line in the middle of the code, I don't want ";" to add an empty line if the following contains other code. Is this possible? Thanks, Luca