emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] orgstruct++-mode breaks backward-sentence
Date: Fri, 22 May 2015 17:52:38 +0200	[thread overview]
Message-ID: <874mn4boe1.fsf@gmx.us> (raw)
In-Reply-To: <878uegdmok.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 29 Mar 2015 14:15:39 +0200")


Sorry for bringing this thread up again.

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Rasmus <rasmus@gmx.us> writes:
>> Forget about fill-paragraph.  Try this with test-org as nil and non-nil:
>> (let ((test-org nil))
>>   (switch-to-buffer "test.org")
>>   (if test-org (org-mode) (text-mode))
>>   (erase-buffer)
>>   (insert "1. foo bar\n   baz")
>>   (backward-sentence))
>> When the buffer is in org-mode backward sentence behaves differently from
>> when it's in text-mode.  I think text-mode behaves correctly.
> This should be fixed in 98ec17e204689f415200a2930fc148bf6a4dfe49. Thank
> you.

Actually when calling just backward-sentence this still seems broken.

(mapcar (lambda (mode)
	    (funcall mode)
	    (insert"- foo
	'(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.


Spil noget med Slayer!

  reply	other threads:[~2015-05-22 15:52 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 [this message]
2015-05-23 19:35           ` Nicolas Goaziou
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:

  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=874mn4boe1.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \


* 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


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