unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: VC in emacs 21.3
Date: Sat, 26 Mar 2005 19:19:03 -0500	[thread overview]
Message-ID: <87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 42449155_2@news1.prserv.net

> 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)))

  reply	other threads:[~2005-03-27  0:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25 22:31 VC in emacs 21.3 kgold
2005-03-27  0:19 ` Stefan Monnier [this message]
2005-03-28 20:16   ` kgold
2005-03-28 20:22 ` Kevin Rodgers
2005-03-28 23:06   ` kgold
2005-03-28 23:52     ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).