From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Subject: Fwd: pcomplete bug with special display buffers
Date: Mon, 05 Mar 2007 08:59:27 +0100 [thread overview]
Message-ID: <878xec86jk.fsf@localhorst.mine.nu> (raw)
[-- Attachment #1: Type: text/plain, Size: 167 bytes --]
Hello,
is there anything wrong with this one character patch or did it just
got lost?
I'm using it now for about two weeks and it seems to work pretty
well.
David
[-- Attachment #2: Type: message/rfc822, Size: 7681 bytes --]
From: David Hansen <david.hansen@physik.fu-berlin.de>
To: emacs-pretest-bug@gnu.org
Subject: pcomplete bug with special display buffers
Date: Sat, 17 Feb 2007 13:14:44 +0100
Message-ID: <87hctlq8uj.fsf@localhorst.mine.nu>
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Hello,
to reproduce the bug:
$ emacs -Q
and eval (setq special-display-regexps '("^\\*Completions\\*$"))
then use some Emacs program that uses pcomplete.el e.g. M-x eshell
and use the completion feature (press TAB at least two times) on
some not unique string, e.g. in eshell just hit TAB
Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
select-window(nil)
byte-code(<stripped as this confuses gnus to much>)
pcomplete-show-completions(("fold" "font2c" "font2psf" "fontinst" "fontname" "fontprop" "formail"))
pcomplete-stub("fo" ("fold" "font2c" "font2psf" "fontinst" "fontname" "fontprop" "formail"))
pcomplete-do-complete("fo" ("fold" "font2c" "font2psf" "fontinst" "fontname" "fontprop" "formail"))
byte-code(<stripped as this confuses gnus to much>)
pcomplete(1)
call-interactively(pcomplete)
Fix:
*** pcomplete.el 24 Jan 2007 06:19:37 +0100 1.25
--- pcomplete.el 17 Feb 2007 13:11:18 +0100
***************
*** 982,988 ****
;; Needed on a terminal
(event-matches-key-specifier-p event 9))
(save-selected-window
! (select-window (get-buffer-window "*Completions*"))
(if (pos-visible-in-window-p (point-max))
(goto-char (point-min))
(scroll-up)))
--- 982,988 ----
;; Needed on a terminal
(event-matches-key-specifier-p event 9))
(save-selected-window
! (select-window (get-buffer-window "*Completions*" t))
(if (pos-visible-in-window-p (point-max))
(goto-char (point-min))
(scroll-up)))
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/dhansen/share/emacs/22.0.93/etc/DEBUG for instructions.
In GNU Emacs 22.0.93.1 (i686-pc-linux-gnu, X toolkit)
of 2007-01-30 on robotron
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--disable-sound' '--prefix=/home/dhansen' '--without-toolkit-scroll-bars' '--disable-pop''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: en_US.UTF-8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
erc-menu-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-netsplit-mode: t
erc-spelling-mode: t
erc-truncate-mode: t
paredit-mode: t
jabber-activity-mode: t
erc-services-mode: t
erc-autojoin-mode: t
erc-track-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-smiley-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-readonly-mode: t
erc-scrolltobottom-mode: t
eldoc-mode: t
which-function-mode: t
show-paren-mode: t
iswitchb-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
abbrev-mode: 1
hs-minor-mode: t
Recent input:
<tab> <tab> C-n C-n <tab> <return> C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-p C-p
C-p C-p C-s s e l e C-n C-l M-f M-f C-h f C-g C-x 1
C-z e m <backspace> <backspace> ~ . <backspace> / b
i n <tab> e m <tab> SPC - Q SPC <return> <C-tab> C-x
b d o t <return> M-< C-s s p e c i C-a C-M-SPC M-w
C-x b <return> C-x b <return> C-n <switch-frame> <switch-frame>
C-x 1 M-x r e p <tab> o <tab> r <tab> b <tab> <ret
urn>
Recent messages:
uncompressing pcomplete.el.gz...done
Fontifying pcomplete.el.gz... (regexps...................)
uncompressing pcomplete.el.gz...done
Mark saved where search started
Quit
Partially completed
Mark set
Mark saved where search started
Mark set
Making completion list... [2 times]
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next reply other threads:[~2007-03-05 7:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 7:59 David Hansen [this message]
2007-03-05 17:33 ` Fwd: pcomplete bug with special display buffers Chong Yidong
2007-03-06 3:05 ` David Hansen
2007-03-06 14:48 ` Stefan Monnier
2007-03-07 15:04 ` David Hansen
2007-03-07 16:30 ` Stefan Monnier
2007-03-07 16:56 ` David Hansen
2007-03-07 18:12 ` Stefan Monnier
2007-03-05 21:50 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878xec86jk.fsf@localhorst.mine.nu \
--to=david.hansen@gmx.net \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.