* bug#53410: 29.0.50; [PATCH]: Fix indentation in NEWS
@ 2022-01-21 11:42 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-21 12:04 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-21 11:42 UTC (permalink / raw)
To: 53410
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
Hi!
When reading NEWS, I noticed that the description of the new indentation
of cl-flet and cl-labels used tabs to show indentation. This renders
wrong on my machine, as I have tab-width set to 4. In addition, using
the default tab-width as 8 it is actually still incorrect, and off by
one space, IIRC. This patch just swaps in spaces for tabs, to make sure
it renders correctly everywhere.
Theodor Thornhill
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-indentation-in-NEWS.patch --]
[-- Type: text/x-diff, Size: 712 bytes --]
From 2e372b280dfc2a5d1cf476c4357597b417aac1f6 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
Date: Fri, 21 Jan 2022 12:37:10 +0100
Subject: [PATCH] Fix indentation in NEWS
* etc/NEWS: Correct description of indentation of 'cl-flet' and 'cl-labels'
---
etc/NEWS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/NEWS b/etc/NEWS
index f8c563d10f..4cf99490ce 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -345,7 +345,7 @@ are met. The conditions are given by the argument, which can be
These forms now indent like this:
(cl-flet ((bla (x)
- (* x x)))
+ (* x x)))
(bla 42))
This change also affects 'cl-macrolet', 'cl-flet*' and
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#53410: 29.0.50; [PATCH]: Fix indentation in NEWS
2022-01-21 11:42 bug#53410: 29.0.50; [PATCH]: Fix indentation in NEWS Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-01-21 12:04 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-21 12:04 UTC (permalink / raw)
To: 53410; +Cc: Theodor Thornhill
Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife
of text editors" <bug-gnu-emacs@gnu.org> writes:
> When reading NEWS, I noticed that the description of the new indentation
> of cl-flet and cl-labels used tabs to show indentation. This renders
> wrong on my machine, as I have tab-width set to 4. In addition, using
> the default tab-width as 8 it is actually still incorrect, and off by
> one space, IIRC. This patch just swaps in spaces for tabs, to make sure
> it renders correctly everywhere.
Thanks; pushed to Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-21 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21 11:42 bug#53410: 29.0.50; [PATCH]: Fix indentation in NEWS Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-21 12:04 ` Lars Ingebrigtsen
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.