Carlos Pita <carlosjosep...@gmail.com> 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 :eval constructs (see the docstring). Also, there is no need to concatenate individual strings explicitly in mode-name list. One could do it, but there will still be multiple string and :eval sections with their own menus (AFAIU). Best, Ihor