From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMuoEsuJtGFQAQAAgWs5BA (envelope-from ) for ; Sat, 11 Dec 2021 12:21:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KCxmDsuJtGHJDwAAB5/wlQ (envelope-from ) for ; Sat, 11 Dec 2021 11:21:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D758F2DE0F for ; Sat, 11 Dec 2021 12:21:46 +0100 (CET) Received: from localhost ([::1]:34180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mw0Rl-0002xm-FC for larch@yhetil.org; Sat, 11 Dec 2021 06:21:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mw0RN-0002xB-IX for emacs-orgmode@gnu.org; Sat, 11 Dec 2021 06:21:21 -0500 Received: from [2a00:1450:4864:20::32b] (port=54247 helo=mail-wm1-x32b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mw0RL-0005XD-Qu for emacs-orgmode@gnu.org; Sat, 11 Dec 2021 06:21:21 -0500 Received: by mail-wm1-x32b.google.com with SMTP id y196so8633335wmc.3 for ; Sat, 11 Dec 2021 03:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=LTej2oh9zg/staJLrmCm+AdxO4hjZsiUf4V6xorvzsg=; b=IvovFCO6VSnnpfBsOf8HJ4hRJNNUruFlrhNWXsqrh0gRUuGzfWjhr6LPBAPbfNgjvq +hKe9fhg+y4ork+izVWYzlKOaxjqxfYxkidzyGQeKSB/ficKPSxJqNr3cuP9hPU7i0Q9 i/MoB+DX0b+u+OUDlrXalXStO9LdFEUjDsIkmXEAzvEIQk4dek0dWjWeBgxSzrRbVqbH W5bswo+Fx9cZD56by3L+dvE3+tpDk19CHhYHQ212gSGoE1b/n7xbJWY44s/00yrmytxd EYkNgGqay/In/eHTcl1//3ZPc7T1H6y0+piNDvP3ifnwSp00dy/NvJBgSQ+5VurD52te SHyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=LTej2oh9zg/staJLrmCm+AdxO4hjZsiUf4V6xorvzsg=; b=0NBKhNEIOVALZJD1y9yUisnHwYfDHU94cAEAd07usm7qsMYKRJvgBmcADcnDptiTbX 1myIrEpxhblmLeq3/Z8hX6dbW3HOnPsbU0eUsXB7PzhxPCDAwBmWTVK/qNZ2YX/YOqvh Ws4KfjGFui6UgHzlsTVdJJrPBtaVQ+V0ruMHc3joka4GSytUqzIrcl9hBhkwTw8NLGsx 5dRb+Z+S9uwkEwZCC69/C9hmwG7PpR14ANV3jbzhkkocGjHtq9bUPBfy55RSC22KAztW LBTNx4VkSMot1ipuHAijVz6WqRCPV0SM0t6z+QPlsuvsnoiVjQ2I8Mir9dPKSKuvbYlJ 6f+g== X-Gm-Message-State: AOAM532zCaOTMb9F7jtK4ZR7noRBT5tA50eqqEawsidVZBsKLID9wai+ wUua67bwbjSkWhGz9wtibDzP4Osrpgo= X-Google-Smtp-Source: ABdhPJzdLfXbRO2JGgRkiQTU0oSdHtqFfXaqusjDdV8shOu5qSSl6kAG8kOfi3SuSssOSBP89KLD7g== X-Received: by 2002:a7b:c844:: with SMTP id c4mr23430178wml.148.1639221677727; Sat, 11 Dec 2021 03:21:17 -0800 (PST) Received: from Home-Mac ([5.102.238.194]) by smtp.gmail.com with ESMTPSA id l21sm4560166wrb.38.2021.12.11.03.21.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Dec 2021 03:21:17 -0800 (PST) From: Daniel Fleischer To: emacs-orgmode@gnu.org Subject: How to add font-lock keywords Date: Sat, 11 Dec 2021 13:21:13 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=danflscr@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639221706; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LTej2oh9zg/staJLrmCm+AdxO4hjZsiUf4V6xorvzsg=; b=ppooXA4MSOr4Rw75x4t3phkvzH7SS7Kxht7c03rr91CmvcvVSiKsmNYCIPT2N6uqJ5fLSi FPQgNwmTSD6l3SgVO7xkxsbRNrtRHaHGpo480ED8tWevgd2MObZ/2zi8Zh3PWytRNhavS5 7EhVUe765tH5bN45HWKGr6REcddM+eVVmXQnpEzc9S0HsLkL4WJcDGDoVITd2Nx0ivAtP2 lrQW0iga5cZJDePDSwXf/MEBqPazNYFiwDgHb30cMuMlT8EvzsddXCRSKMjeybQb/GHWGD lCOtQgCnFxbnh3O0v9tskiFDRiIA1omcWSABg0uRTiPJfv02yCsIQabrIDYzEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639221706; a=rsa-sha256; cv=none; b=r1Z38VrmqihlFS0cNak82TYTOHwjxxleQceywdtEOWocXbj9OlxP2Xlae56zYXNwpNjo+3 8YAvsRSuvLSqw7wdmuZFl+UiTNEBpSps6m1Ezi7Is6He+y44gQCVE+O/YPYYtvzkr/4oWQ R9Mjr4PtG8R/xOXPTKN3y8rARH825U9hlwFIcxf/Uk15QARf0GfhWVQf5Z6gbK3pLttwjS 0gR7rsyEAhYnKYuIzU+io4bZrzRpLxQCC0JwOPbW7yUZ7VIYo0WMrdbwuAFq2w963o2llh mSRG+xQq/Qo3dikLif+iwOI5HcCVgT2GrYaDYWIUmnHNMvbzSO0m2DBCtwBR7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IvovFCO6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IvovFCO6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D758F2DE0F X-Spam-Score: -4.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: z3EdkOa/Qxnn Hi, I want to add custom keywords to be highlighted. I used (font-lock-add-keywords nil '(("books" . org-level-4)) t) but nothing happens after I restart orgmode or call 'font-lock-update'. -- Daniel Fleischer