From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Martin Fowler Newsgroups: gmane.emacs.bugs Subject: bug#33256: nxml-mode completion of attribute no longer adds =" after emacs 26 Date: Thu, 4 Apr 2019 19:38:48 -0400 Message-ID: <30EAB824-4345-4B65-98F0-FAA5A18290A6@gmail.com> References: <0499B553-F989-4945-9827-643FB5A72D27@gmail.com> <87sguye8gy.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="247381"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 33256@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 05 01:39:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hCBws-0012FH-Ss for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Apr 2019 01:39:11 +0200 Original-Received: from localhost ([127.0.0.1]:32778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCBwr-0005OU-U3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2019 19:39:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCBwl-0005OJ-0s for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 19:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCBwj-0008TR-UP for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 19:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCBwj-0008TF-My for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 19:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hCBwj-0000bD-JZ for bug-gnu-emacs@gnu.org; Thu, 04 Apr 2019 19:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Martin Fowler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Apr 2019 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 33256-submit@debbugs.gnu.org id=B33256.15544211372291 (code B ref 33256); Thu, 04 Apr 2019 23:39:01 +0000 Original-Received: (at 33256) by debbugs.gnu.org; 4 Apr 2019 23:38:57 +0000 Original-Received: from localhost ([127.0.0.1]:44804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hCBwe-0000as-PZ for submit@debbugs.gnu.org; Thu, 04 Apr 2019 19:38:57 -0400 Original-Received: from mail-qt1-f176.google.com ([209.85.160.176]:44365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hCBwd-0000ai-5K for 33256@debbugs.gnu.org; Thu, 04 Apr 2019 19:38:55 -0400 Original-Received: by mail-qt1-f176.google.com with SMTP id w5so5372326qtb.11 for <33256@debbugs.gnu.org>; Thu, 04 Apr 2019 16:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JW5DOGBvsbRRBNvJhQyzkv/1FJ2q1gMURuArUjH8gNA=; b=FYkFoKIUvtc8dPCAa+5a6wB2VKgfoklKvGOyXzk+Jcn6NPcXWOxlEwNIPAoW6ZLYwD gkwRhwLGlsUP4HugQfNm3Jvh8cyQYjNQ8TvHeya5xAycizh6OicU0qs02nEgaEfecxEG SiWtiSlkWZxUX+ze+8lJtu4CVZoTRbev6aXGaZeI6xDk4wzJheddTG6B9AYG3ZtJi0Ua NNjHlkz20OpKL3QuYaP+BOCY5fDbg8KBDsxuqIxgD9Ja9l4WdnvIcmIT6CDxqV/QzdwN CIN9UANb9SHfa54r4+Ck4sxg2bUmZTklzQiDryT+85g9LEpDjFxua2zqb5FQwXAXKplW o5cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JW5DOGBvsbRRBNvJhQyzkv/1FJ2q1gMURuArUjH8gNA=; b=l2oNZpwj/ie7sKS+j8Wp9y78CFOmeEL4qxUDNeFQrul7xWEj/Zb/RWOfviL50vNlXa p2VQlGM5ACFDQ5PxMljBFZXAtg1aiIPxwKoDbrGitsRzP4NsjyBXgcb0l80Xa/KtLUwf uwQ67o1NCCZ05ytZAlzrDc2s26eLieeywNrBGJ4+Vjw4F6kIvnldXR+rWGLMX1Rzq9wG 1eLWhnd1af+i2gJ+REyk+4adI/kIE5JpDDHT16YCH7bctFLv/iLp1R9PUDqcELPoQ4vV ZjuxCy8+l3+d3U1c1FZH1rHiKRgWdU63tXi98K0mYHigI28QaSgOLjGNXIxis//7A6YM 8MvA== X-Gm-Message-State: APjAAAWpmfCMx3Wo1hWp67dXs61BvRBbntN6AR1Iv1hJD8tjV9lx8903 31MejC/ZZGwIV2BMZSSUmXU= X-Google-Smtp-Source: APXvYqyZrwOr0exnhYJhhMeT1h2WLWNNt0pFC7s4r9zsTN1DJSSRXD/PwamsEumHtuTAMPjS8z9Lyw== X-Received: by 2002:a0c:9624:: with SMTP id 33mr7336574qvx.71.1554421129708; Thu, 04 Apr 2019 16:38:49 -0700 (PDT) Original-Received: from mirto.fios-router.home (pool-72-70-60-153.bstnma.fios.verizon.net. [72.70.60.153]) by smtp.gmail.com with ESMTPSA id n41sm13606306qtf.63.2019.04.04.16.38.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Apr 2019 16:38:49 -0700 (PDT) In-Reply-To: <87sguye8gy.fsf@gmail.com> X-Mailer: Apple Mail (2.3445.104.8) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157186 Archived-At: My apologies on this, I think I neglected to test this bug with no = initialization file. I tried it with `emacs -q` and got the behavior you = describe (which I agree is reasonable). I got the behavior I mentioned = with all my inits loaded, so I expect it's some interaction between = nxml-mode and one of those. That will be a fun exercise to try and = figure out ;-) Again my apologies for not having tested this properly before raising = the bug. Martin Fowler http://martinfowler.com > On Apr 3, 2019, at 23:48, Noam Postavsky wrote: >=20 > tags 33256 + unreproducible > quit >=20 > Martin Fowler writes: >=20 >> I've used nxml-mode for a long time. When typing in an xml attribute >> and using completion, emacs would respond by completing the attribute >> and also adding =3D" to allow me to immediately type the value of the >> xml attribute. I recently upgraded to emacs 26, and it now only >> completes the attribute hame. The original completion behavior = (adding >> =3D") is described in the manual at >> = >> . >>=20 >> To replicate >>=20 >> - open an html file in nxml mode >> - ensure it's tied to the html schema file=20 >> - type "> - trigger completion (C-M-i, or whatever calls completion-at-point) >>=20 >> expected behavior (pre emacs 26) >>=20 >> line shows: >>=20 >> >=20 >> actual behavior, line shows >>=20 >> =20 > I can't reproduce this exactly, with 26.1 and later I get >=20 > =20 > (where -!- represents point). While the doc does say there should = only > be an opening quote added, this is arguably an improvement, so...