From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Best practices for sql-list-(table|all)? Date: Thu, 30 May 2013 09:35:56 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369920973 24012 80.91.229.3 (30 May 2013 13:36:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 May 2013 13:36:13 +0000 (UTC) Cc: Michael Mauger , emacs-devel@gnu.org To: Trevor Murphy Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 30 15:36:13 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 1Ui31X-0006ja-MX for ged-emacs-devel@m.gmane.org; Thu, 30 May 2013 15:36:11 +0200 Original-Received: from localhost ([::1]:43251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui31X-0004Nk-9q for ged-emacs-devel@m.gmane.org; Thu, 30 May 2013 09:36:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui31Q-0004Nd-Am for emacs-devel@gnu.org; Thu, 30 May 2013 09:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui31K-0007ke-Cj for emacs-devel@gnu.org; Thu, 30 May 2013 09:36:03 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui31K-0007jz-7p for emacs-devel@gnu.org; Thu, 30 May 2013 09:35:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpYtM/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpYtM/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="15184714" Original-Received: from 69-165-139-76.dsl.teksavvy.com (HELO pastel.home) ([69.165.139.76]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 May 2013 09:35:52 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DEDD867B05; Thu, 30 May 2013 09:35:56 -0400 (EDT) In-Reply-To: (Trevor Murphy's message of "Wed, 29 May 2013 23:41:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:159922 Archived-At: > schema and table elements as I learn the database layout). If instead > of quitting out of view-mode I just switch back to my sql-mode buffer, > the second call to the sql-list-foo command gives a "Buffer is > read-only" error. Sounds like a bug. Either it shouldn't use view-mode, or (more likely) it should let-bind inhibit-read-only around the code that (re)populates the buffer. Stefan