From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: delete-trailing-whitespace and binary files Date: Sat, 03 Jun 2006 22:24:15 -0400 Message-ID: References: <85r7289d21.fsf@lola.goethe.zz> <857j3z5g98.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1149387968 1927 80.91.229.2 (4 Jun 2006 02:26:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Jun 2006 02:26:08 +0000 (UTC) Cc: ihs_4664@yahoo.com, storm@cua.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 04 04:26:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FmiJQ-0000SK-9Q for ged-emacs-devel@m.gmane.org; Sun, 04 Jun 2006 04:25:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmiJP-0003Gh-UC for ged-emacs-devel@m.gmane.org; Sat, 03 Jun 2006 22:25:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FmiHq-0002Er-VO for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:24:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FmiHp-0002Dc-TL for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:24:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmiHp-0002DO-Mz for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:24:17 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FmiOe-0004ES-DG for emacs-devel@gnu.org; Sat, 03 Jun 2006 22:31:20 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FmiHn-0002BY-DZ; Sat, 03 Jun 2006 22:24:15 -0400 Original-To: David Kastrup In-reply-to: <857j3z5g98.fsf@lola.goethe.zz> (message from David Kastrup on Sat, 03 Jun 2006 00:45:07 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55679 Archived-At: 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);