all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "N. Raghavendra" <nyraghu27132@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: How to debug indentation
Date: Fri, 25 May 2018 23:17:05 +0530	[thread overview]
Message-ID: <874livtyp2.fsf@gmail.com> (raw)
In-Reply-To: <jwv4liw9umw.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Fri, 25 May 2018 01:24:01 -0400")

At 2018-05-25T01:24:01-04:00, Stefan Monnier wrote:

> If the indentation code is spread over several functions,
> `trace-function` can be useful as well (along with insertion of
> `trace-values` calls).

I can see what `trace-function' does, but can't make out how to use
`trace-values'.  I saw trace.el, but there is no documentation there
about it.  Can you give some idea of how to use it?

> Yes, I often use Edebug to debug indentation problems.

I am now able to use Edebug to see how the indentation is working.

Thanks,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/



  reply	other threads:[~2018-05-25 17:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=874livtyp2.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.