emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Tor Kringeland <tor.kringeland@ntnu.no>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] wrapping links
Date: Mon, 04 Jul 2022 09:11:22 +0800	[thread overview]
Message-ID: <87o7y5fzr9.fsf@localhost> (raw)
In-Reply-To: <m2k08t4s93.fsf@ntnu.no>

Tor Kringeland <tor.kringeland@ntnu.no> writes:

> When a link goes over a (real) line wrap for indented lines, the leading
> spaces get formatted as part of the link and this looks ugly.
>
> #+begin_example
> - [[this link looks
>   ugly]]
> #+end_example
>
> It would be nice to at least have an option to disable formatting of the
> leading (and trailing) spaces.  (Now I just try to keep all of the link
> on one line, but this does not work well with `fill-paragraph'.)

Could you please elaborate?
The above link (if changed to more correct [[https://orgmode.org][this
link looks ugly]] will be exported without the newlines and extra
spaces.

Best,
Ihor


  reply	other threads:[~2022-07-04  1:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04  0:48 [BUG] wrapping links Tor Kringeland
2022-07-04  1:11 ` Ihor Radchenko [this message]
2022-07-04 14:03   ` Tor Kringeland

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=87o7y5fzr9.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tor.kringeland@ntnu.no \
    /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).