From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: [tramp] tramp-adb-program problem Date: Thu, 28 Feb 2013 20:36:46 +0100 Message-ID: <87fw0g1b8x.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362080229 17146 80.91.229.3 (28 Feb 2013 19:37:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2013 19:37:09 +0000 (UTC) Cc: =?utf-8?Q?J=C3=BCrgen_H=C3=B6tzel?= , emacs-devel@gnu.org To: Neal Becker Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 28 20:37:33 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UB9IJ-0000Kh-Gc for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2013 20:37:31 +0100 Original-Received: from localhost ([::1]:38400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB9Hy-0000Tq-I4 for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2013 14:37:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB9Hp-0000Te-BO for emacs-devel@gnu.org; Thu, 28 Feb 2013 14:37:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB9Hl-0001iu-0T for emacs-devel@gnu.org; Thu, 28 Feb 2013 14:37:01 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:53024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB9Hk-0001iE-NN for emacs-devel@gnu.org; Thu, 28 Feb 2013 14:36:56 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.29]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0LvOyj-1UsDav2K6l-010eQt for ; Thu, 28 Feb 2013 20:36:54 +0100 Original-Received: (qmail invoked by alias); 28 Feb 2013 19:36:53 -0000 Original-Received: from p57BB9716.dip0.t-ipconnect.de (EHLO arthur.gmx.de) [87.187.151.22] by mail.gmx.net (mp029) with SMTP; 28 Feb 2013 20:36:53 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19WwbATeE9WabUJv9jnQlZcmxsGvXcp30hNkFQbhM k1dx4IdXI1ppm0 In-Reply-To: (Neal Becker's message of "Thu, 28 Feb 2013 09:48:39 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157460 Archived-At: Neal Becker writes: Hi Neal, > tramp-adb assumes adb is found in a subdir called 'platform-tools'. > > Now some distributions (e.g., Fedora) ship adb and put into standard directories > (e.g., /usr/bin/adb) > > Can we make tramp-adb more flexible to support this? The current code says: > > (defun tramp-adb-program () > "The Android Debug Bridge." > (expand-file-name "platform-tools/adb" tramp-adb-sdk-dir)) Good idea. I've made `tramp-adb-program' a customer option now. If adb is found in $PATH, nothing to do; otherwise it shall contain the absolute path of adb. Best regards, Michael.