all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

* Re: VC in emacs 21.3
  2005-03-28 20:22 ` Kevin Rodgers
@ 2005-03-28 23:06   ` kgold
  2005-03-28 23:52     ` Kevin Rodgers
  0 siblings, 1 reply; 6+ messages in thread
From: kgold @ 2005-03-28 23:06 UTC (permalink / raw)


Kevin Rodgers <ihs_4664@yahoo.com> writes:
> 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.

What I meant was the Linux OS on an Intel processor based platform
(aka PC).

-- 
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-28 23:06   ` kgold
@ 2005-03-28 23:52     ` Kevin Rodgers
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2005-03-28 23:52 UTC (permalink / raw)


kgold wrote:
 > What I meant was the Linux OS on an Intel processor based platform
 > (aka PC).

http://www.gnu.org/gnu/linux-and-gnu.html

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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.