emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ypo <ypuntot@gmail.com>
To: alain.cochard@unistra.fr
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Help with a (query) replacement
Date: Wed, 16 Nov 2022 20:20:40 +0100	[thread overview]
Message-ID: <ad6f38b2-9a54-b796-b436-3222df482b36@gmail.com> (raw)
In-Reply-To: <25455.48184.105349.393390@gargle.gargle.HOWL>

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

Thanks, working!!

I can't see those options in the manual (15.10.4 Query Replace) and the 
help is a little bit obscure for me, a new rabbit hole to study ;D

Thanks!


El 12/11/2022 a las 16:31, Alain.Cochard@unistra.fr escribió:
> Ypo writes on Sat 12 Nov 2022 15:42:
>   > 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 "-".
>
> 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
>
>

[-- Attachment #2: Type: text/html, Size: 1567 bytes --]

  reply	other threads:[~2022-11-16 19:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12 14:42 Help with a (query) replacement Ypo
2022-11-12 15:10 ` Juan Manuel Macías
2022-11-12 15:12   ` Ypo
2022-11-12 16:04     ` Juan Manuel Macías
2022-11-12 16:29       ` Juan Manuel Macías
2022-11-12 15:23   ` Juan Manuel Macías
2022-11-12 15:25     ` Ypo
2022-11-12 15:31 ` Alain.Cochard
2022-11-16 19:20   ` Ypo [this message]
2022-11-16 22:16     ` Alain.Cochard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad6f38b2-9a54-b796-b436-3222df482b36@gmail.com \
    --to=ypuntot@gmail.com \
    --cc=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).