From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#6941: 24.0.50; yank doesn't return latest kill Date: Tue, 31 Aug 2010 18:39:17 +0200 Message-ID: <4C7D3035.2070206@easy-emacs.de> References: <4C7AB779.8050709@easy-emacs.de> <4C7BB432.2010004@swipnet.se> <4C7BD7CE.10800@easy-emacs.de> <87vd6qrcbm.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1283274613 2417 80.91.229.12 (31 Aug 2010 17:10:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 17:10:13 +0000 (UTC) Cc: 6941@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 31 19:10:10 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 1OqULV-0000lP-Jn for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Aug 2010 19:10:05 +0200 Original-Received: from localhost ([127.0.0.1]:47505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqULU-0003ST-Pi for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Aug 2010 13:10:04 -0400 Original-Received: from [140.186.70.92] (port=58960 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqULE-0003N3-2u for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2010 13:09:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqUL8-0007ba-JY for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2010 13:09:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38738) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqUL8-0007bV-Hn for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2010 13:09:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OqTrR-0000Ld-Ob; Tue, 31 Aug 2010 12:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= 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:39:01 +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.12832726971328 (code B ref 6941); Tue, 31 Aug 2010 16:39:01 +0000 Original-Received: (at 6941) by debbugs.gnu.org; 31 Aug 2010 16:38:17 +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 1OqTqj-0000LN-1g for submit@debbugs.gnu.org; Tue, 31 Aug 2010 12:38:17 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqTqf-0000LG-Tr for 6941@debbugs.gnu.org; Tue, 31 Aug 2010 12:38:15 -0400 Original-Received: from [192.168.178.27] (brln-4dbc45d5.pool.mediaWays.net [77.188.69.213]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MdXMC-1ORFLr12xI-00PXTl; Tue, 31 Aug 2010 18:39:47 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 In-Reply-To: <87vd6qrcbm.fsf@stupidchicken.com> X-Provags-ID: V02:K0:sxO+VOtztg5WMPGTpVk5y013ygYeCIvdoUGKYxQi/MB Mjmll0due9kus8QHNCJA9XbL4+PASPuYkCJNzp5DnY6E+o6KlF aCUxuNrB7xbLOK8RzyUet1EH5+0j3UhvJ19LsvXxKmoNLWsY6o u9YQqgxLJltEevoiXsEO3SQ06I/9thkVk1EmwmFlW9Okauu7nU QLIGzl1XMpbOMlUVNuAW3PDAvZbR/u4YYIG3e8xGC0= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 31 Aug 2010 12:39:01 -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:39863 Archived-At: Am 31.08.2010 18:12, schrieb Chong Yidong: > Andreas Röhler 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 > > => "kill" appears in the echo area > > 4. M-< > 5. C-SPC > 6. C-n > 7. C-y > > => The word "kill" is yanked into the buffer. > > I don't see any bug here. > Unfortunatly it behaves different here. Get twofold ;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; This buffer is for notes you don't want to save, and for Lisp evaluation. instead, which is logically, as C-n after C-SPC activated the region. Just as a default it's a bug.... BTW I run it from an uninstalled Emacs from the directory where it's built with bootstrap. Andreas