emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: Ypo <ypuntot@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Break lines in Query replace. Help.
Date: Sun, 9 Oct 2022 09:44:15 +0700	[thread overview]
Message-ID: <e9bc8597-c1ce-0e50-aa09-6f75161e41ac@gmail.com> (raw)
In-Reply-To: <75b60662-10ba-cfb2-4825-4a66cb3ebe44@gmail.com>

On 08/10/2022 18:19, Ypo wrote:
> I want to make a "query replace", where
> 
> " - " should be substituted by
> 
> "breakline - "
> 
> 
> How do I insert in a query replace a breakline?
> 
> "\\ - " seems to work only for LaTeX export.

Why do you think so? It is an element of Org syntax, namely 'line-break. 
It should be handled properly by e.g. HTML export.

> "^J - " writes down ^J literally, and doesn't work as a break line.

Are you asking how to split lines before certain pattern in Org source 
file (general Emacs question unrelated to Org) or how to achieve hard 
line break in exported file? In the latter case what is the target format?


      parent reply	other threads:[~2022-10-09  2:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08 11:19 Break lines in Query replace. Help Ypo
2022-10-08 13:03 ` tomas
2022-10-09  1:26   ` Solved: " Ypo
2022-10-09  2:44 ` Max Nikulin [this message]

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=e9bc8597-c1ce-0e50-aa09-6f75161e41ac@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ypuntot@gmail.com \
    /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).