unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: abc <arcadiorubiogarcia@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Knowing the name of a file from the file itself
Date: Mon, 20 Oct 2008 16:04:29 -0700 (PDT)	[thread overview]
Message-ID: <47ec3b12-d424-4b0f-8a90-d6ee3ca2add8@m73g2000hsh.googlegroups.com> (raw)

Hi everyone,

I'm a recent Emacs convert. I'm structuring my .emacs.d directory
which has become quite messy.

For that purpose, I'd like to know if it's possible to know the name
of a file and the path to it from the file itself, like in many other
languages, e.g. Ruby.

I've looked for a variable or function for this with no luck.


Thanks in advance.


             reply	other threads:[~2008-10-20 23:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-20 23:04 abc [this message]
2008-10-21  0:25 ` Knowing the name of a file from the file itself Andy Stewart
2008-10-21  1:28 ` Andreas Politz
2008-10-21 10:13   ` abc

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=47ec3b12-d424-4b0f-8a90-d6ee3ca2add8@m73g2000hsh.googlegroups.com \
    --to=arcadiorubiogarcia@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).