all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fontification of collapsed sections with code blocks
@ 2016-11-01  0:32 Maciek Starzyk
  2016-11-01  0:35 ` John Kitchin
  2016-11-01  8:14 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Maciek Starzyk @ 2016-11-01  0:32 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 393 bytes --]

Hi list,
Not sure if this is a bug or a feature:
Collapsed sections, which end with a source code block, have the same font
(from the ellipsis until the end of line) as the code block last line. The
face name is `org-block-end-line'.
This propagates also to parent sections.

Is there a setting that switches this behavior off ?
See the attached screenshot for an example.

Cheers,
-- 
Maciek

[-- Attachment #1.2: Type: text/html, Size: 592 bytes --]

[-- Attachment #2: orgmode-code-blocks.png --]
[-- Type: image/png, Size: 38123 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fontification of collapsed sections with code blocks
  2016-11-01  0:32 Fontification of collapsed sections with code blocks Maciek Starzyk
@ 2016-11-01  0:35 ` John Kitchin
  2016-11-01  8:14 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: John Kitchin @ 2016-11-01  0:35 UTC (permalink / raw)
  To: Maciek Starzyk; +Cc: emacs-orgmode@gnu.org

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

I feel like I recall some one recently saying adding an extra blank line
after the src blocks or at the end of the blocks might solve it.

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Mon, Oct 31, 2016 at 8:32 PM, Maciek Starzyk <mstarzyk@gmail.com> wrote:

> Hi list,
> Not sure if this is a bug or a feature:
> Collapsed sections, which end with a source code block, have the same font
> (from the ellipsis until the end of line) as the code block last line. The
> face name is `org-block-end-line'.
> This propagates also to parent sections.
>
> Is there a setting that switches this behavior off ?
> See the attached screenshot for an example.
>
> Cheers,
> --
> Maciek
>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fontification of collapsed sections with code blocks
  2016-11-01  0:32 Fontification of collapsed sections with code blocks Maciek Starzyk
  2016-11-01  0:35 ` John Kitchin
@ 2016-11-01  8:14 ` Nicolas Goaziou
  2016-11-01 11:42   ` Maciek Starzyk
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2016-11-01  8:14 UTC (permalink / raw)
  To: Maciek Starzyk; +Cc: emacs-orgmode

Hello,

Maciek Starzyk <mstarzyk@gmail.com> writes:

> Not sure if this is a bug or a feature:
> Collapsed sections, which end with a source code block, have the same font
> (from the ellipsis until the end of line) as the code block last line. The
> face name is `org-block-end-line'.
> This propagates also to parent sections.
>
> Is there a setting that switches this behavior off ?

I think this was fixed recently (commit
191fe8209f9cad3f0a90dd105df4474861be5ad9).

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fontification of collapsed sections with code blocks
  2016-11-01  8:14 ` Nicolas Goaziou
@ 2016-11-01 11:42   ` Maciek Starzyk
  0 siblings, 0 replies; 4+ messages in thread
From: Maciek Starzyk @ 2016-11-01 11:42 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 939 bytes --]

Hi Nicolas,

Checked with the latest org (release_8.3.6-1267-g58dbdb), and it still
shows the source block face when collapsed.
Org-ellipsis face and text can be customised though. See attached
screenshot.
Adding an empty line after the block does fix it, so it is really just an
aesthetic nitpick :)

Thanks,
Maciek


On Tue, Nov 1, 2016 at 9:14 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Maciek Starzyk <mstarzyk@gmail.com> writes:
>
> > Not sure if this is a bug or a feature:
> > Collapsed sections, which end with a source code block, have the same
> font
> > (from the ellipsis until the end of line) as the code block last line.
> The
> > face name is `org-block-end-line'.
> > This propagates also to parent sections.
> >
> > Is there a setting that switches this behavior off ?
>
> I think this was fixed recently (commit
> 191fe8209f9cad3f0a90dd105df4474861be5ad9).
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #1.2: Type: text/html, Size: 1637 bytes --]

[-- Attachment #2: org-ellipsis-g58dbdb.png --]
[-- Type: image/png, Size: 44231 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-01 11:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01  0:32 Fontification of collapsed sections with code blocks Maciek Starzyk
2016-11-01  0:35 ` John Kitchin
2016-11-01  8:14 ` Nicolas Goaziou
2016-11-01 11:42   ` Maciek Starzyk

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.