From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: display question: should ^N and \NNN widths be fixed? Date: Sat, 25 May 2002 22:28:53 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205260428.g4Q4SrN05184@aztec.santafe.edu> References: <200205242114.g4OLE2T02822@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1022387402 27743 127.0.0.1 (26 May 2002 04:30:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 26 May 2002 04:30:02 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17BpfN-0007Cy-00 for ; Sun, 26 May 2002 06:30:01 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Bpw3-0004mW-00 for ; Sun, 26 May 2002 06:47:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Bpfi-0004FY-00; Sun, 26 May 2002 00:30:22 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17BpeI-00049A-00; Sun, 26 May 2002 00:28:54 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4Q4SrK19388; Sat, 25 May 2002 22:28:53 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4Q4SrN05184; Sat, 25 May 2002 22:28:53 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: ttn@glug.org In-Reply-To: (message from Thien-Thi Nguyen on Fri, 24 May 2002 16:20:39 -0700) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4390 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4390 + make indent.c C column vars float + make callers of indent.c C functions cast retval to int + make indent.c C getter functions compute and return float - make callers of indent.c C functions cast args to float - make indent.c C setter functions accept floats This seems like the right first step. - selectively expand contour to propagate float usage - determine criteria for propagation - determine which funcs/vars fit that criteria (maybe all?) - do the changes where needed - remove casts - fix resulting breakage That seems reasonable too. - introduce font sensitivity in column computations - unify current_column / current_column_1 / string_display_width - consult font text-property <-- potential race condition? This code is all serial; it can't have race conditions. Why did you think there was one? Perhaps that is a misunderstanding that is worth identifying so we can clear it up now. logistical questions: is it ok to make a branch in cvs? what should it be named? Yes. It could be called float-indent. Eli can help you set it up. is it ok to check in the above in etc/TODO? There is no need. You know it.