GNU bug report logs - #18240
24.3; sql-postgres password with cygwin psql

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mark Wilkinson <wilkinsonmr@HIDDEN>; dated Sun, 10 Aug 2014 16:51:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 18240 <at> debbugs.gnu.org:


Received: (at 18240) by debbugs.gnu.org; 18 Oct 2014 12:42:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 18 08:42:06 2014
Received: from localhost ([127.0.0.1]:47986 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XfTKf-0003mI-NV
	for submit <at> debbugs.gnu.org; Sat, 18 Oct 2014 08:42:06 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45839)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <fgunbin@HIDDEN>) id 1XfTKc-0003m8-Rq
 for 18240 <at> debbugs.gnu.org; Sat, 18 Oct 2014 08:42:03 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by gateway2.nyi.internal (Postfix) with ESMTP id 3FFF320697
 for <18240 <at> debbugs.gnu.org>; Sat, 18 Oct 2014 08:42:02 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute2.internal (MEProxy); Sat, 18 Oct 2014 08:42:02 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=
 x-sasl-enc:from:to:subject:date:message-id:mime-version
 :content-type; s=mesmtp; bh=FWgKqMH6x3x+ipStygAT9QKWE5M=; b=e2QW
 L991HTO6pssEQqB7GPiBnLNAL9mkPxaVn0SZjcdTzVQL0SNDs5zx4CTnahilXb7h
 NajyHdNnycy2UO9H04ASvDHoZBqBSqnetXnwFh8Gi7gquMJwi3rIj6t9LzBFNpeG
 qNWiIF/K8zfDs1Sd8H7ZHPp9YrUmzhC1gZCCVlA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=x-sasl-enc:from:to:subject:date
 :message-id:mime-version:content-type; s=smtpout; bh=FWgKqMH6x3x
 +ipStygAT9QKWE5M=; b=mxncEgkosqC8Rp+3A82gMtrZDQx5xncLbQ3B88rINZw
 PFYXeqVw2tb7hkGs/AOLKwJUZ0pkmGkn4cJ9QZ+7BTnqogLr1F02NMWb18WYb3ch
 l1U1/YPtCG7F+9Hz+O/CI/y/7Si9QVfT2L+sdJknSc79YW66Aj8QDrEkIdfyYa3g
 =
X-Sasl-enc: hBgUMdX/oh4sd0SjE4xjoXA7yTIN7gX8kpfC11qROTRW 1413636121
Received: from fgunbin.local (unknown [178.66.145.57])
 by mail.messagingengine.com (Postfix) with ESMTPA id 924B6680097
 for <18240 <at> debbugs.gnu.org>; Sat, 18 Oct 2014 08:42:01 -0400 (EDT)
From: Filipp Gunbin <fgunbin@HIDDEN>
To: 18240 <at> debbugs.gnu.org
Subject: 24.3; sql-postgres password with cygwin psql
Date: Sat, 18 Oct 2014 16:41:59 +0400
Message-ID: <m2d29py2g8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18240
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

It's not clear what this code is supposed to do...  However it breaks
entering passwords.  Maybe just remove it?

        ;; Break up output by physical lines if we haven't hit the final prompt
        (unless (and (not (string= oline ""))
                     (string-match (sql-ends-with-prompt-re) oline)
                     (>= (match-end 0) (length oline)))
          (setq last-nl 0)
          (while (string-match "\n" oline last-nl)
            (setq last-nl (match-end 0)))
          (setq sql-preoutput-hold (concat (substring oline last-nl)
                                           sql-preoutput-hold)
                oline (substring oline 0 last-nl))))))

-- 
    Filipp




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18240; Package emacs. Full text available.

Message received at 18240 <at> debbugs.gnu.org:


Received: (at 18240) by debbugs.gnu.org; 22 Sep 2014 08:10:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 22 04:10:15 2014
Received: from localhost ([127.0.0.1]:47952 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XVyhK-0003vt-Il
	for submit <at> debbugs.gnu.org; Mon, 22 Sep 2014 04:10:14 -0400
Received: from mail-ig0-f193.google.com ([209.85.213.193]:39282)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <matthew.smiglarski@HIDDEN>) id 1XVyhI-0003vj-Rc
 for 18240 <at> debbugs.gnu.org; Mon, 22 Sep 2014 04:10:13 -0400
