[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3175: 23.0.92; [PATCH] Improve SQL-mode UX
From: |
Michael Mauger |
Subject: |
bug#3175: 23.0.92; [PATCH] Improve SQL-mode UX |
Date: |
Wed, 11 Apr 2012 19:29:46 -0700 (PDT) |
> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
>To: Ian Eure <ian@digg.com>
>Cc: 3175@debbugs.gnu.org; Michael R. Mauger <mmaug@yahoo.com>
>Sent: Wednesday, April 11, 2012 8:52 AM
>Subject: Re: bug#3175: 23.0.92; [PATCH] Improve SQL-mode UX
>
>Ian Eure <ian@digg.com> writes:
>
>> The user experience when using sql-mode is somewhat lacking. In
>> particular, the behaviors when using a SQLi buffer could be more
>> helpful.
>>
>> The attached patch:
>> - Adds a default binding (C-c C-t) to sql-set-sqli-buffer
>> - Directs the user to the function if they attempt to call sql-send-
>> * with an unusable sql-buffer.
>> - Updates sql-help to mention sql-set-sqli-buffer.
>
>This looks reasonable to me. Michael?
>
I want to hesitate on this one a little. I've significantly rewritten sql.el to
properly handle login parameters and sql-buffer. I would suggest waiting
for Emacs 24.1 (or grab the version of sql.el from 24.1) and try it out.
I had encountered some issues with sql-buffer not being set properly before
but I believe I've corrected the issue. I haven't had the problem in quite a
while
and I often have multiple sql interactive sessions active.
I would be interested in understanding the sequence of user actions that is
leading to a problem. My own interaction doesn't lead to an issue, but I'd be
intrigued by other hackers approach.