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: Re: nXML mode indentation Date: Sat, 12 May 2018 10:06:48 +0530 Message-ID: <87y3gp32xr.fsf@gmail.com> References: <87a7tedxyb.fsf@gmail.com> <8736z2ydeq.fsf@gmail.com> <878t8uwouz.fsf@gmail.com> <87muxaupvd.fsf@gmail.com> <871selv7gj.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 1526099724 27517 195.159.176.226 (12 May 2018 04:35:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 May 2018 04:35:24 +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 12 06:35:19 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 1fHMFb-00073u-Ks for geh-help-gnu-emacs@m.gmane.org; Sat, 12 May 2018 06:35:19 +0200 Original-Received: from localhost ([::1]:44045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMHh-0004v5-7D for geh-help-gnu-emacs@m.gmane.org; Sat, 12 May 2018 00:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHMHB-0004u0-AQ for help-gnu-emacs@gnu.org; Sat, 12 May 2018 00:36:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHMH8-0008GE-6l for help-gnu-emacs@gnu.org; Sat, 12 May 2018 00:36:57 -0400 Original-Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:37585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHMH8-0008G0-0m for help-gnu-emacs@gnu.org; Sat, 12 May 2018 00:36:54 -0400 Original-Received: by mail-pf0-x22b.google.com with SMTP id e9-v6so3600862pfi.4 for ; Fri, 11 May 2018 21:36:53 -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=CfvpGcWwfXseBP1M9KdQKSj+k6I7pgKrZMQMOhw3DS0=; b=OjhKRo5+UAx9MpOtJAeHeAb6HilguLWC+SGfywA8d72lHuW7uyKmMo4JrKoMiZweGJ y4MKg6Qe3DJxO6xZHcV5h4hQOhbNfUd5ZCvqMGsNsk21bATlBeztrlu/mQf8kfiR7KDG UGVPw1Mnt5wgf3sNqmWLbCc/wxom784OnVouTZx1EwkG75bCCqoKnxYYdSima8lTCHPr H/HT6gUMvQJeJ5dDmNUzieJC7rY6t83F6Ls8ahJAnprYyJ0NgLto3qAMVnCeeeVQqS50 QNvlGpy/b3kT4qiDVsCfF8kmQueIx6yBd5uNk1TCKkvWX/i1QsrCOvaXv3yFhaNngFe5 Bmdw== 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=CfvpGcWwfXseBP1M9KdQKSj+k6I7pgKrZMQMOhw3DS0=; b=W/K0An5KOotQQdMiNLokbWhnwO7MoTA/A2uLqNhXz+jVZsjSQDRdkgiVwGLxqaN820 VEydum+5SQw4ggxr67fxAHBCev5FV7d3IrZJD0vwRxunlQc4RpahieNuadunUrj+ySmV VTGtQsRoWZCnjcTxVagRf82CkBKat4F0E4m/vb+QhhdGpbsDZ+qw/LcrIN8mrTVRjBuc 0SwN4KgtK/2+y3EoiRHNoj+PpAGABA+jdm5rFcNAwNjmJbguJtJR1yj00PjEJcF2SvVS mEpNaP23z6ug8V0BUmKgrzVzdtQfzbAYi+0euJ2jfssifwU6YOOlvEBLoT0AAMSX4eSC oxwQ== X-Gm-Message-State: ALKqPwf5ZC/1YcAGRMBirO2Lyw0hyv66bAjFxCRIcqsSTDfL1XSifAPQ ErQ/uVmrd87S9AUK1cySw02aVg== X-Google-Smtp-Source: AB8JxZor3114yjnniYN4/eJd1FKN4AvAtWMEEVm8JuXo4LojIZT0RwRUg/Tqd4RyswWH3RiWA3OKJA== X-Received: by 2002:a62:ae13:: with SMTP id q19-v6mr1615790pff.155.1526099812639; Fri, 11 May 2018 21:36:52 -0700 (PDT) Original-Received: from ailuros ([14.139.59.140]) by smtp.gmail.com with ESMTPSA id w1-v6sm6373534pgp.3.2018.05.11.21.36.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 21:36:52 -0700 (PDT) In-Reply-To: <871selv7gj.fsf@gmail.com> (N. Raghavendra's message of "Wed, 09 May 2018 08:52:36 +0530") 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:c00::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:116718 Archived-At: At 2018-05-09T08:52:36+05:30, N. Raghavendra wrote: > I've found a fix for this also. > > I've seen references to difficulties with nXML mode indentation, so I am > enclosing the changes in case someone else is bugged by the problem. > Using the advice mechanism seems a kludge, but it will do for me at > present. Just for the record, my kludge doesn't work. It works for simple elements, but gives unwanted indentation for even slightly complex elements. So, I have to throw it away, and accept nXML mode's default indentation, though it is different from that of sgml mode or psgml mode. Cheers, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/