From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: `yank-and-mark` command? Date: Tue, 07 Jul 2015 13:29:01 +0200 Message-ID: <87twtgciki.fsf@members.fsf.org> References: <55997125.7020703@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1436268577 31961 80.91.229.3 (7 Jul 2015 11:29:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2015 11:29:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 13:29:25 2015 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 1ZCR3z-0001Lm-SJ for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2015 13:29:24 +0200 Original-Received: from localhost ([::1]:56629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCR3y-0005wa-9w for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2015 07:29:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCR3m-0005wI-Ac for help-gnu-emacs@gnu.org; Tue, 07 Jul 2015 07:29:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCR3f-0008Lc-Th for help-gnu-emacs@gnu.org; Tue, 07 Jul 2015 07:29:10 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:46386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCR3f-0008LA-NV for help-gnu-emacs@gnu.org; Tue, 07 Jul 2015 07:29:03 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQEAO22m1WkD4Xx/2dsb2JhbABchEaCUqhmBpobAoIeAQEBAQEBgQuEJAEBAwF5EAgDISUPAQRJE4gmCMpOAQsBH4YdhS6FBgeEKwEElBiUGJAqJoN9PDGCSwEBAQ Original-Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 Jul 2015 13:29:01 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 06 Jul 2015 12:06:21 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 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:105498 Archived-At: Stefan Monnier writes: >> Yet if I remove `exchange-point-and-mark', the command does not >> work any longer. > > Oh, I thought you called it with the region activated. If not, then > indeed you still need to explicitly activate the region (which is > better done with `activate-region' than with `exchange-point-and-mark' > when called from Lisp). By the way, is there a reason `activate-mark' isn't interactive ? Sometimes I want to see where the mark is, and hitting C-x C-x C-x C-x is a bit too much... -- Nico