From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Newsgroups: gmane.emacs.bugs Subject: bug#22596: 25.1.50; Broken prompt-regexp for sql-postgres Date: Mon, 08 Feb 2016 20:41:14 +1300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454917410 2842 80.91.229.3 (8 Feb 2016 07:43:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 07:43:30 +0000 (UTC) To: 22596@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 08:43:14 2016 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 1aSgTX-0007gB-Ky for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 08:43:11 +0100 Original-Received: from localhost ([::1]:42132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSgTW-0004dK-Qk for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 02:43:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSgTR-0004ci-SJ for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:43:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSgTO-0001a6-Im for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:43:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSgTO-0001a2-Ef for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSgTO-0008TW-9r for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steve Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22596 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145491733432512 (code B ref -1); Mon, 08 Feb 2016 07:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2016 07:42:14 +0000 Original-Received: from localhost ([127.0.0.1]:37913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSgSb-0008SK-IF for submit@debbugs.gnu.org; Mon, 08 Feb 2016 02:42:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58861) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSgSZ-0008S7-Dy for submit@debbugs.gnu.org; Mon, 08 Feb 2016 02:42:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSgSS-0000rJ-HR for submit@debbugs.gnu.org; Mon, 08 Feb 2016 02:42:06 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSgSS-0000rE-Eh for submit@debbugs.gnu.org; Mon, 08 Feb 2016 02:42:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSgSQ-0004Ib-L7 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:42:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSgSN-0000oo-9v for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:42:02 -0500 Original-Received: from purcellpeople.com ([85.214.32.38]:34884 helo=h1189701.stratoserver.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSgSN-0000mO-0j for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 02:41:59 -0500 Original-Received: from Mandala.local (unknown [210.54.38.34]) by h1189701.stratoserver.net (Postfix) with ESMTPSA id 170F127AC0B7 for ; Mon, 8 Feb 2016 08:41:22 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:112697 Archived-At: I'm using a database with a name like "blah_dev", and sql-mode doesn't detect my prompt in a recent snapshot build of Emacs, started with -Q. The :prompt-regexp for postgres in sql.el is "^\\w*=[#>] ", and in sql-interactive-mode buffers it seems that "_" is not considered a word character. It seems like "\\w" should be replaced with a match which doesn't depend on the current syntax table, e.g. "[[:alpha:]_]". In GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1507)) of 2016-01-22 built on builder10-9.porkrind.org Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Configured features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US locale-coding-system: utf-8 Major mode: Help Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t company-quickhelp-mode: t shell-dirtrack-mode: t global-company-mode: t company-mode: t global-flycheck-mode: t diff-auto-refine-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t ipretty-mode: t global-rinari-mode: t rinari-minor-mode: t global-whitespace-cleanup-mode: t guide-key-mode: t hes-mode: t global-page-break-lines-mode: t page-break-lines-mode: t delete-selection-mode: t cua-mode: t show-paren-mode: t global-undo-tree-mode: t undo-tree-mode: t global-auto-revert-mode: t electric-pair-mode: t savehist-mode: t desktop-save-mode: t winner-mode: t ido-ubiquitous-mode: t ido-everywhere: t recentf-mode: t global-anzu-mode: t anzu-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-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 buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Type M-x delete-other-windows to delete the help window. Quit Subword mode enabled in current buffer Subword mode disabled in current buffer 200 matches (limit reached) [3 times] 194 matches Quit [5 times] uncompressing sql.el.gz...done Mark saved where search started Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail re-builder align face-remap cua-rect rect hippie-exp sql-indent sql move-dup character-fold misearch multi-isearch gitconfig-mode conf-mode wgrep-ag wgrep grep vc-hg ag find-dired browse-url org-capture bookmark linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git crm magit-section magit-utils git-commit log-edit message rfc822 mml mml-sec epg mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh debug cal-iso diary-lib diary-loaddefs hl-line org-agenda descr-text smex company-quickhelp pos-tip haml-mode markdown-mode textile-mode css-mode cursor-sensor js2-imenu-extras js2-mode js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs checkdoc tramp-cache tramp tramp-compat tramp-loaddefs trampver view tabify vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs diff-hl-dired mmm-sample mmm-mode mmm-univ mmm-class tidy rainbow-mode color mmm-erb mmm-region mmm-utils tagedit sgml-mode cap-words superword subword robe url-http tls gnutls url-auth url-gw puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode dired-sort dired+ image-dired image-file dired-x dired-aux dired dired-loaddefs org-bibtex bibtex org-bbdb org-w3m ob-sqlite ob-sh shell ob-ruby ob-python ob-octave ob-ledger ob-latex ob-gnuplot ob-dot ob-ditaa ob-R org-clock org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs sh-script executable yaml-mode company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-robe company disp-table vc-git vc-darcs xml package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums flycheck-package lisp-mnt flycheck find-func subr-x elisp-slime-nav etags xref project redshank skeleton rainbow-delimiters aggressive-indent highlight-quoted highlight-symbol diff-hl vc-dir ewoc vc vc-dispatcher diff-mode bug-reference paredit-everywhere paredit goto-addr init init-locales init-local session sanityinc-tomorrow-bright-theme color-theme-sanityinc-tomorrow server jka-compr init-ledger init-dash init-misc init-common-lisp init-clojure-cider init-clojure init-slime init-lisp cl-lib-highlight auto-compile packed ipretty pp init-paredit init-sql init-rails rinari json map jump inflections findr ruby-compilation which-func imenu pcomplete inf-ruby compile comint ansi-color ruby-mode smie init-ruby-mode derived init-elm init-haskell init-python-mode init-haml init-css init-html init-nxml init-org init-php init-javascript easy-mmode init-erlang erlang-start init-csv init-markdown init-textile init-crontab init-compile init-github init-git init-darcs init-vc init-fci init-whitespace whitespace-cleanup-mode whitespace init-editing-utils guide-key s popwin dash highlight-escape-sequences whole-line-or-region page-break-lines delsel cua-base paren undo-tree diff autorevert filenotify elec-pair init-mmm mmm-auto mmm-vars mmm-compat init-fonts init-sessions savehist desktop frameset init-windows windmove switch-window quail winner ring init-company init-hippie-expand init-ido ido-ubiquitous ido-completing-read+ cus-edit cus-start cus-load ido seq init-recentf recentf tree-widget wid-edit init-flycheck init-ibuffer ibuf-macs init-uniquify init-grep init-isearch diminish anzu thingatpt init-dired init-gui-frames init-osx-keys edmacro kmacro init-themes init-xterm init-frame-hooks init-exec-path exec-path-from-shell init-elpa fullframe finder-inf rx slime-autoloads info package epg-config url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs eieio-loaddefs gnus-util mm-util help-fns help-mode easymenu mail-prsvr password-cache url-vars init-site-lisp cl-seq cl gv cl-loaddefs pcase cl-lib init-utils init-compat init-benchmarking advice time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 1405822 192319) (symbols 48 72361 1) (miscs 40 10028 9847) (strings 32 195944 214186) (string-bytes 1 5887053) (vectors 16 94095) (vector-slots 8 2228073 154483) (floats 8 1325 2291) (intervals 56 25797 431) (buffers 976 157))