[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13610: 24.3.50; vc-next-action hang forever

From: Thierry Volpiatto
Subject: bug#13610: 24.3.50; vc-next-action hang forever
Date: Sat, 02 Feb 2013 19:35:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Hi,
> To reproduce:
> emacs -Q
> create a new file and edit it (a script shell for me)
> save it and register it under RCS.
> C-x v v
> emacs hang forever.

More exactly, this is this loop (which is not in 24.2.92) which 
turn forever because it assume buffer have been modified before setq'ing
files to nil and stop the loop.

--8<---------------cut here---------------start------------->8---
    ;; If a buffer has unsaved changes, a checkout would discard those
    ;; changes, so treat the buffer as having unlocked changes.
    (when (and (not (eq model 'implicit)) (eq state 'up-to-date))
      (let ((files files))
        (while files
          (let ((buffer (get-file-buffer (car files))))
            (and buffer
                 (buffer-modified-p buffer)
                 (setq state 'unlocked-changes
                       files nil))))))
--8<---------------cut here---------------end--------------->8---

Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]