From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#13837: 24.2; Make it possible to turn whitespace-mode only when there are no existing problems Date: Sat, 2 Mar 2013 07:46:31 +0000 Message-ID: References: <878v69fn8q.fsf@sc3d.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1362210424 18103 80.91.229.3 (2 Mar 2013 07:47:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Mar 2013 07:47:04 +0000 (UTC) Cc: 13837@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 02 08:47:27 2013 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 1UBhAE-00013B-9z for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 08:47:26 +0100 Original-Received: from localhost ([::1]:44083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBh9t-0008Sh-3Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 02:47:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBh9q-0008SE-I7 for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:47:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBh9p-0002cv-IW for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:47:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBh9p-0002co-Ez for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UBh9q-0004Dg-TP for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Mar 2013 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13837-submit@debbugs.gnu.org id=B13837.136221040316188 (code B ref 13837); Sat, 02 Mar 2013 07:47:02 +0000 Original-Received: (at 13837) by debbugs.gnu.org; 2 Mar 2013 07:46:43 +0000 Original-Received: from localhost ([127.0.0.1]:54555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBh9W-0004D2-5q for submit@debbugs.gnu.org; Sat, 02 Mar 2013 02:46:42 -0500 Original-Received: from exprod7og120.obsmtp.com ([64.18.2.18]:50680) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1UBh9R-0004Cq-2t for 13837@debbugs.gnu.org; Sat, 02 Mar 2013 02:46:38 -0500 Original-Received: from mail-wi0-f199.google.com ([209.85.212.199]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKUTGuWZjtZc7izd/lp+/+RldLrLdDe1tA@postini.com; Fri, 01 Mar 2013 23:46:34 PST Original-Received: by mail-wi0-f199.google.com with SMTP id hq4so363216wib.10 for <13837@debbugs.gnu.org>; Fri, 01 Mar 2013 23:46:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=ds/WmGXl0iIwFv0Weu2ZyJcxxsztMDO92mrN5dDV5cM=; b=Iyt22gj5qeLq/ZXhsGXXqtybtLAVX7UCuBlH5gftpI3Zapz9PJG7N4hsj8P4FcCXa/ kxGpnFq0JyH/daKuZxZs/y7lZ2Ot3qOtslV3YYgC4ZuPJyejlRyamSJDZZ5sZ0v3nk/Y 1d49PwRQaJ5KNj86bhsSUloy1J9OQHCOsWJG3cZAplvPJiejo51dA509bmMU5Q/+cX5F 3oYHPn9gLUj9Yw8LG6K5itIQQ3iCHo14n6M71eTz3yv+QFrrBvArniuZiFeBcb9ZRUkD GuhY+wtvJkytGk/lplKZiS6ViRJ1guQ83/wij7xYmZFG3rb8Djp3MNJnEx2kAY8Pc3SJ JokQ== X-Received: by 10.152.130.131 with SMTP id oe3mr11416833lab.1.1362210392214; Fri, 01 Mar 2013 23:46:32 -0800 (PST) X-Received: by 10.152.130.131 with SMTP id oe3mr11416826lab.1.1362210392089; Fri, 01 Mar 2013 23:46:32 -0800 (PST) Original-Received: by 10.152.5.40 with HTTP; Fri, 1 Mar 2013 23:46:31 -0800 (PST) In-Reply-To: X-Gm-Message-State: ALoCoQkL+cvYxBw1dygw2maywuc/RQh2IJuh0Ullg6XflXUHbqfrSac6Rfme2pI9EnCNfVmF8TX7fk/uVSS9NOmFN23Zi0QGi9XznuWcfa7YVmpoe0LpZNpt0UrQCFskERxUuEFP+w8BMPcVEQ+VG30OqBgyMROqK8TccgfE6JmQuvQYJcZpdRA= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:72020 Archived-At: On 2 March 2013 03:02, Stefan Monnier wrote: >>> (add-function :after-while (default-value 'whitespace-enable-predicate) >>> #'whitespace-check-cleanliness) >> Emacs 24 doesn't seem to have add-function; > > We're talking about changing whitespace.el, so I take it for granted > that this can be a "trunk-only" solution. This was a bit of code you suggested putting in my .emacs, not patching whitespace.el. If possible, I'd like something I can use today with Emacs 24. -- http://rrt.sc3d.org