From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: 23.0.50; display property and continuation arrows Date: Tue, 18 Dec 2007 17:37:36 +0100 Message-ID: <87y7bsez73.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197996049 18101 80.91.229.12 (18 Dec 2007 16:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 16:40:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 18 17:41:02 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4fV1-0000Tf-2J for ged-emacs-devel@m.gmane.org; Tue, 18 Dec 2007 17:40:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4fUh-0008GH-Or for ged-emacs-devel@m.gmane.org; Tue, 18 Dec 2007 11:40:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4fUO-00085x-5m for emacs-devel@gnu.org; Tue, 18 Dec 2007 11:40:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4fUI-00084J-ED for emacs-devel@gnu.org; Tue, 18 Dec 2007 11:40:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4fUH-00083w-C3 for emacs-devel@gnu.org; Tue, 18 Dec 2007 11:40:09 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J4fUG-0007CE-JA for emacs-devel@gnu.org; Tue, 18 Dec 2007 11:40:08 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1J4fUA-0003FQ-Tx for emacs-devel@gnu.org; Tue, 18 Dec 2007 16:40:03 +0000 Original-Received: from i5387dcb6.versanet.de ([83.135.220.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2007 16:40:02 +0000 Original-Received: from Stephen.Berman by i5387dcb6.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2007 16:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387dcb6.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85258 Archived-At: GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-12-09 on escher 1. emacs -Q 2. Type a line of text that extends beyond (window-width) with auto-fill mode is disabled so that continuation arrows are displayed in the fringes. 3. Put the cursor on the second column after the left continuation arrow and evaluate this sexp: (put-text-property (1- (point)) (point) 'display " \n"). 4. Now the rest of the text, from point to the end, appears to have moved down by one line, i.e., the continuation arrows remain but after the left continuation arrow it looks like there is an empty line before the rest of the text. Compare this with the following step instead of 3: 3'. Put the cursor on the first column after the left continuation arrow and evaluate this sexp: (put-text-property (1- (point)) (point) 'display " \n"). 5. Now the rest of the text, from point to the end, appears in the same position as before step 3' but the continuation arrows have vanished, i.e., it looks like there are two lines of text, not one continued line. Is the difference between 4 and 5, resulting from the different positions of the display property, expected? If so, is it conceivable to change the display code so that doing step 3 (not step 3') would result in the appearance in 5 instead of that in 4? Steve Berman