all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] [ox-odt] Added leading spaces
@ 2023-04-10 19:43 Damien Cassou
  2023-04-11 10:26 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Cassou @ 2023-04-10 19:43 UTC (permalink / raw)
  To: emacs-orgmode list; +Cc: Ihor Radchenko, András Simonyi

Hi,

in commit bb40848458512fc26ffa47d20807e3cd0211ccad (first released with
9.6), Ihor fixed a bug in ox-odt reported by András. This fix changed
the behavior of this code:

    (let* ((src "    a")
           (dest (org-odt-plain-text src nil)))
      (message
       "%S length-src=%d length-dest=%d"
       dest (length src) (length dest)))

Results are:

- before commit: "    a" length-src=5 length-dest=5
- after commit:  "        a" length-src=5 length-dest=9

After the commit, the result of `org-odt-plain-text` contains 4 more
leading spaces. Is that the expected behavior or is that a bug?

Best

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-11 11:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 19:43 [BUG] [ox-odt] Added leading spaces Damien Cassou
2023-04-11 10:26 ` Ihor Radchenko
2023-04-11 11:27   ` Damien Cassou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.