all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: *vc-diff* buffers are read-only, but M-k works
@ 2009-03-04 15:41 Chong Yidong
  2009-03-04 15:54 ` bug#2553: " Juanma Barranquero
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Chong Yidong @ 2009-03-04 15:41 UTC (permalink / raw)
  To: emacs-devel; +Cc: David Reitter, 2553

David Reitter <david.reitter@gmail.com> wrote:

> M-k works just fine in read-only *vc-diff* buffers.
>
> However, undoing an M-k command is impossible, as is cutting, pasting,  
> or all the other things that I did all the time in *vc-diff* buffers  
> in Emacs 22.
>
> The M-k thing is a bug, the read-only (default?) setting is annoying.

The purpose of making the vc-diff buffer read-only (2007-11-10 change to
vc.el) was so that people can use the read-only diff-mode bindings like
"k" and "p".  However, it's counter-intuitive that undo does not work.
Probably the easiest fix is to define a diff-undo command that lifts the
read-only restriction temporarily.  Any thoughts?




^ permalink raw reply	[flat|nested] 12+ messages in thread
* bug#2553: *vc-diff* buffers are read-only, but M-k works
@ 2009-03-04 15:41 Chong Yidong
  0 siblings, 0 replies; 12+ messages in thread
From: Chong Yidong @ 2009-03-04 15:41 UTC (permalink / raw)
  To: emacs-devel; +Cc: David Reitter, 2553

David Reitter <david.reitter@gmail.com> wrote:

> M-k works just fine in read-only *vc-diff* buffers.
>
> However, undoing an M-k command is impossible, as is cutting, pasting,  
> or all the other things that I did all the time in *vc-diff* buffers  
> in Emacs 22.
>
> The M-k thing is a bug, the read-only (default?) setting is annoying.

The purpose of making the vc-diff buffer read-only (2007-11-10 change to
vc.el) was so that people can use the read-only diff-mode bindings like
"k" and "p".  However, it's counter-intuitive that undo does not work.
Probably the easiest fix is to define a diff-undo command that lifts the
read-only restriction temporarily.  Any thoughts?






^ permalink raw reply	[flat|nested] 12+ messages in thread
* bug#2553: *vc-diff* buffers are read-only, but M-k works
@ 2009-03-03  4:18 David Reitter
  2012-04-26  3:33 ` Chong Yidong
  0 siblings, 1 reply; 12+ messages in thread
From: David Reitter @ 2009-03-03  4:18 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

M-k works just fine in read-only *vc-diff* buffers.

However, undoing an M-k command is impossible, as is cutting, pasting,  
or all the other things that I did all the time in *vc-diff* buffers  
in Emacs 22.

The M-k thing is a bug, the read-only (default?) setting is annoying.

(CVS Emacs, NS.  VC in this case: CVS)



[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-26  3:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 15:41 *vc-diff* buffers are read-only, but M-k works Chong Yidong
2009-03-04 15:54 ` bug#2553: " Juanma Barranquero
2009-03-04 15:54 ` Juanma Barranquero
2011-09-11 21:46 ` bug#2553: " Lars Magne Ingebrigtsen
2011-09-11 21:46 ` Lars Magne Ingebrigtsen
2011-09-13  1:26   ` Stefan Monnier
2011-10-06 21:59     ` bug#2553: " Lars Magne Ingebrigtsen
2011-10-06 21:59     ` Lars Magne Ingebrigtsen
2011-09-13  1:26   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2009-03-04 15:41 Chong Yidong
2009-03-03  4:18 David Reitter
2012-04-26  3:33 ` Chong Yidong

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.