emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: orgmode <emacs-orgmode@gnu.org>
Subject: Re: [bug?] org-link-set-parameters: when `:display 'full', link face is applied only in description part
Date: Fri, 04 Jun 2021 11:31:08 +0000	[thread overview]
Message-ID: <87im2t7toj.fsf@posteo.net> (raw)
In-Reply-To: <87bl8m4prp.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Thu, 03 Jun 2021 21:11:38 +0000")

Hello again,

To simplify what I mentioned in my previous message, the bug is simply
reproducible with any link, when running `org-toggle-link-display'.

I'm not sure, but I would say it was introduced in the commit:

8bdcf51ac lisp/org.el: Update previews correctly when color chnages

Best regards,

Juan Manuel 

Juan Manuel Macías writes:

> Hi all,
>
> In master:
>
> if I do:
>
> (org-link-set-parameters "foo"
> 			 :display 'full
> 			 :face '(:foreground "chocolate" :weight bold :underline t))
>
> and then:
>
> [[foo:target][description]]
>
> the face parameter is only applied in the description part.
>
> Expected result: shouldn't the face be applied to the entire link?
>
> Best regards,
>
> Juan Manuel 
>



  reply	other threads:[~2021-06-04 11:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03 21:11 Juan Manuel Macías
2021-06-04 11:31 ` Juan Manuel Macías [this message]
2021-06-06 22:34   ` Juan Manuel Macías
2021-06-08  0:24     ` [PATCH] org.el: prevent partial fontification when a link is full displayed (was org-link-set-parameters: when :display full, etc.) Juan Manuel Macías
2021-09-26  6:08       ` Bastien
2021-09-26 11:35         ` Juan Manuel Macías
2021-09-26 12:49           ` Bastien

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=87im2t7toj.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [bug?] org-link-set-parameters: when `:display '\''full'\'', link face is applied only in description part' \
    /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

Code repositories for project(s) associated with this 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).