GNU bug report logs - #23063
24.5; Multi-line sql statements are not saved correctly

Previous Next

Package: emacs;

Reported by: Nikolay Kudryavtsev <nikolay.kudryavtsev <at> gmail.com>

Date: Sat, 19 Mar 2016 15:11:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 24.5

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nikolay Kudryavtsev <nikolay.kudryavtsev <at> gmail.com>
To: 23063 <at> debbugs.gnu.org
Subject: bug#23063: 24.5; Multi-line sql statements are not saved correctly
Date: Sat, 19 Mar 2016 18:10:33 +0300
[Message part 1 (text/plain, inline)]
Currently comint.el does not respect local values of 
comint-input-ring-separator. Sql mode on the other hand sets it locally. 
This prevents multi-line sql history from working.

Sql history is stored using comint-write-input-ring. When it saves the 
history file, it uses with-current-buffer, thus ignoring previous local 
value. When read comint-read-input-ring uses with-temp-buffer with 
similar results.

This seems to have been caused by the fix for this bug 
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16814>.

-- 
Best Regards,
Nikolay Kudryavtsev

[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.