Phil Estival <p...@7d.nz> writes: >> Documentation >> Non-nil means fontify the whole line for begin/end lines of blocks. >> >> This is useful when setting a background color for the >> org-block-begin-line and org-block-end-line faces. > > True, but the background color of those is unrelated with the extensions > of their underline.
whole line does not mean only background. It includes everything - underline as well. Background is just one example. >> You are free to disable this custom option if you do not like it. > > The point is that I'm not free to do it the other way around: to disable > the extend option of a line -- in order to draw an underline only under > the text, not through the entire line, while the whole block > fontification is on, which otherwise, gets the fontification of the > block below past the text. When it's on, an underline will be > forcefully extended so there are only two options. > ... > De-correlate those values, and there will be four, > allowing among others > - Fontify all block > - extend > - underline only the text #begin_src etc. > - bg color gets begin line face > > Same goes for the end line. So, do you mean that you want a new feature? > In the current state, you can turn the underline and extend option in > the menu (customize-face 'org-block-begin-line), and obtain the desired > behavior, but the next time `org-mode' gets called, which will happen > when loading an other file for instance, this option is reset and the > user protests: "but I did tick _that_ mark and did save the options". > > I maintain there is no point in having one variable to force the other, > and the abnormal behavior of the customization panel in the current > situation confirms that. Sorry, but I am not sure what you are talking about. May you please show me steps starting from emacs -Q that demonstrate the problem? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>