Permalink
Browse files

Document the possibility to use a shell script to rid error messages.

  • Loading branch information...
1 parent 3c50382 commit c8619bc87731cc693b72174428ba99e0f164c1f2 @pft committed Apr 22, 2011
Showing with 14 additions and 1 deletion.
  1. +14 −1 gimp-mode.el
View
@@ -342,7 +342,20 @@ script-fu console."
"gimp-2.6.exe" ;Probably... does not
;really matter anyway
"gimp")
- "Name of Gimp executable"
+ "Name of Gimp executable.
+
+If Gimp produces error messages, you may want to define and a
+shell script redirecting stderr, something like:
+
+ #!/bin/sh
+ GIMP=`which gimp-2.7`
+ $GIMP $@ 2>/tmp/gimp-err.log
+
+should do.
+
+This is because Emacs cannot distinguish between stderr and
+stdout for subprocesses.
+See Info node `(elisp)Output from Processes'."
:group 'gimp
:type '(string))

0 comments on commit c8619bc

Please sign in to comment.