[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-trailing-whitespace and binary files
From: |
Richard Stallman |
Subject: |
Re: delete-trailing-whitespace and binary files |
Date: |
Sat, 03 Jun 2006 22:24:15 -0400 |
Does this patch do the job?
*** syntax.c 01 May 2006 16:16:58 -0400 1.189
--- syntax.c 03 Jun 2006 18:43:27 -0400
***************
*** 3122,3127 ****
--- 3122,3133 ----
Vstandard_syntax_table = Fmake_char_table (Qsyntax_table, temp);
+ /* Control characters should not be whitespace. */
+ temp = XVECTOR (Vsyntax_code_object)->contents[(int) Spunct];
+ for (i = 1; i <= ' ' - 1; i++)
+ SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, i, temp);
+ SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, 0177, temp);
+
temp = XVECTOR (Vsyntax_code_object)->contents[(int) Sword];
for (i = 'a'; i <= 'z'; i++)
SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, i, temp);
- Re: delete-trailing-whitespace and binary files, Kim F. Storm, 2006/06/01
- 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 <=
- 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