Re: [O] Bug: Bad alignment of grouped tags in fast selection dialog [9.2.1 (release_9.2.1-60-gb0379f @ /home/carlos/local/stow/emacs/share/emacs/site-lisp/org/)]

2019-02-13 Thread Nicolas Goaziou
Hello, Carlos Pita writes: > Not a big deal, but here is a slightly better fix that avoids adding > some spaces before the closing }. > > The difference wrt to the previous one is just: > > - (unless (memq (caar tbl) '(:endgroup :endgrouptag)) (insert "\n")) > - (when (or

Re: [O] Bug: Bad alignment of grouped tags in fast selection dialog [9.2.1 (release_9.2.1-60-gb0379f @ /home/carlos/local/stow/emacs/share/emacs/site-lisp/org/)]

2019-02-12 Thread Carlos Pita
Not a big deal, but here is a slightly better fix that avoids adding some spaces before the closing }. The difference wrt to the previous one is just: - (unless (memq (caar tbl) '(:endgroup :endgrouptag)) (insert "\n")) - (when (or ingroup intaggroup) (insert " ")) +

Re: [O] Bug: Bad alignment of grouped tags in fast selection dialog [9.2.1 (release_9.2.1-60-gb0379f @ /home/carlos/local/stow/emacs/share/emacs/site-lisp/org/)]

2019-02-12 Thread Carlos Pita
Ok, this was easier than I initially thought. Here is a patch. I've tested it with a number of configurations: a few grouped tags, many grouped tags, grouped tags that fill the last line entirely, grouped and ungrouped tags. Notice that even ungrouped tags are indented by two spaces. This is done

[O] Bug: Bad alignment of grouped tags in fast selection dialog [9.2.1 (release_9.2.1-60-gb0379f @ /home/carlos/local/stow/emacs/share/emacs/site-lisp/org/)]

2019-02-12 Thread Carlos Pita
For example, with: #+tags: { @casa(c) @oficina(o) @viaje(v) @gimnasio(g) @xxx(x) } I get: { [c] @casa [o] @oficina[v] @viaje [g] @gimnasio [x] @xxx} where [c] and [x] are clearly misaligned. If I remove the last tag: #+tags: { @casa(c) @oficina(o) @viaje(v)