From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Chambers Newsgroups: gmane.emacs.devel Subject: Re: POC comment/uncomment region in nxml-mode Date: Tue, 19 Aug 2014 09:12:25 -0600 Message-ID: References: Reply-To: tbc@alum.mit.edu NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1408461217 9767 80.91.229.3 (19 Aug 2014 15:13:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2014 15:13:37 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Stefan Monnier , andreas.roehler@online.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 19 17:13:32 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XJl65-000784-9c for ged-emacs-devel@m.gmane.org; Tue, 19 Aug 2014 17:13:17 +0200 Original-Received: from localhost ([::1]:51592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJl64-0005mB-PC for ged-emacs-devel@m.gmane.org; Tue, 19 Aug 2014 11:13:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJl60-0005k0-Oq for emacs-devel@gnu.org; Tue, 19 Aug 2014 11:13:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJl5u-0004Io-CW for emacs-devel@gnu.org; Tue, 19 Aug 2014 11:13:12 -0400 Original-Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:58322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJl5u-0004Ig-4S for emacs-devel@gnu.org; Tue, 19 Aug 2014 11:13:06 -0400 Original-Received: by mail-lb0-f172.google.com with SMTP id z11so5629717lbi.17 for ; Tue, 19 Aug 2014 08:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=4twHLDWkrMHKJV5uQZlVZkRvDAcAv46DqLAYI+pQobA=; b=Dq9Ji7t4fALaPEY8xOhS3nO8N63RY9DkTqegkI17jqdIAaFLZqPs/4DQq91gj21HLj OymRqcfQZp36j/8rf+42vR7s80+4BdSyvREwq82REK3wDfxPXRrKitc5KrfELzEYPnru B+wqA0VsBfmaNN9jeDoZIiR+sEvBXlrk5L97UC2TvCloIe5kBbZtr5EAJaNou84Z0M2N WJVhwaJGyX4qgh+er7KQP54FB9abu5n0inXMJZLhx17uZ+9Zfu8e08eyjdi5mveTbjUY rbKGNhRXKvSwEsetTPezadOXrKThGuM3Z0lIPpB0HMUhkr3g1hoFoj2f43aCXptww3Ds oLtw== X-Received: by 10.112.138.102 with SMTP id qp6mr34418753lbb.60.1408461185072; Tue, 19 Aug 2014 08:13:05 -0700 (PDT) Original-Received: by 10.152.120.36 with HTTP; Tue, 19 Aug 2014 08:12:25 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173765 Archived-At: > IIUC, this is indeed needed, thank you. > A few comments, tho:... Thank you for the feedback, Stefan! Exactly what I was looking for. I hope we can meet f2f someday so I can buy you a beverage of your choice. [1] > Would you like to try to submit revised patch? Yes, I would like to submit a patch. I need to make time to study [2] and [3] first. I also need to review [4]. So thank you for inspiring me! If [2] and [3] need any touch-up, this week would be the time. I'm going to get started this weekend. > From: =3D?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?=3D > Message-ID: <53CF57D3.1050605@online.de> > Date: Wed, 23 Jul 2014 08:36:03 +0200 > Why not just M-x comment-dwim? Andreas, Stefan acknowledged the problem I was trying to correct: '--' in XML comments should be escaped. Does that make sense to you? All, the other innovation I want to make is to comment regions in XML with a single pair of instead of commenting every line. Can anyone point me to the history of why line-by-line XML comments are the norm in emacs, even though XML supports block comments? Also, have any insights to share re. relationship between un/comment-region and comment-dwim? These specifics are all new to me, but I'm a quick study who is motivated to make emacs better. =E2=80=93 tbc [1] details of this offer being the same as those specified at www.emacswiki.org/emacs-en/tbc [2] www.gnu.org/software/emacs/CONTRIBUTE [3] www.gnu.org/software/emacs/manual/html_node/emacs/Sending-Patches.html [4] lists.gnu.org/archive/cgi-bin/namazu.cgi?query=3Dnxml&submit=3DSearch%21&id= xname=3Dbug-gnu-emacs