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: How to debug indentation Date: Fri, 25 May 2018 08:28:31 +0530 Message-ID: <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 1527217038 25475 195.159.176.226 (25 May 2018 02:57:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 02:57:18 +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 04:57:14 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 1fM2um-0006WP-Mz for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 04:57:12 +0200 Original-Received: from localhost ([::1]:41582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fM2wt-0007tq-R7 for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 22:59:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fM2wC-0007tj-6x for emacs-devel@gnu.org; Thu, 24 May 2018 22:58:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fM2w9-0008U5-59 for emacs-devel@gnu.org; Thu, 24 May 2018 22:58:40 -0400 Original-Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:40926) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fM2w8-0008Tp-Uq for emacs-devel@gnu.org; Thu, 24 May 2018 22:58:37 -0400 Original-Received: by mail-pf0-x22b.google.com with SMTP id f189-v6so1840124pfa.7 for ; Thu, 24 May 2018 19:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:user-agent:reply-to:mail-followup-to:date :message-id:mime-version; bh=MAos7X0DuMAjaj3rDs+NH6zhHf6OX5yzAQZjtbGgjAY=; b=Unl4gGrohnMhMcEQriEzNxVFPlZ6xKfZEZtYiYTQQ+Cjzgz7K8UoY1uJa89HL4gkGB BtndSdVzcHeNANMP+L/pC08eDC0xhnc069mXRnjOjTlQAjnUbI5yp0yFH525vDhRb5H4 Ms9Ku5/xF/btbIJJEGh64vQk/z90AXo0T3KcB/2IAA1Z6Pt+zKYBrhpBuAfWnkgzItVd gaWSpRtEED2MfOlj9MEo68Ry19l5EFz4NdFW2xIwq4DW/QheOAwPUlx7vikIye04CQLB rIthv/evFlcdMC7WXdpUiZNFbWuVZbRIHZRoknP8nKljSbse257l9nSYa1Y+k3e9otL9 HGMg== 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:user-agent:reply-to :mail-followup-to:date:message-id:mime-version; bh=MAos7X0DuMAjaj3rDs+NH6zhHf6OX5yzAQZjtbGgjAY=; b=WbAD67UqP3H2fWHL2EywB1DTR+zHtUX9JNMEHe/pBQ5X/WPkqnaYEJkG5uml8zLSX5 z8RYV+Gq4ieJ110sol1HylcT5rmjyu9ciPv2wabR4q2OWrDdzS4gHtOkNS9yirKwfJ44 J5ui2dQW55/PucQASOuldZCgN/yxY25lP0N8HS14xMx7G6q4Y1LazgP7h1Ymk/rD1RxU QS/UiJrd0YHktvlpCjiutB2X96Odo3c5Prgybx9gDWIiAdQCr74XPvV5FAQfhUN2Hf2e V6TPjwCXidNIKFiqqo7hureECZK6lve6nDzZKJPWzx5DwuJiJxDsdRzJ5VDcGeWcdxiY eF0Q== X-Gm-Message-State: ALKqPwdFKoX0BZV+NKOowTsyGAwIRzHSCMvjtMuUnIr0ewYumO4zhH5F QjKpR/WQUtzWnFabm79SakVkkg== X-Google-Smtp-Source: AB8JxZrQcCpAtu9MqW01HcL/SZQOP/eUTmB9RQjCaWH/3HY8qTM8BicTV0u2SSJE4KrD87yYMmxR2w== X-Received: by 2002:a63:2a89:: with SMTP id q131-v6mr480725pgq.379.1527217115456; Thu, 24 May 2018 19:58:35 -0700 (PDT) Original-Received: from ailuros ([14.139.59.140]) by smtp.gmail.com with ESMTPSA id 184-v6sm38280002pfg.89.2018.05.24.19.58.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 19:58:35 -0700 (PDT) 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:c00::22b 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:225690 Archived-At: 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. 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/