[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug?: (file-name-extension "some.html~") gives "html"
From: |
Andreas Schwab |
Subject: |
Re: Bug?: (file-name-extension "some.html~") gives "html" |
Date: |
Wed, 10 May 2006 23:32:14 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Kevin Rodgers <address@hidden> writes:
> BTW, why does file-name-extension accept an optional PERIOD argument
> to include the extension delimiter in the result, but
> file-name-sans-extension does not?
I don't think there is a need to cut off the extension while keeping the
period, whereas keeping the period together with the extension is quite
common.
> Symmetry baby,
This is asymmetric in nature.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: Bug?: (file-name-extension "some.html~") gives "html", Richard Stallman, 2006/05/10