From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0CXoF563b2McHQEAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 16:11:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OIfOF563b2NlywAAauVa8A (envelope-from ) for ; Sat, 12 Nov 2022 16:11:26 +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 2895E22C94 for ; Sat, 12 Nov 2022 16:11:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ots9h-0001Md-W1; Sat, 12 Nov 2022 10:10:50 -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 1ots9g-0001MO-I3 for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:10:48 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ots9e-0003DA-PO for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:10:48 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 89AAF240101 for ; Sat, 12 Nov 2022 16:10:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668265843; bh=sQMPzgA+6uSvMqlpLjvh0mYb75HeAtom84g1b0aWHLQ=; h=From:To:Cc:Subject:Date:From; b=AY770EKMZirBx184PV+vSOiJsWpty1zctbTc3je+G8YFs9qpyY9D51U175DSS95Vb zx5KO0ohvijBaPudydlO/d0SH1hsnfsyOotedqvcnzc8TZ775vYAv6iTX6gED3bX5h CrGDRuUt3PZ+gOtmjrjBahCJZG0u/z3ABxKXy14jZGrrXQyb4j5TfHw4V3q5xvbp15 uWb4ebu1mYUFR8WH3Yzr8QAuW64n7UFUJ9Fwab1rm38kH6GQiAZh/jC7/GLZAy7rIJ Kp/lGuVgTVxGgjh+fqAgHVX0BpegJNYOUTdIiv8ghJ7EZgXRVc2RscR1+IdZHCAdHX TnGjopGihWZ8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N8fCQ5bP2z9rxG; Sat, 12 Nov 2022 16:10:42 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ypo Cc: Org-mode Subject: Re: Help with a (query) replacement References: <4b3f7f60-9983-8a46-7a42-b14644f18347@gmail.com> Date: Sat, 12 Nov 2022 15:10:39 +0000 In-Reply-To: <4b3f7f60-9983-8a46-7a42-b14644f18347@gmail.com> (Ypo's message of "Sat, 12 Nov 2022 15:42:53 +0100") Message-ID: <87k040jjio.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-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=1668265886; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YvYMDVk/9s20SfY+KS6t6XVILOyt0MCfHjWubkw/hPI=; b=kow42gkh51BqHxUUlzlnwDeu6Nz0JHUxWpaOI9qRKhv8+v95mpf3hE0hIt0UIp03ucSp0U Edqitvm0Se8u1S3SXGIazdoQlHtOn42eU//6vX+GVvxtfWUARDWCaGgdWwmFTnqrf005mR Fm332L2vhYuzsBxStuUJw3Q3N2gIDnt6FxzmpO0s0ER0yg7b1SdCLbT4M2t9/rxMQ2ouk4 8E+JlrkS0aGWX1IL0T8fY4LTwAbwKrc25brtMHhtV1YcRVT1qmn9MuMMaw2NBq5Os0hnI7 uodNtQodUUkU1nwkKqxtg/VvTggx8L/CYT2TxRvv3aHYfgW4d0rO9zijU1ycSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668265886; a=rsa-sha256; cv=none; b=nF2k8787pRhJwq99zEqeEADOSMvm2Sfo4BN3zWRMpBdJASRG/1WkynWfZMgOTIODRXHc7Z Jd7X7mRc9jGKX4utuefnfzmHINpkjhxUsxFQeoZr9dA06LXjfI67IVkWaxTXeqzfypJgUj d2caqkRWqGIak9D6QwUfXvNCirDkW694MRL3oBlYxwFtvB4skdZJeEcVppT1zY8pJVeJNM jqEHyjeho3Njof604SPWYZg2G0zWW2M8sazDmEuM/pZGLuAmk1mfydJGTdPEF+2v3AiYt8 iY/X8w+QTBrpfZ5l9Gf9Mp+/SgKdFF2hmAQXJF+gxWCg7nvYIn6q57JoBE2MgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AY770EKM; dmarc=pass (policy=none) header.from=posteo.net; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AY770EKM; dmarc=pass (policy=none) header.from=posteo.net; 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: 2895E22C94 X-Spam-Score: -7.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: HQYke3MNai/b Ypo writes: > Hi > > I am copy-pasting e-books into org-mode to read and study them. > > Usually, words come hyphenated, like "ato- mized", that I wanted to > transform into "atomized". > > I am trying with query replace, but I am starting to think that it is > not the correct tool for this job. > I tried "query-replace [a-z]-" but I don't know how to exclude the > letter before the "-". > > What would you advise? I think it will be more practical for you to use pandoc: With this command you can convert an epub format to org: pandoc my-epub.epub -o my.epub.org (https://pandoc.org) You can also install calibre and convert your epubs to plain text from there. Best regards, Juan Manuel