emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-forward-sentence does not recognize the end of sentences with footnotes [9.5.4 (N/A @ /gnu/store/zi4gr63h5k2w3y5srydk3k05bjrx9pi9-emacs-org-9.5.4/share/emacs/site-lisp/org-9.5.4/)]
Date: Tue, 02 Aug 2022 21:23:41 +0800	[thread overview]
Message-ID: <87y1w6kcde.fsf@localhost> (raw)
In-Reply-To: <87fsif190b.fsf@web.de>

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

> If you go to the first word in the following paragraph and press M-e
> (org-forward-sentence), the point jumps to the end of the paragraph. But
> it should jump to just after the footnote [fn:23].
>
> If I remove the footnote [fn:23], it correctly jumps to the end of the
> first colon:
>
> Die Anzahl und Stärke der Werte ist durch eure
> gewählte Machtstufe begrenzt:[fn:23] Ein starker
> Wert@@latex:\index{Starker Wert}@@ kostet einen Punkt und ein
> überragender Wert@@latex:\index{überragender Wert}@@ drei
> Punkte.[fn:133] Starke Werte markiert ihr mit =+=, überragende Werte
> mit =++=.

But colon is not a sentence end. Or do I miss something?

----
sentence-end-base is a variable defined in paragraphs.el.

Value
"[.?!…‽][]\"'”’)}»›]*"

Best,
Ihor


  reply	other threads:[~2022-08-02 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02  5:55 [BUG] org-forward-sentence does not recognize the end of sentences with footnotes [9.5.4 (N/A @ /gnu/store/zi4gr63h5k2w3y5srydk3k05bjrx9pi9-emacs-org-9.5.4/share/emacs/site-lisp/org-9.5.4/)] Dr. Arne Babenhauserheide
2022-08-02 13:23 ` Ihor Radchenko [this message]
2022-08-02 13:44   ` Dr. Arne Babenhauserheide
2022-08-03  9:58     ` Ihor Radchenko

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87y1w6kcde.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=arne_bab@web.de \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).