[gedit-list] external tools
- From: jbb ve free fr
- To: gedit-list gnome org
- Subject: [gedit-list] external tools
- Date: Wed, 15 Nov 2006 13:58:06 +0100
Hi there,
I have Gedit 2.14.4 and I am trying to use external tools to indent correctly my
php/HTML code by using xemacs.
I created the external tool calling this command:
xemacs --batch $GEDIT_CURRENT_DOCUMENT_PATH --eval "(progn (indent-region
(point-min) (point-max) nil) (save-buffer))";
cat $GEDIT_CURRENT_DOCUMENT_PATH.
My input is nothing.
My output is replace current document.
It is working well but my output got 2 extra - not needed - empty lines at the
begining and at the end of text.
Basically when I use some command with Replace current document as output I got
this 2 empty lines.
Is it a bug? No idea to fix that?
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]