From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: fill-paragraph: cursor placement under cperl-mode Date: Sat, 12 Oct 2013 09:52:59 +0200 Message-ID: <5258FFDB.2020107@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1381564258 26570 80.91.229.3 (12 Oct 2013 07:50:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2013 07:50:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 12 09:51:01 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VUtyW-00042x-Tr for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Oct 2013 09:51:01 +0200 Original-Received: from localhost ([::1]:57322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUtyW-0005wK-Fi for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Oct 2013 03:51:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUtyE-0005wD-Mx for help-gnu-emacs@gnu.org; Sat, 12 Oct 2013 03:50:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUty7-0002E7-C3 for help-gnu-emacs@gnu.org; Sat, 12 Oct 2013 03:50:42 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:65429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUty6-0002Dv-LV for help-gnu-emacs@gnu.org; Sat, 12 Oct 2013 03:50:35 -0400 Original-Received: from purzel.sitgens (brln-4db9de66.pool.mediaWays.net [77.185.222.102]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MfBqk-1V79kp2AcE-00OGDf; Sat, 12 Oct 2013 09:50:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-Provags-ID: V02:K0:kFMzpOaDhTRIlkTQbNvXlVB7OKFAce2tCUlke6iOoIl bRcCXwzi5EUDPzX+bEcqvYfUJo8IqZxoxf/t47ANAPPrZ+u7e8 2fpHFJTkk2Kyts1MfS/md10NB3pMENDUDx8WsqpkLgabvTSsg3 zY7LcSQI6NcCvFRXJX2PuS/ZZt1Jrec+y8xl6FzzCRH6ja/Yuu DzkI3izWBvorM4fHUnwr0JGzhwiy5KB9JiIkM9O9LarhFxAOJA +4ZCIIEGXQm6PiC8aRn4Ozrc5WhAK+ed8Mx/IgF0IRtBc/TWgd 5ZER74+RNpwh4N6D/0ygPKZq+2L7GHkWl/oDN2M626XuU74/cl nolZLEgIOinsjFJY7LHSH5PxIGD/LEx8FC+Vg/IWZ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93953 Archived-At: Am 12.10.2013 09:33, schrieb Florian v. Savigny: > > > Hi there, > > let's say I have a paragraphs with a longer comment in cperl-mode, > such as: > > # a script that converts umlauts and ß in filenames to ascii > # characters, sings a song on the way > > and then I add something, e.g. like: > > # a script that converts umlauts and ß in filenames to ascii > # characters, sings a song on the way, and dances various folk dances > ^ > > (^ marks where the cursor is) and type M-q, Emacs will fill > the paragraph, and put the cursor at the beginning of the > reformatted paragraph: > > # a script that converts umlauts and ß in filenames to ascii characters, sings > ^# a song on the way, and dances various folk dances > > I find this somewhat annoying. It does not seem to happen > under any other mode, where the cursor is just left where it > was, i.e. at the end of the paragraph. > > I have not been able to find any hint in the documentation, > or in my customisations of cperl-mode. Can anybody give me a > hint where the problem might lie? > > Thanks a bunch! > > Regards, > > Florian > > > > > This seems broken at recent builds. Something around point and markers. Build from 20130706 seems okay WRT that.