From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#21766: 25.0.50; delete-trailing-whitespace sometimes deletes non-whitespace Date: Tue, 27 Oct 2015 09:32:49 +0100 Message-ID: References: <562F3060.9050301@gmx.at> <562F34EB.8030209@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fc40aaaf5e9052311ee95 X-Trace: ger.gmane.org 1445934893 22283 80.91.229.3 (27 Oct 2015 08:34:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 08:34:53 +0000 (UTC) Cc: 21766@debbugs.gnu.org, Markus Triska To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 09:34:47 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 1ZqziQ-0000Cs-5e for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 09:34:46 +0100 Original-Received: from localhost ([::1]:58118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqziP-0001Cf-GG for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 04:34:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqzhn-0000WV-JM for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 04:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqzhi-00085q-8Q for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 04:34:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqzhi-00085m-5k for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 04:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zqzhh-0001fV-L7 for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 04:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2015 08:34:01 +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.14459348126374 (code B ref 21766); Tue, 27 Oct 2015 08:34:01 +0000 Original-Received: (at 21766) by debbugs.gnu.org; 27 Oct 2015 08:33:32 +0000 Original-Received: from localhost ([127.0.0.1]:39951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqzhD-0001ej-S9 for submit@debbugs.gnu.org; Tue, 27 Oct 2015 04:33:32 -0400 Original-Received: from mail-lf0-f54.google.com ([209.85.215.54]:36476) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqzhB-0001eb-Uv for 21766@debbugs.gnu.org; Tue, 27 Oct 2015 04:33:30 -0400 Original-Received: by lffz202 with SMTP id z202so168839778lff.3 for <21766@debbugs.gnu.org>; Tue, 27 Oct 2015 01:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SSIDBMk8LVgF5m8ph9bb8PykQjxhEjQG2OLexhYcyhg=; b=Aqtau36taj+JF9z9ljSXDOqPFFgPb12GwE4XP6zHagy5IvBx2F1xfZAQWKCd6JEnwW OiBuICUJ0ZF48WbB0f6ytIKN5A8yLX3DyS7Qz2lRFgvlvtK83E90B+IY6S+Ubd15dxlx 2AyCnlNOFZN9KKMIC2fU8m7gq96P/tuzyb5rxgRhkrKP7OcnSuIdQ4e1y+L0C0hBzy0E nFISueB74+/+h2PxnF604/ex0O3jCBDxHq3aTDwbI0xBFct/217NJy0SVK97aHqArzpD yFQNjsrhBdWw/EQeoe5LLGWv5jEG5MliZlhJHtqC4rby9DzJdVRejQSr3rHiFADovF+z VOsA== X-Received: by 10.25.135.136 with SMTP id j130mr817036lfd.95.1445934809148; Tue, 27 Oct 2015 01:33:29 -0700 (PDT) Original-Received: by 10.25.217.135 with HTTP; Tue, 27 Oct 2015 01:32:49 -0700 (PDT) In-Reply-To: <562F34EB.8030209@gmx.at> 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:108063 Archived-At: --001a113fc40aaaf5e9052311ee95 Content-Type: text/plain; charset=UTF-8 On Tue, Oct 27, 2015 at 9:25 AM, martin rudalics wrote: > If it looks for whitespace followed by a line end and not > for whitespace preceding a line end, the old version will be slow with > indented code. I don't think we've ever had a bug report / complaint about delete-trailing-whitespace's performance. It's usually used either interactively or as a hook before saving the file, and in both cases I'd bet the time it takes is dwarfed by human reaction times or by the time spent saving the file to disk. J --001a113fc40aaaf5e9052311ee95 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Oct 27, 2015 at 9:25 AM, martin rudalics <rudalics@gmx.at> wrote:

&g= t; If it looks for whitespace followed by a line end and not
> for wh= itespace preceding a line end, the old version will be slow with
> in= dented code.

I don't think we've ever had = a bug report / complaint about delete-trailing-whitespace's performance= . It's usually used either interactively or as a hook before saving the= file, and in both cases I'd bet the time it takes is dwarfed by human = reaction times or by the time spent saving the file to disk.

= =C2=A0 =C2=A0 J
--001a113fc40aaaf5e9052311ee95--