From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#11935: XINT etc. should be functions Date: Mon, 16 Jul 2012 14:40:34 -0700 Organization: UCLA Computer Science Department Message-ID: <50048A52.2050005@cs.ucla.edu> References: <500039B7.8050106@cs.ucla.edu> <5002C895.4080400@cs.ucla.edu> <50042B0F.9050105@cs.ucla.edu> <83629nbs81.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342474877 18792 80.91.229.3 (16 Jul 2012 21:41:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 21:41:17 +0000 (UTC) Cc: 11935@debbugs.gnu.org, rms@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 23:41:16 2012 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 1Sqt2V-0002xI-3k for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 23:41:11 +0200 Original-Received: from localhost ([::1]:40377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqt2U-0006is-E8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 17:41:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqt2R-0006iO-2B for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqt2P-0001c6-Rl for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:41:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqt2P-0001bz-O2 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:41:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sqt89-0006q3-Ot for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2012 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11935 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11935-submit@debbugs.gnu.org id=B11935.134247520926268 (code B ref 11935); Mon, 16 Jul 2012 21:47:01 +0000 Original-Received: (at 11935) by debbugs.gnu.org; 16 Jul 2012 21:46:49 +0000 Original-Received: from localhost ([127.0.0.1]:44758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sqt7w-0006pd-RA for submit@debbugs.gnu.org; Mon, 16 Jul 2012 17:46:49 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:40562) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sqt7u-0006pV-HC for 11935@debbugs.gnu.org; Mon, 16 Jul 2012 17:46:47 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2525C39E800B; Mon, 16 Jul 2012 14:40:49 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p5Hot0cOHpdK; Mon, 16 Jul 2012 14:40:48 -0700 (PDT) Original-Received: from [192.168.1.4] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A601339E8008; Mon, 16 Jul 2012 14:40:48 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 In-Reply-To: <83629nbs81.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62008 Archived-At: On 07/16/2012 09:12 AM, Eli Zaretskii wrote: > Why would we need to put a breakpoint on a function that replaces the > XINT macro? I was thinking more of larger macros like CHAR_TABLE_REF_ASCII, where it can be helpful to step through the interior loop. This cannot be done easily right now -- I typically drop into machine code, which is painful. Even for XINT, it can be helpful (for a beginner, anyway) to step through a function, for example, to see what happens with integers that are out of range for Emacs fixnums. I know that Emacs has gdb macros that substitute for straightforward commands to print expressions, and these are useful for the long-time Emacs experts who know about them, but it'd be nicer if debugging also worked in the usual way without requiring this additional expertise.