From: npostavs@users.sourceforge.net
To: harven <harven@free.fr>
Cc: 5320@debbugs.gnu.org
Subject: bug#5320: yank-pop does not work in table mode
Date: Wed, 06 Jul 2016 19:47:00 -0400 [thread overview]
Message-ID: <87mvlucosr.fsf@users.sourceforge.net> (raw)
In-Reply-To: <m2iqbgtqqm.fsf@univ-brest.fr> (harven@free.fr's message of "Tue, 05 Jan 2010 18:18:25 +0100")
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
prev parent reply other threads:[~2016-07-06 23:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 17:18 bug#5320: yank-pop does not work in table mode harven
2016-07-06 23:47 ` npostavs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvlucosr.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=5320@debbugs.gnu.org \
--cc=harven@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.