Re: Weird gap in agenda mode-line

2021-11-16 Thread Carlos Pita
> I don't see this in my agenda view. Image attached. This is because there is a span in your case (Day). The space is still there but it's not an extra one. The space in: " " ;; <- this is the extra space '(:eval (org-agenda-span-name org-agenda-current-span)) shou

Re: Weird gap in agenda mode-line

2021-11-15 Thread Ihor Radchenko
Carlos Pita writes: > ... That said, what is the point of the list? What is the > reason not to concatenate the parts into one single string? It > looks and feels weird as if each section had its own menu while it's > all the same thing. It is a list because mode-name is using format-mode-line :

Re: Weird gap in agenda mode-line

2021-11-14 Thread Carlos Pita
Hi Ihor (sorry I have been calling you Igor for a while now :p), > (list "Org-Agenda" > (if (get 'org-agenda-files 'org-restrict) " []" "") > " " ;; <- this is the extra space > [...] > This part of code has not been changed from 2010. Ok then, nevermind the highlight

Re: Weird gap in agenda mode-line

2021-11-14 Thread Eric S Fraga
I don't see this in my agenda view. Image attached. -- : Eric S Fraga, with org release_9.5-228-g577b98 in Emacs 29.0.50 : Latest paper written in org: https://arxiv.org/abs/2106.05096

Re: Weird gap in agenda mode-line

2021-11-13 Thread Ihor Radchenko
Carlos Pita writes: > Hi Igor, > > Have you checked that there is no extra space (I mean with the default > bg face) as in the attached image? > > I've checked this now again with org main branch and emacs master > branch and the gap is still there. The extra space was there. However, it should

Re: Weird gap in agenda mode-line

2021-11-13 Thread Carlos Pita
Hi Igor, Have you checked that there is no extra space (I mean with the default bg face) as in the attached image? I've checked this now again with org main branch and emacs master branch and the gap is still there. Best regards, Carlos

Re: Weird gap in agenda mode-line

2021-11-13 Thread Ihor Radchenko
Carlos Pita writes: > Hi all, > > in the *Org Agenda* buffer mode-line I'm seeing a weird gap that I > can't remember whether it was before or not. > ... > org-mode version: 9.5, release_9.5-68-g77e2ec (emacs-28 branch) I am unable to reproduce Best, Ihor

Weird gap in agenda mode-line

2021-11-12 Thread Carlos Pita
Hi all, in the *Org Agenda* buffer mode-line I'm seeing a weird gap that I can't remember whether it was before or not. In the attached screenshot the gap shows a different face than the rest. I don't know under which circumstances this change of face happens but, in any case, the extra space is a