unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: fill-paragraph: cursor placement under cperl-mode
Date: Sat, 12 Oct 2013 09:52:59 +0200	[thread overview]
Message-ID: <5258FFDB.2020107@easy-emacs.de> (raw)
In-Reply-To: <E1VUthn-0006J7-BI@eggs.gnu.org>

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.



  reply	other threads:[~2013-10-12  7:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-12  7:33 fill-paragraph: cursor placement under cperl-mode Florian v. Savigny
2013-10-12  7:52 ` Andreas Röhler [this message]
2013-10-12 14:20   ` Florian v. Savigny

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5258FFDB.2020107@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).