From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Transposing words over middle words Date: Sat, 18 Nov 2017 18:34:57 -0800 Message-ID: References: <20171115155650067497545@bob.proulx.com> <86375fytqn.fsf@zoho.com> <86h8tr2xes.fsf@zoho.com> <1ef14395-df19-9b47-b952-1328368ce689@mousecar.com> <86vai710a5.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1511058954 19503 195.159.176.226 (19 Nov 2017 02:35:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2017 02:35:54 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 03:35:50 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 1eGFSV-0004QJ-Mh for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 03:35:47 +0100 Original-Received: from localhost ([::1]:51714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGFSY-0004ui-GV for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Nov 2017 21:35:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGFS4-0004ua-UH for help-gnu-emacs@gnu.org; Sat, 18 Nov 2017 21:35:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGFS3-0000is-Jb for help-gnu-emacs@gnu.org; Sat, 18 Nov 2017 21:35:20 -0500 Original-Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:33012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGFS3-0000ia-Ei for help-gnu-emacs@gnu.org; Sat, 18 Nov 2017 21:35:19 -0500 Original-Received: by mail-qk0-x22c.google.com with SMTP id 78so3788641qkz.0 for ; Sat, 18 Nov 2017 18:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=vHNuXuI1tI0uP7pEtgF/A3o/wTJCxGJivIdQZvTOi8Y=; b=bfBRvq4M9aKgZo2fzWyyJo/7ZuqIyeuc+p0KiOaRKKHVKyh5DKMCTAQ9YAyllsZN0N wM1UGUlD9VEuQsgOSld+hxXZbJ001bQyklwi4Y3qKQFl4wCxjUhgthhFgRIW0/9d61RC WFVr83Pd2XOvC34IAxcF8v/eVsJjxusEzjDRn665Th2E88oPvmgqOfA9BfZb+gHwfmGI wSJDNeMJRU9y2QG+FDHltBSQyr37a4YFXTfxhr3kFT/gDFFAbIS1BAZZ205WZMTrJ6gM 80PmPU029wTZlSzM/WhB3a3dNb9PLwIAeE2dTC5TpmUPw15oBo94FvTrMC2yYfA5ycDV PvLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=vHNuXuI1tI0uP7pEtgF/A3o/wTJCxGJivIdQZvTOi8Y=; b=gLXL4csxRtEflDcwwuEvCJrXHizMCPEKEDAqHKdmX8q0+bZNNxtKpqYZX7arxh3n3b t7tLzypu7gLDiKLps0rMLP7tMvsH6RNp3hIKJz7p7WtsKHtr/tt5FIkvjABHsMTJesuY 29SoIaUCWqdzWaX9Ybt3VIDhnImf/rq4cOuRbSMW5CVysntRGe+8XF1gRmrynYTPqVkP KXNwLlnnIaB6MioDDLZGpwwQE5dmxNjAg+CzHaS05fnUCOKXhq+0ppJpnVTr71RIsvk3 jZcwhCFqJhah6T49TozG0JmD4Fi6eF0UVpDg6HXiScMCb/us+dGh6roQAxSm+L09U+Mz LKqw== X-Gm-Message-State: AJaThX7+Y/wOgQnocQbhMpemfw1B2PlloTlJ/NsMAfsa6tW+j/zL0hOm YDPphvmYYxoDOSQpGcyQ4pkmjB1y63GrBITl3zPCiy18 X-Google-Smtp-Source: AGs4zMYYQx5TzmCvB48ZNKorQmMX5xdxAzGZEPMFPcZzX7SYx8yu0mfddM8h7bmBfCshb/GGkaYYfNrMpgcmudQjGso= X-Received: by 10.55.48.199 with SMTP id w190mr46685qkw.87.1511058918271; Sat, 18 Nov 2017 18:35:18 -0800 (PST) Original-Received: by 10.200.15.80 with HTTP; Sat, 18 Nov 2017 18:34:57 -0800 (PST) In-Reply-To: <86vai710a5.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22c 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:114968 Archived-At: Emanuel Berg wrote: > ken wrote: > >> That's great. Thanks. It's quite nice that >> the point remains in place. Is there perhaps >> a way to return the mark to where it was >> prior to invoking "M-a" so that it, too, >> remains in place? > > I'm not aware of any "save-mark-excursion" as > in `save-excursion' or `save-restriction', but > what about simply `pop-mark' last thing? There is `save-mark-and-excursion', if that helps. John