From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug] orgstruct++-mode breaks backward-sentence
Date: Sat, 23 May 2015 21:35:38 +0200 [thread overview]
Message-ID: <87d21rf5o5.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <874mn4boe1.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 22 May 2015 17:52:38 +0200")
Rasmus <rasmus@gmx.us> writes:
> Actually when calling just backward-sentence this still seems broken.
>
> (mapcar (lambda (mode)
> (with-temp-buffer
> (text-mode)
> (funcall mode)
> (insert"- foo
> bar")
> (backward-sentence)
> (point)))
> '(text-mode org-mode turn-on-orgstruct++))
> => (1 9 9)
>
> It only works if I explicitly call org-backward-sentence, not
> backward-sentence. In orgstruct-mode this seems unfortunate.
I think the best we can do is to hijack M-a/M-e when `orgstruct-mode' is
used. `orgtbl-mode' already does it actually.
WDYT?
Regards,
next prev parent reply other threads:[~2015-05-23 19:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 18:53 [bug] orgstruct++-mode breaks backward-sentence Rasmus
2015-03-24 18:59 ` Rasmus
2015-03-24 20:55 ` Nicolas Goaziou
2015-03-24 22:01 ` Rasmus
2015-03-29 12:15 ` Nicolas Goaziou
2015-05-22 15:52 ` Rasmus
2015-05-23 19:35 ` Nicolas Goaziou [this message]
2015-05-23 19:53 ` Rasmus
2015-05-23 20:03 ` Nicolas Goaziou
2015-05-23 20:05 ` Rasmus
2015-05-24 10:37 ` Rasmus
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=87d21rf5o5.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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).