[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing C-x DEL bug

From: Alan Mackenzie
Subject: Re: Fixing C-x DEL bug
Date: Sun, 21 Aug 2011 08:50:30 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hi, Richard.

On Sat, Aug 20, 2011 at 11:56:53AM -0400, Richard Stallman wrote:
>     So that what follows is recognised as the beginning of the next sentence.
>     In particular, in my personal text mode, I use "bullet points" something
>     like this:

>       o - One point
>         o - Indented point
>         o - This sentence starts with "This".

>     I want M-a on the third line to go back to "This", not to the bullet.  If
>     "This" is to be recognised as BO sentence, then the "    o - ", anchored
>     at BOL, needs to be an EO sentence.

> If you have set up each of those bullet points as a paragraph,
> then my patch should put point at the beginning of the line,
> and so should yours.

I have set up each bullet point as a paragraph.

> But if you have not set up each bullet point as a paragraph,
> then none of these things should matter in that case (the third line).

> In that case, where does backward-paragraph leave point?

BOL containing the bullet.  Your patch doesn't change this.

> And where does start-of-paragraph-text leave point?

The actual bullet.  Your patch doesn't change this either.

> And where does my patch leave point after
>   (start-of-paragraph-text)

See above

>   (beginning-of-line)
> ?

At BOL.  :-)

I think the root cause of this problem is the lack of
`raw-backward-paragraph' (which I've implemented privately).

> -- 
> Dr Richard Stallman

Alan Mackenzie (Nuremberg, Germany).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]