From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: VC in emacs 21.3 Date: Sat, 26 Mar 2005 19:19:03 -0500 Organization: Bell Sympatico Message-ID: <87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org> References: <42449155_2@news1.prserv.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111883667 14088 80.91.229.2 (27 Mar 2005 00:34:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2005 00:34:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 01:34:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DFLj8-00054s-Vm for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2005 01:34:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFLyv-0008TX-N9 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Mar 2005 19:50:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wns14feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:C5HRd4mH5/ccFgt9Q3x8oNTAf8g= Original-Lines: 41 Original-NNTP-Posting-Host: 70.49.83.30 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1111882743 70.49.83.30 (Sat, 26 Mar 2005 19:19:03 EST) Original-NNTP-Posting-Date: Sat, 26 Mar 2005 19:19:03 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:129652 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25204 > 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)))