From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: nXML mode indentation Date: Tue, 08 May 2018 08:19:45 +0000 Message-ID: References: <87a7tedxyb.fsf@gmail.com> <8736z2ydeq.fsf@gmail.com> <878t8uwouz.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525767498 1454 195.159.176.226 (8 May 2018 08:18:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 May 2018 08:18:18 +0000 (UTC) To: nyraghu27132@gmail.com, help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 08 10:18:14 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1fFxp7-0000Ga-EL for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2018 10:18:13 +0200 Original-Received: from localhost ([::1]:49874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFxrE-0007fv-Cx for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2018 04:20:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFxqn-0007ff-NS for help-gnu-emacs@gnu.org; Tue, 08 May 2018 04:19:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFxqm-0003VW-Oy for help-gnu-emacs@gnu.org; Tue, 08 May 2018 04:19:57 -0400 Original-Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:33407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFxqm-0003VQ-Jm for help-gnu-emacs@gnu.org; Tue, 08 May 2018 04:19:56 -0400 Original-Received: by mail-oi0-x22b.google.com with SMTP id k5-v6so20790361oiw.0 for ; Tue, 08 May 2018 01:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=bgQZ87Yp6p5JHfjKn673kPUdf2/uFFOB3Zl0UJTo8t4=; b=arcPSKug7sJQlcVholYFDcLc/CkfTjVfeRetBSY7Bu4bZzHZIgh+otQJvLQxhJuB7x 83cgsLKtA+y49HdIxI1s7c2DRZmU+O9EqlhVObB5qmezje56cTsAedVA9eeQUAKULcvb 3OL4Igp8r2xx6U6YdD5yzL7x9vjvQP5ydswrnFuT50c2sax0iOrvreA20rx0IezfVBSz HGRpJaLOqbmp7l6eWRrWiPhlnz00cfvAm0x6CkoXmx3tzDumiho1mz1gKNrVVaNq273d KpurauhknaBDWdXH9fQ0uLptp0pRWgJa4LmUeYOVbHoWeSMybJ4UOi0zYN8274sX+2Uq sNzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=bgQZ87Yp6p5JHfjKn673kPUdf2/uFFOB3Zl0UJTo8t4=; b=SudUfI8Wxt9oVy8FAioczf4tjjYEyPtOtWvIcOHP8vVp4XpG3bjNhlzozKvXkSIkso mgmbM/dHPDglnipemnhDCog6XSfyRS9n++eRmWJesKaUBy74x8baXpqQsRcB26WeFGnl a60pA5oBOtWIPFJ7vBHwL6eyiHZLdfsS8o6V4PjgvXFxXoCuxlJ+Z5sodnTuOIJJN+LQ /kDrBycmW+p5E60dkpkDcW7aTRJT0R+a9uFJAtgOBV+j6owBOv2ptWyAO6+NgrbGD987 3oDJwtw0P46y/F3640s814ZZ1t+//ngisUWKFHBMFPPvohfz/v545PiB3w57QdFxsItl mzTQ== X-Gm-Message-State: ALKqPwfOEzz0Gd7d13GzsOKwCMZgBb+tNbUdD//5CEqTrLAKLDa7Jlw/ 7yzw68NUu/GUutkamocgF1tg77Skh3y/r7DlyNk= X-Google-Smtp-Source: AB8JxZrwY/1ZAvC11GwVsjVt1lUOtzRKRiBdWuQmgXxwkYow+q3ALsxW28qQKELqnUdvGUIMvu4lCmuashbiwSGj7xY= X-Received: by 2002:aca:c108:: with SMTP id r8-v6mr8686834oif.68.1525767595974; Tue, 08 May 2018 01:19:55 -0700 (PDT) In-Reply-To: <878t8uwouz.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116689 Archived-At: On Tue, May 8, 2018 at 3:09 PM N. Raghavendra wrote: > I have made some progress, with this function. I tried changing the > definition of `nxml-compute-indent-from-previous-line' as follows: > This almost gives me the indentation that I want, as in, > ---------- > Let us suppose that the noumena have nothing to do with > necessity, since knowledge of the Categories is a posteriori. > Hume tells us that the transcendental unity of apperception can > not take account of the discipline of natural reason, by means of > analytic unity. > ---------- > The only thing is that the last line in the para, the one starting with > "analytic", is not indented as I want it. It should be indented to the > same column as the previous line, the one starting with "not". > I have put > (message "bc=3D%s ac=3D%s" before-context after-context) > to give me some idea of what is happening. However, it does not produce > any message when I go to the troublesome last line of the para, and > press tab. That probably means the indentation for that line is computed in =E2=80=98nxml-compute-indent-from-matching-start-tag=E2=80=99.