unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Don't concat directories to file names
Date: Mon, 25 Jun 2007 16:51:02 +0200	[thread overview]
Message-ID: <f7ccd24b0706250751y71ac87afxd5e2a08a460bc165@mail.gmail.com> (raw)
In-Reply-To: <jwvr6o0qf4y.fsf-monnier+emacs@gnu.org>

On 6/25/07, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> No: a path is a list of directories (as in the PATH, MANPATH EMACSLOADPATH,
> etc...).

You're right.

> What it returns is a file name.  The file referenced may be of
> directory kind (or symlink kind, or normal file kind, or even device kind),
> but it's still a file name.

It's not the first time I mix the terminology (Richard corrected me a
couple times before). I've honestly tried to remember it, but my mind
refuses, perhaps as a rection to the horror of supposing that
everything is a file, which a directory is not (in general, though I
know it *is* in Unix and its derivatives, and many other OSes). I'm
not going to enter an OS flamewar, but in my younger days I hacked
VAX/VMS, where a filename and a directory were clearly distinct :)

I understand (and promptly forget, alas) how "path" is used in Emacs.
But I unconsciously revert to the more widespread use, as documented
in the Wikipedia, among many other places: "A path is the general form
of a file or directory name, giving a file's name and its unique
location in a file system." The use of path brought to life from PATH
and other environment variables is an accident that would've been
averted had the original namer had the forethought of calling it
PATHS, which seems more logical...

At least I didn't find difficult to remember that frames are windows
and windows are panes (and yeah, I know, Emacs Was There First :)

locate-user-emacs-file, then, as ugly as it is.

             Juanma

  reply	other threads:[~2007-06-25 14:51 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-13 16:22 Don't concat directories to file names Richard Stallman
2007-06-14 15:16 ` Juanma Barranquero
2007-06-14 17:10   ` Stephen J. Turnbull
2007-06-14 21:12     ` Juanma Barranquero
2007-06-15  1:50       ` Stephen J. Turnbull
2007-06-15  7:55         ` Juanma Barranquero
2007-06-15  9:15     ` Juanma Barranquero
2007-06-15 10:20       ` Stephen J. Turnbull
2007-06-15 11:21         ` Juanma Barranquero
2007-06-15 14:19           ` Stephen J. Turnbull
2007-06-15 16:27             ` Juanma Barranquero
2007-06-15 18:09               ` Stephen J. Turnbull
2007-06-15 14:33           ` Stefan Monnier
2007-06-15 16:39             ` Miles Bader
2007-06-15 16:41               ` Juanma Barranquero
2007-06-16  0:38                 ` Miles Bader
2007-06-16  0:50                   ` Juanma Barranquero
2007-06-16  3:28                   ` Stefan Monnier
2007-06-16  3:30                     ` Juanma Barranquero
2007-06-16  4:53                   ` Stephen J. Turnbull
2007-06-15 22:45               ` Richard Stallman
2007-06-15 23:25                 ` Juanma Barranquero
2007-06-16 18:50                   ` Richard Stallman
2007-06-16 19:20                     ` Juanma Barranquero
2007-06-16 20:19                       ` Stephen J. Turnbull
2007-06-17 12:36                     ` Stefan Monnier
2007-06-18  7:25                       ` Richard Stallman
2007-06-18  7:38                         ` David Kastrup
2007-06-20 13:29                           ` Richard Stallman
2007-06-20 13:39                             ` Juanma Barranquero
2007-06-20 14:29                               ` Stephen J. Turnbull
2007-06-20 14:59                                 ` Juanma Barranquero
2007-06-21  1:07                                 ` Richard Stallman
2007-06-21  8:08                                   ` Kai Grossjohann
2007-06-21  8:23                                     ` Juanma Barranquero
2007-06-22  1:51                                     ` Richard Stallman
2007-06-22  7:55                                       ` Juanma Barranquero
2007-06-22 18:51                                         ` Richard Stallman
2007-06-22 18:51                                         ` Richard Stallman
2007-06-25  9:59                                           ` Juanma Barranquero
2007-06-25 14:33                                             ` Stefan Monnier
2007-06-25 14:51                                               ` Juanma Barranquero [this message]
2007-06-25 14:54                                                 ` David Kastrup
2007-06-25 15:00                                                   ` David Kastrup
2007-06-25 16:27                                                 ` Stefan Monnier
2007-06-25 18:23                                                   ` Juanma Barranquero
2007-06-25 18:32                                                     ` David Kastrup
2007-06-25 18:46                                                       ` Juanma Barranquero
2007-06-26  0:16                                                     ` Stephen J. Turnbull
2007-06-25 16:29                                                 ` Stefan Monnier
2007-06-25 18:27                                                   ` Juanma Barranquero
2007-06-25 19:49                                                     ` Andreas Schwab
2007-06-25 20:35                                                     ` Eli Zaretskii
2007-06-25 20:39                                                       ` David Kastrup
2007-06-25 20:58                                                         ` Eli Zaretskii
2007-06-25 15:46                                             ` Richard Stallman
2007-06-21  1:07                               ` Richard Stallman
2007-06-21  2:24                                 ` Stephen J. Turnbull
2007-06-21  8:11                                 ` Juanma Barranquero
2007-06-21  8:23                                   ` David Kastrup
2007-06-21  8:46                                     ` Juanma Barranquero
2007-06-16  5:16                 ` Stephen J. Turnbull
2007-06-16 18:50                   ` Richard Stallman
2007-06-15 16:40             ` Juanma Barranquero
2007-06-14 19:51   ` Tom Tromey
2007-06-14 21:17     ` Juanma Barranquero
2007-06-14 21:32       ` Stefan Monnier
2007-06-14 21:39         ` Juanma Barranquero
2007-06-15  7:29       ` Eli Zaretskii
2007-06-15  7:56         ` Juanma Barranquero
2007-06-14 19:40 ` Tom Tromey

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=f7ccd24b0706250751y71ac87afxd5e2a08a460bc165@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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.
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).