all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <f92capac@gmail.com>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: Tino Calancha <f92capac@gmail.com>, 21950@debbugs.gnu.org
Subject: bug#21950: 25.1.50; find-lisp-object-file-name sometimes cannot find file-name
Date: Thu, 19 Nov 2015 09:27:21 +0900 (JST)	[thread overview]
Message-ID: <alpine.LRH.2.20.1511190916001.30625@calancha-ilc.kek.jp> (raw)
In-Reply-To: <86d1v78fjo.fsf@stephe-leake.org>


Hi Stephe,

> You are passing 'dired as the TYPE argument, which is undocumented, so
> it's not surprising it doesn't do what you want.

Exactly, that was my example to pointing out the issue.
In emacs version < 25 find-lisp-object-file-name automatically 
replaced 'dired by 'defun, so the user file containing the alias is
always found.

> How did you stumble into this?
I have code relying of such behaviour (probably i should rewrite it in a 
more robust way): it was working fine in emacs24 but since i moved to 
emacs25 doesn't work at all.

Tino





  reply	other threads:[~2015-11-19  0:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 10:48 bug#21950: 25.1.50; find-lisp-object-file-name sometimes cannot find file-name Tino Calancha
2015-11-18 15:59 ` Stephen Leake
2015-11-19  0:27   ` Tino Calancha [this message]
2015-11-19 17:47     ` Stephen Leake
2015-11-20 10:20       ` Tino Calancha
2015-11-20 10:48         ` bug#21950: [SPAM UNSURE] " Stephen Leake
2016-05-09  1:52 ` bug#21950: 25.1.50; Show the filename where an alias is defined Tino Calancha
2016-06-07 20:46   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.20.1511190916001.30625@calancha-ilc.kek.jp \
    --to=f92capac@gmail.com \
    --cc=21950@debbugs.gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.