From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Make ispell localwords safe local variable Date: Tue, 15 Aug 2023 14:56:07 +0300 Message-ID: <83o7j8a59k.fsf@gnu.org> References: <87zg2s97x0.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Joseph Turner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 15 13:56:31 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVsf0-000704-JK for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Aug 2023 13:56:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVsec-0005CG-V8; Tue, 15 Aug 2023 07:56:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVsea-0005Bl-6g for emacs-devel@gnu.org; Tue, 15 Aug 2023 07:56:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVseZ-0001VZ-OS; Tue, 15 Aug 2023 07:56:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Dguz407LLwx31Q7UGRq78aAz3Mn91/3lU35rGY7093I=; b=VvQ5qHH1kfDz KATsUFKROBxSXzdmLdySm9zDjfUzYDxyniE87xWayZ7JcRjnxMjdYpHMFU9SrVCNlqLxPMDQbU1Yn zUWkFuvXgRKZeyf9FI8moe8kKnOa0ILzVZcxgM44tMjHENzZjOtMHSNtvWwjXDw73l+fwf9d2m3Ss iC9a9E5uvVucnEoohumIA1bH3V0vzS4lgrLy3MKNDiN9kt1T/R+Zespcz2WV9mHBfvCjmyFei64cb 4IR40FfDVVBFY+p4IkBS5fdbJqp9yVWLRc47W9sJ4ZmirKP8LfEVRKxmFsLqhwsR6/dotcI+tr8hK PZnvzdRvi1Y32RdApbO5/A==; In-Reply-To: <87zg2s97x0.fsf@breatheoutbreathe.in> (message from Joseph Turner on Mon, 14 Aug 2023 22:40:24 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308756 Archived-At: > From: Joseph Turner > Date: Mon, 14 Aug 2023 22:40:24 -0700 > > In this PR , we made it > possible for checkdoc/ispell to ignore localwords stored in a > .dir-locals.el when run in batch mode. > > It seemed appropriate to upstream this fix. I'm not sure this is indeed safe enough. We send these words to the spell-checker; are we sure this couldn't be abused by malicious people to perform some destructive actions?