From: David Reitter <david.reitter@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>,
"Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>,
Miles Bader <miles@gnu.org>
Subject: Re: visual-line-mode
Date: Fri, 4 Jul 2008 12:09:27 +0100 [thread overview]
Message-ID: <8CBB1034-A153-413E-80AA-AF8081F9C8F2@gmail.com> (raw)
In-Reply-To: <87tzf6c5il.fsf@stupidchicken.com>
[-- Attachment #1.1: Type: text/plain, Size: 1642 bytes --]
On 4 Jul 2008, at 11:23, Chong Yidong wrote:
> David Reitter <david.reitter@gmail.com> writes:
>
>> OK, it seems that (vertical-motion 0) is reliable now with your
>> patch,
>> but (vertical-motion 1) will sometimes move point to the beginning of
>> the last word in the line (or so), possibly when the visual line is
>> fairly long. It looks as if it anticipates the word to be wrapped,
>> even though it isn't.
>
> Please provide a detailed recipe. (If the recipe refers to
> `posn-point', that would be even better.)
It seems to require a variable-width font and a wrapped line that
reached to the right border.
This is reproducible for me:
Emacs -Q,
(setq word-wrap t)
select variable-width font (I chose Arial 12pt on my OS X machine)
then paste the following text into the *scratch* buffer:
French-Colombian politician Ingrid Betancourt left Bogota bound for
France and a meeting with President Nicolas Sarkozy one day after her
jungle rescue from six years in rebel captivity.
NB, this is one sentence that should be without linebreaks.
Resize the frame so that you get line breaks after "France" and
"jungle". "France" should reach all the way to the right edge of the
window, as shown in the screenshot.
Place point on the first letter of "Bogota".
M-: (vertical-motion 1) RET
This jumps to the word "France" (the first letter), rather than to
"and".
Put point back to "Bogota", widen the frame by one character, try
again. This time it works: we jump to "and".
I hope that's reproducible in Emacs 23 as well.
I can't find anything wrong with posn-point, but maybe I'm not trying
the right things.
[-- Attachment #1.2: pastedGraphic.png --]
[-- Type: image/png, Size: 95266 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]
next prev parent reply other threads:[~2008-07-04 11:09 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-29 6:30 visual-line-mode David Reitter
2008-06-29 7:05 ` visual-line-mode Miles Bader
2008-06-29 7:19 ` visual-line-mode Miles Bader
2008-06-29 14:01 ` visual-line-mode Stefan Monnier
2008-06-29 15:29 ` visual-line-mode Chong Yidong
2008-06-30 3:07 ` visual-line-mode Miles Bader
2008-06-30 3:15 ` visual-line-mode Chong Yidong
2008-06-30 5:13 ` visual-line-mode Miles Bader
2008-06-30 5:15 ` visual-line-mode Miles Bader
2008-06-30 10:39 ` visual-line-mode Miles Bader
2008-06-30 11:20 ` visual-line-mode Miles Bader
2008-06-30 14:01 ` visual-line-mode Chong Yidong
2008-06-30 16:10 ` visual-line-mode Chong Yidong
2008-07-01 9:10 ` visual-line-mode David Reitter
2008-07-03 19:20 ` visual-line-mode Chong Yidong
2008-07-03 23:56 ` visual-line-mode David Reitter
2008-07-04 10:23 ` visual-line-mode Chong Yidong
2008-07-04 10:58 ` visual-line-mode Miles Bader
2008-07-04 13:04 ` visual-line-mode Chong Yidong
2008-07-04 15:04 ` visual-line-mode David Reitter
2008-07-04 15:49 ` visual-line-mode Stefan Monnier
2008-07-04 16:21 ` visual-line-mode David Reitter
2008-07-05 18:41 ` visual-line-mode Chong Yidong
2008-07-06 1:29 ` visual-line-mode Miles Bader
2008-07-09 14:28 ` visual-line-mode David Reitter
2008-07-10 3:05 ` visual-line-mode Chong Yidong
2008-07-10 12:39 ` visual-line-mode David Reitter
2008-07-10 13:55 ` visual-line-mode Chong Yidong
2008-08-03 13:47 ` visual-line-mode David Reitter
2008-08-11 13:38 ` word-wrap in echo area (was Re: visual-line-mode) David Reitter
2008-08-11 16:03 ` word-wrap in echo area Chong Yidong
2008-07-10 16:37 ` visual-line-mode Chong Yidong
2008-07-10 17:32 ` visual-line-mode Miles Bader
2008-07-10 17:40 ` visual-line-mode Miles Bader
2008-07-10 20:23 ` visual-line-mode Stefan Monnier
2008-07-10 23:23 ` visual-line-mode Chong Yidong
2008-07-10 23:44 ` visual-line-mode Miles Bader
2008-07-10 23:49 ` visual-line-mode Chong Yidong
2008-07-11 13:10 ` visual-line-mode David Reitter
2008-07-14 3:58 ` visual-line-mode Miles Bader
2008-07-14 3:59 ` visual-line-mode Miles Bader
2008-07-11 1:36 ` visual-line-mode Stefan Monnier
2008-07-11 2:30 ` visual-line-mode Miles Bader
2008-07-11 4:36 ` visual-line-mode Chong Yidong
2008-07-11 14:56 ` visual-line-mode David Reitter
2008-07-11 15:57 ` visual-line-mode Chong Yidong
2008-07-11 18:27 ` visual-line-mode Chong Yidong
2008-07-11 20:36 ` visual-line-mode Miles Bader
2008-07-11 21:18 ` visual-line-mode Stefan Monnier
2008-07-11 21:23 ` visual-line-mode David Kastrup
2008-07-11 21:41 ` visual-line-mode David Reitter
2008-07-12 1:49 ` visual-line-mode Stefan Monnier
2008-07-12 8:09 ` visual-line-mode David Kastrup
2008-07-12 16:35 ` visual-line-mode Richard M Stallman
2008-07-12 17:42 ` visual-line-mode Chong Yidong
2008-07-16 4:21 ` visual-line-mode Chong Yidong
2008-07-16 4:37 ` visual-line-mode Miles Bader
2008-07-11 21:10 ` visual-line-mode Chong Yidong
2008-07-12 1:43 ` visual-line-mode Stefan Monnier
2008-07-10 18:08 ` visual-line-mode David Reitter
2008-07-10 23:18 ` visual-line-mode Miles Bader
2008-07-10 23:35 ` visual-line-mode Chong Yidong
2008-07-10 23:49 ` visual-line-mode Chong Yidong
2008-07-09 14:31 ` visual-line-mode David Reitter
2008-07-04 11:09 ` David Reitter [this message]
2008-07-04 12:39 ` visual-line-mode Paul R
2008-06-30 7:32 ` visual-line-mode David Reitter
2008-06-30 7:43 ` visual-line-mode Miles Bader
2008-06-30 7:58 ` visual-line-mode David Reitter
2008-06-30 8:05 ` visual-line-mode Miles Bader
2008-06-30 8:25 ` visual-line-mode David Reitter
2008-06-30 8:30 ` visual-line-mode Miles Bader
2008-07-10 4:53 ` visual-line-mode Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2009-10-21 14:35 visual-line-mode Quintana Seguí, Pere
2009-10-21 18:24 visual-line-mode Scott Randby
2009-10-21 21:14 ` visual-line-mode Scot Becker
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=8CBB1034-A153-413E-80AA-AF8081F9C8F2@gmail.com \
--to=david.reitter@gmail.com \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=miles@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.