unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: bug-gnu-emacs@gnu.org
Subject: bug#1738: [Agthorr] try-expand-line-all-buffers broken in hippie-expand
Date: Tue, 30 Dec 2008 08:47:08 +0100	[thread overview]
Message-ID: <87abae6r5v.fsf@turtle.gmx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

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.


[-- Attachment #2: Type: message/rfc822, Size: 2892 bytes --]

From: Agthorr <agthorr@barsoom.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#169137: emacs21: try-expand-line-all-buffers broken in hippie-expand
Date: Thu, 14 Nov 2002 13:02:02 -0800
Message-ID: <20021114210157.GA12341@barsoom.org>

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

             reply	other threads:[~2008-12-30  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87abab924w.fsf@cyd.mit.edu>
2008-12-30  7:47 ` Sven Joachim [this message]
2009-01-01  2:50   ` bug#1738: marked as done ([Agthorr] try-expand-line-all-buffers broken in hippie-expand) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abae6r5v.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=1738@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).