From: "N. Raghavendra" <nyraghu27132@gmail.com>
To: emacs-devel@gnu.org
Subject: How to debug indentation
Date: Fri, 25 May 2018 08:28:31 +0530 [thread overview]
Message-ID: <87y3g88mqw.fsf@gmail.com> (raw)
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 <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
next reply other threads:[~2018-05-25 2:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-25 2:58 N. Raghavendra [this message]
2018-05-25 3:45 ` How to debug indentation N. Raghavendra
2018-05-25 5:24 ` Stefan Monnier
2018-05-25 17:47 ` N. Raghavendra
2018-05-26 1:41 ` Michael Heerdegen
2018-05-26 2:26 ` N. Raghavendra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3g88mqw.fsf@gmail.com \
--to=nyraghu27132@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.