From: kgold@watson.ibm.com (kgold)
Subject: Re: VC in emacs 21.3
Date: 28 Mar 2005 20:16:14 GMT [thread overview]
Message-ID: <4248660e_1@news1.prserv.net> (raw)
In-Reply-To: 87fyyi7xmt.fsf-monnier+gnu.emacs.help@gnu.org
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
next prev parent reply other threads:[~2005-03-28 20:16 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
2005-03-28 20:16 ` kgold [this message]
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=4248660e_1@news1.prserv.net \
--to=kgold@watson.ibm.com \
/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).