From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: add an empty line at the begin of a rectangle Date: Sun, 10 Dec 2017 18:36:36 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512931038 23667 195.159.176.226 (10 Dec 2017 18:37:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 10 Dec 2017 18:37:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rainer Stengele Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 10 19:37:13 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO6TR-0005z2-5o for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Dec 2017 19:37:13 +0100 Original-Received: from localhost ([::1]:46279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO6TY-0003uM-Gu for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Dec 2017 13:37:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO6T3-0003u3-VY for help-gnu-emacs@gnu.org; Sun, 10 Dec 2017 13:36:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO6T2-0001bm-ST for help-gnu-emacs@gnu.org; Sun, 10 Dec 2017 13:36:49 -0500 Original-Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]:42399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO6T2-0001bK-Nx for help-gnu-emacs@gnu.org; Sun, 10 Dec 2017 13:36:48 -0500 Original-Received: by mail-qt0-x22b.google.com with SMTP id g9so32884645qth.9 for ; Sun, 10 Dec 2017 10:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1nB4A+TJVnJ0emXqbCn4y+kMkH68bzzORcdjSXJ8a28=; b=pPn29kTjX5uZrDVpcIRpHf0OrVfg891kuVW6jRBKcpTSSW86+hnRBSbk93KbOlDfWW uJM4erAfX7o+NDcVCqCOn35ufCUdNDgIV3QLBQqr1NXEX37KqDZOU13ERY0oqc5ZeEgT P/9g+Np0yqw9P05vS5WxWEPq6cJjjpdA4rKIYdPpsf7e6QyX6GRcQjwyAfqlLyrVLio9 H3CaHQsV2RiuAXDDGhD1/Kq4hece2AzTg5iY/jYHJ8CEMztq7WqamBZUid93KMmQImXe mKwdPNp7ckn+3OKOnhY6rOeWFC2SKnk3pWOSpRldk9BiCC1LUnRX25f2cXY8FKQ+RGRm 1MJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1nB4A+TJVnJ0emXqbCn4y+kMkH68bzzORcdjSXJ8a28=; b=cVWVvg7UU4CkLMMfn1W4H1ykj166YQOIzZcqxOPudVnN2LucB9mddghsZGsjbG34Y7 64J5uMDaZXnNO1kG4SfD35WO07sO7q3TnJVH91QeugkgcIHnvtDFKy0ZURkDOaRdc0Zt gigrHYqqv3VPwBrYMWZ8etU746Zkpao3act+gsv6Kf1vW0XG9ydEe2NxXNJjNx2J9PRL keV2ZV7tyRV5bEtzZcLj8GUdGV1InAvt3RLiL1mDaM2JRO///K5BdOg3S7tBSCZLwmI2 IY/1gjPRZGwKELwqYC//rpVsi+BYwciIVOw3zGq25zt7KiHTnFogwFr5IYF1sJOwsuCD GtgQ== X-Gm-Message-State: AJaThX63zkx0wwd/lCu0w3hovUlVuW0knpA8nrhYO+LxnVVrz6BEuCUZ xGbflnjTPh1rpYcaidatQXNj14T0e4apd8nRvXE= X-Google-Smtp-Source: AGs4zMaHcO+mQFXZEvxyIkdcjof+MZpDW0wSJfx4Ah12GGm9L5UqlKsxiZWpKflDeU9Nayuem0Y+cRa6rtwJSsIiUP8= X-Received: by 10.13.241.69 with SMTP id a66mr24751133ywf.427.1512931007900; Sun, 10 Dec 2017 10:36:47 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:115330 Archived-At: On Sun, Dec 10, 2017 at 1:00 PM Rainer Stengele wrote: > Hi, > > I believe a simple question but I cannot find a solution: > > I want to add an empty line at the begin of a rectangle and thus shift the > while rest of only that column in the buffer down by 1 row. > Example: > > Having: > > AAAA 0000 > BBBB 1111 > CCCC 2222 > 3333 > > I want to get: > > 0000 > AAAA 1111 > BBBB 2222 > CCCC 3333 > I believe you simply 1. Select the rectangle: AAAA BBBB CCCC 2. Cut the rectangle: C-x r k 3. Move point to the starting of the line containing "1111". 4. Paste the rectangle back: C-x r y -- Kaushal Modi