From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Sql-mode calls tramp for no reason Date: Thu, 24 Oct 2013 17:00:33 +0200 Message-ID: <87txg6yar2.fsf@gmx.de> References: <526741FC.4010604@gmail.com> <878uxkjyey.fsf@gmx.de> <5269314A.5050508@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382626867 27444 80.91.229.3 (24 Oct 2013 15:01:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 15:01:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nikolay Kudryavtsev Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 17:01:09 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1VZMPM-0001mi-BU for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2013 17:01:08 +0200 Original-Received: from localhost ([::1]:54771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZMPL-0001Ns-VS for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2013 11:01:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZMOz-0001DM-TZ for help-gnu-emacs@gnu.org; Thu, 24 Oct 2013 11:00:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZMOs-0003l0-Kj for help-gnu-emacs@gnu.org; Thu, 24 Oct 2013 11:00:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:55852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZMOs-0003ki-9B for help-gnu-emacs@gnu.org; Thu, 24 Oct 2013 11:00:38 -0400 Original-Received: from detlef.gmx.de ([87.146.62.185]) by mail.gmx.com (mrgmx103) with ESMTPS (Nemesis) id 0MTBfe-1VAdkr2rZe-00S74A for ; Thu, 24 Oct 2013 17:00:36 +0200 In-Reply-To: <5269314A.5050508@gmail.com> (Nikolay Kudryavtsev's message of "Thu, 24 Oct 2013 18:40:10 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:HOzNUZyOjojgRhVj5/4g/kFpk8KAJXAfzmUut5anAlF3PsepOpX j5/WRGMGJt9eAAz0S+ClhKthLoxnT0juR/ZCeAcMcWrwxYFmw6CFYR6arIB4qqWjIkCJ6lo hxUBgITETlnDlyLc1BXAuWBvaIh4WVJkSuxiH1XW9ySAEcwVeWhAFiSWOdpb8IAJ2ngR4cv 0acb15HfupWVU1tKlCM2A== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94194 Archived-At: Nikolay Kudryavtsev writes: > Yeah, sql.el is based on comint. > > Tested that hook. It does not work. You could write an own function, which let-binds default-directory to a local dir, and calls sql-product-interactive then. Or you advice sql-product-interactive accordingly (see the Elisp manual how to do this). > Thanks for the help anyway. Best regards, Michael.