* Re: vc, diff and scroll window
[not found] <mailman.806.1089714255.22971.bug-gnu-emacs@gnu.org>
@ 2004-07-13 23:35 ` Kevin Rodgers
2004-07-14 18:27 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2004-07-13 23:35 UTC (permalink / raw)
Matthias Meulien wrote:
> Suppose I have a file under version control, and say that that file
> has been changed and saved without being commited. When I press C-xvu
> (calling vc-revert-buffer) from a buffer visiting that file, the
> corresponding window get split a diff buffer is shown and Emacs ask
> 'Discard changes' (the minibuffer get selected).
>
> Here are two bugs related to this situation:
>
> 1. The diff buffer is not fontified.
Is it in Diff mode (confirmed via `C-h v major-mode')?
> 2. While the minibuffer is selected, M-C-v (scroll-other-window)
> doesn't work, so one cannot scroll the window containing the diff
> buffer.
A simple addition to vc-version-diff should fix that:
*** /usr/local/emacs-21.3/lisp/vc.el.orig Mon Jan 20 04:03:30 2003
--- /usr/local/emacs-21.3/lisp/vc.el Tue Jul 13 09:38:15 2004
***************
*** 2500,2505 ****
--- 2500,2506 ----
(vc-exec-after `(message nil))
(when status
(unwind-protect
+ (setq minibuffer-scroll-window win)
(unless (yes-or-no-p "Discard changes? ")
(error "Revert canceled"))
(select-window win)
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 3+ messages in thread
* vc, diff and scroll window
@ 2004-07-13 10:20 Matthias Meulien
0 siblings, 0 replies; 3+ messages in thread
From: Matthias Meulien @ 2004-07-13 10:20 UTC (permalink / raw)
In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-03-22 on raven, modified by Debian
configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Suppose I have a file under version control, and say that that file
has been changed and saved without being commited. When I press C-xvu
(calling vc-revert-buffer) from a buffer visiting that file, the
corresponding window get split a diff buffer is shown and Emacs ask
'Discard changes' (the minibuffer get selected).
Here are two bugs related to this situation:
1. The diff buffer is not fontified.
2. While the minibuffer is selected, M-C-v (scroll-other-window)
doesn't work, so one cannot scroll the window containing the diff
buffer.
Thank you for your attention,
--
Matthias Meulien
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-14 18:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.806.1089714255.22971.bug-gnu-emacs@gnu.org>
2004-07-13 23:35 ` vc, diff and scroll window Kevin Rodgers
2004-07-14 18:27 ` Richard Stallman
2004-07-13 10:20 Matthias Meulien
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).