Received: by mail-ig0-f193.google.com with SMTP id h15so761232igd.8
 for <18240 <at> debbugs.gnu.org>; Mon, 22 Sep 2014 01:10:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=mFtMMbjwE7gpaAtkRJdh2VMXRXN+sXvtaexRrHiaotw=;
 b=jGIwLgB+JsG9/ovl2RWapwfoSQMB1NAY4i65lSFjt2AdKEAZKQVlCA9zK8kwhEc0Q1
 8j4MPAMsXHE5wSOIaUts06xG30ylhi3a8G9BeAgv7/99doQi0QjU7FAPAt1XIU0gelga
 4fftJxyr1NEwIIt17hFxQEdIGmDAacO9AZmNgq+1hJviZo2BpByo0yAZ4ufPp35Kglkj
 FRxyGanx314hEc0MACSw8lXNPyx+k5eC4LYqApfiKViWLXjDWxvEmHhopQETEkjF/8JA
 mZqR6VBJu5Cp8dn93jI9fJhQKJ1DR1OnfcC48wbHkRhsyIgcL1ch4YBtxgYiJEdljw3n
 tF4g==
MIME-Version: 1.0
X-Received: by 10.42.30.142 with SMTP id v14mr661496icc.66.1411373411927; Mon,
 22 Sep 2014 01:10:11 -0700 (PDT)
Received: by 10.64.223.12 with HTTP; Mon, 22 Sep 2014 01:10:11 -0700 (PDT)
Date: Mon, 22 Sep 2014 09:10:11 +0100
Message-ID: <CAAkg2_+WMJ_2JDpP4mrgJKy5TM4bdr7py+3xmXkt4E8BR92UTw@HIDDEN>
Subject: sql-postgres does not prompt for password
From: Matthew Smiglarski <matthew.smiglarski@HIDDEN>
To: 18240 <at> debbugs.gnu.org, mmaug@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18240
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

This bug does not happen on the 24.3 release but does happen on 24.3.93.

The problem is with sql-interactive-remove-continuation-prompt, one of
the functions configured to be called by comint-output-filter.

It is caused by code introduced by this git revision.

commit 34499a8eb3c10db8c79a7aa87e1bbce0ae499fb6
Author: Michael Mauger <mmaug@HIDDEN>
Date:   Tue Jul 23 20:25:53 2013 -0400

One workaround is to type the password in anyway. Another workaround
is to remove some of the code with the following patch:

diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 13d4178..2fd755d 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -3337,18 +3337,7 @@ to avoid deleting non-prompt output."
         (unless prompt-found
           (setq sql-output-newline-count nil
                 oline (concat oline sql-preoutput-hold)
-                sql-preoutput-hold ""))
-
-        ;; Break up output by physical lines if we haven't hit the final prompt
-        (unless (and (not (string= oline ""))
-                     (string-match (sql-ends-with-prompt-re) oline)
-                     (>= (match-end 0) (length oline)))
-          (setq last-nl 0)
-          (while (string-match "\n" oline last-nl)
-            (setq last-nl (match-end 0)))
-          (setq sql-preoutput-hold (concat (substring oline last-nl)
-                                           sql-preoutput-hold)
-                oline (substring oline 0 last-nl))))))
+                sql-preoutput-hold "")))))
    oline)

This sql-interactive-remove-continuation-prompt function removes
continuation prompt (the prompt sent when halfway through a command)
and this improves the usability of multi-line SQL statements on the
interpreter.

There is another small bug with that code where the continuation line
sneaks through, throwing the alignment out.

By this, I mean the "template1->" prompt in the following examples:

template1=> select 42;
 ?column?
----------
       42
(1 row)

template1=> select
42;
template1->  ?column?
----------
       42
(1 row)

template1=> select
42,
43;
template1->  ?column? | ?column?
----------+----------
       42 |       43
(1 row)

That happens because of the following lines:

        ;; Add this text to what's left from the last pass
        (setq oline (concat sql-preoutput-hold oline)
              sql-preoutput-hold "")

I hope this helps.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18240; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Aug 2014 16:50:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 10 12:50:45 2014
Received: from localhost ([127.0.0.1]:37895 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XGWKS-0007mX-0z
	for submit <at> debbugs.gnu.org; Sun, 10 Aug 2014 12:50:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51688)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <wilkinsonmr@HIDDEN>) id 1XGVO7-0006Hz-6R
 for submit <at> debbugs.gnu.org; Sun, 10 Aug 2014 11:50:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wilkinsonmr@HIDDEN>) id 1XGVO0-00030H-CX
 for submit <at> debbugs.gnu.org; Sun, 10 Aug 2014 11:50:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50814)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wilkinsonmr@HIDDEN>) id 1XGVO0-00030D-8n
 for submit <at> debbugs.gnu.org; Sun, 10 Aug 2014 11:50:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53410)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wilkinsonmr@HIDDEN>) id 1XGVNy-0007Wd-RY
 for bug-gnu-emacs@HIDDEN; Sun, 10 Aug 2014 11:50:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wilkinsonmr@HIDDEN>) id 1XGVNx-0002zo-4i
 for bug-gnu-emacs@HIDDEN; Sun, 10 Aug 2014 11:50:18 -0400
