From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mgx0018 Newsgroups: gmane.emacs.help Subject: How can replace some word with a real new line in Emacs? Date: Wed, 18 Mar 2009 23:58:11 +0800 (CST) Message-ID: <13330772.176961237391891308.JavaMail.coremail@yeahapp9.yeah.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_46922_6830668.1237391891307" X-Trace: ger.gmane.org 1237440780 22367 80.91.229.12 (19 Mar 2009 05:33:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 05:33:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 06:34:16 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkAtQ-0007cr-Ql for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 06:34:13 +0100 Original-Received: from localhost ([127.0.0.1]:33705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkAs4-0002Vm-9f for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 01:32:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjydM-00024a-Fx for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 12:28:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjydJ-000230-Av for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 12:28:48 -0400 Original-Received: from [199.232.76.173] (port=53882 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjydJ-00022u-14 for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 12:28:45 -0400 Original-Received: from m85-58.yeah.net ([60.191.85.58]:43138) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LjydE-0000UQ-Ml for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 12:28:44 -0400 Original-Received: from mgx0018 ( [125.34.205.99] ) by ajax-webmail-app9 (Coremail) ; Wed, 18 Mar 2009 23:58:11 +0800 (CST) X-Originating-IP: [125.34.205.99] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT_Ux_snapshot build 090220(6716.2201.2159) Copyright (c) 2002-2009 www.mailtech.cn yeah X-CM-TRANSID: OlUQrKArdAoTGsFJs+_PAA--.10094W X-CM-SenderInfo: hpj0iiyry65vtdko0vbw/1tbiBR4mAkhSC6lVYQADsw X-Coremail-Antispam: 1U50xBIdaVrnW8YjxAI6xCIbckI1I0E57IF64kEYxAxMc804V CqF7xvr2I5M4IEnf9ElVAFpTB2q-sK649IAas0WaI_GwCS07vEb7Iv0xC_Jr1lV2xY67kC 6x804xWlV2xY67C26xCjj4IEw4AK0wCS07vE1I0EscIYIxCEI4klw4CSwwCS07vE5I8CrV ACY4xI64kE6c02F40Ex7xfMIAIbVAv7VCjz48v1sIEY20_JwCS07vE4x8a6x804xWlV2xY 6I8E67AF67kF1VAFwI0_Jr0_JrDvcSsGvfC2KfnxnUU== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Greylist: delayed 1817 seconds by postgrey-1.27 at monty-python; Wed, 18 Mar 2009 12:28:36 EDT X-Mailman-Approved-At: Thu, 19 Mar 2009 01:32:15 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63066 Archived-At: ------=_Part_46922_6830668.1237391891307 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Hello, In Emacs, What command can replace some word or symbol with a real newline. For example, I have a text file like this: int a;int b;intc; After I exec the command that replae the ";" with ";" and new line, the text will like this: int a; int b; int c; What command can do this? Thanks very much!! ------=_Part_46922_6830668.1237391891307 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: 7bit
Hello,
        In Emacs, What command can replace some word or symbol with a real newline.
For example, I have a text file like this:

int a;int b;intc;

After I exec the command that replae the ";" with ";" and new line, the text will like this:

int a;
int b;
int c;

      What command can do this? Thanks very much!!
------=_Part_46922_6830668.1237391891307--