From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#16294: 24.3.50; debugger error: "button-at: Args out of range: 0" Date: Thu, 14 Jul 2016 19:59:11 -0400 Message-ID: <87vb07epps.fsf@users.sourceforge.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468540890 6232 80.91.229.3 (15 Jul 2016 00:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 00:01:30 +0000 (UTC) Cc: 16294@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 02:01:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bNqZA-0005zJ-OC for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2016 02:01:16 +0200 Original-Received: from localhost ([::1]:57537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNqZ6-0006r9-Lz for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2016 20:01:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNqZ0-0006q3-Gb for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 20:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNqYw-00080B-BI for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 20:01:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNqYw-000807-82 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 20:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNqYv-0004WE-SJ for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 20:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2016 00:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16294 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16294-submit@debbugs.gnu.org id=B16294.146854081617303 (code B ref 16294); Fri, 15 Jul 2016 00:01:01 +0000 Original-Received: (at 16294) by debbugs.gnu.org; 15 Jul 2016 00:00:16 +0000 Original-Received: from localhost ([127.0.0.1]:51860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNqYB-0004V1-OT for submit@debbugs.gnu.org; Thu, 14 Jul 2016 20:00:15 -0400 Original-Received: from mail-it0-f51.google.com ([209.85.214.51]:37584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNqY8-0004Ud-BT; Thu, 14 Jul 2016 20:00:13 -0400 Original-Received: by mail-it0-f51.google.com with SMTP id f6so6283087ith.0; Thu, 14 Jul 2016 17:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WFUTPXTgKV9B2A/0M4u5YPUKuyd0vMP0c7MEHacgnLc=; b=SRajrmSnENI6j7ikdTxUPc6GQ60JiAGchnlfgUClQAs+iUcddm5qCd5VJV1TIX/qX0 Y0z//8GTHe7VFOHy2kRswhqexAoUsbJiSIEyofvvb37AsyqukcdXffFygnQnGb7cEmEG 1+XtFGorL8rRHjrRLuXKFwPN2KO2g9H18pET7EcDj+TRtWYESzkQuW5rVIUzU4cokvn9 yUlmF72LNWZCVZ/qhZ1lvzkIV9pht/iDK3Z/iprLhfr3Vr2z/IZ3Cot4FiK6s9t9sA6h SlDEiGEdKrzDY6uEDn5yktYx/zVRHshGoAE/qIteFw/irHdhPVRmvfFPghf2HrzPLL1N PFgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=WFUTPXTgKV9B2A/0M4u5YPUKuyd0vMP0c7MEHacgnLc=; b=KSICabYjoa7JAsG7yOqp9l5TU4oY9U1eDobptSyfqdoDNgW7p5++3RNFw9ay5noASV Um4+HTTLgbwWagkZs5uRw79NVDyQoOI8U+00AQsYCRhhwP/OzcN0u7xgVE3cqgnVVZuH 8YSY+3vWvoZS8xrWv//9cmj7ldTWPFh8QLE/qXbriFlNgh5olGzREy/yqGYhc7BA/i+Q +pIXCxmzPBxrz5R08FxYif+DcIHuiFLFrKHYGmyckiLscsfHtW2RqLSX860eoli4UaUo 3Ds53XRUG4DZlDa2ScI84i4dqv2+NoyYxNhLUJyur6dfG9sypUiBX+PzqXgu5tjpTps7 ZjNg== X-Gm-Message-State: ALyK8tKYsYa2gZuq+1/MHO4i2p5aUfPomCzODs3L0oiqQm11M+/nH9P+7gCIZoLrZkJnvA== X-Received: by 10.36.67.145 with SMTP id s139mr30943780itb.78.1468540806660; Thu, 14 Jul 2016 17:00:06 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id j7sm406021ita.6.2016.07.14.17.00.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jul 2016 17:00:06 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Sun, 29 Dec 2013 14:39:33 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121103 Archived-At: merge 16294 23949 quit Drew Adams writes: > 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". This is actually the same bug as 23949, the problem is that string-match-p let-binds inhibit-changing-match-data and causes problems for the debugger code. (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23949#56) In version 24.5, emacs -Q then evaluate (string-match-p "." nil) gives "button-at: Args out of range: 0". In version 25.0.95 it gives "find-auto-coding: Wrong type argument: stringp, nil"; presumably the specifics of the code the debugger runs changed somewhat.