From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 11 12:27:03 2021 Received: (at submit) by debbugs.gnu.org; 11 Aug 2021 16:27:03 +0000 Received: from localhost ([127.0.0.1]:36408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDr4J-000675-K6 for submit@debbugs.gnu.org; Wed, 11 Aug 2021 12:27:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:59082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDr4H-00066W-IJ for submit@debbugs.gnu.org; Wed, 11 Aug 2021 12:27:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDr4H-0004TB-AE for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2021 12:27:01 -0400 Received: from mail.omarpolo.com ([144.91.116.244]:62378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDr4E-0006Iw-QF for bug-gnu-emacs@gnu.org; Wed, 11 Aug 2021 12:27:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omarpolo.com; s=20200327; t=1628699210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=2w9v+ZWoYTAOiuwjyqafz4htiWcn12VoGSwTNeVfECk=; b=svOva9g7H3GP1HCO58QDRFzMOEwNS+Sua8JQxJoH3Z7p4r3pJ0ewMO/YNRR5F0oPTQiaM8 8Zy65zcQIk7YE8GIRKC6jmuOyzUJoleD/EFTk0GHOen213PagK3VwQuHoZp6GMpF919VMY j7tpIX19FiU4VT8QkCmpAafFMI8oKfw= Received: from localhost (host-79-16-108-120.retail.telecomitalia.it [79.16.108.120]) by mail.omarpolo.com (OpenSMTPD) with ESMTPSA id ede967c4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 11 Aug 2021 18:26:47 +0200 (CEST) Received: from venera (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 370056d1 for ; Wed, 11 Aug 2021 18:26:43 +0200 (CEST) From: Omar Polo To: bug-gnu-emacs@gnu.org Subject: document vc method `find-ignore-file' Date: Wed, 11 Aug 2021 18:26:43 +0200 Message-ID: <8735rgosl8.fsf@omarpolo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=144.91.116.244; envelope-from=op@omarpolo.com; helo=mail.omarpolo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Tags: patch Hi, I noticed that the vc "method" `find-ignore-file' is used in vc-default-ignore and vc-default-ignore-completion-table but it's not documented. In GNU Emacs 28.0.50 (build 10, x86_64-unknown-openbsd6.9, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2021-07-12 built on venera Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: OpenBSD venera 6.9 GENERIC.MP#158 amd64 Configured using: 'configure --prefix=/home/op/opt/emacs --with-x-toolkit=lucid CC=cc' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-document-find-ignore-file.patch >From 734f95c33f3b618110a5c1376b46cc96336332d4 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Wed, 11 Aug 2021 16:25:20 +0000 Subject: [PATCH] document find-ignore-file --- lisp/vc/vc.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 9338b7191d..a97caa702a 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -486,11 +486,19 @@ ;; from ignored files. ;; When called from Lisp code, if DIRECTORY is non-nil, the ;; repository to use will be deduced by DIRECTORY. +;; The default behavior is to add or remove a line from the file +;; returned by the `find-ignore-file' function. ;; ;; - ignore-completion-table (directory) ;; ;; Return the completion table for files ignored by the current ;; version control system, e.g., the entries in `.gitignore' and +;; `.bzrignore'. The default behavior is to read the contents of +;; the file returned by the `find-ignore-file' function. +;; +;; - find-ignore-file +;; +;; Return the ignore file that controls FILE, e.g. `.gitignore' or ;; `.bzrignore'. ;; ;; - previous-revision (file rev) -- 2.32.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 09:00:10 2021 Received: (at 50013) by debbugs.gnu.org; 12 Aug 2021 13:00:10 +0000 Received: from localhost ([127.0.0.1]:37768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAJe-0000Uq-8r for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:00:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAJc-0000TY-3P for 50013@debbugs.gnu.org; Thu, 12 Aug 2021 09:00:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bU8YmqDdOqaPmBKa8rlly4ye4sFuHpUN3dW4+9yEdUw=; b=fvcsP+QPuKeu9bBxrK4eJxdmls dFwsp+ebJ2vrvUNDBRf3x01jR6jOA38KvvuOZxaM+14xmblewd7fwRUTBSXBgScGXzKbwxmJSnBv4 ajQcql536EAazHFRkfNYmGHAKYU8Dq/EXor0l7bk83aSUBssHSUr+l0Rvl0WwkxwiRJA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEAJQ-0005uk-T4; Thu, 12 Aug 2021 15:00:01 +0200 From: Lars Ingebrigtsen To: Omar Polo Subject: Re: bug#50013: document vc method `find-ignore-file' References: <8735rgosl8.fsf@omarpolo.com> Date: Thu, 12 Aug 2021 14:59:55 +0200 In-Reply-To: <8735rgosl8.fsf@omarpolo.com> (Omar Polo's message of "Wed, 11 Aug 2021 18:26:43 +0200") Message-ID: <87zgtmlsxg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Omar Polo writes: > I noticed that the vc "method" `find-ignore-file' is used in > vc-default-ignore and vc-default-ignore-completion-table but it's not > documented. Thanks; applied to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50013 Cc: 50013@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Omar Polo writes: > I noticed that the vc "method" `find-ignore-file' is used in > vc-default-ignore and vc-default-ignore-completion-table but it's not > documented. Thanks; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 09:00:17 2021 Received: (at control) by debbugs.gnu.org; 12 Aug 2021 13:00:17 +0000 Received: from localhost ([127.0.0.1]:37771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAJl-0000VH-FN for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:00:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAJk-0000Uy-B0 for control@debbugs.gnu.org; Thu, 12 Aug 2021 09:00:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=v0iuvzlcC32cAUD/4FpHER9+SnohRoC2/SD11C9Cg4Q=; b=oxGaFlXdQ4iyz0BJYa3gwnved+ qcFSRnBmF6RyrMVF7Yfgs0HpYD5BnenC9sDJJnct2aaxHi7pY1t6lCFUqsBPMH/99TTAjn3xkoZLA 5THZ6Ced31uRZDuSacwYMqkUfetkeYvf2rWkBwRu/J1l6/bNZZ6q35CXvjQHNUQiRHIA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEAJc-0005uw-4d for control@debbugs.gnu.org; Thu, 12 Aug 2021 15:00:10 +0200 Date: Thu, 12 Aug 2021 15:00:04 +0200 Message-Id: <87y296lsx7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50013 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 50013 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 50013 28.1 quit From unknown Sun Jul 27 06:47:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Sep 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator