RE: EFS-1.16/Dired-7.9 problems with FSF GNU Emacs-20.3

Broadey, Kevin M (kevin.broadey@eds.com)
Fri, 12 Mar 1999 10:02:48 -0000


Here's what I did to fix the date/time problem.  Note that the problem =
isn't
the month names, it's whether the month name appears before or after =
the day
number...

(setq dired-re-month-and-time
      (let* ((mth (concat "\\("
			  (mapconcat 'identity
				     '("Jan" "Feb" "Mar" "Apr" "May" "Jun"
				       "Jul" "Aug" "Sep" "Oct" "Nov" "Dec")
				     "\\|")
			  "\\)"))
	     (date "[ 0-3][0-9]")
	     (time "[012][0-9]:[0-6][0-9]")
	     (year " ?[12][90][0-9][0-9] ?")
	     (mth-date (concat "\\(" mth " " date "\\)"))
	     (date-mth (concat "\\(" date " " mth "\\)")))
	(concat " "
		"\\("  date-mth "\\|" mth-date "\\)"
		" "
		"\\(" time "\\|" year "\\)"
		" ")))

(setq efs-month-and-time-regexp dired-re-month-and-time)


And this fixed the characterp problem...

	(defalias 'characterp 'integerp)

I'll look forward to 1.18 coming out.  Real Soon Now?

Kevin

-----Original Message-----
From: sperber@Informatik.Uni-Tuebingen.De
[mailto:sperber@Informatik.Uni-Tuebingen.De]
Sent: 12 March 1999 09:11
To: Broadey, Kevin M
Cc: 'efs-bugs@cuckoo.hpl.hp.com'; 'kevinb'
Subject: Re: EFS-1.16/Dired-7.9 problems with FSF GNU Emacs-20.3


>>>>> "KB" =3D=3D Broadey, Kevin M <kevin.broadey@eds.com> writes:

KB> I then did "C-x d user@host:/tmp" to view a remote directory.  "v" =
and
"f"
KB> failed with "No file on this line" despite there being a file on =
the
line in
KB> question.  I suspect this is because the locale setting on the =
remote
KB> machine was causing the date/time to come out in the En_GB format -
<date>
KB> <month> <year/time> - instead of En_US/C - <month> <date> =
<year/time>.
I
KB> know ange-ftp suffers from this problem, but I though efs had =
cracked
it.
KB> Apparently not.

There's no way to fix it that I know of---EFS needs a list of valid
month names, and there doesn't seem to be a portable way to get it.

KB> So I guess the real question is - how do I go about building =
efs/dired
for
KB> emacs-20.3?

I think the only issue with 20.3 is `characterp', which should be an
alias for `integerp'.  EFS 1.18 (basically done, out one of these
days) doesn't use `characterp' anymore.

--=20
Cheers =3D8-} Chipsy
Friede, V=F6lkerverst=E4ndigung und =FCberhaupt blabla