From: Robert Pluim <rpluim@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: file and directory - same name
Date: Mon, 20 Aug 2018 14:25:57 +0200 [thread overview]
Message-ID: <87lg91dy22.fsf@gmail.com> (raw)
In-Reply-To: <125be172-98e5-63f4-42fd-df8145e3aa1a@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Mon, 20 Aug 2018 12:26:16 +0200")
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
> Hi,
>
> came upon a mode my-mode.el residing in directory my-mode.el.
> Which looks confusing for me, as PATH/TO/my-mode.el might be seen as
> indicating a file, while pointing to just a directory.
>
> Any opinions? Maybe there are pros for this?
No pros, only cons. There is code in emacs that assumes that any
directory entry ending in '.el' is a file containing lisp code, even
when that directory entry is a directory, not a file. See eg
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32266>
Robert
prev parent reply other threads:[~2018-08-20 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 10:26 file and directory - same name Andreas Röhler
2018-08-20 12:25 ` Robert Pluim [this message]
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=87lg91dy22.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=andreas.roehler@easy-emacs.de \
--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).