From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#39190: 28.0.50; two buffers with same buffer-file-name (diff-syntax-fontify-props) Date: Tue, 24 Mar 2020 18:29:34 -0400 Message-ID: References: <875zh73dg8.fsf@betli.tmit.bme.hu> <875zh13e5d.fsf@mail.linkov.net> <87h80iqafm.fsf@betli.tmit.bme.hu> <87ftg0fnyb.fsf@mail.linkov.net> <87d0b3qz3m.fsf@betli.tmit.bme.hu> <871rrhkgkm.fsf@mail.linkov.net> <87v9os914e.fsf@betli.tmit.bme.hu> <87a764y35u.fsf@mail.linkov.net> <87r1zd8gvx.fsf@betli.tmit.bme.hu> <87imknqogu.fsf@mail.linkov.net> <87lfpi548j.fsf@mail.linkov.net> <87a75wek14.fsf@mail.linkov.net> <87sgjj7njt.fsf@betli.tmit.bme.hu> <87o8twep2f.fsf@mail.linkov.net> <87sgj78q2o.fsf@mail.linkov.net> <87imitsad7.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="41535"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39190@debbugs.gnu.org, Felician Nemeth To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 24 23:30:24 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jGs3x-000AfJ-I3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Mar 2020 23:30:21 +0100 Original-Received: from localhost ([::1]:55988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGs3w-0003I8-GG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Mar 2020 18:30:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44088) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGs3f-0003Hp-Mq for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:30:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGs3e-00081q-Nu for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGs3e-000810-Hu for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGs3e-0007eG-CW for bug-gnu-emacs@gnu.org; Tue, 24 Mar 2020 18:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Mar 2020 22:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39190 X-GNU-PR-Package: emacs Original-Received: via spool by 39190-submit@debbugs.gnu.org id=B39190.158508898529352 (code B ref 39190); Tue, 24 Mar 2020 22:30:02 +0000 Original-Received: (at 39190) by debbugs.gnu.org; 24 Mar 2020 22:29:45 +0000 Original-Received: from localhost ([127.0.0.1]:55718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGs3M-0007dM-SE for submit@debbugs.gnu.org; Tue, 24 Mar 2020 18:29:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:47033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGs3L-0007d5-D7 for 39190@debbugs.gnu.org; Tue, 24 Mar 2020 18:29:44 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D8CB28113D; Tue, 24 Mar 2020 18:29:37 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 44439810EF; Tue, 24 Mar 2020 18:29:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1585088976; bh=Z7lQMqSuentCasZwnJmQVnXwEc5S6DMzQn+s6PJeWGk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FDrcKvvWaH39xLsbsU9BgxcnrCz0bXDkSkH8vYKvKShJqUrjDNvqJlvvQsSXuzTdt sdW5WHuefdJ9Fw/RuXGXDryY9A/WiGBJLLKrk0MFv5kwwEm4GZDG7CUC3z9dIpc0YL OeTO1+LqmxpEspluidem157ISmnnyUZm6Sn5y5AnO70jeclWmNjZCF3p+VtLZudQiI J0r/wrpZgJORA+0CNEPLk98yeMiMMWFKH9yu6gyDKQzwsvhircuUF8ePX9QRY8Xk2f mlO37oaA+v6NoFo9EIoafeogCKBpfa7ipMjc8+5YVpumT4P8qCskBpXkkQ/KQHMXzo WHJkhtOb4ySTg== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DB5711208C0; Tue, 24 Mar 2020 18:29:35 -0400 (EDT) In-Reply-To: <87imitsad7.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 24 Mar 2020 23:37:08 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177692 Archived-At: > Currently `conf-mode` is broken in master: visiting a conf file doesn't > activate `conf-mode`. In my tests it does, but it only activates the parent-mode and not the specific submode applicable to the file, indeed. > I don't know the right way to fix this, but this patch demonstrates > what basically needed to do to fix it, and it seems something like > this wrapper could be added: > > (defun conf-guess-mode () > (funcall (conf--guess-mode))) That shouldn't be needed! [ I.e. the right fix should arrange for that not to be necessary. I'm looking into it, thanks. ] Stefan