[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug indentation

From: N. Raghavendra
Subject: Re: How to debug indentation
Date: Fri, 25 May 2018 09:15:47 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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 <address@hidden>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]