* emacs Kill/Wipeout/Yank bug
@ 2006-05-15 12:49 Csaba Gabor
2006-05-22 2:39 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Csaba Gabor @ 2006-05-15 12:49 UTC (permalink / raw)
1. Set a mark with ^space or ^(+shift)+@
2. Now move down (^u ^n)
3. Now kill a few lines (^u 2 ^k)
4. Now kill backwards to mark (^w)
5. Now yank (^y)
Bug: The lines killed with ^k have swapped position with
(and now appear before) the lines killed with ^w
I expect them to appear in their original document order.
Tested in Emacs version 21.3.1
Csaba Gabor from Vienna
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: emacs Kill/Wipeout/Yank bug
2006-05-15 12:49 emacs Kill/Wipeout/Yank bug Csaba Gabor
@ 2006-05-22 2:39 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-05-22 2:39 UTC (permalink / raw)
Cc: bug-gnu-emacs
I fixed this in the development sources. Thanks.
*** simple.el 12 May 2006 17:39:59 -0000 1.802
--- simple.el 21 May 2006 22:56:27 -0000 1.804
***************
*** 2549,2555 ****
In Lisp code, optional third arg YANK-HANDLER, if non-nil,
specifies the yank-handler text property to be set on the killed
text. See `insert-for-yank'."
! (interactive "r")
(condition-case nil
(let ((string (filter-buffer-substring beg end t)))
(when string ;STRING is nil if BEG = END
--- 2549,2557 ----
In Lisp code, optional third arg YANK-HANDLER, if non-nil,
specifies the yank-handler text property to be set on the killed
text. See `insert-for-yank'."
! ;; Pass point first, then mark, because the order matters
! ;; when calling kill-append.
! (interactive (list (point) (mark)))
(condition-case nil
(let ((string (filter-buffer-substring beg end t)))
(when string ;STRING is nil if BEG = END
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-22 2:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-15 12:49 emacs Kill/Wipeout/Yank bug Csaba Gabor
2006-05-22 2:39 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).