all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* paths are sensative to double separators
@ 2009-03-19  1:50 Mike Mattie
  2009-03-19  2:50 ` xah lee
  2009-03-19  3:09 ` Miles Bader
  0 siblings, 2 replies; 35+ messages in thread
From: Mike Mattie @ 2009-03-19  1:50 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Hi,

I have noticed that paths in Emacs are sensitive to double separators e.g:

(load /foo/bar/baz.el)  ;; works
(load /foo/bar//baz.el) ;; broken

The same behavior occurs with (find-file).

This doesn't seem like a good thing. Is there a good reason for
it that I am not aware of ?

GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, X toolkit) of 2009-03-07 on localhost

Cheers,
Mike Mattie

-- 
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: paths are sensative to double separators
@ 2009-03-19 21:25 Xavier Maillard
  0 siblings, 0 replies; 35+ messages in thread
From: Xavier Maillard @ 2009-03-19 21:25 UTC (permalink / raw)
  To: Miles Bader; +Cc: hanche, emacs-devel


   Harald Hanche-Olsen <hanche@math.ntnu.no> writes:
   > Miles Bader gave a different explanation for emacs's behaviour. It
   > seems odd to me that an interactive feature (a good one, too) should
   > influence how path names are interpreted in code, however.

   I agree with you, but I'm not sure that it's reasonable to change it
   now, given how long Emacs has behaved this way...

I agree with Miles here although the "posix way" should be also
supported (at the user discretion -i.e. via a defcustom).

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2009-03-21 16:04 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19  1:50 paths are sensative to double separators Mike Mattie
2009-03-19  2:50 ` xah lee
2009-03-19  5:42   ` Harald Hanche-Olsen
2009-03-19  6:54     ` Miles Bader
2009-03-19 16:33     ` David De La Harpe Golden
2009-03-19 19:37     ` Richard M Stallman
2009-03-20  0:38     ` xah lee
2009-03-19  9:48   ` Sebastian Rose
2009-03-19 11:16   ` Giorgos Keramidas
2009-03-19 14:20     ` Stephen J. Turnbull
2009-03-19 15:33       ` Giorgos Keramidas
2009-03-20  5:48         ` Stephen J. Turnbull
2009-03-20 12:57           ` Stefan Monnier
2009-03-20 14:55             ` Stephen J. Turnbull
2009-03-20 20:19               ` Stefan Monnier
2009-03-20 21:24                 ` Giorgos Keramidas
2009-03-20 22:56                   ` Sebastian Rose
2009-03-21  0:12                     ` Miles Bader
2009-03-21  4:43                   ` Stephen J. Turnbull
2009-03-21 16:04                     ` Giorgos Keramidas
2009-03-20 15:01             ` Eli Zaretskii
2009-03-20 20:14               ` Stefan Monnier
2009-03-19 15:47     ` Stefan Monnier
2009-03-19 19:08       ` Giorgos Keramidas
2009-03-19 23:59     ` Byung-Hee HWANG
2009-03-19  3:09 ` Miles Bader
2009-03-19 10:26   ` Sebastian Rose
2009-03-19 15:46     ` Miles Bader
2009-03-19 20:32     ` Stefan Monnier
2009-03-19 21:18       ` Sebastian Rose
2009-03-19 13:33   ` Stefan Monnier
2009-03-19 17:50     ` Mike Mattie
2009-03-19 20:34       ` Stefan Monnier
2009-03-19 21:32         ` Mike Mattie
  -- strict thread matches above, loose matches on Subject: below --
2009-03-19 21:25 Xavier Maillard

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.