From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 CBaMFGu8b2NWTwAAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 16:31:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uOJzFGu8b2NSdQEAauVa8A (envelope-from ) for ; Sat, 12 Nov 2022 16:31:55 +0100 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 1826610720 for ; Sat, 12 Nov 2022 16:31:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otsTd-0001N8-Pn; Sat, 12 Nov 2022 10:31:25 -0500 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 1otsTU-0001MY-Fu for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:31:21 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otsTR-0006jq-Vg for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:31:16 -0500 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 0460FBFB4B; Sat, 12 Nov 2022 16:31:05 +0100 (CET) Received: from zmtaauth04.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPS id F199A1C012A; Sat, 12 Nov 2022 16:31:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id E1D0D1C0143; Sat, 12 Nov 2022 16:31:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr E1D0D1C0143 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1668267064; bh=WkpRUT6TygtsvPQm+PwEGZ2mB96pqAb2kF8ENawjDPs=; h=MIME-Version:Message-ID:Date:From:To; b=NSIUW7yjZ1WIHSiep3hHuWlTXxyXQ6pt04K8tKN1QpcA3YTn0Ra/PewWTfJT67s3Q ZZQftgTyjZll0zH7dCn3xLVjlJRCY+oWXtzpIoDSWydbLdmPOwtpuFlAdjM1SR4dA2 9ry7tmCPYCmNE/1H9aw0j+tTi3Q51bVspR0fWvcDgsskXF/p4tGoOJGoN+cG0Vz4u6 XopXIAbRpeKFd/BPF8SjOk4MoxBQVWOL+MjoJu7CdFb3L/wBIXHBVVNx1xTHcFoop0 xxVI3kW6MOHzdV+7SAGs+2hheNtw7cfui5qYsI16mGJPQO07djQ9NJtnEk2Nc2N6gD EPez7GrJKGOUg== Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id C5WhFLtSkuPP; Sat, 12 Nov 2022 16:31:04 +0100 (CET) Received: from 90.33.144.90 (unknown [194.254.241.251]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 958A51C012A; Sat, 12 Nov 2022 16:31:04 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25455.48184.105349.393390@gargle.gargle.HOWL> Date: Sat, 12 Nov 2022 16:31:04 +0100 From: Alain.Cochard@unistra.fr To: Ypo Cc: Org-mode Subject: Re: Help with a (query) replacement In-Reply-To: <4b3f7f60-9983-8a46-7a42-b14644f18347@gmail.com> References: <4b3f7f60-9983-8a46-7a42-b14644f18347@gmail.com> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav03 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvgedrfeekgdejjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedupdhhvghlohepledtrdeffedrudeggedrledtpdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopeihphhunhhtohhtsehgmhgrihhlrdgtohhm Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, NICE_REPLY_A=-0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, 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: , Reply-To: alain.cochard@unistra.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668267115; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=WkpRUT6TygtsvPQm+PwEGZ2mB96pqAb2kF8ENawjDPs=; b=speT0Irl7LOUUMeXIzW2aVstbeQrYKbgeevvuEzQDJ0xr+3tEqeFb6Ey9bABKGWr7ownqv Cz1TSD3zB5mP0A0ST170uE0ivKnBGrLg18KHbwLB68RMWPwSrNgsBLkR8vlyGCnP4/YnHW 9tbAmT4ybrGI0M+fP7SNgjz11QM3Z0SJvsrwZd5ZaufDy7qy99GUCw7HfPk2QssuMQT026 Eu+/sUsekWcF4OsRaMc7FJbarj5HruX8gqRO7epLLKN+RRYFnJpLokOU13bmRWbnR37Wpe OL5wLgs+zTeJ+opl8ky7P2qzwYkYIlkiLkLWcCguoDXqEcSQYjdvuEvC6la43A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668267115; a=rsa-sha256; cv=none; b=UXYIersw6w9y2r6/yqx2Q5cmag7j6y+3gGjYWrw/6qANtb3CAy72ox5denT2lKYtDN0LV/ NzPpz/51dXUwr18PJvep35xZ/tIz/EHAVnLBgVH3srVxWgn72Lnhzu8lKEm+1VMGGsg1x6 KjqFDLE/nxjr5gxCL0x4lS4UOfH90Luu0CRc0SMgFk264/uacbfuSzB+2Ua1ltYjuq9zAv EttBgbO779QCdJOvKrpBzYoVA0toHCIW4lAlNFOsP+Phb0x0LaaH/8ZOdZsXhTpWUK1/ZA Qthp9D24CSrmRRQu/I9NQKaglPigLOe2N8dT9YSgXt/pxFjkfurgybdB/i/a3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=NSIUW7yj; dmarc=none; 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: -7.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=NSIUW7yj; dmarc=none; 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: 1826610720 X-Spam-Score: -7.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3lEfElF3miC7 Ypo writes on Sat 12 Nov 2022 15:42: > Hi >=20 > I am copy-pasting e-books into org-mode to read and study them. >=20 > Usually, words come hyphenated, like "ato- mized", that I wanted to=20= > transform into "atomized". >=20 > I am trying with query replace, but I am starting to think that it i= s=20 > not the correct tool for this job. > I tried "query-replace [a-z]-" but I don't know how to exclude the=20= > letter before the "-". I don't really understand the thing with e-books but as for transforming "ato- mized" (or "ato-mized") into "atomized", how about something like query-replace-regex \([a-z]\)-[[:blank:]]*\([a-z]\) \1\2 --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]