From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: XML editing wishlist Date: Wed, 20 Jun 2007 01:57:21 +0200 Message-ID: <46786D61.5010707@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182297450 18398 80.91.229.12 (19 Jun 2007 23:57:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2007 23:57:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 20 01:57:29 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I0nZg-0001Sn-Vt for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 01:57:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0nZg-0005py-CJ for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2007 19:57:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0nZd-0005ny-Eb for emacs-devel@gnu.org; Tue, 19 Jun 2007 19:57:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0nZc-0005lx-2e for emacs-devel@gnu.org; Tue, 19 Jun 2007 19:57:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0nZb-0005lk-U3 for emacs-devel@gnu.org; Tue, 19 Jun 2007 19:57:23 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I0nZb-00083Q-DU for emacs-devel@gnu.org; Tue, 19 Jun 2007 19:57:23 -0400 Original-Received: from c83-254-133-189.bredband.comhem.se ([83.254.133.189]:61839 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1I0nZZ-0001uo-85; Wed, 20 Jun 2007 01:57:22 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 000750-2, 2007-06-19), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.133.189 X-Scan-Result: No virus found in message 1I0nZZ-0001uo-85. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1I0nZZ-0001uo-85 27db0a1871712b373cda8cb77b1430d5 X-detected-kernel: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73363 Archived-At: Drew Adams wrote: > I would love to see a really handy XML editing mode. I don't claim it > doesn't exist, but I haven't yet noticed some things I'd like to see. `C-h > m' in nXML mode gives only a cursory description, the XML menu-bar menu > seems quite sparse, there are no contextual pop-up menus (that I have > noticed), and the nXML Info manual (which I have only skimmed) seems also > quite skimpy. In short, where's the beef? ;-) In the function nxml-complete. Internally nXml uses rng, but there are converters available from dtd and xsd. > 1. Double-click the mouse on `<' or `>' to pick up a complete sexp, just as > in Lisp. Or, better, double-click to pick up a complete tag and triple-click > to pick up the complete element. Currently, as soon as there is any > whitespace (e.g. there is an attribute), the complete tag is not selected. > Double-click, then right-click to extend to the next element boundary (or > something more significant than just a word). Other mouse selection > possibilities could also be useful. The mouse now seems almost useless for > XML. There are no mouse bindings, but the needed functions are there in nXml AFAICS.