From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#1077: bug#670: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil) Date: Sun, 28 Nov 2010 09:26:08 -0800 Message-ID: <9F24875655894485A414CD785D95725B@us.oracle.com> References: <003e01c9257c$a385d800$0200a8c0@us.oracle.com> <009701c9263f$9cce7120$0200a8c0@us.oracle.com> <000001c94cc1$e10e9c40$0200a8c0@us.oracle.com> <8F1F8998D60341099C4204B7BDD8AD4F@us.oracle.com> <96BC00F728B94AC18A15EA95B66C5248@us.oracle.com> <83zksv5g7j.fsf@gnu.org> <0A475933984F4CDA855D91C8B7639E3B@us.oracle.com> <83fwum5xzk.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290966334 17213 80.91.229.12 (28 Nov 2010 17:45:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2010 17:45:34 +0000 (UTC) Cc: 1077@debbugs.gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 28 18:45:27 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PMlJV-0007lE-UU for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Nov 2010 18:45:27 +0100 Original-Received: from localhost ([127.0.0.1]:37653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMlJV-0003QM-Ce for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Nov 2010 12:45:25 -0500 Original-Received: from [140.186.70.92] (port=36590 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMlJ8-0003FA-Sj for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2010 12:45:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMlJ7-0001bR-Dl for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2010 12:45:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMlJ7-0001b6-AW for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2010 12:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PMkws-0002oV-2K; Sun, 28 Nov 2010 12:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Nov 2010 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 1077-submit@debbugs.gnu.org id=B1077.129096486510748 (code B ref 1077); Sun, 28 Nov 2010 17:22:02 +0000 Original-Received: (at 1077) by debbugs.gnu.org; 28 Nov 2010 17:21:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMkvv-0002nJ-SQ for submit@debbugs.gnu.org; Sun, 28 Nov 2010 12:21:04 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PMkvu-0002mm-7S for 1077@debbugs.gnu.org; Sun, 28 Nov 2010 12:21:03 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oASHQULN006012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 28 Nov 2010 17:26:32 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oASFWr4H001573; Sun, 28 Nov 2010 17:26:29 GMT Original-Received: from abhmt020.oracle.com by acsmt353.oracle.com with ESMTP id 819321981290965179; Sun, 28 Nov 2010 09:26:19 -0800 Original-Received: from dradamslap1 (/10.159.220.140) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 28 Nov 2010 09:26:18 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcuOzOXLgeRxEUn+RaqPRnoJwWFp/wATsTvQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 28 Nov 2010 12:22:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41971 Archived-At: > > No, I cannot install GDB, but if you point me to a Windows > > binary for it I will be glad to try that. > > Installing a Windows binary is what I meant. You can find it here: > http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/G > DB/GDB-7.2/gdb-7.2-1-mingw32-bin.tar.lzma/download We must have different notions of using a Windows binary, and perhaps of a Windows binary. ;-) (just kidding) That link let me download a file `gdb-7.2-1-mingw32-bin.tar.lzma'. I have no idea what to do with such a file (LZMA). On Windows (you've heard of that, right Eli? - still kidding), _users_ typically download a setup.exe file (zip that contains one), and then double-click that to launch an installer. > Let me know once you have it installed. Let me know whether the downloaded file gives me a Windows binary, and if so how to use it. > > (I also get multiple crashes per day for the latest dev builds > > It would be good to know a recipe for that. If that's impossible, > perhaps after installing GDB you will be able to provide more info. That's why I mentioned it in this context. (I don't have a recipe.) > > why does the question asking whether I want to debug with GDB have > > `Yes' as the default value if I don't have GDB installed? > > Because it doesn't check whether GDB is available. Feel free to > submit a bug report about that. Done - bug #7507. > > `Yes' => `Send Error Report' or `Don't Send'.) > > That's the default Windows GIT debugger in action. You can download > and install DrMinGW, a JIT debugger that knows about MinGW, from here: > > http://code.google.com/p/jrfonseca/wiki/DrMingw > > and then, if you answer NO, you will get a meaningful C-level > backtrace that you can save to a text file and attach to a mail > message. I'll just use the GDB binary instead, if available. > No, C code cannot signal a Lisp error from native C comparisons with < > or >. It must be some Lisp code, called directly or indirectly by > x-create-frame. Good to know. Then why doesn't the Lisp debugger have a stack frame for the Lisp function that called `<'? I assume you're saying that C calls some Lisp function _besides_ the Lisp function `<'. Why doesn't that function appear in the backtrace? Is this another Emacs bug you'd like me to file? (Still kidding, but ready to file it, if you think that's a good idea.) > > runemacs.exe -Q --debug-init -l "hexrgb.el" -l > "oneonone.el" -f "1on1-emacs" > > > > 3. M-: (add-to-list 'load-path ".") > > > > 4. M-x load-library icicles > > > > 5. M-x icy-mode > > > > 6. M-: (setq debug-on-error t) > > > > 7. C-h f f o r w TAB down down C-M-down > > What is C-M-down? On my Windows box I don't get any key event if I > press and hold Alt+Ctrl and type the down-arrow key. Sorry, I meant `end' (the End key), not `down' (down arrow key). Alternatively, you can use `S-TAB next next C-M-next C-M-next...'. That's the Page Down key. (I had written that originally, but (mis-)edited it to TAB and down.) (Actually, `C-M-down' should also work here, but I did mean `C-M-end'.) Sorry for the recipe mistake. But I don't think that was your problem - see below. > Are you sure that the exact Lisp files downloaded from the > links you posted reproduce the problem on your machine? > Maybe you have modified versions of them. I'm sure. I copied the files to a new directory, and created a Windows shortcut to open in that directory, before following the recipe. I just tried it all again, since I modified icicles-mcmd.el slightly yesterday (no relation to this bug). Just so we're on the same page going forward, it might be better if you would please download `icicles-mcmd.el' again, before trying the recipe again. I have never seen such a backtrace as you show. However, trying now and _not_ doing step #5 gives me such a backtrace. That's vanilla Emacs behavior, not Icicles. In vanilla Emacs, even in the minibuffer keymaps, the `down' key is bound to `down-list'. You are asking Emacs to go down a list but there is no list in the minibuffer: the minibuffer input is just a function name. I suspect that you just forgot step #5: Enter Icicle minor mode using `icy-mode'. If you do not see the lighter `Icy' in the mode line, then you are not in Icicle mode. Thanks for your help, Eli.