From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13513: 24.3.50; Going "--non-interactive" is the wrong thing for SVN on OSX Date: Wed, 30 Jan 2013 11:42:44 -0500 Message-ID: References: <5h622qht57.fsf@fencepost.gnu.org> <83BD3F4A-FD6A-4592-A1E1-1629DBEE3B0B@tzi.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359564211 23780 80.91.229.3 (30 Jan 2013 16:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2013 16:43:31 +0000 (UTC) Cc: Carsten Bormann , 13513@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 17:43:50 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U0alK-0003hQ-1W for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2013 17:43:50 +0100 Original-Received: from localhost ([::1]:56711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0al1-0001Qh-WB for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2013 11:43:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0akx-0001Hr-Sz for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 11:43:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0akv-0004Nj-5z for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 11:43:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0akv-0004Ne-3i for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 11:43:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U0alV-00018I-Sr for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 11:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2013 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13513-submit@debbugs.gnu.org id=B13513.13595642054302 (code B ref 13513); Wed, 30 Jan 2013 16:44:01 +0000 Original-Received: (at 13513) by debbugs.gnu.org; 30 Jan 2013 16:43:25 +0000 Original-Received: from localhost ([127.0.0.1]:55950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0akv-00017L-F4 for submit@debbugs.gnu.org; Wed, 30 Jan 2013 11:43:25 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:55123) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0aks-00017E-Vo for 13513@debbugs.gnu.org; Wed, 30 Jan 2013 11:43:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFG4rw3e/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOIAEBBBIUGA0kiB4GwS2NXQEFgycDiGGcGYFegxWBSgcX X-IPAS-Result: Av8EABK/CFG4rw3e/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOIAEBBBIUGA0kiB4GwS2NXQEFgycDiGGcGYFegxWBSgcX X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="32960" Original-Received: from 184-175-13-222.dsl.teksavvy.com (HELO ceviche.home) ([184.175.13.222]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 Jan 2013 11:42:44 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 8FD7D660D9; Wed, 30 Jan 2013 11:42:44 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Wed, 23 Jan 2013 03:41:41 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70466 Archived-At: >> So, could someone explain to me when --non-interactive is needed? >> The report seemed to be for w32, does that mean that it's only ever needed >> for w32, or is it also sometimes needed under GNU/Linux? > IIUC on GNU/Linux: > Semi-recent svn default to using gnome-keyring to store encrypted > passwords for svn servers that need them. So suppose you are working in > a svn checkout of a remote repository that needs a password. You've > previously stored the password encrypted on your local disk. > Now you type any command that needs to contact the server (eg svn status > -u, or svn update). If at the command-line, you get a prompt: > Password for 'login' GNOME keyring: > You enter your normal user password, it decrypts the stored svn password > and everything then works. But if DISPLAY is set, gnome-keyring should prompt you via an X11 dialog box, AFAIK. > If you call the same svn commands from Emacs VC prior to 24.1, it hangs > forever with no indication of what's going on (bug#9993). Using > --non-interactive makes it abort instantly with a meaningful error > message. So I think the right way to go about it is to not use --non-interactive, but add a process filter in vc-svn.el to detect such situations (and then do something like query the password and send it to svn, or emit an error). Stefan