From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23949: 25.0.95; Regression in handling error caused by (string-match-p "." nil) Date: Tue, 12 Jul 2016 22:10:18 +0300 Message-ID: <83twfuad0l.fsf@gnu.org> References: <83lh17ati6.fsf@gnu.org> <83h9bvarb6.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468350776 17566 80.91.229.3 (12 Jul 2016 19:12:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 19:12:56 +0000 (UTC) Cc: schwab@suse.de, 23949@debbugs.gnu.org, monnier@iro.umontreal.ca To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 21:12:44 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 1bN36p-0001CH-NQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 21:12:43 +0200 Original-Received: from localhost ([::1]:42822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN36o-0007U6-SJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 15:12:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN36E-00075B-7B for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN36A-0004kJ-1J for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:12:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN369-0004kF-Tj for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bN369-0005ey-PJ for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 15:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23949-submit@debbugs.gnu.org id=B23949.146835066221685 (code B ref 23949); Tue, 12 Jul 2016 19:12:01 +0000 Original-Received: (at 23949) by debbugs.gnu.org; 12 Jul 2016 19:11:02 +0000 Original-Received: from localhost ([127.0.0.1]:48691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN35B-0005dX-P3 for submit@debbugs.gnu.org; Tue, 12 Jul 2016 15:11:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN35B-0005dA-01 for 23949@debbugs.gnu.org; Tue, 12 Jul 2016 15:11:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN352-0004bR-DO for 23949@debbugs.gnu.org; Tue, 12 Jul 2016 15:10:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN352-0004bN-AU; Tue, 12 Jul 2016 15:10:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3352 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bN34z-0008Gh-B8; Tue, 12 Jul 2016 15:10:51 -0400 In-reply-to: (message from Kaushal Modi on Tue, 12 Jul 2016 18:35:02 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:120945 Archived-At: > From: Kaushal Modi > Date: Tue, 12 Jul 2016 18:35:02 +0000 > Cc: 23949@debbugs.gnu.org > > On Tue, Jul 12, 2016 at 10:15 AM Andreas Schwab wrote: > > > $15 = 54138084 > > (gdb) xstring > > This is only valid if $ is a Lisp_String. Use xtype to find out. > > Hi Andreas, > > Thanks for looking into this bug thread. I have close to 0 experience with gdb. I typed 'xtype' for the same > frame and this is what I got: > > (gdb) xstring > $16 = (struct Lisp_String *) 0x33a14e0 > "(nilory is relative, it is com" > (gdb) xtype > Argument to arithmetic operation not a number or boolean. > (gdb) No, the other way around: (gdb) p string (gdb) xtype "xtype" works on the last value that was printed, it should do that on the value produced by the p(rint) command.