From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lisa-asket@perso.be Newsgroups: gmane.emacs.help Subject: with-eval-after-load with sh-mode Date: Fri, 2 Jul 2021 20:30:41 +0200 (CEST) Message-ID: References: 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="12066"; mail-complaints-to="usenet@ciao.gmane.io" To: monnier@iro.umontreal.ca, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 02 22:03:10 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 1lzPNW-0002vH-2y for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 22:03:10 +0200 Original-Received: from localhost ([::1]:41824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzPNV-0007l8-16 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 16:03:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzPJH-00062o-Aq for help-gnu-emacs@gnu.org; Fri, 02 Jul 2021 15:58:47 -0400 Original-Received: from msg-2.mailo.com ([213.182.54.12]:54986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzPJF-000468-9O for help-gnu-emacs@gnu.org; Fri, 02 Jul 2021 15:58:47 -0400 Original-Received: by www-8.mailo.com with http webmail; Fri, 2 Jul 2021 20:30:41 +0200 (CEST) X-EA-Auth: V1WvR42OIkKjpeTa63WJ6KyyGtXn124NM4QOc3EOLANCHYc2zhzrFo6hF78m/vRUOapb1hqZIlNtCshsoiL7KqSs4GjVCgDP X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 In-Reply-To: Received-SPF: pass client-ip=213.182.54.12; envelope-from=lisa-asket@perso.be; helo=msg-2.mailo.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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:131417 Archived-At: >From: Stefan Monnier via Users list for the GNU Emacs text editor >To: help-gnu-emacs@gnu.org >Subject: Re: with-eval-after-load with sh-mode >Date: 02/07/2021 18:57:41 Europe/Paris >> You sometimes need to `require' it anyway, e.g. try setting >> the face `sh-escaped-newline' to something. >Definitely not needed: I set all my faces with `custom-set-faces` in my >init file and it works regardless if the faces are already defined >or not. Have removed (require 'sh-script) and things still work correctly. One problem is that the headings one can use have to start with *, **, ***= .=C2=A0 Which screws up my scripts. Have changed headings so I can use ## h1 Heading Level 1 ## h2 Heading Level 2 ## h3 Heading Level 3 Am also seeing that the different levels are not being highlighted with a = different colour.=20