[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC in emacs 21.3
From: |
kgold |
Subject: |
Re: VC in emacs 21.3 |
Date: |
28 Mar 2005 20:16:14 GMT |
In article <87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > 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)))
This works fine. Thanks for the quick fix.
--
Ken Goldman kgold@watson.ibm.com 914-784-7646