From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Nazarewicz Newsgroups: gmane.emacs.bugs Subject: bug#23843: [PATCH 0/3] Small `delete-trailing-whitespace' fixes and improvements Date: Sat, 25 Jun 2016 00:09:53 +0200 Message-ID: <1466806193-15280-1-git-send-email-mina86@mina86.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1466806279 24109 80.91.229.3 (24 Jun 2016 22:11:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2016 22:11:19 +0000 (UTC) To: 23843@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 00:11:11 2016 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 1bGZJe-0003DM-F3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 00:11:10 +0200 Original-Received: from localhost ([::1]:47477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGZJd-00028R-6R for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jun 2016 18:11:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGZJX-0001yV-4U for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:11:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGZJW-0006Mi-7A for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:11:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGZJW-0006Ma-31 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGZJV-0000nd-SY for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michal Nazarewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2016 22:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23843 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14668062183019 (code B ref -1); Fri, 24 Jun 2016 22:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2016 22:10:18 +0000 Original-Received: from localhost ([127.0.0.1]:54688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGZIo-0000md-BM for submit@debbugs.gnu.org; Fri, 24 Jun 2016 18:10:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGZIm-0000mQ-LN for submit@debbugs.gnu.org; Fri, 24 Jun 2016 18:10:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGZIg-0005xA-QG for submit@debbugs.gnu.org; Fri, 24 Jun 2016 18:10:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGZIg-0005w3-Mm for submit@debbugs.gnu.org; Fri, 24 Jun 2016 18:10:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGZIe-00017g-LC for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:10:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGZIc-0005sJ-NE for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:10:07 -0400 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:38586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGZIc-0005qV-GV for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 18:10:06 -0400 Original-Received: by mail-wm0-x233.google.com with SMTP id r201so41699395wme.1 for ; Fri, 24 Jun 2016 15:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=sXPXUyUK2KaCYQbhX/LdOHYuK5ihqlyst5yHoBdOZS8=; b=e/ctuIy0I++9L3YqpW/ek2a2ME0WpIY5LM0I27fc8e+y4Z2LEKr1w+0zQ3wvXGexVy B+a79+JgGAJ8OkNp2qH9HH7z8kJM6ajXmfIyhSYQ6fib0Bw5sbvWnfnnMFEGXcg/2q5z lxOGwiYuY5CK4POI6VL8fDLdsZezLwIzPx6XkQvHnJXzrMcVhZ1wmyyu3CjO3t14pHLH m97sgdWj32BT6wTMHE2DykTZ03tmM5ZGkFq0+r4H8sc3cuBcEsrs2kU3yKsVfuhXAo45 T2Ve0FtwdfNnyFQhQWvTB5mYjF9cCiJRgdAze0GkTHL/FQ5xuJQr4TictXtJrRQ4P6MP DNIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=sXPXUyUK2KaCYQbhX/LdOHYuK5ihqlyst5yHoBdOZS8=; b=djOGZNTsoIqWD1vObLGJuz6CCP53Goi/fLctJDwst6a13TMLsNyn8R5f5Vcc8nvKaT ebpGeAW6GZMj/PpQQhxeTVLKwO0UI/4QXF0C1+Y/I3FL5o68wVEXKL8f7KShLbHri6pS +AUQi0TOeDFM7IKNALowpV/zLuO7ne/RDxJMHfjiQeryeDnYuvOFdDtN52UaRJrM9KGY Daa0ffSc9m38tUw7TB2pUNsC3L9GZwpy1MyHWycK9s656oXN9/8SZSErHMMdd59ZlCrm 6HRGQ8XLFifPwS43ys7DFnFOMJp/MPTzTZLVs+1HuClUJH37aXTrsxCSDnF4drdxxf3d OIxg== X-Gm-Message-State: ALyK8tIWna5A618t/6CiNMRVcNKeDDZaoeS+FelI8E32pBTv+FiQ1gFCB69XELGqwItgWcs+ X-Received: by 10.28.154.214 with SMTP id c205mr266592wme.9.1466806205426; Fri, 24 Jun 2016 15:10:05 -0700 (PDT) Original-Received: from mpn.zrh.corp.google.com ([172.16.113.135]) by smtp.gmail.com with ESMTPSA id k3sm7009028wju.29.2016.06.24.15.10.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jun 2016 15:10:03 -0700 (PDT) Original-Received: by mpn.zrh.corp.google.com (Postfix, from userid 126942) id E12301E028A; Sat, 25 Jun 2016 00:10:02 +0200 (CEST) X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:120018 Archived-At: Some small fixes and improvements to the ‘delete-trailing-whitespace’ command. Unless there are objections, I’ll push it in a week or so. Michal Nazarewicz (3): Make ‘delete-trailing-whitespace’ delete spaces after form feed Simplify ‘delete-trailing-whitespace’ by not treating \n as whitespace Don’t create unnecessary marker in ‘delete-trailing-whitespace’ etc/NEWS | 6 ++++++ lisp/simple.el | 33 ++++++++++++++++----------------- test/lisp/simple-tests.el | 18 ++++++++++++++++-- 3 files changed, 38 insertions(+), 19 deletions(-) -- 2.8.0.rc3.226.g39d4020