From: Richard Stallman <rms@gnu.org>
Subject: [kobayays@otsukakj.co.jp: vertical-motion]
Date: Sun, 27 Aug 2006 04:39:49 -0400 [thread overview]
Message-ID: <E1GHGBJ-0002qW-AM@fencepost.gnu.org> (raw)
Would someone please DTRT and ack?
------- Start of forwarded message -------
From: KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
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 <kobayays@otsukakj.co.jp>
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
next reply other threads:[~2006-08-27 8:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-27 8:39 Richard Stallman [this message]
2006-08-27 8:49 ` [kobayays@otsukakj.co.jp: vertical-motion] David Kastrup
2006-08-27 21:51 ` Kim F. Storm
2006-08-27 22:10 ` David Kastrup
2006-08-27 22:41 ` Kim F. Storm
2006-08-28 22:10 ` Richard Stallman
2006-08-28 9:52 ` Richard Stallman
2006-08-28 22:00 ` Chong Yidong
2006-08-29 22:17 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1GHGBJ-0002qW-AM@fencepost.gnu.org \
--to=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.