GNU bug report logs - #79285
[Patch] support :font-features in face

Previous Next

Package: emacs;

Reported by: Binbin YE <phantom2501 <at> gmail.com>

Date: Thu, 21 Aug 2025 15:16:02 UTC

Severity: normal

Tags: patch

Full log


Message #17 received at 79285 <at> debbugs.gnu.org (full text, mbox):

From: Binbin YE <phantom2501 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79285 <at> debbugs.gnu.org
Subject: Re: bug#79285: [Patch] support :font-features in face
Date: Thu, 28 Aug 2025 10:36:45 +0900
[Message part 1 (text/plain, inline)]
Hi Eli,

I found I needed extra handling to support alist merging for the font
features, which took a bit longer than expected.

I am currently wrapping up the code before sending the updated patch. Can
you help me understand what indentation guidelines are?

> > +      if (CONSP (font_features))
> > +          font_put_extra (entity, QCfont_features, font_features);
         ^^^^
> We use indentation offset of 2 columns in C sources.

I tried clang-format with .clang-format configuration in the repository and
it produces indents mixed with tab and space. Like <tab><space><space>

And I spotted the existing code base in xfaces.c sometimes uses all spaces
and sometimes uses mixture of tab and space for indentation.

Is it OK to treat 1 indent level = 2 spaces?
[Message part 2 (text/html, inline)]

This bug report was last modified 11 days ago.

Previous Next


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