GNU bug report logs -
#25987
25.2; support gcc fixit notes
Previous Next
Full log
View this message in rfc822 format
> From: Tom Tromey <tom <at> tromey.com>
> Date: Sun, 05 Mar 2017 14:47:57 -0700
>
> I think Emacs should support this in compilation mode buffers.
I agree, it would be a good feature.
> A few thoughts on the implementation:
>
> * The filename quoting stuff will require a bit of unquoting
Perhaps shell-unquote-argument will help?
> * The offsets are byte offsets, not columns, which is a bit of a pain
> (or at least, it is for me since I don't know how to handle that in
> elisp)
Ouch! why did they do it in bytes? That's worth a bug report, IMO.
Anyway, filepos-to-bufferpos could help with this problem.
> * One way for this to work would be to display the buffer and
> show the proposed change as an overlay;
Or maybe a tooltip on GUI frames?
> * However other approaches are possible, like letting the user request
> no confirmation, or request "auto-apply all changes" or something.
> Maybe a fixit should be associated with the previous error somehow.
Is there perhaps some "prior art" for this in other IDEs out there?
Thanks.
This bug report was last modified 4 years and 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.