unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 53410@debbugs.gnu.org
Subject: bug#53410: 29.0.50; [PATCH]: Fix indentation in NEWS
Date: Fri, 21 Jan 2022 12:42:15 +0100	[thread overview]
Message-ID: <87ee51iaco.fsf@thornhill.no> (raw)

[-- 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


             reply	other threads:[~2022-01-21 11:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 11:42 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-01-21 12:04 ` bug#53410: 29.0.50; [PATCH]: Fix indentation in NEWS Lars Ingebrigtsen

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee51iaco.fsf@thornhill.no \
    --to=bug-gnu-emacs@gnu.org \
    --cc=53410@debbugs.gnu.org \
    --cc=theo@thornhill.no \
    /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.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).