From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#6941: 24.0.50; yank doesn't return latest kill Date: Tue, 31 Aug 2010 12:12:13 -0400 Message-ID: <87vd6qrcbm.fsf@stupidchicken.com> References: <4C7AB779.8050709@easy-emacs.de> <4C7BB432.2010004@swipnet.se> <4C7BD7CE.10800@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283272799 26273 80.91.229.12 (31 Aug 2010 16:39:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 16:39:59 +0000 (UTC) Cc: 6941@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 31 18:39:56 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqTsE-0004ev-Nd for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Aug 2010 18:39:51 +0200 Original-Received: from localhost ([127.0.0.1]:33275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqTsE-0007q0-6k for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Aug 2010 12:39:50 -0400 Original-Received: from [140.186.70.92] (port=47980 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqTs8-0007pl-Be for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2010 12:39:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqTs6-0001yf-Ev for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2010 12:39:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35571) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqTs6-0001yY-9X for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2010 12:39:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OqTQM-00009K-1f; Tue, 31 Aug 2010 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Aug 2010 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6941 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6941-submit@debbugs.gnu.org id=B6941.1283271039565 (code B ref 6941); Tue, 31 Aug 2010 16:11:02 +0000 Original-Received: (at 6941) by debbugs.gnu.org; 31 Aug 2010 16:10:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqTPx-000094-LG for submit@debbugs.gnu.org; Tue, 31 Aug 2010 12:10:38 -0400 Original-Received: from pantheon-po45.its.yale.edu ([130.132.50.79]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqTPv-00008x-QP for 6941@debbugs.gnu.org; Tue, 31 Aug 2010 12:10:36 -0400 Original-Received: from furry (dhcp128036014154.central.yale.edu [128.36.14.154]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7VGCDND031318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 Aug 2010 12:12:13 -0400 Original-Received: by furry (Postfix, from userid 1000) id C33E916D402; Tue, 31 Aug 2010 12:12:13 -0400 (EDT) In-Reply-To: <4C7BD7CE.10800@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Mon, 30 Aug 2010 18:09:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 31 Aug 2010 12:11:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39861 Archived-At: Andreas R=C3=B6hler writes: > I'm coming upon from functions which exchange-point-and-mark in order > to get the string found displayed. Seems it's the setting of the mark, > which triggers the bug. > > If the last line is changed into > > (kill-new (buffer-substring-no-properties 200 203)) asdf > > evaluating it before "asdf", push-mark, down one or more line, region > is active, yank, "asdf" is inserted. Your description is still too vague. Please provide a step by step recipe; don't describe what you did ("evaluating", "push-mark", etc.), but what you typed. For instance, here is what I did: 1. emacs -Q 2. Type the following: (kill-new (buffer-substring-no-properties 193 197)) 3. C-x C-e =3D> "kill" appears in the echo area 4. M-< 5. C-SPC 6. C-n 7. C-y =3D> The word "kill" is yanked into the buffer. I don't see any bug here.