GNU bug report logs - #23566
25.0.94; sql-sqlite: selecting database file is crippled

Previous Next

Package: emacs;

Reported by: rolf <at> pointsman.de

Date: Wed, 18 May 2016 01:41:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 25.0.94

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #8 received at 23566 <at> debbugs.gnu.org (full text, mbox):

From: Rolf Ade <rolf <at> pointsman.de>
To: 23566 <at> debbugs.gnu.org
Subject: Re: bug#23566: Acknowledgement (25.0.94;
 sql-sqlite: selecting database file is crippled)
Date: Wed, 18 May 2016 14:50:25 +0200
I'm sorry: I've botched my proposed change (which is not meant to be a
patch - I don't feel versed enough to judge if this is the 'right way'
to fix - but to make my point more clear). It should read as (added
the f argument to file-regular-p):


      ((plist-member plist :file)
       (expand-file-name
        (read-file-name prompt
                        (file-name-directory last-value) default t
                        (file-name-nondirectory last-value)
                        (when (plist-get plist :file)
                          `(lambda (f)
                             (if (not(file-regular-p f))
                                 t
                               (string-match
                                (concat "\\<" ,(plist-get plist :file) 
"\\>")
                                (file-name-nondirectory f))))))))




This bug report was last modified 8 years and 139 days ago.

Previous Next


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