From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: Best practices for sql-list-(table|all)? Date: Tue, 2 Jul 2013 20:34:15 -0700 (PDT) Message-ID: <1372822455.67861.YahooMailNeo@web160906.mail.bf1.yahoo.com> References: Reply-To: Michael Mauger NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372822465 10646 80.91.229.3 (3 Jul 2013 03:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 03:34:25 +0000 (UTC) Cc: Stefan Monnier , "emacs-devel@gnu.org" To: Trevor Murphy Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 03 05:34:25 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 1UuDpm-00073C-Vn for ged-emacs-devel@m.gmane.org; Wed, 03 Jul 2013 05:34:23 +0200 Original-Received: from localhost ([::1]:48009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuDpm-0000Ml-JW for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2013 23:34:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuDph-0000Md-Ky for emacs-devel@gnu.org; Tue, 02 Jul 2013 23:34:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuDpg-0003Rv-Lj for emacs-devel@gnu.org; Tue, 02 Jul 2013 23:34:17 -0400 Original-Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]:22932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuDpg-0003Rr-Fd for emacs-devel@gnu.org; Tue, 02 Jul 2013 23:34:16 -0400 Original-Received: from [66.196.81.173] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 03 Jul 2013 03:34:15 -0000 Original-Received: from [98.139.212.236] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 03 Jul 2013 03:34:15 -0000 Original-Received: from [127.0.0.1] by omp1045.mail.bf1.yahoo.com with NNFMP; 03 Jul 2013 03:34:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 446033.49981.bm@omp1045.mail.bf1.yahoo.com Original-Received: (qmail 73918 invoked by uid 60001); 3 Jul 2013 03:34:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1372822455; bh=w3DZby9l9nYIokaCa2dN8pWToJzKNkp84BFWbx1PUOQ=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WGeVPf0EQyc9Wlxj24/yobOsI1fn33ujmHdHDN+ojDkk2xqyncSRtRxbuB9arrC8LObhXrt+rZ6sfvLJfgJi77QtqO6ij7GQvpDX6Cl0gEBbujOselyWT9fqHGtIGsjDGFd6QWf5cpMT+6JzwNw3AWXF208ItY4PCCvfltB2NQY= X-YMail-OSG: 3ARqiewVM1lmWEMR6qc4VRx7Bv6R_1h8nsCfhFSJJx2S5TK wkqF6yXwi0nx5z.fowd2eXwZG4UijtUSoOTpJgXNig5HYeYWs0PSeDn0OS2w mc2U8q0MC3LWPhjLwqQuR6fiIlwcxn1gwweC93Rqu5.BnpVsDCCs1Svesl_X 84EFhdlgUunCTEGi2Kv4YuLWD83zRT72fYUV5ozK9DuY7czxYVgThH_rqJfN _Ei5N7YLNxTwgZ_kyMoZzEQQO7L7yF4Y1erMnqreenHjn.nkEnXAYgU1G2N_ RUXdQHBIN1_BcTUEfFAY8Nfr1fJ93Ngn2Jtwra4qj58K5K76cp1IwhnGMvaQ kL8GR7VHVJcWw7DvkimmFBiuUKZEtzgY9YV3uUZ0rSpCVnTGETAzDnMisWxw VAiBDykuCbRwjwVPaRnXXD3GkUh.6mG4horuUABrF08JjZUDz7f7yBMGAMt5 .S75d_d.KFTitdvI88IL0TQNoTn_T86lD4W_rXQbgNV73TiNQLjDQo7N65sF vrTtG7sKxct9Wy1Lx5ryZnQ2CGqBmpG67t2t2g1IBXU6qt.lwzK4QhZQqjLN _o3WRhonMZqHZa.qjyEMXKIbhz6SgiP4She.NWw-- Original-Received: from [76.19.44.52] by web160906.mail.bf1.yahoo.com via HTTP; Tue, 02 Jul 2013 20:34:15 PDT X-Rocket-MIMEInfo: 002.001, PiBGcm9tOiBTdGVmYW4gTW9ubmllciA8bW9ubmllckBpcm8udW1vbnRyZWFsLmNhPgoKPlRvOiBUcmV2b3IgTXVycGh5IDx0cmV2b3IubS5tdXJwaHlAZ21haWwuY29tPiAKPlNlbnQ6IFRodXJzZGF5LCBNYXkgMzAsIDIwMTMgMTE6NTAgUE0KPgo.PiBJIGRvbid0IGtub3cgbmVhcmx5IGVub3VnaCBhYm91dCBFbWFjcywgYnV0IG15IGN1cnJlbnQgYmVzdCBndWVzcyBpcwo.PiB0aGF0IGBwcm9jZXNzLXNlbmQtc3RyaW5nJyBqdXN0IHdvbid0IHJlc3BlY3QgYGluaGliaXQtcmVhZC1vbmx5Jwo.PiBiZWNhdXMBMAEBAQE- X-RocketYMMF: mmaug X-Mailer: YahooMailWebService/0.8.148.557 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 98.139.212.180 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:161453 Archived-At: > From: Stefan Monnier =0A=0A>To: Trevor Murphy <= trevor.m.murphy@gmail.com> =0A>Sent: Thursday, May 30, 2013 11:50 PM=0A>=0A= >> I don't know nearly enough about Emacs, but my current best guess is=0A>= > that `process-send-string' just won't respect `inhibit-read-only'=0A>> be= cause the former's a built-in C function.=0A>=0A>No, but the process-send-s= tring just returns right away, and the=0A>response is inserted into the tar= get buffer via the process-filter.=0A>=0A>> Any pointers?=A0 Right now I'm = just jamming a (read-only-mode -1) and=0A>> (read-only-mode 1) at the top a= nd bottom of `sql-redirect-one', but it=0A>> feels too gross to share.=A0 I= 'd love to find out that I can get away=0A>> with a simple `inhibit-read-on= ly' solution.=0A>=0A>I don't know why turning the mode off and then back on= would work while=0A>let-binding inhibit-read-only wouldn't.=A0 Maybe Micha= el can think of=0A>some reason?=0A>=0A=0AI apologize for the delay in my re= sponse.=A0 =0A=0A=0AI had encountered the same issue and thought the fix ha= d already been =0A=0Amoved to trunk.=A0 Digging in tonite, it doesn't appea= r it made it; so I'll get =0A=0Ait installed this week.=A0 I had a similar = problem with using inhibit-read-only, =0A=0Abut found that controlling buff= er-read-only was actually a more accurate =0A=0Away of managing the buffer'= s read-only state and the buffer's contents.=0A=0AThanks for the bug report= and sorry for my delay=0A=0A=0A-- Michael