emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Hornung <d.hornung@indiscale.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] orgalist: Hickup in fill-paragraph with orgalist in markdown-mode
Date: Tue, 22 Sep 2020 16:36:15 +0200	[thread overview]
Message-ID: <8749685.KA8kSSV0Fm@sciurus> (raw)

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

Hello,

when in markdown-mode, fill-paragraph behaves strangely in lists if the 
orgalist minor mode is enabled.

In the following example, when the cursor is in the first item of the list, 
pressing M-q or executing fill-paragraph does not recognize that line 3 is 
another list item:

- Nullam eu ante vel est convallis dignissim.  Fusce
  suscipit, wisi nec facilisis facilisis, est dui fermentum
  - Some text, indented

This will turn into the following (fill-column is set to 60 here):

- Nullam eu ante vel est convallis dignissim.  Fusce
  suscipit, wisi nec facilisis facilisis, est dui
  fermentum - Some text, indented

M-q works correctly in lists which orgalist does not recognize, for example if 
the list marker is an asterisk * not a dash -.

This is orgalist 1.2, markdown-mode 20200909.2355

In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2019-09-23, modified by Debian built on x86-grnet-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description:	Debian GNU/Linux 10 (buster)


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2020-09-22 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 14:36 Daniel Hornung [this message]
2020-09-27 10:35 ` [BUG] orgalist: Hickup in fill-paragraph with orgalist in markdown-mode Nicolas Goaziou
2020-09-28  8:56   ` Daniel Hornung

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=8749685.KA8kSSV0Fm@sciurus \
    --to=d.hornung@indiscale.com \
    --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).