all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16294: 24.3.50; debugger error: "button-at: Args out of range: 0"
@ 2013-12-29 22:39 Drew Adams
  2015-12-26  1:41 ` Lars Ingebrigtsen
  2016-07-14 23:59 ` npostavs
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2013-12-29 22:39 UTC (permalink / raw)
  To: 16294

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'





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

end of thread, other threads:[~2016-07-14 23:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-29 22:39 bug#16294: 24.3.50; debugger error: "button-at: Args out of range: 0" Drew Adams
2015-12-26  1:41 ` Lars Ingebrigtsen
2015-12-26  3:44   ` Drew Adams
2016-07-14 23:59 ` npostavs

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.