* vc, diff and scroll window
@ 2004-07-13 10:20 Matthias Meulien
0 siblings, 0 replies; 5+ 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] 5+ messages in thread
[parent not found: <mailman.806.1089714255.22971.bug-gnu-emacs@gnu.org>]
* 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; 5+ 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] 5+ messages in thread
* vc, diff and scroll window
@ 2004-07-11 9:40 Matthias
2004-07-12 17:59 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Matthias @ 2004-07-11 9:40 UTC (permalink / raw)
Hi,
Suppose I have a buffer visiting a file which is under version
control, and say that that file as been changed and saved. When I
press C-xvu (calling vc-revert-buffer), the selected window get split,
a (curiously, unfontified) diff buffer is shown, and Emacs ask
`Discard changes' (the minibuffer is selected).
Then M-C-v (scroll-other-window) doesn't work, so I can not scroll the
diff buffer!
Strange no? Is it a bug? What about the fontificationt problem?
I am using GNU Emacs 21.3.1. Thank you for your help.
--
Matthias
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: vc, diff and scroll window
2004-07-11 9:40 Matthias
@ 2004-07-12 17:59 ` Stefan Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2004-07-12 17:59 UTC (permalink / raw)
> Suppose I have a buffer visiting a file which is under version
> control, and say that that file as been changed and saved. When I
> press C-xvu (calling vc-revert-buffer), the selected window get split,
> a (curiously, unfontified) diff buffer is shown, and Emacs ask
> `Discard changes' (the minibuffer is selected).
> Then M-C-v (scroll-other-window) doesn't work, so I can not scroll the
> diff buffer!
> Strange no? Is it a bug? What about the fontificationt problem?
These are both bugs. Please M-x report-emacs-bug RET.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-14 18:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 10:20 vc, diff and scroll window Matthias Meulien
[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
-- strict thread matches above, loose matches on Subject: below --
2004-07-11 9:40 Matthias
2004-07-12 17:59 ` Stefan Monnier
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.