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: Re: How to debug indentation Date: Fri, 25 May 2018 23:17:05 +0530 Message-ID: <874livtyp2.fsf@gmail.com> References: <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 1527270411 16857 195.159.176.226 (25 May 2018 17:46:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 17:46:51 +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 19:46:47 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 1fMGnc-0004D9-22 for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 19:46:44 +0200 Original-Received: from localhost ([::1]:46185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMGpi-0004CA-Om for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 13:48:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMGo7-0003mL-V0 for emacs-devel@gnu.org; Fri, 25 May 2018 13:47:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMGo3-0001Ez-BG for emacs-devel@gnu.org; Fri, 25 May 2018 13:47:16 -0400 Original-Received: from mail-pl0-x229.google.com ([2607:f8b0:400e:c01::229]:37808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMGo3-0001En-3s for emacs-devel@gnu.org; Fri, 25 May 2018 13:47:11 -0400 Original-Received: by mail-pl0-x229.google.com with SMTP id w19-v6so3555015plq.4 for ; Fri, 25 May 2018 10:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:reply-to :mail-followup-to:date:message-id:mime-version; bh=VB6M8Ecb35amHNS0y5Q71l0eepYsrGNt80N4fy6DS0k=; b=Xw/kBDx9wuV7W7OneU4aIjMnA8aS8bVe49JDhnhdp0CAQ0kPtMORfQuxbrSHR/vxD4 EuzO+PVxFzQ9GF0v7KyY7KR4DPpa5of+p8XTkFvha2rYm99WBuQk8w3tltmrltT3gZr7 dof979b2i9O/p0Rc2xTL4xcFZqpWtleRc08kHC3E23y2saAlYRAyCDQw6cb+vJ6QXbHl CxAZRRrjM+tnhlRRrMjvA8pMnnjn5QElznzxQhmkx9ofqXSTy/uBdn9we4vMJQI/neFt 4y/pL5CTvcn2GV2mYBdw04DNCUzVNWUK7ZRF48jJYcwp8UWTTwpAx5z9l6B03uKifSK4 ZLqg== 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:in-reply-to:references :user-agent:reply-to:mail-followup-to:date:message-id:mime-version; bh=VB6M8Ecb35amHNS0y5Q71l0eepYsrGNt80N4fy6DS0k=; b=ViI6iGjgatOYOfCxBIzbbJtoPcCg9tKZHSu/HYOZsWYlZSun6Sk1FZ+vtCvsAnpxOj SBcFEW7nukmcNRTXHcseABorBF4T/HRnFSMD10bvBXjNw2y8Or/Bpd9W2tfdWJJu653S 6rQD3WwI3CU5aZ+B/YSC+Aq1BBjDfuuewCGtP3+GrbuYMNDSzhnE9lJJ2gJ9RNWn+PWf jVrJMpCUX8qMmW3jIswrBpGMBTA91xoc7Hpts4JXei7MY5wJd5TQwmMYDv1zUQDdQqJE FHYJHBJpJkCEVguWXoTSnlLg4fTzCJGaC8ZcuTT9ITxo+mABDaSYn5nwr1eeI0Fjwddz sNaQ== X-Gm-Message-State: ALKqPwcDJnX5R6wWlr5/Jy3HUSA8b1t1XLMqUyCNopjk3GHiFRacofle FNSyJf9OgPrek9ejfYwNyPv0nA== X-Google-Smtp-Source: AB8JxZr6ggspMdkn1lIAYJv7wdb19zuqSEjgZWoLS8aKu5XfBxkstdAXk1OATYhRh4P075VVQ4NBuQ== X-Received: by 2002:a17:902:7089:: with SMTP id z9-v6mr1011962plk.231.1527270429610; Fri, 25 May 2018 10:47:09 -0700 (PDT) Original-Received: from ailuros ([14.139.59.140]) by smtp.gmail.com with ESMTPSA id r20-v6sm44296133pff.152.2018.05.25.10.47.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 10:47:08 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 25 May 2018 01:24:01 -0400") 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:c01::229 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:225713 Archived-At: 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 , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/