From unknown Sat Aug 16 16:21:13 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3572: 23.0.94; Typo in docstring of (defun dir-locals-set-directory-class ...) Reply-To: Teemu Likonen , 3572@debbugs.gnu.org Resent-From: Teemu Likonen Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Jun 2009 16:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3572 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124508186023806 (code B ref -1); Mon, 15 Jun 2009 16:10:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 16:04:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL,IMPRONONCABLE_2, MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FG4EgY023799 for ; Mon, 15 Jun 2009 09:04:16 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59205) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGEfO-0000LA-4l for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 12:04:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGEfJ-0007x8-V4 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 12:04:13 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:48378 helo=kirsi2.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGEfI-0007v2-Hu for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 12:04:08 -0400 Received: from mithlond.arda.local (80.220.180.181) by kirsi2.inet.fi (8.5.014) id 49F6DD5801C7C408 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 19:03:59 +0300 Received: from dtw by mithlond.arda.local with local (Exim 4.69) (envelope-from ) id 1MGEeu-00040i-2e for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 19:03:44 +0300 From: Teemu Likonen To: emacs-pretest-bug@gnu.org Date: Mon, 15 Jun 2009 19:03:44 +0300 Message-ID: <8763ex7acf.fsf@iki.fi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) --=-=-= In command dir-locals-set-directory-class there's a repetition in the doc string: "this this". See the attached patch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=dir-locals-set-directory-class.patch diff --git i/lisp/files.el w/lisp/files.el index 4e81b6a..921724d 100644 --- i/lisp/files.el +++ w/lisp/files.el @@ -3243,13 +3243,13 @@ Return the new variables list." (defun dir-locals-set-directory-class (directory class mtime) "Declare that the DIRECTORY root is an instance of CLASS. DIRECTORY is the name of a directory, a string. CLASS is the name of a project class, a symbol. MTIME is either the modification time of the directory-local -variables file that defined this this class, or nil. +variables file that defined this class, or nil. When a file beneath DIRECTORY is visited, the mode-specific variables from CLASS are applied to the buffer. The variables for a class are defined using `dir-locals-set-class-variables'." (setq directory (file-name-as-directory (expand-file-name directory))) (unless (assq class dir-locals-class-alist) --=-=-=-- From unknown Sat Aug 16 16:21:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Teemu Likonen Subject: bug#3572 closed by Glenn Morris (Re: bug#3572: 23.0.94; Typo in docstring of (defun dir-locals-set-directory-class ...)) Message-ID: References: <5ufxdzpo1n.fsf@fencepost.gnu.org> <8763ex7acf.fsf@iki.fi> X-Emacs-PR-Message: they-closed 3572 X-Emacs-PR-Package: emacs Reply-To: 3572@debbugs.gnu.org Date: Wed, 17 Jun 2009 03:00:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1245207605-4278-1" This is a multi-part message in MIME format... ------------=_1245207605-4278-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3572: 23.0.94; Typo in docstring of (defun dir-locals-set-directory-class = ...) It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 3572: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3572 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1245207605-4278-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3572-done) by emacsbugs.donarmstrong.com; 17 Jun 2009 02:55:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-8.3 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5H2t23k003461 for <3572-done@emacsbugs.donarmstrong.com>; Tue, 16 Jun 2009 19:55:03 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MGlIi-0005MN-K0; Tue, 16 Jun 2009 22:55:00 -0400 From: Glenn Morris To: 3572-done@debbugs.gnu.org Subject: Re: bug#3572: 23.0.94; Typo in docstring of (defun dir-locals-set-directory-class ...) References: <8763ex7acf.fsf@iki.fi> X-Spook: red noise doctrine COSCO Mahmoud Ahmadinejad interception X-Ran: _N}LDc\3t(]+-7MbxI[f_|[Hv!(:J%j%w\DSnAa{:0)VzJBK}mMGrfR/_/h;@J6{}V+feR X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 16 Jun 2009 22:55:00 -0400 In-Reply-To: <8763ex7acf.fsf@iki.fi> (Teemu Likonen's message of "Mon, 15 Jun 2009 19:03:44 +0300") Message-ID: <5ufxdzpo1n.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks. ------------=_1245207605-4278-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2009 16:04:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL,IMPRONONCABLE_2, MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FG4EgY023799 for ; Mon, 15 Jun 2009 09:04:16 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59205) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MGEfO-0000LA-4l for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 12:04:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MGEfJ-0007x8-V4 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 12:04:13 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:48378 helo=kirsi2.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGEfI-0007v2-Hu for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 12:04:08 -0400 Received: from mithlond.arda.local (80.220.180.181) by kirsi2.inet.fi (8.5.014) id 49F6DD5801C7C408 for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 19:03:59 +0300 Received: from dtw by mithlond.arda.local with local (Exim 4.69) (envelope-from ) id 1MGEeu-00040i-2e for emacs-pretest-bug@gnu.org; Mon, 15 Jun 2009 19:03:44 +0300 From: Teemu Likonen To: emacs-pretest-bug@gnu.org Subject: 23.0.94; Typo in docstring of (defun dir-locals-set-directory-class ...) Date: Mon, 15 Jun 2009 19:03:44 +0300 Message-ID: <8763ex7acf.fsf@iki.fi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) --=-=-= In command dir-locals-set-directory-class there's a repetition in the doc string: "this this". See the attached patch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=dir-locals-set-directory-class.patch diff --git i/lisp/files.el w/lisp/files.el index 4e81b6a..921724d 100644 --- i/lisp/files.el +++ w/lisp/files.el @@ -3243,13 +3243,13 @@ Return the new variables list." (defun dir-locals-set-directory-class (directory class mtime) "Declare that the DIRECTORY root is an instance of CLASS. DIRECTORY is the name of a directory, a string. CLASS is the name of a project class, a symbol. MTIME is either the modification time of the directory-local -variables file that defined this this class, or nil. +variables file that defined this class, or nil. When a file beneath DIRECTORY is visited, the mode-specific variables from CLASS are applied to the buffer. The variables for a class are defined using `dir-locals-set-class-variables'." (setq directory (file-name-as-directory (expand-file-name directory))) (unless (assq class dir-locals-class-alist) --=-=-=-- ------------=_1245207605-4278-1--