From: phillip.lord@russet.org.uk (Phillip Lord)
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 28910@debbugs.gnu.org
Subject: bug#28910: 27.0.50; Equivalent to __FILE__
Date: Thu, 02 Nov 2017 17:53:56 +0000 [thread overview]
Message-ID: <87vaismurv.fsf@russet.org.uk> (raw)
In-Reply-To: <CAArVCkS=75C5uncG8KQ9fRSd8UBMyfKZgK4+4YHT8G9eCmZyQw@mail.gmail.com> (Philipp Stephani's message of "Sun, 29 Oct 2017 15:42:02 +0000")
Philipp Stephani <p.stephani2@gmail.com> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> schrieb am Fr., 20. Okt. 2017 um
> 14:42 Uhr:
>
>> We should provide some `current-source-file-name` function which macros
>> can use to find get the name of the source file in which they were invoked.
>>
>
> `f-this-file' from the `f' package is some prior art, but I guess it also
> doesn't work correctly with macros.
emacs-load-relative uses the name "__FILE__" for the same thing.
Phil
next prev parent reply other threads:[~2017-11-02 17:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 12:40 bug#28910: 27.0.50; Equivalent to __FILE__ Stefan Monnier
2017-10-20 12:47 ` Dmitry Gutov
2017-10-20 17:39 ` Stefan Monnier
2017-10-29 15:42 ` Philipp Stephani
2017-11-02 17:53 ` Phillip Lord [this message]
2021-05-10 16:59 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vaismurv.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--cc=28910@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=p.stephani2@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).