[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5320: yank-pop does not work in table mode
From: |
npostavs |
Subject: |
bug#5320: yank-pop does not work in table mode |
Date: |
Wed, 06 Jul 2016 19:47:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) |
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 in Thread] |
Current Thread |
[Next in Thread] |
- bug#5320: yank-pop does not work in table mode,
npostavs <=