unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1738: [Agthorr] try-expand-line-all-buffers broken in hippie-expand
@ 2008-12-30  7:47 ` Sven Joachim
  2009-01-01  2:50   ` bug#1738: marked as done ([Agthorr] try-expand-line-all-buffers broken in hippie-expand) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Joachim @ 2008-12-30  7:47 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1738: marked as done ([Agthorr] try-expand-line-all-buffers  broken in hippie-expand)
  2008-12-30  7:47 ` bug#1738: [Agthorr] try-expand-line-all-buffers broken in hippie-expand Sven Joachim
@ 2009-01-01  2:50   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-01-01  2:50 UTC (permalink / raw)
  To: Chong Yidong

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


Your message dated Wed, 31 Dec 2008 21:43:59 -0500
with message-id <87abab924w.fsf@cyd.mit.edu>
and subject line Re: [Agthorr] try-expand-line-all-buffers broken in hippie-expand
has caused the Emacs bug report #1738,
regarding [Agthorr] try-expand-line-all-buffers broken in hippie-expand
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1738: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1738
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

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

[-- Attachment #2.1.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.1.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

[-- Attachment #3: Type: message/rfc822, Size: 1390 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Sven Joachim <svenjoac@gmx.de>
Cc: 1738-done@emacsbugs.donarmstrong.com
Subject: Re: [Agthorr] try-expand-line-all-buffers broken in hippie-expand
Date: Wed, 31 Dec 2008 21:43:59 -0500
Message-ID: <87abab924w.fsf@cyd.mit.edu>

> 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.

Done, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-01  2:50 UTC | newest]

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

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).