From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.devel Subject: Re: How to debug indentation Date: Fri, 25 May 2018 09:15:47 +0530 Message-ID: <87tvqw8kk4.fsf@gmail.com> References: <87y3g88mqw.fsf@gmail.com> Reply-To: "N. Raghavendra" NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527219882 19089 195.159.176.226 (25 May 2018 03:44:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 03:44:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 25 05:44:38 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fM3ee-0004oe-0A for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 05:44:36 +0200 Original-Received: from localhost ([::1]:41675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fM3gl-0008R8-3G for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 23:46:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fM3fw-0008R2-Qy for emacs-devel@gnu.org; Thu, 24 May 2018 23:45:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fM3ft-0007xU-Mn for emacs-devel@gnu.org; Thu, 24 May 2018 23:45:56 -0400 Original-Received: from mail-pl0-x22c.google.com ([2607:f8b0:400e:c01::22c]:44606) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fM3ft-0007xG-Gz for emacs-devel@gnu.org; Thu, 24 May 2018 23:45:53 -0400 Original-Received: by mail-pl0-x22c.google.com with SMTP id m24-v6so2293730pls.11 for ; Thu, 24 May 2018 20:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:reply-to :mail-followup-to:date:message-id:mime-version; bh=Ys+BOEZo2EE0QFvAamE6Da1mRo/Y5Kt4JrtFceWrBtI=; b=S+1itLHEaEEDSudEWXZG/tiCTAF5GQnzG1vLdoS3FwBHFgITzrvuHSMsKnzCrnEgTQ Q45sAic0tUSVcmx8AZpXeKqNgXkBkEKD1VC5XhoJXrmoeetJQDYRBsT5jybAGsDC9jRF IsZY4wEDhaG7N54wA+lf9YP4nZeMq3eNkF7MdNVqUkKd+A0edv7xmf7o/lljkG7fFYVS Srqye1wZIZpeXzH4sgyjhxaC7UHKlWXQ6EOdU6EFDIcnLROfWdI7IDXzC4RGcaPl6HFe A9VKkX61VkdwUnvlEySj6Fhiz6TsK2LpeMTBqhFwHhFAo0dT9lP27TCqmYlxybbuHsgD oW+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:reply-to:mail-followup-to:date:message-id:mime-version; bh=Ys+BOEZo2EE0QFvAamE6Da1mRo/Y5Kt4JrtFceWrBtI=; b=Vfu88kmC4oxv5xq7fmyVGo9iLll5X8rU3+S+0rp/RE8/XI9o8c5GhC7fNhn6f0DZPt z9ORxOvU6i3M9Frf4k11HKaCc0QaQ2MSG73NeethsH/xzO3OPv2I+zpBroEfNuZn5HiJ o99YdlG9ue+iczCnBNXca/tHzwWlgdOlJmwxWcXr+q3UgPWm+ESeqDvDbHQrkits2mbu FW5hvNUH3dVOfLM+yxK7ScO0z4X43AucfwvoXDcD2bNb1oPmGcKIkwo/n4Rc9Ny9ofRD GGQ7C+TX+gFate0Un3KEjw7WEaFuRNk0oHPpAiMSZhKcDUqLZUoiPCzE+gqlYXeRXRmG 8imQ== X-Gm-Message-State: ALKqPwe1XX2G1zNb902wXRLhhoAh5J66LFEHN9oYrsA7ueE473oG8ayM xdgEWRRUCXd0PYkUYCko2VxNEA== X-Google-Smtp-Source: AB8JxZqxArcjOhjPwajYewhNF6LikoR+oDH+9TBXzsLdZuZX1DJD5g3p16U/AF6bWJs2DIjg/NMVBQ== X-Received: by 2002:a17:902:14b:: with SMTP id 69-v6mr830956plb.184.1527219952234; Thu, 24 May 2018 20:45:52 -0700 (PDT) Original-Received: from ailuros ([14.139.59.140]) by smtp.gmail.com with ESMTPSA id z62-v6sm56428627pff.57.2018.05.24.20.45.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 20:45:51 -0700 (PDT) In-Reply-To: <87y3g88mqw.fsf@gmail.com> (N. Raghavendra's message of "Fri, 25 May 2018 08:28:31 +0530") Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225694 Archived-At: At 2018-05-25T08:28:31+05:30, N. Raghavendra wrote: > I am trying to debug nXML mode indentation. As a way of seeing what > functions like `nxml-indent-line' and `nxml-compute-indent' do, I am > inserting `message' forms at various places in these functions, and > looking at the *Messages* buffer to see what has happened. However, I > am finding this method cumbersome. I meant that after inserting the message forms, I open a test XML file, go to various lines, press TAB, and see the messages that are generated. > Is there a more systematic way of doing this? Is it possible to use > Edebug to debug indentation? Or any other methods? > > Thanks, > Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/