From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: gmane.emacs.bugs Subject: bug#25229: 25.1; newline inserted at end of html-href-anchor Date: Mon, 19 Dec 2016 12:05:41 +0000 Message-ID: <3E7D43F4-D020-4A20-AC0F-036677DBA4AF@pushface.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1482149177 23206 195.159.176.226 (19 Dec 2016 12:06:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 12:06:17 +0000 (UTC) To: 25229@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 13:06:11 2016 Return-path: Envelope-to: geb-bug-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 1cIwhm-0004qy-4a for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 13:06:10 +0100 Original-Received: from localhost ([::1]:44910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIwho-0002z6-PF for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 07:06:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIwhj-0002z1-2e for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIwhe-0004AY-Th for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:06:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIwhe-0004AU-Pv for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cIwhe-00057l-J8 for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Simon Wright Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Dec 2016 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25229 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148214915719682 (code B ref -1); Mon, 19 Dec 2016 12:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Dec 2016 12:05:57 +0000 Original-Received: from localhost ([127.0.0.1]:46871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIwhZ-00057O-8n for submit@debbugs.gnu.org; Mon, 19 Dec 2016 07:05:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIwhY-00057C-4L for submit@debbugs.gnu.org; Mon, 19 Dec 2016 07:05:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIwhR-000488-P9 for submit@debbugs.gnu.org; Mon, 19 Dec 2016 07:05:50 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cIwhR-000484-Lr for submit@debbugs.gnu.org; Mon, 19 Dec 2016 07:05:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIwhQ-0002xt-GP for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:05:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIwhN-000474-AZ for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:05:48 -0500 Original-Received: from smtp.hosts.co.uk ([85.233.160.19]:40970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cIwhN-00046t-3D for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:05:45 -0500 Original-Received: from [81.159.222.217] (helo=[192.168.1.99]) by smtp.hosts.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cIwhL-0005Yn-3E for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 12:05:43 +0000 X-Mailer: Apple Mail (2.3259) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:127168 Archived-At: =46rom emacs -Q, in the scratch buffer, M-x html-mode RET enter "foo." highlight "foo", point before "." M-x html-href-anchor RET sample RET buffer contains foo . where it should contain foo. I believe this is down to the same problem as reported in PR16634. In GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 = Version 10.9.5 (Build 13F1911)) of 2016-09-21 built on builder10-9.porkrind.org Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: HTML Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. user-error: The mark is not set now, so there is no region Mark set You can run the command =E2=80=98html-href-anchor=E2=80=99 with C-c C-c = h mwheel-scroll: Beginning of buffer [17 times] current-kill: Kill ring is empty read-number: Command attempted to use minibuffer while in minibuffer Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils skeleton sgml-mode time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 200051 6221) (symbols 48 19907 0) (miscs 40 56 148) (strings 32 16504 5506) (string-bytes 1 456332) (vectors 16 33151) (vector-slots 8 656015 4921) (floats 8 162 175) (intervals 56 217 0) (buffers 976 18))