GNU bug report logs - #80613
31.0.50; markdown-ts-mode merges lists when filling

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Philip Kaludercic <philipk@HIDDEN>; dated Sat, 14 Mar 2026 11:17:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Mar 2026 11:16:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 14 07:16:14 2026
Received: from localhost ([127.0.0.1]:53555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w1MyZ-0008Ie-GA
	for submit <at> debbugs.gnu.org; Sat, 14 Mar 2026 07:16:14 -0400
Received: from lists.gnu.org ([2001:470:142::17]:59578)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <philipk@HIDDEN>)
 id 1w1MyW-0008Gu-FF
 for submit <at> debbugs.gnu.org; Sat, 14 Mar 2026 07:16:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1w1MyQ-0000mY-H1
 for bug-gnu-emacs@HIDDEN; Sat, 14 Mar 2026 07:16:02 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1w1MyO-0006dq-GQ
 for bug-gnu-emacs@HIDDEN; Sat, 14 Mar 2026 07:16:02 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 871FE240101
 for <bug-gnu-emacs@HIDDEN>; Sat, 14 Mar 2026 12:15:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
 t=1773486958; bh=I1LAHuOMsgUohC0KFXIzS/wrFhpEPqaAPn8lZ6hf4Hk=;
 h=From:To:Subject:OpenPGP:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=Amlo5BK/FyylOttEWil5Kn6GWhl8YDQALlSp+smLpcdnWOKmZk4HfN4lT/ffAJwr7
 iX4elyuBfbP8LeRM6clZsp3fy2bpJddpMsYfE5R1+1jTs5C01+005JQLtdUUt68Aj+
 ogML6w4O3VO9VeNBeEcvcJMb8T/o9lZi4Gdg6Ky1s4JZkQGyCQiwx/LIkmLYRSw7N0
 TtUvi4Hh9qt5rnl6gMHxE+LeMwmWJQyf5AqFIR6ja96RPRQQI7LXKHn1pcACMAjgZT
 VSfCxAHc9RoZbeF2ZMY92SauUdirbU3D6ucShqGwmKyyBxZ9jtoYjsYx6g+WI2UiZO
 DcV5cA5l9/i4A==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4fXzLQ0Y34z6twK
 for <bug-gnu-emacs@HIDDEN>; Sat, 14 Mar 2026 12:15:58 +0100 (CET)
From: Philip Kaludercic <philipk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; markdown-ts-mode merges lists when filling
X-Debbugs-Cc: Rahul Martim Juliato <rahul.juliato@HIDDEN>
OpenPGP: id=philipk@HIDDEN;
 url="https://keys.openpgp.org/vks/v1/by-email/philipk@HIDDEN";
 preference=signencrypt
Date: Sat, 14 Mar 2026 11:15:58 +0000
Message-ID: <877breirv6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -26
X-Spam_score: -2.7
X-Spam_bar: --
X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.819, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.903,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


