From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#24697: 25.1; find-lisp-object-file-name may return wrong locations Date: Fri, 14 Oct 2016 16:19:23 -0600 Message-ID: <87mvi68tg4.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476483639 23539 195.159.176.226 (14 Oct 2016 22:20:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 22:20:39 +0000 (UTC) To: 24697@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 15 00:20:36 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvApv-0003b1-M7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Oct 2016 00:20:19 +0200 Original-Received: from localhost ([::1]:49648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvApu-0001D2-3A for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 18:20:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvApi-0001Ar-Pv for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvApe-0000aY-EO for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:20:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvApe-0000aU-Af for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bvApe-0005Tw-5M for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2016 22:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147648358921041 (code B ref -1); Fri, 14 Oct 2016 22:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Oct 2016 22:19:49 +0000 Original-Received: from localhost ([127.0.0.1]:56117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvApQ-0005TJ-VO for submit@debbugs.gnu.org; Fri, 14 Oct 2016 18:19:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvApP-0005T6-60 for submit@debbugs.gnu.org; Fri, 14 Oct 2016 18:19:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvApG-0000Ti-Rw for submit@debbugs.gnu.org; Fri, 14 Oct 2016 18:19:42 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvApG-0000TX-Oe for submit@debbugs.gnu.org; Fri, 14 Oct 2016 18:19:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvApD-0000wf-1Q for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:19:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvAp8-0000S3-NF for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:19:33 -0400 Original-Received: from mail-it0-x22f.google.com ([2607:f8b0:4001:c0b::22f]:36848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvAp8-0000Ry-Is for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 18:19:30 -0400 Original-Received: by mail-it0-x22f.google.com with SMTP id l13so3456799itl.1 for ; Fri, 14 Oct 2016 15:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=EKVeeZg16LuSpPPu61+Ug7pl6tbV/Dt/tMyE0P6FkWo=; b=RdyDn8czecIPxo8ECiWM8NI7Wd79i5PUwvyLFHfkej55fL1hBBSCuOxYviS1gvRdoH aypiG+fdENfinAFqiMkhc5Ca/WMK5YS0/vaoeM9pVOFu5TACyNlPUFPBFIEFc4tpyV+B EQp8m/VhA0I5tjlE3aqP4IdIklt0BTnhWtNYsJy+ldvx0ogV9Kz7DzMiyZWla69pWyNr 27u5QcVodMlkx/D3aG/I9+Bi1JiW1KBFppqWelR9Q5IcW5VkfKk9Ib7agt31VvIyGExI 3nEsTyiLW7X97IeXI0efLG+DqMjpESX/iQ93ONPwh+T4AGVMUsHOcAu45hyNUUBoYyJ5 XBBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=EKVeeZg16LuSpPPu61+Ug7pl6tbV/Dt/tMyE0P6FkWo=; b=VR8p4DYXkvfTUPCovaQDnB5QvOmtgIoA3m6Kzx+aFGYzJNm6tB12pWx1MACusOZzo2 MK66aw9XaHeN9+RzFzfwxSU9TmJZBbJxarQgSxEdIWDFG6YvFW1IdwnDk/djTZZUI5n1 r2taiMXu7AQgLoFuIBo5ODePVVS8p8eBf0Dp7ygdaFUGtlkVj/aeR/8nJjKEUu5SMeTb /CPybJhjHC71S3W8xoQGXjqzYgho+wbZEtOlHZZk9I+dn+s172N+aZ818AMts3l22S/0 0Lc5JiaUTc10VE1jHkKAL7AYSt+VyTf226W2wNKmrE1qE3bAXO12cI/5W3gpnY8yxaH8 bkJw== X-Gm-Message-State: AA6/9RlumoGWZgKsrgNIvvscbxHietLFDc7JT+Tcnu36OshPSjPcu0gJvUlNr4VAsMB6Ig== X-Received: by 10.36.25.82 with SMTP id b79mr384412itb.122.1476483569239; Fri, 14 Oct 2016 15:19:29 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id t141sm387689ita.0.2016.10.14.15.19.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Oct 2016 15:19:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124485 Archived-At: #+BEGIN_SRC elisp (defface tab-width '((t :foreground "red")) "A face with the same name as a variable.") (find-lisp-object-file-name 'tab-width 'defface) #+END_SRC The above results in the symbol 'C-source'. The result should be nil as the 'tab-width' face was evaluated in *scratch*. Putting the above definition into an actual file and using `load-file' does return the proper source location. #+BEGIN_SRC elisp (find-lisp-object-file-name 'mapatoms 1) #+END_SRC This should return 'C-source' but instead it returns nil. #+BEGIN_SRC elisp (find-lisp-object-file-name 'tab-width 1) #+END_SRC This should return nil but instead it returns 'C-source'.