From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Micha=C5=82_Nazarewicz?= Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: [PATCH] cc-mode: don't tread dir-local and file-local variables differently Date: Mon, 25 May 2020 20:47:06 +0100 Message-ID: References: <20200512194516.83180-1-mina86@mina86.com> <20200513184745.GA8857@ACM> <20200517142327.GA12554@ACM> <20200525184412.GA8662@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26083"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Mon May 25 21:47:39 2020 Return-path: Envelope-to: sf-cc-mode-help@m.gmane-mx.org Original-Received: from lists.sourceforge.net ([216.105.38.7]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jdJ4U-0006e3-AP for sf-cc-mode-help@m.gmane-mx.org; Mon, 25 May 2020 21:47:38 +0200 Original-Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jdJ4O-0001Gk-43; Mon, 25 May 2020 19:47:32 +0000 Original-Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdJ4L-0001Gc-VO for cc-mode-help@lists.sourceforge.net; Mon, 25 May 2020 19:47:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:Cc:To: Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version:Sender: Reply-To: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=jSInoftR2XbuxZv32SUwyR8atmEhXnkWJKJApEdKwy8=; b=QWJGo3H05vwVxB02cZZ7LyQzaO wPHTnQ54T2XSRtJC6oqZA4C/gmDtYsDrJ7+86bigkwK6ekvqYGkRaTXCI/Hb3ZLPJdEFKsasjAQnU lJIBv+WxlkmQxINWBQME1fxRAL61VEcYvVitSIM9SDFoi+Jum0Sx6cU8awoKlk17pK/k=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:Cc:To:Subject:Message-ID:Date:From :In-Reply-To:References:MIME-Version:Sender:Reply-To: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=jSInoftR2XbuxZv32SUwyR8atmEhXnkWJKJApEdKwy8=; b=cokGamuzUp4V7AKdaYrDGgRbnT 26bz5P4MeS+JqBcs/uAeis0Eup93LEZ1X8teDxBtJrYhN65r7wtbRTxtLX3x8XLSqJpYv58A0RixK XUXw5UeqTLgtVpeCtllcoXp76UDPlQ/QnCERHHNDvjXXMgHJIWwaVrbresT7IT5/DyD0=; Original-Received: from eggs.gnu.org ([209.51.188.92]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jdJ4J-006TA4-Mk for cc-mode-help@lists.sourceforge.net; Mon, 25 May 2020 19:47:29 +0000 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55757) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdJ4D-0000cn-M2 for cc-mode-help@lists.sourceforge.net; Mon, 25 May 2020 15:47:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36294) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jdJ4D-0007Km-CD for bug-cc-mode@gnu.org; Mon, 25 May 2020 15:47:21 -0400 Original-Received: from mail-wr1-f66.google.com ([209.85.221.66]:39383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdJ4B-0000cH-7g; Mon, 25 May 2020 15:47:21 -0400 Original-Received: by mail-wr1-f66.google.com with SMTP id t18so4049794wru.6; Mon, 25 May 2020 12:47:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jSInoftR2XbuxZv32SUwyR8atmEhXnkWJKJApEdKwy8=; b=i2uBFxbhzBEwxX8pfp9qsZwiso7hnCT0YAs+Y20SUH/RmemCdQWDj7HM/p5eXFIDH0 dF8dm3Ff/9J3rKaak9INWNUiMXJpJqWg5Bjkpyn7/uSMBZEFjWn3nD9yaYEcSKVDZxRv gUF/JsSjhygpUiPf1yb5Rzg6ZJAkTLoYoClf7xWtxGKCDN7j2+8FLZTgfJGykJVaJp81 dJNd7RHrPN/SHu7LkDf7Xg6mrDXxuxX9w5Dg7O2ZN4Unx3ysmIoCtwBVUVSkpBqI9wfO r+SBHkY3bjdhf5N9MKOMLqmEhCZgEFev0wGY4jlUQzovllJ51tGG+44HFfUVTz2F14p9 g9Pw== X-Gm-Message-State: AOAM533m4VlF87A7IdGA8bR0LO9Lz3f6cXVKXkRj3wCOH9JsGL6B01Uw NCaXxFGMoznRWdJJvB1oAiMkFYw2eSTsgWm9J/s= X-Google-Smtp-Source: ABdhPJwNoifz9Zd4wHApH5F+Qt7BhE64ISxQbsNDX2o/IV8ypxRvJ8Nlfk64GppPxBgYrDjhSIo4DNtgWqeOLydsNkk= X-Received: by 2002:a5d:67d2:: with SMTP id n18mr13461664wrw.65.1590436037176; Mon, 25 May 2020 12:47:17 -0700 (PDT) In-Reply-To: <20200525184412.GA8662@ACM> Received-SPF: pass client-ip=209.85.221.66; envelope-from=mnazarewicz@gmail.com; helo=mail-wr1-f66.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 15:47:17 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Headers-End: 1jdJ4J-006TA4-Mk X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.io gmane.emacs.cc-mode.general:8002 gmane.emacs.devel:251387 Archived-At: SXTigJlzIGNsZWFyIHRoYXQgd2Ugd29u4oCZdCByZWFjaCBhbnkga2luZCBvZiBhZ3JlZW1lbnQg YW55IHRpbWUgc29vbiwgc28KbGV0IG1lIGxvb3AgaW4gZW1hY3MtZGV2ZWwgaW4gaG9wZSBvZiBs b29waW5nIG1vcmUgcGVvcGxlIGluIGFuZApyZWFjaGluZyBzb21lIGtpbmQgb2YgY29uc2Vuc3Vz LgoKRm9yIHRob3Nl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