GNU bug report logs - #19450
25.0.50; In vc-dir display file in other window

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sat, 27 Dec 2014 01:12:02 UTC

Severity: normal

Found in version 25.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 19450 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 19450 <at> debbugs.gnu.org
Subject: Re: bug#19450: 25.0.50; In vc-dir display file in other window
Date: Sun, 28 Dec 2014 02:55:59 +0200
>> +(defun vc-dir-display-file (&optional event)
>> +  "Display the file on the current line, in another window."
>> +  (interactive (list last-nonmenu-event))
>> +  (if event (posn-set-point (event-end event)))
>> +  (display-buffer (find-file-noselect (vc-dir-current-file))
>> +		  t))
>
> Why not use `vc-dir-find-file-other-window'?

`vc-dir-display-file' is intended to provide consistency with
all other similar commands:

dired-display-file
occur-mode-display-occurrence
Buffer-menu-switch-other-window
...




This bug report was last modified 10 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.