From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Emacs 28.0.50 and facemenu-set-bold Date: Tue, 25 May 2021 12:34:28 +0300 Message-ID: References: <83o8d0c54e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35384"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: help-gnu-emacs@gnu.org To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 25 11:38:32 2021 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 1llTWC-0008z8-Iv for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 11:38:32 +0200 Original-Received: from localhost ([::1]:47288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llTWB-0001fl-Ls for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 05:38:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llTVj-0001e5-F0 for help-gnu-emacs@gnu.org; Tue, 25 May 2021 05:38:03 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:40011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llTVg-00037g-Ox for help-gnu-emacs@gnu.org; Tue, 25 May 2021 05:38:03 -0400 Original-Received: from localhost ([::ffff:197.239.4.220]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000AE2D6.0000000060ACC575.00002DB7; Tue, 25 May 2021 02:37:55 -0700 Mail-Followup-To: Christopher Dimech , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:130203 Archived-At: * Christopher Dimech [2021-05-25 12:02]: > > I simply put "(facemenu-set-bold)" in my init file Oh, no... ಠ_ಠ Not like that... Well let me say that most probably the function (facemenu-set-bold) in your init file worked correctly, you just have not seen it. This may be because it was executed in a buffer where you did not participate. So first is to ask Emacs what it means by using: {C-h f facemenu-set-bold RET} Where it will say: facemenu-set-bold is an interactive compiled Lisp function. It is bound to b. (facemenu-set-bold) Select face ‘bold’ for subsequent insertion. If the mark is active and there is no prefix argument, apply face ‘bold’ to the region instead. This command was defined by ‘facemenu-add-new-face’. So if it is "interactive" it means it is not supposed to be invoked from init.el file but if you insist, you are free to do so. It is meant for "subsequent insertion". How about you explain what you really wish to achieve? Do you want all fonts to be bold? In that case why not use {M-x customize-face RET default RET} and then set it bolder or how you wish it to be. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/