From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#40187: 28.0.50; [feature/native-comp] File mode specification error when opening .tex file Date: Fri, 27 Mar 2020 19:56:30 +0000 Message-ID: References: <530710a8-3dbe-c86b-1023-3e1e4ccc9a3b@posteo.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="105483"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 40187@debbugs.gnu.org To: =?UTF-8?Q?S=C3=A9bastien?= Miquel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 27 20:57:19 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 1jHv6V-000RL1-7n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Mar 2020 20:57:19 +0100 Original-Received: from localhost ([::1]:46220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHv6T-0007hL-Vm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Mar 2020 15:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55095) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHv6G-0007hA-4Y for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 15:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHv6E-00045s-SR for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 15:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHv6E-00044R-Ku for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 15:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHv6E-0006G2-He for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 15:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Mar 2020 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40187 X-GNU-PR-Package: emacs Original-Received: via spool by 40187-submit@debbugs.gnu.org id=B40187.158533899624018 (code B ref 40187); Fri, 27 Mar 2020 19:57:02 +0000 Original-Received: (at 40187) by debbugs.gnu.org; 27 Mar 2020 19:56:36 +0000 Original-Received: from localhost ([127.0.0.1]:33320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHv5o-0006FK-2i for submit@debbugs.gnu.org; Fri, 27 Mar 2020 15:56:36 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:53977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHv5l-0006F9-ID for 40187@debbugs.gnu.org; Fri, 27 Mar 2020 15:56:34 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 02RJuWYK003234 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 27 Mar 2020 19:56:32 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 02RJuURm013834; Fri, 27 Mar 2020 19:56:30 GMT In-Reply-To: (Andrea Corallo's message of "Sun, 22 Mar 2020 21:57:39 +0000") 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:177789 Archived-At: I looked into it and reduced the bug. The following code #+BEGIN_SRC elisp (defun foo () (message "AAA")) (defalias 'bar (symbol-function 'foo)) (defun foo () (message "BBB")) (bar) #+END_SRC when compiled by the native compiler prints "BBB" that is clearly totally wrong. Actually after loading it any following evaluation of (bar) prints "BBB". Interesting we can have two functions with the same name, haven't thought it... small details :) :) Going to fix it by the weekend. Andrea -- akrl@sdf.org