From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Fixing C-x DEL bug Date: Sun, 21 Aug 2011 08:50:30 +0000 Message-ID: <20110821085030.GA2419@acm.acm> References: <20110819081822.GA2399@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1313916837 6888 80.91.229.12 (21 Aug 2011 08:53:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2011 08:53:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 21 10:53:53 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qv3my-0006wO-Sp for ged-emacs-devel@m.gmane.org; Sun, 21 Aug 2011 10:53:53 +0200 Original-Received: from localhost ([::1]:36948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qv3my-0004qz-G6 for ged-emacs-devel@m.gmane.org; Sun, 21 Aug 2011 04:53:52 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qv3mv-0004pS-TR for emacs-devel@gnu.org; Sun, 21 Aug 2011 04:53:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qv3mu-0007p4-GB for emacs-devel@gnu.org; Sun, 21 Aug 2011 04:53:49 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:62612 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qv3mt-0007oq-U4 for emacs-devel@gnu.org; Sun, 21 Aug 2011 04:53:48 -0400 Original-Received: (qmail 59908 invoked by uid 3782); 21 Aug 2011 08:53:45 -0000 Original-Received: from acm.muc.de (pD9519EBF.dip.t-dialin.net [217.81.158.191]) by ocolin.muc.de (tmda-ofmipd) with ESMTP; Sun, 21 Aug 2011 10:53:44 +0200 Original-Received: (qmail 3436 invoked by uid 1000); 21 Aug 2011 08:50:30 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143474 Archived-At: 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).