GNU bug report logs -
#16933
24.3.50; completion-table-dynamic causes error numberp nil
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Tue, 4 Mar 2014 11:32:01 UTC
Severity: normal
Tags: patch
Merged with 16934,
16935
Found in version 24.3.50
Done: Bastien <bzg <at> altern.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16933 in the body.
You can then email your comments to 16933 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16933
; Package
emacs
.
(Tue, 04 Mar 2014 11:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Liu <sdl.web <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 04 Mar 2014 11:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
If I modify octave-completion-at-point to allow (= beg end), i.e.
=== modified file 'lisp/progmodes/octave.el'
--- lisp/progmodes/octave.el 2014-02-10 01:34:22 +0000
+++ lisp/progmodes/octave.el 2014-03-04 11:22:04 +0000
@@ -1414,10 +1414,9 @@
;; Extend region past point, if applicable.
(save-excursion (skip-syntax-forward "w_")
(setq end (point))))
- (when (> end beg)
- (list beg end (or (and (inferior-octave-process-live-p)
- (inferior-octave-completion-table))
- octave-reserved-words)))))
+ (list beg end (or (and (inferior-octave-process-live-p)
+ (inferior-octave-completion-table))
+ octave-reserved-words))))
(define-obsolete-function-alias 'octave-complete-symbol
'completion-at-point "24.1")
I can reproduce the error this way:
1. Create a new buffer
2. M-x run-octave
3. M-x octave-mode
4. M-x completion-at-point a few times
Debugger entered--Lisp error: (wrong-type-argument numberp nil)
zerop(nil)
minibuffer-completion-help(#<marker at 533 in *Scratch*> 533)
completion--do-completion(#<marker at 533 in *Scratch*> 533)
completion--in-region-1(#<marker at 533 in *Scratch*> 533)
....
completion-at-point()
indent-for-tab-command(nil)
call-interactively(indent-for-tab-command nil nil)
command-execute(indent-for-tab-command)
I also tried with ggtags-completing-table and got the same error in 24.4
Both completion tables work well in 24.3.
Leo
Reply sent
to
Bastien <bzg <at> altern.org>
:
You have taken responsibility.
(Tue, 04 Mar 2014 14:38:04 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Liu <sdl.web <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 04 Mar 2014 14:38:10 GMT)
Full text and
rfc822 format available.
Message #10 received at 16933-done <at> debbugs.gnu.org (full text, mbox):
Hi Leo,
Leo Liu <sdl.web <at> gmail.com> writes:
> If I modify octave-completion-at-point to allow (= beg end), i.e.
This was related to a more general issue with
`minibuffer-completion-help', introduced in this commit:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=66c5fecc
I just fixed it.
Thanks,
--
Bastien
Merged 16933 16934.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 04 Mar 2014 16:44:01 GMT)
Full text and
rfc822 format available.
Forcibly Merged 16933 16934 16935.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 04 Mar 2014 17:05:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 02 Apr 2014 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 140 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.