From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#1738: [Agthorr] try-expand-line-all-buffers broken in hippie-expand Date: Tue, 30 Dec 2008 08:47:08 +0100 Message-ID: <87abae6r5v.fsf@turtle.gmx.de> Reply-To: Sven Joachim , 1738@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1230627881 18291 80.91.229.12 (30 Dec 2008 09:04:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 09:04:41 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 10:05:33 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHaWu-0005b7-KP for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 10:04:48 +0100 Original-Received: from localhost ([127.0.0.1]:38517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaVg-0006Xx-HJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 04:03:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHaVc-0006Xd-6w for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHaVa-0006Wy-Cn for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:27 -0500 Original-Received: from [199.232.76.173] (port=38579 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaVa-0006Wh-6J for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50946) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHaVZ-0001tC-Ak for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 04:03:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBU93Mgl019813; Tue, 30 Dec 2008 01:03:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBU8t5JG017531; Tue, 30 Dec 2008 00:55:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sven Joachim Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Dec 2008 08:55:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1738 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123062684216061 (code B ref -1); Tue, 30 Dec 2008 08:55:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 08:47:22 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBU8lJGA016055 for ; Tue, 30 Dec 2008 00:47:20 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHaFy-0003LW-PC for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:47:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHaFy-0003L6-8d for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:47:18 -0500 Original-Received: from [199.232.76.173] (port=47102 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaFy-0003L3-4N for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:47:18 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:35384) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHaFx-0000Fm-Jz for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:47:17 -0500 Original-Received: (qmail invoked by alias); 30 Dec 2008 07:47:14 -0000 Original-Received: from p54864516.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.69.22] by mail.gmx.net (mp025) with SMTP; 30 Dec 2008 08:47:14 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+5MH0MSRu5BDrarlbjq+jxSBi19e1t+jjzB0ke0y Mnls0cSRvIIfnm Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id EDC43354B0; Tue, 30 Dec 2008 08:47:08 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 30 Dec 2008 04:03:27 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23567 Archived-At: --=-=-= I'm revising old Emacs bugs in Debian and will forward some of them that still apply. To reproduce this one: emacs -Q M-: (start-process "nop" (current-buffer) "sleep" "100") In the *scratch* buffer, type "free", then with point after that word M-x hippie-expand Result is the error Symbol's value as variable is void: comint-use-prompt-regexp A possible solution is to (require 'comint) in hippie-exp.el. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Subject: Bug#169137: emacs21: try-expand-line-all-buffers broken in hippie-expand Reply-To: Agthorr , 169137@bugs.debian.org Resent-From: Agthorr Original-Sender: Agthorr Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Rob Browning , emacs21@packages.qa.debian.org Resent-Date: Thu, 14 Nov 2002 21:03:08 GMT Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 169137 X-Debian-PR-Package: emacs21 X-Debian-PR-Keywords: Date: Thu, 14 Nov 2002 13:02:02 -0800 From: Agthorr To: Debian Bug Tracking System Message-ID: <20021114210157.GA12341@barsoom.org> User-Agent: Mutt/1.3.28i X-Reportbug-Version: 1.50 Sender: Agthorr Delivered-To: submit@bugs.debian.org MIME-Version: 1.0 Package: emacs21 Version: 21.2-1 Severity: normal I recently started using the hippie-expand package, but there seems to be a bug in the try-expand-line-all-buffers function. Here's the relevant bit of my .emacs: (global-set-key "\M-/" 'hippie-expand) (setq hippie-expand-try-functions-list '(try-complete-file-name try-expand-all-abbrevs try-expand-line try-expand-line-all-buffers try-expand-list try-expand-list-all-buffers try-expand-dabbrev-visible try-expand-dabbrev try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill try-expand-whole-kill)) When I do an expansion, I get this in my *Messages* and the expand fails: apply: Symbol's value as variable is void: comint-use-prompt-regexp-instead-of-fields If I comment out try-expand-line-all-buffers, everything works fine. It also works if one of the earlier expansions finds a match. -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux liberty 2.4.18liberty #1 SMP Fri May 24 14:42:40 PDT 2002 i686 Locale: LANG=C, LC_CTYPE= Versions of packages emacs21 depends on: ii dpkg 1.9.21 Package maintenance system for Deb ii emacsen-common 1.4.15 Common facilities for all emacsen. ii libc6 2.2.5-14.3 GNU C Library: Shared libraries an ii libjpeg62 6b-5 The Independent JPEG Group's JPEG ii liblockfile1 1.03 NFS-safe locking library, includes ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand ii libpng2 1.0.12-3.woody.2 PNG library - runtime ii libtiff3g 3.5.5-6 Tag Image File Format library ii xaw3dg 1.5-13 Xaw3d widget set ii xlibs 4.1.0-16 X Window System client libraries ii zlib1g 1:1.1.4-1 compression library - runtime --=-=-=--