Hi, Geanians,
i have a small feature request for something which continually bugs me:
when i double-click on a compile error message, it jumps to the correct line but i have to manually go click that line before editing. i would expect it to take the cursor to that line and give me input focus there (like [x]emacs does :). (i must admit that my first love is xemacs but i use geany extensively in trees which have JavaScript and/or HTML in them because [x]emacs can't indent either of those worth a damn, especially in mixed-mode files like PHP/HTML/JS.)
:-?
On 28 April 2011 01:58, Stephan Beal sgbeal@googlemail.com wrote:
Hi, Geanians, i have a small feature request for something which continually bugs me: when i double-click on a compile error message, it jumps to the correct line but i have to manually go click that line before editing. i would expect it to take the cursor to that line and give me input focus there (like [x]emacs does :). (i must admit that my first love is xemacs but i use geany extensively in trees which have JavaScript and/or HTML in them because [x]emacs can't indent either of those worth a damn, especially in mixed-mode files like PHP/HTML/JS.) :-?
Hi Stephen,
For the languages I use the compiler error does not indicate where on the line and often thats not really where the error is, its just where the compiler detected it, so you have to place the caret anyway.
I think the current behavior is ok, you already have your hand on the mouse ...
Of course the emacs behavior is because placing the cursor used to be done by keyboard, not by mouse.
Since you have been (mis)trained by emacs to keep your hands on the keyboard ;-), why don't you bind next error/previous error to keycodes and then you don't need to put your hand on the mouse at all.
Cheers Lex
-- ----- stephan beal http://wanderinghorse.net/home/stephan/
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, Apr 28, 2011 at 12:23 AM, Lex Trotman elextr@gmail.com wrote:
On 28 April 2011 01:58, Stephan Beal sgbeal@googlemail.com wrote:For the languages I use the compiler error does not indicate where on the line and often thats not really where the error is, its just where the compiler detected it, so you have to place the caret anyway.
the carret, sure, but as it is now i have to (A) click the error, (B) visually find the line, and (C) move my mouse some arbitrary distance (not a fixed/reliable pattern) and click on the line (and i often click one too high or low). It's quite distracting, actually.
I think the current behavior is ok, you already have your hand on the mouse
...
The _only_ reason i have my hand on the mouse is to double-click the error. If it weren't for that i'd be on the keyboard.
Of course the emacs behavior is because placing the cursor used to be done by keyboard, not by mouse.
Does Geany have a keyboard shortcut for this? If so i'll use that (as long as the focus stays in, or is returned to, the editor).
Since you have been (mis)trained by emacs to keep your hands on the keyboard ;-), why don't you bind next error/previous error to keycodes and then you don't need to put your hand on the mouse at all.
Didn't know about them :/. i'll look them up. i will always be an xemacs users at heart, but geany has served me surprisingly well for several small C projects and all of my recent PHP/HTML/JS coding. emacs, in its long life, has never really learned to deal with indentation of multi-language files like HTML/PHP and HTML/JS (and even pure JS it can't indent worth a damn).
Thanks for the feedback :).
Am 28.04.2011 15:37, schrieb Stephan Beal:
Does Geany have a keyboard shortcut for this? If so i'll use that (as long as the focus stays in, or is returned to, the editor).
There are keybindings to move the focus (including editor widget, but I believe also the message window). You can at least re-focus the editor widget with the keyboard, but I think you can do the whole thing with the keyboard as well.
Best regards.
On Thu, Apr 28, 2011 at 7:10 PM, Thomas Martitz < thomas.martitz@student.htw-berlin.de> wrote:
There are keybindings to move the focus (including editor widget, but I believe also the message window). You can at least re-focus the editor widget with the keyboard, but I think you can do the whole thing with the keyboard as well.
i've searched through the menus but found nothing like "go to next compile error." (But i did find an amazing assortment of Insert->Date options.)
Anyone out there know if this exists and where i might find it?
On 29 April 2011 03:23, Stephan Beal sgbeal@googlemail.com wrote:
On Thu, Apr 28, 2011 at 7:10 PM, Thomas Martitz thomas.martitz@student.htw-berlin.de wrote:
There are keybindings to move the focus (including editor widget, but I believe also the message window). You can at least re-focus the editor widget with the keyboard, but I think you can do the whole thing with the keyboard as well.
i've searched through the menus but found nothing like "go to next compile error." (But i did find an amazing assortment of Insert->Date options.) Anyone out there know if this exists and where i might find it?
In the build menu-> next error or prev error
Following the compile and make commands (which is when you use it :-)
Cheers Lex
-- ----- stephan beal http://wanderinghorse.net/home/stephan/
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Fri, Apr 29, 2011 at 12:40 AM, Lex Trotman elextr@gmail.com wrote:
In the build menu-> next error or prev error
Following the compile and make commands (which is when you use it :-)
That's what i was looking for, thank you. When i looked for them earlier my eyes skipped them because they were greyed out (because i had no compile errror active at the time).