npostavs@HIDDEN
to control <at> debbugs.gnu.org
.
Full text available.npostavs@HIDDEN
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 5320) by debbugs.gnu.org; 6 Jul 2016 23:47:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 06 19:47:00 2016 Received: from localhost ([127.0.0.1]:39998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1bKwWx-0002Cd-Se for submit <at> debbugs.gnu.org; Wed, 06 Jul 2016 19:47:00 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:36058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1bKwWw-0002CL-10; Wed, 06 Jul 2016 19:46:58 -0400 Received: by mail-it0-f48.google.com with SMTP id g4so79144112ith.1; Wed, 06 Jul 2016 16:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=oYeegEDflduiClNHvqFeeDHxhVF5kNTIg9RbkhESJcU=; b=bCrSznJIzhvBxfjy680LInHLS1RZls+kWmwk3ZmVGygm8QDMmbVLJuoUmUgGumFRcr 3qF9LK9Yza7+kN3vzegZ/I8caLHSjsqd5PHWBdsJrwijapG8K73x6oQAhiBzhFGVDsIw Pc0J8HHpwuWpbvHMVWDxSLPQze4WMb69slMuF0dFu53vy6Xnq+uM4REMucFQsYO57py/ sWt4u4Q8uuATQOoUrQrkFNRTGkk+xbj91IzUc6nR18QRwgOFNmaxDchWEmQP+4VTs4ZE P/KIG7foB9B95MXGrLv83lDchuw9HDb9dRhI7Vvdt+faicpjxkFmIzAY0+Cii1myLBQH lyRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=oYeegEDflduiClNHvqFeeDHxhVF5kNTIg9RbkhESJcU=; b=gy9CWK87bQ6D4BdiZvdTuC5vypJgPvoFLAOXi5YF8PqhL+rvfBP4cBZdKzy+Egd8tO Xiwk08i9GzkryJL5PR/e9XU/FcU52yP1EcFxR06SBeN/GSyzfwWpjuoZtaPOdFh3+C2O ARjwdXu8h0/qKrUshfKkhkn/OKwLtWSg4mN4xSFBrsmr/0GmpHxmpZMDfJkUE4teu5Zl AsbOqyuGI7ySxaU1SLT33k6gexNHb8BhqAJLO1H7242Kd1TFLIQycpMnRUioCOLXYC1f h0MPPoff4KL5RFfG1Q6az1rccFgtHu/6eHGghme2a4lTzzTBHNU1YMVlQxOgIAJlZF+x 3XAg== X-Gm-Message-State: ALyK8tLwj8EQ790tbwxVuIUP9/mUzL/ylBLcTycKyeDq3FVKqo6DgnLDSaDoW4gfU9TTcw== X-Received: by 10.36.74.137 with SMTP id k131mr22347142itb.85.1467848812530; Wed, 06 Jul 2016 16:46:52 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id j134sm1661853ioe.38.2016.07.06.16.46.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jul 2016 16:46:51 -0700 (PDT) From: npostavs@HIDDEN To: harven <harven@HIDDEN> Subject: Re: bug#5320: yank-pop does not work in table mode References: <m2iqbgtqqm.fsf@HIDDEN> Date: Wed, 06 Jul 2016 19:47:00 -0400 In-Reply-To: <m2iqbgtqqm.fsf@HIDDEN> (harven@HIDDEN's message of "Tue, 05 Jan 2010 18:18:25 +0100") Message-ID: <87mvlucosr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5320 Cc: 5320 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) found 5320 25.0.95 tags 5320 confirmed quit Problem seems to be that the mark ends up in the table cache buffer instead of the main one. Adding yank-pop as one of the specially handles sort of helps a bit, but even with that it's still broken: yank-pop doesn't throw error, but previously yanked text is not removed. I think correct solution would involve using after-change-functions rather trying to wrap each command individually. diff --git i/lisp/textmodes/table.el w/lisp/textmodes/table.el index 653db83..2e4dd6d 100644 --- i/lisp/textmodes/table.el +++ w/lisp/textmodes/table.el @@ -1395,5 +1395,5 @@ (dolist (command ;; Pasting Group (dolist (command - '(yank + '(yank yank-pop ; <-- this doesn't quite work clipboard-yank yank-clipboard-selection
bug-gnu-emacs@HIDDEN
:bug#5320
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 5 Jan 2010 19:52:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 05 14:52:40 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1NSFS7-0006gk-Tc for submit <at> debbugs.gnu.org; Tue, 05 Jan 2010 14:52:40 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <yves.coudene@HIDDEN>) id 1NSD3P-0005cD-3I for submit <at> debbugs.gnu.org; Tue, 05 Jan 2010 12:18:59 -0500 Received: from mx10.gnu.org ([199.232.76.166]:38520) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from <yves.coudene@HIDDEN>) id 1NSD3K-0006aU-LP for submit <at> debbugs.gnu.org; Tue, 05 Jan 2010 12:18:42 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from <yves.coudene@HIDDEN>) id 1NSD3I-00023G-Sd for submit <at> debbugs.gnu.org; Tue, 05 Jan 2010 12:18:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:56662) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <yves.coudene@HIDDEN>) id 1NSD3I-00022f-Kq for submit <at> debbugs.gnu.org; Tue, 05 Jan 2010 12:18:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSD3I-0006Zv-28 for bug-gnu-emacs@HIDDEN; Tue, 05 Jan 2010 12:18:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSD3D-0006Tu-2r for bug-gnu-emacs@HIDDEN; Tue, 05 Jan 2010 12:18:39 -0500 Received: from [199.232.76.173] (port=35552 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSD3C-0006TS-Lz for bug-gnu-emacs@HIDDEN; Tue, 05 Jan 2010 12:18:34 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:55447) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <yves.coudene@HIDDEN>) id 1NSD3B-0001xB-S9 for bug-gnu-emacs@HIDDEN; Tue, 05 Jan 2010 12:18:34 -0500 Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 8A00D4C819F for <bug-gnu-emacs@HIDDEN>; Tue, 5 Jan 2010 18:18:27 +0100 (CET) Received: from wapiti.local (unknown [78.233.232.132]) by smtp4-g21.free.fr (Postfix) with ESMTP id 6930A4C8242 for <bug-gnu-emacs@HIDDEN>; Tue, 5 Jan 2010 18:18:25 +0100 (CET) To: bug-gnu-emacs@HIDDEN Subject: yank-pop does not work in table mode From: harven <harven@HIDDEN> Date: Tue, 05 Jan 2010 18:18:25 +0100 Message-ID: <m2iqbgtqqm.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 05 Jan 2010 14:52:22 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.6 (------) Yank-pop does not work when the cursor is in a cell of a table created with table mode. Starting with emacs -Q, create a table (default 3x3) M-x table-insert RET RET RET RET RET Then put the cursor in some cell, write a word, kill it, write another word, kill it again. word1 M-b C-k word2 M-b C-k Then try to yank-pop to retrieve the first word C-y M-y I get in the minibuffer Wrong type argument: number-or-marker-p, nil yank-pop works if the cursor is not in a cell. If I come back in a cell after yanking outside the table, and try to yank-pop in the cell, no error is reported but the table is messed up, all cells after the cursor are destroyed. In GNU Emacs 22.1.1 (i386-apple-darwin8.10.1, X toolkit) Also tested in GNU Emacs 23.1 under Debian gnu/linux.
harven <harven@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#5320
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.