From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21766: 25.0.50; delete-trailing-whitespace sometimes deletes non-whitespace Date: Tue, 27 Oct 2015 10:24:28 +0100 Message-ID: <562F42CC.4010809@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445938117 9525 80.91.229.3 (27 Oct 2015 09:28:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 09:28:37 +0000 (UTC) Cc: 21766@debbugs.gnu.org, Markus Triska To: Juanma Barranquero , Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 10:28:26 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Zr0YJ-0001tw-Mn for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 10:28:23 +0100 Original-Received: from localhost ([::1]:58404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr0YI-0005KG-Sj for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 05:28:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr0V8-0000HL-TM for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 05:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr0V4-0004mc-Vw for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 05:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr0V4-0004mX-Sf for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 05:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zr0V4-0002tO-HN for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 05:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2015 09:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21766-submit@debbugs.gnu.org id=B21766.144593787511081 (code B ref 21766); Tue, 27 Oct 2015 09:25:02 +0000 Original-Received: (at 21766) by debbugs.gnu.org; 27 Oct 2015 09:24:35 +0000 Original-Received: from localhost ([127.0.0.1]:40010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr0Ud-0002sf-Eh for submit@debbugs.gnu.org; Tue, 27 Oct 2015 05:24:35 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:50961) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr0Ub-0002sX-L2 for 21766@debbugs.gnu.org; Tue, 27 Oct 2015 05:24:34 -0400 Original-Received: from [178.190.19.40] ([178.190.19.40]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MCwbX-1ZhPqu2KG3-009ffq; Tue, 27 Oct 2015 10:24:31 +0100 In-Reply-To: X-Provags-ID: V03:K0:gp+jwUqKetNxWIGrusmBileZeByNUbvjJ9+36SE7XJC69Zy62Ml 2ecwS17NnLX+7FD8a2uxXjHP5837+xXa5hXxJjYNkSouiYJuxBUH3tQdSdSl9sofbB2uagm gkOFTfj5w82v9YlrsAFzepUIjtfTz2iTHKbEwfruT6/fybGk+S8cfvbcIojUjROD0zwNipv P8UiPPLy1d7Ypbkx7EJsg== X-UI-Out-Filterresults: notjunk:1;V01:K0:1qk4IQtw15Q=:bZfil0GYRxNN++/fj5roYo yZzo0quSXIAnDbpXt4w62zswV6WU9DWWi2SQrjjMIoYTSDQI4d5JwVrS1JKjDKOenoegNsnkA 7CndgTECINWrRFE57A4LGQUNLTuNMmqQmxHkiF2Wd3CJC1Y3BmHwHUIGutb0uIRmKwG975oyS vRwfkCQtS0Uf59FMCCdEesMFLNyt+AMQOS3z0JqHQaEZIMj6uwXS3w3MmQKr1SzYBCPGeA6x/ z6MLEs5yZiKQz9hIgBqDXbTFHUQDQjodDQsJ5vl3pc40BA7m/I/l1WbtchOkHIMNxbKapsens IBmk3QSkMQW4R7yguQlZ2VRlO3+sRZIZyxR+p01DaTJU/ewBa137d9ajsW7fKVoxz26vqRgjC MhYwDB/K9GCaEXh3KHHx8JbgTKLnY/GHAboIYpdzw1XHHJoq10mSSAGN6CwZKINoQSrm7AGDX 7wSGzJXyHAwd/r0sc3AHy9AiTQ3eVwzQtuUcQLudM79tY/+kMVjRFfKGNBR/VYB1lw1Pm9FJQ L8x7zfSLHammzoHcEoRnM65l9uZWCtYlgN0AJDRfhhlhsSsd3cG5d0FB2UPAfjIDTj7W0yXtq uCXzkqSyGrxGFJSdrH461qE06TqBBfehTaiTMXFIDKOPTrX5LwCthMDgZ182kQH//e4g7dez8 OW5WCDpAiMHP45S+02VagIHOyE5YJJFNyvCNsGESfk22wjISPxZni6HyZztFXsOhg2bgUSHyi LqaOjnuqe8csG1kRcq1YMgdj5z2mzticthr+HTh/wKxQA3pRMqlj12/u83TnZfyBrYCjkZwL X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108067 Archived-At: >> No, skip-syntax-backward is safe. There must be something in >> line-beginning-position that does this, but only indirectly. > > (skip-syntax-backward "-" > (save-match-data > (line-beginning-position))) > > still shows the bug, while > > (save-match-data > (skip-syntax-backward "-" (line-beginning-position))) > > fixes it. I doubt that =E2=80=98syntax-propertize=E2=80=99 is always safe. martin