unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59457: 29.0.50; Incorrect vc-parent-buffer-name on vc-change-log revert
@ 2022-11-21 20:37 Gabriel
  2022-11-22 17:55 ` Gabriel
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel @ 2022-11-21 20:37 UTC (permalink / raw)
  To: 59457

Description:

The *vc-change-log* buffer gets an incorrect value of
`vc-parent-buffer-name' on `revert-buffer'.

Steps:

1) emacs -Q (master "f176a36f4629b56c9fd9e3fc15aebd04a168c4f5")

2) Open some VC controlled file, e.g.: C-x C-f ~/git/emacs/README RET

3) Annotate the buffer: C-x v g

4) Show log revision at line: l

Result: *vc-change-log* buffer is displayed; the value of
`vc-parent-buffer-name', displayed on the right side of mode-line (see
`mode-line-format' and `mode-line-modes'), is correct (e.g.: " from
*Annotate README (rev f176a36f4629b56c9fd9e3fc15aebd04a168c4f5)*").

5) Revert the buffer: g

Result: the buffer is refreshed, but the value of
`vc-parent-buffer-name' is incorrectly set as " from *vc-change-log*".

---
Gabriel





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

* bug#59457: 29.0.50; Incorrect vc-parent-buffer-name on vc-change-log revert
  2022-11-21 20:37 bug#59457: 29.0.50; Incorrect vc-parent-buffer-name on vc-change-log revert Gabriel
@ 2022-11-22 17:55 ` Gabriel
  0 siblings, 0 replies; 2+ messages in thread
From: Gabriel @ 2022-11-22 17:55 UTC (permalink / raw)
  To: 59457

The bug can also be reproduced with the steps below:

1) emacs -Q

2) Open some VC controlled file, e.g.: C-x C-f ~/git/emacs/README RET

3) List the root revision history: C-x v L

4) Revert the buffer: g

---
Gabriel





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

end of thread, other threads:[~2022-11-22 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-21 20:37 bug#59457: 29.0.50; Incorrect vc-parent-buffer-name on vc-change-log revert Gabriel
2022-11-22 17:55 ` Gabriel

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).