From: Drew Adams <drew.adams@oracle.com>
To: 16294@debbugs.gnu.org
Subject: bug#16294: 24.3.50; debugger error: "button-at: Args out of range: 0"
Date: Sun, 29 Dec 2013 14:39:33 -0800 (PST) [thread overview]
Message-ID: <b59e2da5-1277-4c5c-8315-6606fcccdd51@default> (raw)
In the debugger (`debug', not `edebug'), I get to this:
(cond ((string-match-p "\\`[0-9a-fA-F]+\\'" input)
(string-to-number input 16))
((string-match-p "^#" input)
(read input))
(t
(cddr (assoc-string input mctized-cands t))))
Then, when it tried to evaluate this sexp:
(string-match-p "\\`[0-9a-fA-F]+\\'" input), which I can evaluate with
no problem using `e', the debugger is exited in error, with the
message "button-at: Args out of range: 0".
FWIW, the value of INPUT was this (a propertized string):
#("DEVICE CONTROL FOUR ^T" 0 1 (face nil) 1 21 (face nil))
(The "^T" is actually the single control character Control-T. Changed
to the string "^T" for the bug report.)
Evaluating it using `e' returns nil, as expected. Similarly, using `e'
I can evaluate (string-match-p "^#" input), to nil.
If I turn off debugging, the code works fine. The debugger itself seems
to have a problem with it.
(Var `lexical-binding' is nil, here. The code uses dynamic scoping.)
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-12-27 on ODIEONE
Bzr revision: 115778 rgm@gnu.org-20131228000456-1797o8z6veuyozs0
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
CPPFLAGS=-Ic:/Devel/emacs/include'
next reply other threads:[~2013-12-29 22:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 22:39 Drew Adams [this message]
2015-12-26 1:41 ` bug#16294: 24.3.50; debugger error: "button-at: Args out of range: 0" Lars Ingebrigtsen
2015-12-26 3:44 ` Drew Adams
2016-07-14 23:59 ` npostavs
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=b59e2da5-1277-4c5c-8315-6606fcccdd51@default \
--to=drew.adams@oracle.com \
--cc=16294@debbugs.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).