It still lists horizontally. However, tramp.el cannot be byte-compiled after
this edit.

M-x eval-current-buffer works fine on that file, but it cannot be
byte-compiled

(setq stack-trace-on-error t) does not reveal why... the exact message is:

Byte-Compile tramp.el? (y or n)
Compiling /usr/local/share/emacs/23.2/lisp/net/tramp.el...
Fontifying *Compile-Log*...
(regexps.......................................................)
Compiling /usr/local/share/emacs/23.2/lisp/net/tramp.el...done
Byte compile error for /usr/local/share/emacs/23.2/lisp/net/tramp.el:
t

Byte compile error for /usr/local/share/emacs/23.2/lisp/net/tramp.el:
t



On Thu, Jul 15, 2010 at 10:48 AM, Michael Albinus <[email protected]>wrote:

> > On Thu, Jul 15, 2010 at 7:38 AM, Michael Albinus <[email protected]
> <mailto:[email protected]>> wrote:
> > Terrence Brannon <[email protected]<mailto:[email protected]>>
> writes:
> >
> >> mmm9500 # /bin/ls --color=never -al /u/autobahn/scripts/.
> >> ls: -al: No such file or directory
> >> /u/autobahn/scripts/.:
> >> cgi             cron            diy             remote          tmp
> >> cgi_login       daemon          fork            shell
> transaction
> >> cgi_obj         database        generic         system
> >
> > OK, your /bin/ls does not like the order of the arguments.
>
> Could you, please, apply the following patch? It makes a stronger test,
> whether the --color argument can be applied:
>
> --8<---------------cut here---------------start------------->8---
> *** /home/albinus/src/tramp/lisp/tramp.el.~1~   2010-07-13
> 17:43:56.000000000 +0200
> --- /home/albinus/src/tramp/lisp/tramp.el       2010-07-15
> 16:39:35.621924000 +0200
> ***************
> *** 8319,8328 ****
>             ;; Check parameters.  On busybox, "ls" output coloring is
>             ;; enabled by default sometimes.  So we try to disable it
>             ;; when possible.  $LS_COLORING is not supported there.
>             (when (zerop (tramp-send-command-and-check
>                           vec (format "%s -lnd /" result)))
>               (when (zerop (tramp-send-command-and-check
> !                            vec (format "%s --color=never /" result)))
>                 (setq result (concat result " --color=never")))
>               (throw 'ls-found result))
>             (setq dl (cdr dl))))))
> --- 8319,8331 ----
>             ;; Check parameters.  On busybox, "ls" output coloring is
>             ;; enabled by default sometimes.  So we try to disable it
>             ;; when possible.  $LS_COLORING is not supported there.
> +            ;; Some "ls" versions are sensible wrt the order of
> +            ;; arguments, they fail when "-al" is after the
> +            ;; "--color=never" argument (for example on FreeBSD).
>             (when (zerop (tramp-send-command-and-check
>                           vec (format "%s -lnd /" result)))
>               (when (zerop (tramp-send-command-and-check
> !                            vec (format "%s --color=never -al /" result)))
>                 (setq result (concat result " --color=never")))
>               (throw 'ls-found result))
>             (setq dl (cdr dl))))))
> --8<---------------cut here---------------end--------------->8---
>
> Before rerunning you test, you must apply "M-x
> tramp-cleanup-all-connections".
> This forces initial tests for a connection established afterwards.
>
> Best regards, Michael.
>



-- 
Search! Search! [DuckDuckGo](http://duckduckgo.com/?t=terrencebrannon)
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to