From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jacob Gerlach Newsgroups: gmane.emacs.help Subject: Re: yank without indentation? Date: Thu, 5 Jun 2014 15:25:05 -0400 Message-ID: References: <87oay7v179.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1401996992 26261 80.91.229.3 (5 Jun 2014 19:36:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 19:36:32 +0000 (UTC) Cc: help-gnu-emacs To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 05 21:36:25 2014 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 1WsdHr-0004kc-6p for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 21:25:19 +0200 Original-Received: from localhost ([::1]:43420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsdHq-0002Q4-MR for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 15:25:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsdHg-0002Lg-6N for help-gnu-emacs@gnu.org; Thu, 05 Jun 2014 15:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsdHe-00040o-LB for help-gnu-emacs@gnu.org; Thu, 05 Jun 2014 15:25:08 -0400 Original-Received: from mail-qa0-x236.google.com ([2607:f8b0:400d:c00::236]:58976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsdHe-0003yO-G9 for help-gnu-emacs@gnu.org; Thu, 05 Jun 2014 15:25:06 -0400 Original-Received: by mail-qa0-f54.google.com with SMTP id j15so2091504qaq.27 for ; Thu, 05 Jun 2014 12:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KZQvPrlAyAU6FyZfbzhAc11w63fvcB1Cml7AoJhl41g=; b=pKDyvRybqyuYmKFYRI6vSQHuDc/+8y0XMEKM18Pibqqi61y3y+w4hV6g1z+8S6Miqb czY/peThvPN2V/ZHcImSsHVDuIH21fn7j/kJ2lYeU21kA6L3c5Ogsq8pqwFEXTxxc0f3 DHnGE/YZCGpLwDmmAl0JVzsBrWixXNkJ9LUxgAdxF2rUIA862p10S3kJ0jdT7XRSRXSh 5zy/fCUuAuDOx/EdJ5PYLfkAeq5TQ4h0hCDKQS7fARc0U4ELnSKx55U5i2dZR7njwole RyN4ExMvjsfiidbDe6msACxcCkZCwJMLWX5fOKwvG2F0WWoMh+s9etY69j4NOeuiWaMK XxGA== X-Received: by 10.224.135.132 with SMTP id n4mr90587951qat.23.1401996305841; Thu, 05 Jun 2014 12:25:05 -0700 (PDT) Original-Received: by 10.229.239.6 with HTTP; Thu, 5 Jun 2014 12:25:05 -0700 (PDT) In-Reply-To: <87oay7v179.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:98029 Archived-At: I run in to this problem sometimes when yanking a piece of code with certain indentation into a new place where it should have different (more or less) indentation. My solution is: C-y C-x C-x (exchange-point-and-mark) to re-highlight the yanked text to properly indent it for the new contexxt On Thu, Jun 5, 2014 at 11:13 AM, Eric Abrahamsen wrote: > Has anyone come up with a yank-without-indentation routine? Why am I > always killing multi-line text with enormous left-hand whitespace, and > wanting to yank it without that whitespace in place? Has anyone dealt > with this? > > E > > >