From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4JmRErvOXWEdoAAAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 18:28:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2A0MDrvOXWGJcAAAbx9fmQ (envelope-from ) for ; Wed, 06 Oct 2021 16:28:43 +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 B96EF1D934 for ; Wed, 6 Oct 2021 18:28:42 +0200 (CEST) Received: from localhost ([::1]:39730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY9mb-0008TJ-FQ for larch@yhetil.org; Wed, 06 Oct 2021 12:28:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY9EB-0007vB-59 for emacs-orgmode@gnu.org; Wed, 06 Oct 2021 11:53:07 -0400 Received: from ciao.gmane.io ([116.202.254.214]:46756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY9Dy-00064e-Pn for emacs-orgmode@gnu.org; Wed, 06 Oct 2021 11:53:06 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mY9Dv-0001O5-OQ for emacs-orgmode@gnu.org; Wed, 06 Oct 2021 17:52:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: how to randomize (scample) regions in a an org buffer Date: Wed, 06 Oct 2021 17:52:43 +0200 Message-ID: <87czoib16c.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:glpXLW3sEMmr5A70YPrFgbSqD+I= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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.23 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=1633537723; 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; bh=hd7Df7rJdria9p0ReO/AXSKayl7nU8vVszy0udp0Yj0=; b=cATgclHUE26xCnoDlNIbUJvcwVQ7TLqguRUuEpqTKoePEEBCQEbRmcAprR5mhKzTbt/gl+ qstkkGtrklh+ndagY4HU7/N10Gq6BLvW16yuegmiUiCvwOYjZfbxjHwe67vpX9YuqDXJ7h Sh6HT39uO2/jxOkE+IQnbmrFu140834GMYeUDiaMRw7XbKnRGWaXA6Wi8LX6BdBhoGqmOz EvyCfVAAUF8grwS4imcEA0Q07P2+8flQrg6JI15HTjKzVRvgpXWpLhzEGifFLWtsdEFHTM x2dIOwKnWIK0r1jAehXFbR+Lc/EMmiCjfZ4dhC1ItUlQrqnzm5lw4rsq2L3tJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633537723; a=rsa-sha256; cv=none; b=F+sEijAYQs8MfJO9oSmM1RUm+0mW6qSTLatwCj4+AAVqwje2xIlXi2+//3tIv5vpPO08ma vh50mZWVR2jmGWaFwnOS5KE8ozX6TOsfJTZMrUaCwPta7aLgREZRH+qH9OPe4OIuLYxSUI 8bhdt0y3OSsKiHqNDQnZ2B5SNkqWKgTNfGJgKBlPB/+8Re71yKWMaNWkK34xI7CsixPNXa 3YXqp0Bm292ZVaK6ylO96Dc2pvyoge++djrMem4kEJUhx1mMohkqOjqcl2APyrKy1VCjL5 OXoG95PzRWFrKKkv8I8+VwDDAvUnHgCnObENIJHQrIh7bEbGvzKNkhZg1ver+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B96EF1D934 X-Spam-Score: -1.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: /rW9SnUH4+z+ Hi I need to replace private information in my org files, but only region wide. I found https://www.reddit.com/r/emacs/comments/6pc0ts/sanitize_buffer_by_replacing_words_with_random/ Where two such functions are discussed, one is even for org files, however only buffer wide and the code looks rather complicated to me. Anybody knows about such a function? Thanks Uwe Brauer