bug#44272: guix edit doesn't work when $EDITOR is set to "kate"

2020-10-28 Thread zimoun
Dear, On Wed, 28 Oct 2020 at 17:28, Nathan Dehnel wrote: >>As Leo said, it does not seem a bug on the Guix side. Well, what could >> be done on the Guix side? What do you suggest? > Well, guix could pass different flags if EDITOR is set to "kate". Somehow I > doubt kate would change their comm

bug#44272: guix edit doesn't work when $EDITOR is set to "kate"

2020-10-28 Thread Nathan Dehnel
>As Leo said, it does not seem a bug on the Guix side. Well, what could be done on the Guix side? What do you suggest? Well, guix could pass different flags if EDITOR is set to "kate". Somehow I doubt kate would change their command line flags just because an extremely obscure distro-specific to

bug#44272: guix edit doesn't work when $EDITOR is set to "kate"

2020-10-28 Thread zimoun
Dear Nathan, > Easy solution, set $EDITOR to "gedit" ;) Or Emacs. ;-) > The reason why kate "doesn't work" when opening files as specified by > `guix edit`, is that kate apparently can't handle the "$EDITOR +$N > $FILE" syntax, where $N is the number of lines to skip. It instead > opens two fi

bug#44272: guix edit doesn't work when $EDITOR is set to "kate"

2020-10-28 Thread Leo Prikler
Easy solution, set $EDITOR to "gedit" ;) The reason why kate "doesn't work" when opening files as specified by `guix edit`, is that kate apparently can't handle the "$EDITOR +$N $FILE" syntax, where $N is the number of lines to skip. It instead opens two files, one of which will likely always be

bug#44272: guix edit doesn't work when $EDITOR is set to "kate"

2020-10-27 Thread Nathan Dehnel
kate opens an empty file.