unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: xenodasein@tutanota.de
Cc: luangruo@yahoo.com, bjorn.bidar@thaodan.de, emacs-devel@gnu.org
Subject: Re: Questions regarding PGTK, high-dpi font-rendering, new X11-Warning
Date: Wed, 30 Nov 2022 18:23:39 +0200	[thread overview]
Message-ID: <83iliwjtro.fsf@gnu.org> (raw)
In-Reply-To: <NI7N4J4--3-9@tutanota.de> (emacs-devel@gnu.org)

> Date: Wed, 30 Nov 2022 12:51:07 +0100 (CET)
> Cc: Björn Bidar <bjorn.bidar@thaodan.de>, emacs-devel@gnu.org
> From: xenodasein--- via "Emacs development discussions." <emacs-devel@gnu.org>
> 
> You must keep in mind that big contributions like this must have a
> foundation if there will be any hope of them even happening.  For
> example I can almost imagine the answers if I suggested separating
> some translation units instead of using #ifdef's every five lines,
> so I won't don't worry.  Or take as example the recent discussion on
> macros.  It won't make much of a difference indeed if some line is
> a function or a macro, issue is the resistance to even simple changes
> like that; it implies the impossibility of something not as simple.
> You can say no it doesn't, regardless that is the picture it paints.
> I remember Eli requesting not to change the location of some function
> on the grounds that it will now be harder to find where it is.

I don't understand how separating some translation units or
changing/replacing macros are related to development of any significant
feature in Emacs.  Any such significant new feature will have tons of new
code which you can factor as you see fit; if you do a clean job, no one will
argue with how you define functions and macros.  And in any such new code, I
don't see how it matters whether, say, MATRIX_ROW_BOTTOM_Y is a macro or a
function: you just use it and that's it.

IOW, adding important new features to Emacs doesn't need to change how we
use our infrastructure and whether something is a macro or not.  They are
completely orthogonal issues.  Our low-level functions and macros don't
prevent anyone from adding features, and in case a function or a macro
really needs to be refactored or accept additional arguments to enable a new
feature, no one will object (again, provided that you do a clean job).  For
a recent example, see treesit.c.

So this rant of your is completely unclear to me.



  parent reply	other threads:[~2022-11-30 16:23 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 22:38 Questions regarding PGTK, high-dpi font-rendering, new X11-Warning Björn Bidar
2022-11-27  0:48 ` Po Lu
2022-11-28  0:09   ` Björn Bidar
2022-11-28  1:17     ` Po Lu
2022-11-28  8:44       ` Björn Bidar
2022-11-28 11:41         ` Po Lu
2022-11-30  9:27           ` xenodasein--- via Emacs development discussions.
2022-11-30 10:13             ` Po Lu
2022-11-30 12:50               ` Stefan Monnier
2022-11-30 13:39                 ` Po Lu
2022-11-30 16:50                   ` Stefan Monnier
2022-12-01  0:52                     ` Po Lu
2022-12-01  0:56                       ` Stefan Monnier
2022-12-01  2:38                         ` Po Lu
2022-12-01  5:24                           ` Stefan Monnier
2022-12-01  6:45                             ` Po Lu
2022-12-05 20:01                       ` chad
2022-12-06 11:39                         ` Po Lu
2022-12-06 13:05                           ` xenodasein--- via Emacs development discussions.
2022-12-06 13:24                             ` Po Lu
2022-12-01 10:25                 ` Manuel Giraud
2022-12-01 12:44                   ` Visuwesh
     [not found]             ` <87cz94vjgl.fsf@yahoo.com-NI70zP3----9>
2022-11-30 11:51               ` xenodasein--- via Emacs development discussions.
2022-11-30 13:37                 ` Po Lu
2022-11-30 14:00                   ` xenodasein--- via Emacs development discussions.
2022-11-30 14:09                     ` Po Lu
2022-11-30 15:51                       ` xenodasein--- via Emacs development discussions.
2022-12-01  0:49                         ` Po Lu
2022-11-30 16:23                 ` Eli Zaretskii [this message]
2022-11-30 16:56                   ` xenodasein--- via Emacs development discussions.
2022-11-30 17:43                     ` Eli Zaretskii
2022-12-12 23:52           ` Björn Bidar
2022-12-13  1:22             ` Po Lu
  -- strict thread matches above, loose matches on Subject: below --
2022-11-29  6:33 Pedro Andres Aranda Gutierrez
2022-11-29  6:43 ` Po Lu
2022-11-29  9:36   ` Björn Bidar

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=83iliwjtro.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bjorn.bidar@thaodan.de \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=xenodasein@tutanota.de \
    /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).