From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: nXML mode indentation Date: Sat, 05 May 2018 19:08:36 +0530 Message-ID: <87a7tedxyb.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 1525527432 28058 195.159.176.226 (5 May 2018 13:37:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 May 2018 13:37:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 05 15:37:08 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 1fExN4-00079L-23 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2018 15:37:06 +0200 Original-Received: from localhost ([::1]:38897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fExP9-0005Rj-5J for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2018 09:39:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fExOg-0005RS-Et for help-gnu-emacs@gnu.org; Sat, 05 May 2018 09:38:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fExOd-0000kG-CP for help-gnu-emacs@gnu.org; Sat, 05 May 2018 09:38:46 -0400 Original-Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:41193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fExOd-0000jy-6M for help-gnu-emacs@gnu.org; Sat, 05 May 2018 09:38:43 -0400 Original-Received: by mail-pg0-x230.google.com with SMTP id m21-v6so17268305pgv.8 for ; Sat, 05 May 2018 06:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:user-agent:reply-to:mail-followup-to:date :message-id:mime-version; bh=kEKptRSmbeBLxTUetmMSZYDFixK9hdfn9E37jaGkmiE=; b=lrcoliGPRty+bcv9pkCdmhf1bbEa22YMozUc54fZBygpVdNFZc7r2nmnk8+fXw2EtS YaMlEn5lDMMfI210NTBkzaKSOX5+ZS9SnS+HNhg/m/8iAEUMVbG4ivOmwE2g+MgKoqWM fWrjLHiZy1odPIa7Y88TNRpSBGM6Tyi4b5rbWpORNHw4E1Nm8cJrvMam78H9HhplF3jx gL6b4rzgbRfTlepIDQo5BnDiM50oCg7p/ZjKt8VZ/AzLn7w3sBcQoawIv4nJXPzuXNx3 eZnZAwrLp7/X2WVjBKtgD/NSXps9lRkwiDnarbJcmM1+saEJZJ9hTBtP2Klk/FAE/x0g OHLA== 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:user-agent:reply-to :mail-followup-to:date:message-id:mime-version; bh=kEKptRSmbeBLxTUetmMSZYDFixK9hdfn9E37jaGkmiE=; b=i+VTWuZcMgOwV2AL77mQXiipgPSy8wt0Q3K+9QOKrsCXNn7VaZt0mF0pBuNgqdNG4b TG0LzXgtKju6pvG+3qjCCCcD0e2GNkusYQKOtekzsnPKXJyVT5wz5vpHl17HMIlwOs11 JKDexGToPT65igBQRZSzFPh37HR4IG5n6etivSDw5pZ/wyMAB5o8UB+RI+I1JRO5+IIO jQLu9uTNtYWzrUSXKw8WR9+WVJYB4ncGfr6/7/Gtd7tNxmR+Vh7u6eAMuMtkDBYyKZlK 1+Pm0XrRMLWDFks0pYBbY+sdQqFuo2J5M4aXxvb31500l7y9iiT8vUOtTtsrSfk8+Uh6 QvmQ== X-Gm-Message-State: ALQs6tBp+1/LOAYgA3FatUi2woiq1P4sJt/stTOpEJEOpqaTcfMAoD7v LEJB1dUFszvflCoOAvDnyo4yJw== X-Google-Smtp-Source: AB8JxZo+bOwnLXrb4aVQ2Gfcj5+Pi/zf5l3SN4u0upN+gx6h1i4z9kKhtUwI4DNUNZzC6O/xkRICnA== X-Received: by 10.98.152.29 with SMTP id q29mr10141601pfd.65.1525527521932; Sat, 05 May 2018 06:38:41 -0700 (PDT) Original-Received: from ailuros ([14.139.59.140]) by smtp.gmail.com with ESMTPSA id s17sm42731873pfi.165.2018.05.05.06.38.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 May 2018 06:38:41 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::230 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:116648 Archived-At: I request help regarding indentation of text that is directly inside elements in nXML mode. Here is an example of the default indentation provided by the mode: ---------- 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. ---------- All the lines in the element are indented to the same column. I would like to indent the above text as ---------- 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. ---------- Here, every line in the element after the first is indented two columns more than the first line. (This is in fact the default indentation of sgml mode, and psgml mode.) Is there a way to achieve the second style of indentation in nXML mode? Thanks, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/