all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Manuel Giraud <manuel@ledu-giraud.fr>
Cc: 58547@debbugs.gnu.org
Subject: bug#58547: 29.0.50; [PATCH] Fix one internal naming
Date: Sat, 15 Oct 2022 16:25:23 +0300	[thread overview]
Message-ID: <8335bp6wxo.fsf@gnu.org> (raw)
In-Reply-To: <878rlhtfew.fsf@elite.giraud> (message from Manuel Giraud on Sat,  15 Oct 2022 14:55:19 +0200)

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Date: Sat, 15 Oct 2022 14:55:19 +0200
> 
> I don't know if those kind of bikesheeding patch are accepted but I
> think that "estimate_mode_line_height" is not a good name since it can
> be (and is!) called with others face id.

These lines are all considered "mode lines" in the display code, and
have the mode_line_p flag set.  So "mode line" is used here in a
slightly different sense than it might seem at first glance.

That said, I would not object to renaming this function, but only if
the new name makes more sense.  "Line with face" is too general to
make sense, because basically every line on a typical Emacs display
has some face.

Also, if we are inventing a new collective name to these 3 display
lines, we need to rename the mode_line_p flag to have the same name.

Thanks.





  reply	other threads:[~2022-10-15 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-15 12:55 bug#58547: 29.0.50; [PATCH] Fix one internal naming Manuel Giraud
2022-10-15 13:25 ` Eli Zaretskii [this message]
2022-10-15 13:37   ` Manuel Giraud
2022-10-15 13:53     ` Eli Zaretskii
2022-10-15 14:02       ` Manuel Giraud
2022-10-15 14:28         ` Eli Zaretskii
2022-11-11 13:28       ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=8335bp6wxo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=58547@debbugs.gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /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 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.