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: [kobayays@otsukakj.co.jp: vertical-motion] Date: Sun, 27 Aug 2006 04:39:49 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1156668013 8374 80.91.229.2 (27 Aug 2006 08:40:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Aug 2006 08:40:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 27 10:40:12 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 1GHGBd-0008AE-Sy for ged-emacs-devel@m.gmane.org; Sun, 27 Aug 2006 10:40:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHGBc-0003FG-K4 for ged-emacs-devel@m.gmane.org; Sun, 27 Aug 2006 04:40:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GHGBK-0003DJ-MB for emacs-devel@gnu.org; Sun, 27 Aug 2006 04:39:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GHGBK-0003C3-5u for emacs-devel@gnu.org; Sun, 27 Aug 2006 04:39:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHGBK-0003Bl-1I for emacs-devel@gnu.org; Sun, 27 Aug 2006 04:39:50 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GHGK0-0008CF-RN for emacs-devel@gnu.org; Sun, 27 Aug 2006 04:48:48 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GHGBJ-0002qW-AM; Sun, 27 Aug 2006 04:39:49 -0400 Original-To: emacs-devel@gnu.org 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:58932 Archived-At: Would someone please DTRT and ack? ------- Start of forwarded message ------- From: KOBAYASHI Yasuhiro To: emacs-pretest-bug@gnu.org Date: Thu, 24 Aug 2006 14:13:30 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: vertical-motion X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4 It seems that vertical-motion is not right in the case which some propertized texts are included in the line. - - Test function: (defun test-case (n) ;; Preparate the test buffer. (switch-to-buffer (get-buffer-create "test")) (erase-buffer) (let ((pos (point-min))) (dotimes (i 3) (insert "\t\t\t\t\t\n")) (while (< pos (point-max)) (and (= (char-after pos) ?\t) (put-text-property pos (1+ pos) 'display (propertize " >"))) (setq pos (1+ pos)))) ;; The following is the test case. (goto-char (point-min)) (while (< (point) (point-max)) (beginning-of-line) (forward-char n) ;; If POINT is not on the edge of the line, ;; POINT move to the beginning of the save line. (vertical-motion 1))) - - Correct actions. (test-case 0) (test-case 5) - - Strange actions. (test-case 1) (test-case 2) (test-case 3) (test-case 4) - -- KOBAYASHI Yasuhiro _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug ------- End of forwarded message -------