unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4137: 23.1.50; vc-dir waits instead of error message
@ 2009-08-13 14:21 Richard Stallman
  2019-10-01 13:13 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2009-08-13 14:21 UTC (permalink / raw)
  To: emacs-pretest-bug

I tried doing vc-dir without having entered my passphrase to enable
subjobs of Emacs to contact savannah.  So CVS would have failed.
But vc-dir gave no sign of this.  It created the buffer in the initial
state, and never said or did anything more.



In GNU Emacs 23.1.50.4 (mipsel-unknown-linux-gnu, GTK+ Version 2.12.12)
 of 2009-08-11 on theobromine2
configured using `configure  'CFLAGS=-O0 -g -Wno-pointer-sign' 'mipsel-unknown-linux-gnu' 'build_alias=mipsel-unknown-linux-gnu' 'host_alias=mipsel-unknown-linux-gnu' 'target_alias=mipsel-unknown-linux-gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: VC dir

Minor modes in effect:
  gpm-mouse-mode: t
  display-battery-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
a b o l i s h e d SPC w e l f a r e SPC f o r ESC DEL 
f o r SPC a d u l t s ESC DEL ESC DEL d e c a d e s 
SPC a o , C-b C-b g C-e SPC e x c e p t RET f o r SPC 
f a m i l i e s , SPC a n d SPC A r i z o n a SPC i 
s SPC n o t SPC g e n e r a l DEL a l l y SPC C-u C-b 
DEL C-e c o s i d e C-u C-b n C-e r e d SPC l i b e 
r a l SPC o r SPC p r o g r e s s i v e C-a ESC f ESC 
f C-k ; SPC i s SPC A r i z o n a SPC a n SPC e c e 
p t o n DEL DEL i o n ? ESC b C-f x C-e SPC SPC D o 
e s SPC T e m p e SPC h a e SPC a DEL DEL v DEL e SPC 
DEL DEL DEL v e SPC C-a C-p ESC e ESC k ESC k C-p ESC 
f C-f C-d ESC f ESC f C-d C-n SPC SPC C a n SPC s o 
m e o n e SPC f i n d SPC o u t ? RET C-c C-c d d u 
o e n d o r TAB RET d x C-x b * v c - d TAB RET C-z 
ESC x r e p o r t SPC e m a c s TAB RET

Recent messages:
Sending...
Wrote /home/rms/outgoing/out-18
Sending...done
Wrote /home/rms/foo.html
Auto-saving...done
Sending...
Wrote /home/rms/outgoing/out-19
Sending...done
Added to /home/rms/xmail/endorsements.xmail
Expunging deleted messages...done

Load-path shadows:
None found.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4137: 23.1.50; vc-dir waits instead of error message
  2009-08-13 14:21 bug#4137: 23.1.50; vc-dir waits instead of error message Richard Stallman
@ 2019-10-01 13:13 ` Lars Ingebrigtsen
  2020-08-20 18:40   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-01 13:13 UTC (permalink / raw)
  To: Richard Stallman; +Cc: 4137

Richard Stallman <rms@gnu.org> writes:

> I tried doing vc-dir without having entered my passphrase to enable
> subjobs of Emacs to contact savannah.  So CVS would have failed.
> But vc-dir gave no sign of this.  It created the buffer in the initial
> state, and never said or did anything more.

(I'm going through old bug reports that unfortunately didn't get any
response at the time.)

