From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: VC in emacs 21.3 Date: 28 Mar 2005 20:16:14 GMT Organization: IBM T.J. Watson Research Center Message-ID: <4248660e_1@news1.prserv.net> References: <42449155_2@news1.prserv.net> <87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112040568 21297 80.91.229.2 (28 Mar 2005 20:09:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2005 20:09:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 28 22:09:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DG0XO-00017R-Tq for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Mar 2005 22:08:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG0nY-0003PV-HP for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Mar 2005 15:25:20 -0500 X-Newsreader: xrn 9.02 Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: yktgi01e0-s5.watson.ibm.com Original-X-Trace: 28 Mar 2005 20:16:14 GMT, yktgi01e0-s5.watson.ibm.com Original-Lines: 48 Original-X-Complaints-To: abuse@prserv.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.netscape.com!news-out.cwix.com!newsfeed.cwix.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!newsfeed.us.prserv.net!prserv.net!news1.prserv.net!alpha.watson.ibm.com!kgold Original-Xref: shelby.stanford.edu gnu.emacs.help:129685 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:25238 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25238 In article <87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org>, Stefan Monnier 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