* VC in emacs 21.3
@ 2005-03-25 22:31 kgold
2005-03-27 0:19 ` Stefan Monnier
2005-03-28 20:22 ` Kevin Rodgers
0 siblings, 2 replies; 6+ messages in thread
From: kgold @ 2005-03-25 22:31 UTC (permalink / raw)
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?
--
Ken Goldman kgold@watson.ibm.com 914-784-7646
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VC in emacs 21.3
2005-03-25 22:31 VC in emacs 21.3 kgold
@ 2005-03-27 0:19 ` Stefan Monnier
2005-03-28 20:16 ` kgold
2005-03-28 20:22 ` Kevin Rodgers
1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2005-03-27 0:19 UTC (permalink / raw)
> 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)))
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VC in emacs 21.3
2005-03-27 0:19 ` Stefan Monnier
@ 2005-03-28 20:16 ` kgold
0 siblings, 0 replies; 6+ messages in thread
From: kgold @ 2005-03-28 20:16 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: VC in emacs 21.3
2005-03-25 22:31 VC in emacs 21.3 kgold
2005-03-27 0:19 ` Stefan Monnier
@ 2005-03-28 20:22 ` Kevin Rodgers
2005-03-28 23:06 ` kgold
1 sibling, 1 reply; 6+ messages in thread
From: Kevin Rodgers @ 2005-03-28 20:22 UTC (permalink / raw)
kgold wrote:
> In my continuing quest to move from Intel/Linux emacs 20.7 to 21.3
I wasn't aware that Intel was distributing the GNU/Linux OS/kernel or
the Emacs editor.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-03-28 23:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25 22:31 VC in emacs 21.3 kgold
2005-03-27 0:19 ` Stefan Monnier
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
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).