I'm not sure I understand this bug report.  Was Emacs supposed to prompt
for a password here?  (I think I've repressed how CVS worked with
remote, password-protected repositories...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4137: 23.1.50; vc-dir waits instead of error message
  2019-10-01 13:13 ` Lars Ingebrigtsen
@ 2020-08-20 18:40   ` Lars Ingebrigtsen
       [not found]     ` <E1kra8S-0005hE-M0@fencepost.gnu.org>
  2020-12-23  4:17     ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-20 18:40 UTC (permalink / raw)
  To: Richard Stallman; +Cc: 4137

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Richard Stallman <rms@gnu.org> writes:
>
>> I tried doing vc-dir without having entered my passphrase to enable
>> subjobs of Emacs to contact savannah.  So CVS would have failed.
>> But vc-dir gave no sign of this.  It created the buffer in the initial
>> state, and never said or did anything more.
>
> (I'm going through old bug reports that unfortunately didn't get any
> response at the time.)
>
> I'm not sure I understand this bug report.  Was Emacs supposed to prompt
> for a password here?  (I think I've repressed how CVS worked with
> remote, password-protected repositories...)

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4137: 23.1.50; vc-dir waits instead of error message
       [not found]     ` <E1kra8S-0005hE-M0@fencepost.gnu.org>
@ 2020-12-22  6:51       ` Lars Ingebrigtsen
  2020-12-23  4:27         ` Richard Stallman
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-22  6:51 UTC (permalink / raw)
  To: 4137

Richard Stallman <rms@gnu.org> writes:

> That time I forgot to run ssh-add, so the basic vc commands should
> have failed.
>
> But vc-dir didn't report a failure.  Instead it created the buffer
> with no failure report, and then the buffer was nonresponsive to
> commands.
>
> The bug is that vc-dir did not fail when it should have failed.

Do you have a recipe for reproducing this, though?

I tried a session without an ssh agent, and I issued the `vc-update'
command, and I got an error buffer with the following data:

---
Running "git pull --stat"...
Permission denied, please try again.^M
Received disconnect from 209.51.188.201 port 22:2: Too many authentication fail\
ures for larsi^M
Disconnected from 209.51.188.201 port 22^M
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4137: 23.1.50; vc-dir waits instead of error message
  2020-08-20 18:40   ` Lars Ingebrigtsen
       [not found]     ` <E1kra8S-0005hE-M0@fencepost.gnu.org>
@ 2020-12-23  4:17     ` Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2020-12-23  4:17 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 4137

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >> I tried doing vc-dir without having entered my passphrase to enable
  > >> subjobs of Emacs to contact savannah.  So CVS would have failed.
  > >> But vc-dir gave no sign of this.  It created the buffer in the initial
  > >> state, and never said or did anything more.

  > > I'm not sure I understand this bug report.  Was Emacs supposed to prompt
  > > for a password here?  (I think I've repressed how CVS worked with
  > > remote, password-protected repositories...)

I am sorry my scenario was not clear.

Normally, VC commands fail when I have not previously specified my ssh
passphrase so CVS can contact savannah.  Emacs does not know how
to promptfor the passphrase on their behalf.

So normally I specify the passphrase in advance with ssh-add.

That time I forgot to run ssh-add, so the basic vc commands should
have failed.

But vc-dir didn't report a failure.  Instead it created the buffer
with no failure report, and then the buffer was nonresponsive to
commands.

The bug is that vc-dir did not fail when it should have failed.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4137: 23.1.50; vc-dir waits instead of error message
  2020-12-22  6:51       ` Lars Ingebrigtsen
@ 2020-12-23  4:27         ` Richard Stallman
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2020-12-23  4:27 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 4137

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Do you have a recipe for reproducing this, though?

Nothing precise.  I will try o come up with one.

  > I tried a session without an ssh agent,

The reason I use ssh-add is precisely because I always use ssh-agent.
I think ssh-agent is required to make the VC commands work for remote
CVS repos.


-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-23  4:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 14:21 bug#4137: 23.1.50; vc-dir waits instead of error message Richard Stallman
2019-10-01 13:13 ` Lars Ingebrigtsen
2020-08-20 18:40   ` Lars Ingebrigtsen
     [not found]     ` <E1kra8S-0005hE-M0@fencepost.gnu.org>
2020-12-22  6:51       ` Lars Ingebrigtsen
2020-12-23  4:27         ` Richard Stallman
2020-12-23  4:17     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

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