Received: from mail-qg0-x235.google.com ([2607:f8b0:400d:c04::235]:51633)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wilkinsonmr@HIDDEN>) id 1XGVNw-0002zk-Vg
 for bug-gnu-emacs@HIDDEN; Sun, 10 Aug 2014 11:50:17 -0400
Received: by mail-qg0-f53.google.com with SMTP id q107so7644617qgd.40
 for <bug-gnu-emacs@HIDDEN>; Sun, 10 Aug 2014 08:50:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=giwj3IUvFRwHhPmnDeaqL1KPLe98US95aKs7ANxO34o=;
 b=igxFSoirRZ8/lyXCFuDlg/B1vupPFpSoShhees/8XG6k0MeaTwU+PcMOWg+jP0LPU3
 wJnP02IOyUBH7h/Kj1z71ag/FMJJOMbVc3HztsZJW9N8jUKG4mNSNJu8IXplTllhQCjj
 fQ1oklrVIhhGAmCJgttES4Bls7F+bwdcU2x7MsY/jaf5tyqySPlNcgLlt4IJ05bmgIvV
 orNq4uGRtZSZ5VHFHasP9LhtlwtKh6mNF07v0zJ+3uZJZ8u3DPrMTqLrYY6lGiYcuwY1
 QBQyPuMsbC6vAXTYFqo22wiQ9cECUEIbS68goRyM0WIwqoIFrcXB6lM5L3gBrqHYR/hE
 fdAw==
MIME-Version: 1.0
X-Received: by 10.140.50.48 with SMTP id r45mr40473632qga.96.1407685816159;
 Sun, 10 Aug 2014 08:50:16 -0700 (PDT)
Received: by 10.140.102.34 with HTTP; Sun, 10 Aug 2014 08:50:16 -0700 (PDT)
Date: Sun, 10 Aug 2014 10:50:16 -0500
Message-ID: <CA+iSEzHqXMFeDnZBWXRRSpQ2BFBia79HTE7d4eUswZ6Vapwn0A@HIDDEN>
Subject: 24.3; sql-postgres password with cygwin psql
From: Mark Wilkinson <wilkinsonmr@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=001a1135208a0713bb05004865ca
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 10 Aug 2014 12:50:40 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a1135208a0713bb05004865ca
Content-Type: text/plain; charset=UTF-8

Starting emacs 24.3.1 with -Q, sql.el version: 3.4

1. Set sql-postgres-program to psql from cygwin:

     (setq sql-postgres-program "c:/cygwin/bin/psql.exe")

2. Run sql-postgres
3. At prompts, enter user (postgres), database (postgres), server
   (localhost).

4. Wait for sql-delay seconds. Login...done.
   Buffer is *SQL* (SQLi[Postgres]:run).
   Prompt for password still not seen.  This is the problem.
   psql prompt not seen.

5. <RET> in that buffer yields

     Password for user postgres:
     psql: fe_sendauth: no password supplied

   and buffer's process dies.

However, repeating steps 2 through 4, doing send-invisible and
entering the password, the process remains and accepts input and
produces psql output (still no psql prompt, though). This does not
work with Windows psql.exe.

This also occurs in emacs-24-20140526-154828-w32-bin where sql.el 3.4
is the default version.



In GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600)
 of 2013-03-17 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'

Important settings:
  value of $EMACSDATA: C:/emacs-24.3/etc
  value of $EMACSDOC: C:/emacs-24.3/etc
  value of $EMACSLOADPATH:
C:/emacs-24.3/site-lisp;C:/emacs-24.3/../site-lisp;C:/emacs-24.3/lisp;C:/emacs-24.3/leim
  value of $EMACSPATH: C:/emacs-24.3/bin
  value of $LANG: ENU
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x r e p o r t SPC e m a c s SPC b SPC <re
turn>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
c:/emacs-24.3/site-lisp/sql hides c:/emacs-24.3/lisp/progmodes/sql

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32 multi-tty emacs)

