GNU bug report logs -
#5320
yank-pop does not work in table mode
Previous Next
Full log
Message #12 received at control <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 8 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.