If I have a list of two or more items in a `markdown-ts-mode' buffer,
like

- one
- two 

and then press M-q (fill-paragraph) while editing one of the two points,
the two items get merged into

- one two

which is not what I think that anyone wants.  For reference,
markdown-mode only fills within an item.


In GNU Emacs 31.0.50 (build 16, x86_64-pc-linux-gnu, GTK+ Version
 3.24.49, cairo version 1.18.4) of 2026-03-12 built on siskin
Repository revision: d019b5ec713646e5b0d66b63879e059dcd628299
Repository branch: master
System Description: Debian GNU/Linux 13 (trixie)

Configured using:
 'configure --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Markdown

Minor modes in effect:
  rcirc-track-minor-mode: t
  TeX-PDF-mode: t
  writegood-mode: t
  global-xref-mouse-mode: t
  xref-mouse-mode: t
  flyspell-mode: t
  repeat-mode: t
  display-battery-mode: t
  display-time-mode: t
  override-global-mode: t
  winner-mode: t
  windmove-mode: t
  corfu-history-mode: t
  editorconfig-mode: t
  electric-pair-mode: t
  recentf-mode: t
  save-place-mode: t
  savehist-mode: t
  pixel-scroll-precision-mode: t
  pixel-scroll-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/phi/.config/emacs/user-lisp/0x0/0x0 hides /home/phi/.config/emacs/user-lisp/0x0
/home/phi/.config/emacs/user-lisp/shell-command+/shell-command+ hides /home/phi/.config/emacs/elpa/shell-command+/shell-command+
/home/phi/.config/emacs/user-lisp/shell-command+/shell-command+-tests hides /home/phi/.config/emacs/elpa/shell-command+/shell-command+-tests
/home/phi/.config/emacs/user-lisp/vc-backup/vc-backup hides /home/phi/.config/emacs/elpa/vc-backup/vc-backup

Features:
(shadow emacsbug html-ts-mode markdown-ts-mode esc-html mhtml-mode
css-mode js c-ts-common sgml-mode facemenu vc-annotate rcirc dictionary
dictionary-connection send-to ffap hippie-exp tramp-cmds tabify
gnus-draft mailalias smtpmail descr-text newcomers-presets-theme
which-key completion-preview etags-regen delsel cus-theme prolog align
markdown-mode eglot external-completion jsonrpc ert debug backtrace
imenu url-cache url-http url-auth url-gw gnus-search eieio-opt speedbar
ezimage dframe mm-archive shortdoc etags fileloop grep avy flymake-cc
macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs ecomplete sort smiley
gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check gnus-bcklg vc-dir ewoc cl-print typo
char-fold misearch multi-isearch info cursor-sensor tex-info texinfo
texinfo-loaddefs tex crm texmathp auctex smerge-mode pcase
emacs-news-mode whitespace vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs
vc-rcs gnus-async qp gnus-ml disp-table nndraft nnmh utf-7 nnfolder
copyright epa-file network-stream nsm gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache dired-aux autorevert
gnus-dired vc-backup log-view log-edit add-log pcvs-util vc diff
writegood-mode oc-basic org-element org-persist org-id org-refile
org-element-ast inline avl-tree ol-eww eww vtable url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku
url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud
nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range
message yank-media puny rfc822 mml mml-sec epa derived epg epg-config
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win
ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex
bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie treesit executable
ob-comint org-pcomplete org-list org-footnote org-faces org-entities
ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold
org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs
pulse face-remap color bug-reference help-fns find-func vc-git diff-mode
track-changes vc-dispatcher byte-opt xref help-at-pt noutline outline
edmacro kmacro flyspell ispell tramp-sh tramp-cache time-stamp tramp
trampver tramp-integration files-x tramp-message tramp-compat shell
pcomplete parse-time iso8601 tramp-loaddefs checkdoc flymake project
generator init repeat comp comp-cstr format-spec battery dbus xml
shell-command+ thingatpt dired-x dired dired-loaddefs holidays
holiday-loaddefs cal-menu calendar cal-loaddefs time sendmail mail-parse
rfc2231 gnus nnheader gnus-util time-date range rmail rfc6068 rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils finder-inf bind-key
easy-mmode winner windmove corfu-history corfu compat editorconfig
editorconfig-core editorconfig-core-handle editorconfig-fnmatch
elec-pair recentf tree-widget saveplace savehist pixel-scroll cus-edit
pp cus-start cus-load wid-edit setup .user-lisp-autoloads loaddefs-gen
lisp-mnt radix-tree warnings compile text-property-search comint
ansi-osc ansi-color ring comp-run comp-common rx bytecomp byte-compile
auctex-autoloads tex-site avy-autoloads bash-completion-autoloads
corfu-autoloads debbugs-autoloads diff-hl-autoloads focus-autoloads
go-mode-autoloads iedit-autoloads markdown-mode-autoloads
minimail-autoloads package-lint-autoloads proof-general-autoloads
proof-site proof-autoloads shell-command+-autoloads slime-autoloads
macrostep-autoloads sml-mode-autoloads vc-backup-autoloads
writegood-mode-autoloads package browse-url xdg url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs gv password-cache json
subr-x mule-util map url-vars package-activate cl-extra help-mode icons
cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty move-toolbar make-network-process tty-child-frames
native-compile emacs)

Memory information:
((conses 16 1349409 330500) (symbols 48 63756 31)
 (strings 32 416932 19703) (string-bytes 1 11667383)
 (vectors 16 114266) (vector-slots 8 2434782 141106)
 (floats 8 1220 9840) (intervals 56 53252 23271) (buffers 1064 142))




Acknowledgement sent to Philip Kaludercic <philipk@HIDDEN>:
New bug report received and forwarded. Copy sent to rahul.juliato@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to rahul.juliato@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#80613; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 14 Mar 2026 11:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.