From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: org emphasis everywhere and also filling Date: Thu, 20 Jun 2024 17:53:11 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30578"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 21 02:53:53 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 1sKSXJ-0007m4-2t for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 Jun 2024 02:53:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKSWm-00089I-Qv; Thu, 20 Jun 2024 20:53:20 -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 1sKSWk-00088Z-T3 for help-gnu-emacs@gnu.org; Thu, 20 Jun 2024 20:53:18 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKSWj-00083Y-3Q for help-gnu-emacs@gnu.org; Thu, 20 Jun 2024 20:53:18 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ebd590a79cso1066891fa.1 for ; Thu, 20 Jun 2024 17:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718931193; x=1719535993; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=95TNc7hsXCoTGl8UmRJDTvOBY/m6S5pmwLwdbBN2BoE=; b=fiSXm+GbzjiVsH7ex9bqV9WzJIve5e4isDze5KQVt3YySdm1nkRG2fE+3FKLCzbWjl reviI/92pv2Q9NhV1dkF8FKQ4YnRk6fov1wx469a7kigLnqRvdmbU75ksWiH4W47Rk9f xXDRcTLevn76YPI6B7dB36eXg2b6wCo+9ZFmmA6sgP3Rn30/HJ0UzU1DtQIuT8rLp3tc wGrp3DeOTRBGqD8Oo3kuRZjKJm1CLKi14Tep+W02ggF9CTi1Tp/WJ56iLHD0UHgfy2TE QH6nTYhx32C9yjc94Ys9E2OBl2Oh1yoHmfk+73cnJaSduYoLtZk8J7jzGIWsjt5mkT0C 2r2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718931193; x=1719535993; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=95TNc7hsXCoTGl8UmRJDTvOBY/m6S5pmwLwdbBN2BoE=; b=JLyPgZP9OuNzUQv0OErSmdu5GHZTJEvDppzl3+X9tmeOw0fdbP7JVExp0BhsPVucqW dV7qKjS4IzHEBj7nfXSTaHCAKK07TCdDgzMtCZibAxzFzH0PaglMXDVLgZ6eSk3oF7MB ktAhverDDk0PxgZyLhGKWD6hQ+JqnnAO6sT2daeuvrIbctXUs107rIc5iJSxo6P96Ryr lttCfUPmcgRH0avfBIOpMHn1DbrLU2t9SRTUvcjqZWbZaK2qx9d4kh0shxTe1jHIgkxl 5ixdGN28FfjVbe7PXDfw28cTLwNfpLYmUZsr+s/GY8+RrwuC9r39wDTcZ9k2BME7gs+f y0bw== X-Gm-Message-State: AOJu0YwHuv19d2kqrV5Vbpj9rfHT3vibJ9sAZ6v2p3CfvOKPoTHhPm9G yE4F2Zkw5cNp4fGcMStW1z0dlUI8uZ1w97OZHlLMsJP6uIjbehxpzepN0klRENrzUzoI+PThH7t C9u49TzHIZAIsfZZgI0T0Fiw3PSabkWprH7DhLQ== X-Google-Smtp-Source: AGHT+IEefNLgYxQgotP3phdQJskExkAis/xo6Ns70nS+qJH5dFwnqQNeFuAP8n12BFObuwYk0FP8Qaa9vMaz81dmvrg= X-Received: by 2002:a05:6512:3c99:b0:52c:cb55:9af2 with SMTP id 2adb3069b0e04-52ccb559b19mr4290665e87.2.1718931193263; Thu, 20 Jun 2024 17:53:13 -0700 (PDT) Original-Received: by 2002:a05:6520:2191:b0:297:bc1d:ee7a with HTTP; Thu, 20 Jun 2024 17:53:11 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=samologist@gmail.com; helo=mail-lj1-x22e.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:146923 Archived-At: been wondering this. i like /org emphasis/ in non-org files, so i have a kludgey font lock for it that i put on prog mode hook, text mode hook etc. it seems by default org comments turn off emphasis. probably org does so in other places too. my preference is opposite. my kludge fixes that i think. however, filling is an issue for emphasis where there are comments anywhere, and possible where there is any fill prefix. ;; consider a .el file ;; /one big long line longer than fill colunm ;; makes jack a dull boy/ will emphasize the comment markers, and if indented idk maybe that too depending on the face settings. to me that is ugly and misleading. e.g. you wouldn't be able to as easily do a text search on the filled text, and the comment markers would look better in comment marker face. so i am wondering if there is a right way to do this, to at least turn off font locking for comment chars, and probably whitespace, caused by filling. it might be reasonable to make anything emphasized be considered a single word for filling purposes, but that might look ugly too. can be quite long. -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com