[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-trailing-whitespace and binary files
From: |
Kim F. Storm |
Subject: |
Re: delete-trailing-whitespace and binary files |
Date: |
Thu, 01 Jun 2006 16:23:22 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Kevin Rodgers <address@hidden> writes:
> Stefan Monnier wrote:
>>> text-mode is derived from Fundamental-mode, which has
>>> a somewhat peculiar (IMO) interpretation of "whitespace":
>>
>>> C-@ .. SPC which means: whitespace
>>> DEL .. ÿ which means: whitespace
>>> which means: whitespace
>>> .. which means: whitespace
>>> <<default>> which means: whitespace
>>
>> This looks wrong. Why should all the control chars be considered whitespace
>> in text-mode? Rather than try to use another major mode I think we should
>> fix the above.
>
> That's what I thought, but I don't see a more appropriate choice in the
> Syntax Class Table node of the Emacs Lisp manual, which says this:
>
> | "Whitespace characters" (designated by ` ' or `-') separate symbols
> | and words from each other.
Maybe the solution for delete-trailing-whitespace is to explicitly
only consider "normal" whitespace characters, i.e. don't use the
syntax table ?
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: delete-trailing-whitespace and binary files,
Kim F. Storm <=
- Re: delete-trailing-whitespace and binary files, Richard Stallman, 2006/06/01
- Re: delete-trailing-whitespace and binary files, David Kastrup, 2006/06/02
- Re: delete-trailing-whitespace and binary files, Richard Stallman, 2006/06/02
- Re: delete-trailing-whitespace and binary files, David Kastrup, 2006/06/02
- Re: delete-trailing-whitespace and binary files, Richard Stallman, 2006/06/03
- Re: delete-trailing-whitespace and binary files, Stuart D. Herring, 2006/06/06
- Re: delete-trailing-whitespace and binary files, Stuart D. Herring, 2006/06/06
- Re: delete-trailing-whitespace and binary files, Richard Stallman, 2006/06/06