From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#16814: `sql-interactive-mode' overwrites `comint' variables Date: Thu, 27 Feb 2014 20:56:19 -0500 Message-ID: References: <87lhx6amw6.fsf@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1393552620 13227 80.91.229.3 (28 Feb 2014 01:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 01:57:00 +0000 (UTC) To: 16814-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 02:57:08 2014 Return-path: Envelope-to: geb-bug-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 1WJChI-0003pH-5E for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 02:57:08 +0100 Original-Received: from localhost ([::1]:48840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJChH-0000vY-ON for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Feb 2014 20:57:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJChE-0000vS-Ph for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 20:57:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJChD-0002IP-BQ for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 20:57:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJChD-0002IJ-7q for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 20:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJChD-0006MK-1J for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 20:57:03 -0500 Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2014 01:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 16814@debbugs.gnu.org, rgm@gnu.org, eclig@gmx.net Original-Received: via spool by 16814-done@debbugs.gnu.org id=D16814.139355258324377 (code D ref 16814); Fri, 28 Feb 2014 01:57:02 +0000 Original-Received: (at 16814-done) by debbugs.gnu.org; 28 Feb 2014 01:56:23 +0000 Original-Received: from localhost ([127.0.0.1]:43286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJCgY-0006L7-UK for submit@debbugs.gnu.org; Thu, 27 Feb 2014 20:56:23 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49589) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJCgW-0006Ky-Cl for 16814-done@debbugs.gnu.org; Thu, 27 Feb 2014 20:56:21 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WJCgV-000859-DD; Thu, 27 Feb 2014 20:56:19 -0500 X-Spook: Geraldton CDC MD4 2600 Magazine monarchist sniper X-Ran: "L-?~AjQ*pM)>pA}f,FtdOQyMZQ%V1&;Z`oGk&vxj@8-:gK-I(BnEMsaz{F$E!mwyPNL50 X-Hue: green X-Attribution: GM In-Reply-To: <87lhx6amw6.fsf@gmx.net> (Emilio C. Lopes's message of "Wed, 19 Feb 2014 21:05:45 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86339 Archived-At: Version: 24.4 Emilio C. Lopes wrote: > `sql-interactive-mode' sets the variables `comint-input-ring-separator' > and `comint-input-ring-file-name' without making them buffer-local. You're right about comint-input-ring-separator, but sql-interactive-mode first calls comint-mode, which makes comint-input-ring-file-name buffer-local. > Here is a patch: Partially applied, thanks.