GNU bug report logs - #40193
27.0.50; nxml-newline-and-indent argument should be optional

Previous Next

Package: emacs;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Mon, 23 Mar 2020 05:48:02 UTC

Severity: normal

Tags: easy

Found in version 27.0.50

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: 40193 <at> debbugs.gnu.org
Subject: bug#40193: 27.0.50; nxml-newline-and-indent argument should be optional
Date: Mon, 23 Mar 2020 06:47:02 +0100
According to the definition of comment-line-break-function:
  The function should take a single optional argument, which is a flag
  indicating whether it should use soft newlines.

But in nxml-mode:
  (setq-local comment-line-break-function #'nxml-newline-and-indent)
  (defun nxml-newline-and-indent (soft) ...)

Could you please make an argument optional?




This bug report was last modified 4 years and 212 days ago.

Previous Next


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