From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qMr7MTZLG2OabwEAbAwnHQ (envelope-from ) for ; Fri, 09 Sep 2022 16:18:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AMcbMTZLG2OoiAAAG6o9tA (envelope-from ) for ; Fri, 09 Sep 2022 16:18:30 +0200 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 769C23A3DB for ; Fri, 9 Sep 2022 16:18:30 +0200 (CEST) Received: from localhost ([::1]:56094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWepx-0001l3-LB for larch@yhetil.org; Fri, 09 Sep 2022 10:18:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWenS-0001i2-6V for emacs-orgmode@gnu.org; Fri, 09 Sep 2022 10:15:54 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:36388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWenP-0001y2-9W for emacs-orgmode@gnu.org; Fri, 09 Sep 2022 10:15:53 -0400 Received: by mail-wr1-x42d.google.com with SMTP id b17so2993831wrq.3 for ; Fri, 09 Sep 2022 07:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:to:from:from:to :cc:subject:date; bh=10CpiwN+sfpFxuwHuBPWFiRvP/0vMKKYweYFg+FsR1Y=; b=Kpned6+uyt6Gja7HcmT7r/EJyxah+pGG01H1PPGknrzxtm2z0VtSLWmQNQd7a9b/LI vEGjbpBELoMCK/yidujsLRl1lqyWfdyp2p62ti5/1YEjNQUiM2d+ihRQ3b5Ip/j/W5ZO p1e7qQAZjKt6hrjmgfBVynvC+QbVLesEfyEkGrMeHLXr4N5jPJ29ozjn5h7zUUbcBqYz Bj34s1p66AejiL64h2XjMiNF0jagVVpZmxQpUQaq0nJYJpkrQzPLBSezXt/NBpZVDp6r sYBlY02O7+GwTN8cVE/p1EeXpN/ow5GwLCJ7bbyBVEBwamqB6FnfTLFcto2Yc1kpGP26 +gRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date; bh=10CpiwN+sfpFxuwHuBPWFiRvP/0vMKKYweYFg+FsR1Y=; b=uWd9phWQzDAFohcNoIYQax7uTXonQmoT07COliFZL+z01/CVa7dDDWltSsncDC4wBE YbaY3cFfGCPvgMKG6m++VGOr6G4rB6GOBAD1t9Nv+aeX/X1IPurclYNr9avzVD0m/hQz Ztoc7PsexkcbNZwDV2Q560tBJo4poJg1P/qjoOTZvgehneGonH1RJzBhw0NYhOKX4xVc fY5QSgwhY4yuN6vw6LpEX+DrfW12C56z7C4XJMKRz6YcEkcwVPh8lh1mvJguwfHeIftO QLoQL1syIrSXISP/QqmuQuVe69oExBbZMavnsWEHAh0w0X0FOyvVh17CaHE1d0Ex+R55 0OfA== X-Gm-Message-State: ACgBeo1KSA7Bd7t/AC8anLeGjpyzVyeCnQo80w5VhJ+ViU4MjDQ0Dguf kWOKIrIFGqFnHomBZbfvYWGVmO+E8Rg= X-Google-Smtp-Source: AA6agR6ndfbqKyEzGCH2GARF6kH5U8rH6hj5pUTsEKwvv6lYxCdWyFA0NLIebxoaQ2Nx82ChTBTFxQ== X-Received: by 2002:a5d:47c1:0:b0:226:daa4:91f with SMTP id o1-20020a5d47c1000000b00226daa4091fmr7990355wrc.368.1662732949187; Fri, 09 Sep 2022 07:15:49 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:a290:d8f3:806c:3938]) by smtp.gmail.com with ESMTPSA id n2-20020a5d4c42000000b002250c35826dsm596315wrt.104.2022.09.09.07.15.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 07:15:48 -0700 (PDT) From: Robert Pluim To: emacs-orgmode@gnu.org Subject: Re: [off topic] List all non-latin characters in a buffer In-Reply-To: <87sflsffsh.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 19 Aug 2022 16:50:54 +0200") References: <87leroqkpu.fsf@posteo.net> <87sflsffsh.fsf@mat.ucm.es> Gmane-Reply-To-List: yes Date: Fri, 09 Sep 2022 16:15:47 +0200 Message-ID: <87o7vo7hws.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42d.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, 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-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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662733110; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=10CpiwN+sfpFxuwHuBPWFiRvP/0vMKKYweYFg+FsR1Y=; b=VDj6XLaoB+02elW2icpZH/D0QFr1SMFu0QXVD3NDldQ1/eWqvvP+wjh1ATDWCtE6eddj+c 6w2LKXpOAsgYWEb+Irykle0EPRR4KHSgqvtFduyihJ5SOQWayA58nLp+Wsx/rLgh3q42J7 I1UM99aA/vnJcFia/lNZeUpr9JjlqErobUqIj77/gWmlZdzIkzNyUUHw3I2PSaOoY5h6Gu M0s5Sj74RRP9+C6UJwuzX4AuGQ+DU+0Rutc2J4HCKiQ3A7sBXOPDaq+LiWLf+nU6Ag8kOZ vTnyzGW8UsJNZgjmmBYm+bMiPV6rh06q/SN2222ioNNTMTBOmnmR1cvHXztfjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662733110; a=rsa-sha256; cv=none; b=cbGw3dDiZIp7k/9Kae/35gk4fR/2PK0HwU+lP3NwgPJq0e2HVL94q5XRIdXtLOz9XEekX+ +RTzms8dLdVltRnxuW/sWxq+ytp9ZQc4frzBQz8/0Ns7nWsO/Iyn6UT/KVBYSHg9UKmm4z zPYTuCvD78r42UKXhCQAkzQ/Fym1Vo8IkDZja+QHRsRP/7M2vayBUZViLwV+B9ZoBVJucu QbRUFJjpCsw6fP0a/vyl89JzPTAURdArqn06X9iErW4uARsoPQKm5pX1sx/xz9Mai4Jvzv SIpDRfnQ3vaZPjJm9d8wFatVIJZj5YiQjQQes9CCgJX79mOMUU7QIEd57L72yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Kpned6+u; 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: -2.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Kpned6+u; 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: 769C23A3DB X-Spam-Score: -2.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5UJyM0F6fLIx >>>>> On Fri, 19 Aug 2022 16:50:54 +0200, Uwe Brauer said: >>>> "JMM" =3D=3D Juan Manuel Mac=C3=ADas writ= es: Uwe> Hi Juan >> Sorry for the offtopic, but I thought this homemade function I wrote >> some time ago for my work might perhaps be useful to some Orgers. Wh= en >> executed in a buffer, the `list-non-latin-chars' function opens a wi= ndow >> displaying a list of all the non (basic) Latin characters present in >> that document. Each item in the list contains the character, its Uni= code >> canonical name, and its hexadecimal code. For example: Uwe> Very very nice, Uwe> Till now I used only a very simple search function Uwe> (defun my-search-no-ascii () Uwe> "Simple function to search for no ASCII symbols in a file." Uwe> (interactive) Uwe> (skip-chars-forward "\001-\177")) Equivalently you can do (skip-chars-forward "[[:ascii:]]") (or use `re-search-forward' with the [:nonascii:] character class.) Robert --=20