all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to debug indentation
@ 2018-05-25  2:58 N. Raghavendra
  2018-05-25  3:45 ` N. Raghavendra
  2018-05-25  5:24 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: N. Raghavendra @ 2018-05-25  2:58 UTC (permalink / raw)
  To: emacs-devel

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/



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-26  2:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-25  2:58 How to debug indentation N. Raghavendra
2018-05-25  3:45 ` 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

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.