From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: file and directory - same name Date: Mon, 20 Aug 2018 14:25:57 +0200 Message-ID: <87lg91dy22.fsf@gmail.com> References: <125be172-98e5-63f4-42fd-df8145e3aa1a@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1534767948 11958 195.159.176.226 (20 Aug 2018 12:25:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2018 12:25:48 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 20 14:25:44 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1frjFg-0002zi-Jf for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Aug 2018 14:25:44 +0200 Original-Received: from localhost ([::1]:46828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frjHn-0000h0-3A for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Aug 2018 08:27:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frjG9-0008Oa-AV for help-gnu-emacs@gnu.org; Mon, 20 Aug 2018 08:26:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frjFy-0005QG-PA for help-gnu-emacs@gnu.org; Mon, 20 Aug 2018 08:26:11 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:44520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1frjFy-0005P3-Ie for help-gnu-emacs@gnu.org; Mon, 20 Aug 2018 08:26:02 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id r16-v6so12807945wrt.11 for ; Mon, 20 Aug 2018 05:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=YeqAVbpySq19gdVDhXnnNbPx3tbWnAPlcvHMQlkKA8M=; b=m2iPT9hkFOPn611dNT83AsYq43ECsa7oVd919dUUaJDj7RWATPHGpyQIxzGQI+G+ox WP42hjY21x0VlIo3awHRRd07XwzRxFDbMFJ3sIOA3Tcty5yX2JXn5vuhj5x06WIAz+V7 06HTjDbfWjAqoz0leRTRM36o4YyvUadEixf7wNjJMS9FHqgsSLkZE3Zw6h+NA2HoI59L OTml0CWSqQFQmolzvT0kwJbNofYXANE7eprW15cfcBkHrf64XlapEaVPk4wNjMve69UG fXmvPoEChUioE/vLOb73ON86KnMfqu9Mq9Lkaz2jOZQ0+tqEbKSoZB5GfcPEV4/lSY9f fYLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=YeqAVbpySq19gdVDhXnnNbPx3tbWnAPlcvHMQlkKA8M=; b=nRH1kaZWm0LzP4N7cTsjm6t7dUHbEn2wGlG/u31yI0R7sw8wcbm31YbzYYKJqCtw5r 72AIPGHGN7BPVsO+QeM1Qw4q2OB1JwFSVB275rETXmn6XmDICATXbcksfGEwSlwJ/t9o D5Y5bcAQ+A7MAsJoOorM5mBnwZwXkK/3F13xshIc6+/GDgg8rc6T+UAxTh4xT/KGI1lF EdbqGqUqBEBJR/UnYgj7HEHGmR0FUE6Qep8J0s6dYZdEC7h6KF64ggR8seciuK8PoTtm Xbm0ISf+DXx22OZKGpQDHkvgsHMtWnT/DN/rlaXPXkKqnffIECKpV/HwH00faHItpVif LhUg== X-Gm-Message-State: APzg51BGWRbV9yqggolNwMiWXhI4Cxw7AAuIC562tciKy2PQ6i51cuaV +/PDJ3dBvR2P+vPlvtALqzjGkoMB X-Google-Smtp-Source: ANB0VdY2WyrjzHRId5IyicEWGVwwEgwai46H++n9UYlokvk5YJqf9J20laMA1VJKI+TspLzOAsGulQ== X-Received: by 2002:a5d:5344:: with SMTP id t4-v6mr1047009wrv.257.1534767959684; Mon, 20 Aug 2018 05:25:59 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id q3-v6sm9304659wma.45.2018.08.20.05.25.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 05:25:58 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes 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") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117702 Archived-At: Andreas R=C3=B6hler 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 Robert