unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29175: 26.0.90; Nitpicking issue with flymake-show-diagnostics-buffer
@ 2017-11-06 19:29 Lele Gaifax
  2017-11-09 20:37 ` João Távora
  0 siblings, 1 reply; 2+ messages in thread
From: Lele Gaifax @ 2017-11-06 19:29 UTC (permalink / raw)
  To: 29175

I'm resending this as a bug instead of a post to emacs-devel.

I notice that the entries in the the diagnostics buffer may be in random
order, not sure if that is because the way flymake--overlays collects the
issues, or something else.

The easiest way to fix the problem is to set `tabulated-list-sort-key' in the
`flymake-diagnostics-buffer-mode' definition, although that may still suffer
of not sorting the entries by (line, col): does tabulated-mode support
multi-column ordering?

Maybe a better way would be explicitly sort the result of
`flymake--diagnostics-buffer-entries', possibly there is some trick in the
cl-loop macro?

Or something else?

Thanks&bye, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.





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

* bug#29175: 26.0.90; Nitpicking issue with flymake-show-diagnostics-buffer
  2017-11-06 19:29 bug#29175: 26.0.90; Nitpicking issue with flymake-show-diagnostics-buffer Lele Gaifax
@ 2017-11-09 20:37 ` João Távora
  0 siblings, 0 replies; 2+ messages in thread
From: João Távora @ 2017-11-09 20:37 UTC (permalink / raw)
  To: Lele Gaifax; +Cc: 29175, 29175-done

Lele Gaifax <lele@metapensiero.it> writes:

> Maybe a better way would be explicitly sort the result of
> `flymake--diagnostics-buffer-entries',

I think this is the preferred option, which I just commited in
b28de574112991bfd2234989d080e54f565a549c.

Thanks,
João





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

end of thread, other threads:[~2017-11-09 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 19:29 bug#29175: 26.0.90; Nitpicking issue with flymake-show-diagnostics-buffer Lele Gaifax
2017-11-09 20:37 ` João Távora

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).