--001a1135208a0713bb05004865ca
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Starting emacs 24.3.1 with -Q, sql.el version: 3.4<br><br>=
1. Set sql-postgres-program to psql from cygwin:<br><br>=C2=A0=C2=A0=C2=A0=
=C2=A0 (setq sql-postgres-program &quot;c:/cygwin/bin/psql.exe&quot;)<br><b=
r>2. Run sql-postgres<br>
3. At prompts, enter user (postgres), database (postgres), server<br>=C2=A0=
=C2=A0 (localhost).<br><br>4. Wait for sql-delay seconds. Login...done.<br>=
=C2=A0=C2=A0 Buffer is *SQL* (SQLi[Postgres]:run).<br>=C2=A0=C2=A0 Prompt f=
or password still not seen.=C2=A0 This is the problem.<br>
=C2=A0=C2=A0 psql prompt not seen.<br><br>5. &lt;RET&gt; in that buffer yie=
lds<br><br>=C2=A0=C2=A0=C2=A0=C2=A0 Password for user postgres:<br>=C2=A0=
=C2=A0=C2=A0=C2=A0 psql: fe_sendauth: no password supplied<br><br>=C2=A0=C2=
=A0 and buffer&#39;s process dies.<br><br>However, repeating steps 2 throug=
h 4, doing send-invisible and<br>
entering the password, the process remains and accepts input and<br>produce=
s psql output (still no psql prompt, though). This does not<br>work with Wi=
ndows psql.exe.<br><br>This also occurs in emacs-24-20140526-154828-w32-bin=
 where sql.el 3.4<br>
is the default version.<br><br><br><br>In GNU Emacs 24.3.1 (i386-mingw-nt5.=
1.2600)<br>=C2=A0of 2013-03-17 on MARVIN<br>Windowing system distributor `M=
icrosoft Corp.&#39;, version 5.1.2600<br>Configured using:<br>=C2=A0`config=
ure --with-gcc (4.7) --cflags<br>
=C2=A0-ID:/devel/emacs/libs/libXpm-3.5.8/include<br>=C2=A0-ID:/devel/emacs/=
libs/libXpm-3.5.8/src<br>=C2=A0-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/inc=
lude<br>=C2=A0-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include<br>=C2=A0-ID:/=
devel/emacs/libs/giflib-4.1.4-1/include<br>
=C2=A0-ID:/devel/emacs/libs/jpeg-6b-4/include<br>=C2=A0-ID:/devel/emacs/lib=
s/tiff-3.8.2-1/include<br>=C2=A0-ID:/devel/emacs/libs/gnutls-3.0.9/include<=
br>=C2=A0-ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include<br>=C2=A0-ID:/=
devel/emacs/libs/libxml2-2.7.8/include/libxml2&#39;<br>
<br>Important settings:<br>=C2=A0 value of $EMACSDATA: C:/emacs-24.3/etc<br=
>=C2=A0 value of $EMACSDOC: C:/emacs-24.3/etc<br>=C2=A0 value of $EMACSLOAD=
PATH: C:/emacs-24.3/site-lisp;C:/emacs-24.3/../site-lisp;C:/emacs-24.3/lisp=
;C:/emacs-24.3/leim<br>
=C2=A0 value of $EMACSPATH: C:/emacs-24.3/bin<br>=C2=A0 value of $LANG: ENU=
<br>=C2=A0 locale-coding-system: cp1252<br>=C2=A0 default enable-multibyte-=
characters: t<br><br>Major mode: Lisp Interaction<br><br>Minor modes in eff=
ect:<br>=C2=A0 tooltip-mode: t<br>
=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mo=
de: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t=
<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 auto-=
composition-mode: t<br>=C2=A0 auto-encryption-mode: t<br>
=C2=A0 auto-compression-mode: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 tra=
nsient-mark-mode: t<br><br>Recent input:<br>&lt;escape&gt; x r e p o r t SP=
C e m a c s SPC b SPC &lt;re<br>turn&gt;<br><br>Recent messages:<br>For inf=
ormation about GNU Emacs and the GNU system, type C-h C-a.<br>
<br>Load-path shadows:<br>c:/emacs-24.3/site-lisp/sql hides c:/emacs-24.3/l=
isp/progmodes/sql<br><br>Features:<br>(shadow sort gnus-util mail-extr emac=
sbug message format-spec rfc822 mml<br>easymenu mml-sec mm-decode mm-bodies=
 mm-encode mail-parse rfc2231<br>
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums<br>mm-u=
til mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks<br>lisp-flo=
at-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win<br>w32-var=
s tool-bar dnd fontset image regexp-opt fringe tabulated-list<br>
newcomment lisp-mode register page menu-bar rfn-eshadow timer select<br>scr=
oll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham<br>ge=
orgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao<br>korean =
japanese hebrew greek romanian slovak czech european ethiopic<br>
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple<br>ab=
brev minibuffer loaddefs button faces cus-face macroexp files<br>text-prope=
rties overlay sha1 md5 base64 format env code-pages mule<br>custom widget h=
ashtable-print-readable backquote make-network-process<br>
w32 multi-tty emacs)<br><br></div>

--001a1135208a0713bb05004865ca--




Acknowledgement sent to Mark Wilkinson <wilkinsonmr@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#18240; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.