From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kepa via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Organizing Face Customizations in Emacs: Custom Faces vs set-face-attribute? Date: Sun, 6 Oct 2024 00:59:53 +0000 (UTC) Message-ID: <172817640059.7.18215661310427993831.454597149@slmails.com> Reply-To: Kepa Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40870"; mail-complaints-to="usenet@ciao.gmane.io" To: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 06 03:00:43 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sxFdb-000AT1-4I for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Oct 2024 03:00:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxFd3-0001xJ-BH; Sat, 05 Oct 2024 21:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxFd1-0001vZ-HT for help-gnu-emacs@gnu.org; Sat, 05 Oct 2024 21:00:07 -0400 Original-Received: from mail-200161.simplelogin.co ([176.119.200.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxFcz-0004Pi-Nq for help-gnu-emacs@gnu.org; Sat, 05 Oct 2024 21:00:07 -0400 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1728176400; cv=none; b=ERcViCWtRTFeZ9wP38VHS11mkvMkdw673b6zfrNleit3sF1mGq61AVCCeF+6bbo5oBQoE+USfW5Wu/N0V9om9CMZT1wF+ex4PdpsjvAIDM3sa8lXHdHSjCoVugdeZfXynIMKYgilHu8rzKIEPPfeXB1OloqQQuvcnrWZ0haW0M8BikM06DOd2o52Sl6S7RXKyN/pIplDrUXgDfvGm1nXuEGZEn3Nwwsd9pkETVRLq2LPydkBZ85RNAFEcZ64K8NMu7gdw6Sh+3L2Th9TeWS/06GgAyCkIvSD2JcarUC49aZnO+pI3Q6FKyN6HlmQ+wsccZJPyH2AYVFQsrzpmFM15w== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1728176400; c=relaxed/simple; bh=V5ZSkipgWUXcGadMkgV31ip+NE36Bp/BWJQcR9WCPbI=; h=Date:Subject:From:To; b=cmeJwFHq+0b8uLWj5LglPncFP+JFiikac1I9LyXiTuLCI1+6RpVsUJotlLG1y4rK2IqarDw+XJtHvuoeEvJbkeQsUQviB1bvuIPEvgsga3pwKS8usefut4YHrkvv/fyJ6KaIMJ78AyKKc4U77c9+/K6gvDEGjajF22ZWmPeZMxcvdGGztqT3qv1ypv0g2N/lXzRHjSsjK12LcXhmvENKKP0rNnnDR1gDmpJZdGUeT6LjNG/4zWjDj7x/JSi89wLZ9C8WvmXZ9tp6s60jUqD+zkaJCRMLfu4erqCovB2qpCYx89oS8yfPnVOtB9VBJnrIa5hCz4JnYgZUS0gsyXbaGQ== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=slmails.com; s=dkim; t=1728176400; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gC8I2BsF4GTGFJPtqQd6LrrfMCSlbPsSIb8YeIEVTjo=; b=u7jLy6kCMOg5dVG0b10D2bzJe7tMPdOy7gljQAwaXt/YrfWE89yDIWVTxm6DZV8HDhYZg4 6mGVUMbK+4flLQeZAU3fjnfJpDU7h8XDaSUUz8AKdfjtuQaKmOp1TVsC/DiBVdx88mYq3z P9i5nocI3iDyS4WorS1QoG1z1/s6M5s= X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 454597149 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.161; envelope-from=sl.lmysyibugu2dkojxge2dslbage2dkmzqgiyf2.egy5u2dyyzchw@slmails.com; helo=mail-200161.simplelogin.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148118 Archived-At: Hi there! I've been trying to move some face customizations (default face, org-defaul= t face, etc.) outside of the area where Emacs automatically manages `custom= -faces`. My goal was to organize it manually for better control. Surprisingly for me, Emacs re-creates those customizations in `custom-faces= `, even without using the customization GUI. I also have issues with faces like `org-default`, where modifying it affect= s its "heirs", but the text under headlines (which should be `org-default`)= doesn=E2=80=99t change. Some other customizations give me errors, using set-face-attribute like if = the variable wouldn't exist... What's the best way to configure fonts and emphasis once and for all? Shoul= d I just stick to `custom-faces` and forget about `set-face-attribute`? Best regards