bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1738: [Agthorr] try-expand-line-all-buffers broken in hippie-expand


From: Sven Joachim
Subject: bug#1738: [Agthorr] try-expand-line-all-buffers broken in hippie-expand
Date: Tue, 30 Dec 2008 08:47:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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.

--- Begin Message --- Subject: Bug#169137: emacs21: try-expand-line-all-buffers broken in hippie-expand Date: Thu, 14 Nov 2002 13:02:02 -0800 User-agent: Mutt/1.3.28i
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

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]