GNU bug report logs - #40187
28.0.50; [feature/native-comp] File mode specification error when opening .tex file

Previous Next

Package: emacs;

Reported by: sebastien.miquel <at> posteo.eu

Date: Sun, 22 Mar 2020 21:36:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 40187 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Sébastien Miquel <sebastien.miquel <at> posteo.eu>
Cc: 40187 <at> debbugs.gnu.org
Subject: Re: 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
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 <at> sdf.org




This bug report was last modified 5 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.