From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sIo+HRRZjl9AJAAA0tVLHw (envelope-from ) for ; Tue, 20 Oct 2020 03:27:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8PfMGBRZjl9CaQAAB5/wlQ (envelope-from ) for ; Tue, 20 Oct 2020 03:27:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BF3E9402A0 for ; Tue, 20 Oct 2020 03:27:15 +0000 (UTC) Received: from localhost ([::1]:43604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUiIr-0006ev-2f for larch@yhetil.org; Mon, 19 Oct 2020 23:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUiIh-0006ej-64 for guix-patches@gnu.org; Mon, 19 Oct 2020 23:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUiIg-0001uw-TO for guix-patches@gnu.org; Mon, 19 Oct 2020 23:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUiIg-00062n-N9 for guix-patches@gnu.org; Mon, 19 Oct 2020 23:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44089] [PATCH] gnu: Add emacs-wucuo. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Oct 2020 03:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44089 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44089@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160316438123169 (code B ref -1); Tue, 20 Oct 2020 03:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Oct 2020 03:26:21 +0000 Received: from localhost ([127.0.0.1]:43051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUiI1-00061d-Br for submit@debbugs.gnu.org; Mon, 19 Oct 2020 23:26:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:60104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUiHz-00061V-NW for submit@debbugs.gnu.org; Mon, 19 Oct 2020 23:26:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUiHz-0006Og-Gy for guix-patches@gnu.org; Mon, 19 Oct 2020 23:26:19 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:42284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUiHw-0001eC-M8 for guix-patches@gnu.org; Mon, 19 Oct 2020 23:26:18 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 1F5DCD81 for ; Tue, 20 Oct 2020 05:26:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1603164368; x=1604978769; bh=ZiRVtuyowbuCLVmmz8O xdbTtP1ZN5WBfyrZG0gFLQo0=; b=a7V54GUB2KMbpEY+KfPTUlRpJZGIQNfBBj9 H+7AMJzxOcv3rygKwXPJgTiMZE6mfRSx8S//8s1xp+TrvGgvMo2gNAJWE10izONz FCL6uEC2sjCk5qkAZ0Ho6MWhQS85d7TYhvJw3G6IGDL7ATwS1PSrHwMaPfWhMwwJ ELObe3g4dBDfvAm4DA5CIr8IBjDx4pVHVtH1NV4n7HImLPATXQSHP3c/pq9asMul VBdA5fVecIhqOuu9DNlbVa1Y9Za7qxiOTCNBNuQVQDXKLAO4xy3a7gGAbpzyWuXK przntxGZfgb3pdBIgSMfqdA+5HaUkERj+/yCvwtOvPVobo9iMuStQLmwmUx3EcCv gU3V+qMz+sO3LiJGpNxQOUai6a0yqZKFQbHJp03/k0Am5x3jMBLAFB+504UyZjsk /jflKiPaQt6Be6uRr6+dgFe8Ne/u6Je/6cfhDktejxW9VzQIM/bBE026kn84R9wb ogUhP7m3eiZSxRMQfu/jESLIZaWoXHtRHVBpvW1Gl/xyhBzkNrat87pXkaTTvj65 JhCsnFFREmHPmzYgA3zV5x8xxC3Hz1HsI0xLzj/MtgSUrbRfzDxH3TmTOkhVsX5t 5PSDKBnEBebJufudqbfTFFTz/ohj6FZQXWAyp5nKbcCEP0n4E+uuKKAhxNE2d0A5 iiUxxojc= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.899 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UvyknTtpY8kZ for ; Tue, 20 Oct 2020 05:26:08 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 76BDFB2A for ; Tue, 20 Oct 2020 05:26:08 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 0D6E33CA0 for ; Tue, 20 Oct 2020 05:26:08 +0200 (CEST) From: Joseph LaFreniere Date: Mon, 19 Oct 2020 22:26:03 -0500 Message-ID: <878sc1k27o.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.42; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/19 23:26:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.601, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.7 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 0.1 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=kolabnow.com header.s=dkim20160331 header.b=a7V54GUB; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: ZlJCTN5XMv5l --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. There were some warnings during build about functions not being defined. I believe this is just an issue of missing autoload declarations, and I have reported the warning to the package's author. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-wucuo.patch >From dd7a1229340ee282af047689a41f95b0f1dbaf7f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Mon, 19 Oct 2020 22:21:04 -0500 Subject: [PATCH] gnu: Add emacs-wucuo. * gnu/packages/emacs-xyz.scm (emacs-wucuo): New variable. --- gnu/packages/emacs-xyz.scm | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5acb8ce6ec..1530cc275f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -8637,6 +8637,68 @@ current frame, disabling the mode line, and adding margins to the buffer that restrict the text width to 80 characters.") (license license:bsd-3))) +(define-public emacs-wucuo + (package + (name "emacs-wucuo") + (version "0.2.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/redguardtoo/wucuo") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1iw4jdlqvki95gh7bzl7hjidc2kz9qyc1zjd7klh63gvk0z09700")))) + (build-system emacs-build-system) + (home-page "https://github.com/redguardtoo/wucuo") + (synopsis + "Fastest solution to spell check camel case code or plain text") + (description + "This package provides a spell checker on top of either aspell or +hunspell. + +@itemize +@item @code{wucuo-spell-check-file} will spell check one file and report its +typos +@item If @code{wucuo-flyspell-start-mode} is \"normal\", @code{wucuo-start} +runs @code{flyspell-buffer}. If it's \"normal\", @code{wucuo-start} runs +@code{flyspell-region} to check visible region in current window. +@item The interval of checking is set by @code{wucuo-update-interval} +@end itemize + +See @code{wucuo-check-nil-font-face} on how to check plain text (text without +font) +@itemize +@item Use @code{wucuo-current-font-face} to detect font face at point +@item If @code{wucuo-flyspell-start-mode} is \"normal\", +@code{wucuo-spell-check-buffer-max} specifies the maximum size of buffer to +check. If @code{wucuo-flyspell-start-mode} is \"fast\", +@code{wucuo-spell-check-region-max} specifies the maximum size of visible +region to check. +@item You can define a function in @code{wucuo-spell-check-buffer-predicate}. +If the function returns t, the spell checking of current buffer will continue. +If it returns nil, the spell checking is skipped. +@end itemize + +Here is sample to skip checking in specified major modes, +@lisp + (setq wucuo-spell-check-buffer-predicate + (lambda () + (not (memq major-mode + '(dired-mode + log-edit-mode + compilation-mode + help-mode + profiler-report-mode + speedbar-mode + gud-mode + calc-mode + Info-mode))))) +@end lisp") + (license license:gpl3+))) + (define-public emacs-ido-completing-read+ (package (name "emacs-ido-completing-read+") -- 2.28.0 --=-=-=--