From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: No prompt in SQL modes? Date: Sun, 11 Jun 2017 14:48:07 +0800 Message-ID: <87ink3vx3s.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497163783 21506 195.159.176.226 (11 Jun 2017 06:49:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2017 06:49:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 11 08:49:38 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJwgs-00057Y-IU for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jun 2017 08:49:38 +0200 Original-Received: from localhost ([::1]:33019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJwgv-00052v-TA for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jun 2017 02:49:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJwgQ-00052q-Fe for help-gnu-emacs@gnu.org; Sun, 11 Jun 2017 02:49:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJwgL-0002Ut-9e for help-gnu-emacs@gnu.org; Sun, 11 Jun 2017 02:49:10 -0400 Original-Received: from [195.159.176.226] (port=45883 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJwgL-0002Uk-2h for help-gnu-emacs@gnu.org; Sun, 11 Jun 2017 02:49:05 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dJwgD-00035h-8C for help-gnu-emacs@gnu.org; Sun, 11 Jun 2017 08:48:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:7tDasMadteVacKDPLpF/tMsCVf0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113424 Archived-At: I'm using GNU Emacs 26.0.50 on Arch linux. None of the sql interactive modes are showing me the prompt in the process buffer, which messes up things like `sql-list-all'. I run `sql-sqlite', choose the database, and the process buffer opens. It's totally empty, no "sqlite> " prompt. I can enter commands into the buffer and get correct output, but the prompt never appears. Commands like `sql-list-all' don't work, because comint does a sanity check to make sure there's a prompt available. `comint-use-prompt-regexp' is t, and `comint-prompt-regexp' is correctly set to "^sqlite> ". I tried following through the code, but don't see where the prompt would (or wouldn't) be inserted on server response. Prompts work fine in other interactive process buffers like Python and Ocaml. I don't think I have any other relevant customizations... Any hints? Thanks, Eric