[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC in emacs 21.3
From: |
Stefan Monnier |
Subject: |
Re: VC in emacs 21.3 |
Date: |
Sat, 26 Mar 2005 19:19:03 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> In my continuing quest to move from Intel/Linux emacs 20.7 to 21.3
> From a C buffer, these commands
> C-x v = vc-diff
> C-x v l vc-print-log
> C-x v g vc-annotate
> C-x v ~ vc-version-other-window
> In 20.7. they all pop up a password dialog.
> In 21.3, the last 2 pop up the dialog. The first asks for a password
> in the *vc-diff* buffer and the second asks for a password in the *vc*
> buffer.
> 1 - I'd like it to always pop the password dialog. How can I
> configure that?
> 2 - If it's a bug and I can't configure it, I can live with typing the
> password in the buffer (echoing in the clear gives me the creeps), but
> ENTER doesn't seem to send it anywhere. What's the keystroke to send
> it?
Can you try the patch below (apply it to .../share/emacs/21.3/lisp/vc.el,
then recompile the .elc file or remove it) and tell me if it helps?
Stefan
--- orig/lisp/vc.el
+++ mod/lisp/vc.el
@@ -995,6 +995,8 @@
(if (eq okstatus 'async)
- (let ((proc (apply 'start-process command (current-buffer) command
- squeezed)))
+ (let ((proc
+ (let ((process-connection-type nil))
+ (apply 'start-process command (current-buffer) command
+ squeezed))))
(unless (active-minibuffer-window)
(message "Running %s in the background..." command))
;;(set-process-sentinel proc (lambda (p msg) (delete-process p)))