From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>, 28910@debbugs.gnu.org
Subject: bug#28910: 27.0.50; Equivalent to __FILE__
Date: Fri, 20 Oct 2017 15:47:27 +0300 [thread overview]
Message-ID: <b5229e5c-2e0d-4d8b-086c-02adcb5c254c@yandex.ru> (raw)
In-Reply-To: <jwvefpygfh0.fsf@iro.umontreal.ca>
On 10/20/17 3:40 PM, Stefan Monnier wrote:
> Currently, some packages use a mix of load-file-name and
> byte-compile-current-file to get that information, but it's hackish.
FWIW, I've used (or load-file-name (buffer-file-name)) in a couple of
packages, and that's worked well for my purposes.
next prev parent reply other threads:[~2017-10-20 12:47 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 [this message]
2017-10-20 17:39 ` Stefan Monnier
2017-10-29 15:42 ` Philipp Stephani
2017-11-02 17:53 ` Phillip Lord
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=b5229e5c-2e0d-4d8b-086c-02adcb5c254c@yandex.ru \
--to=dgutov@yandex.ru \
--cc=28910@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).