;;; Commentary:
;; Please send bug reports and bug fixes to the mailing list at
-;; help-gnu-emacs@gnu.org. If you want to subscribe to the mailing
-;; list, see the web page at
-;; https://lists.gnu.org/mailman/listinfo/help-gnu-emacs for
-;; instructions. I monitor this list actively. If you send an e-mail
+;; bug-gnu-emacs@gnu.org.
+;; See also the general help list at
+;; https://lists.gnu.org/mailman/listinfo/help-gnu-emacs
+;; I monitor this list actively. If you send an e-mail
;; to Alex Schroeder it usually makes it to me when Alex has a chance
;; to forward them along (Thanks, Alex).
;; Login parameter type
+;; This seems too prescriptive. It probably fails to match some of
+;; the possible combinations. It would probably be better to just use
+;; plist for most of it.
(define-widget 'sql-login-params 'lazy
"Widget definition of the login parameters list"
:tag "Login Parameters"
(list :tag "file"
(const :format "" database)
(const :format "" :file)
- regexp)
+ (choice (const nil) regexp)
+ (const :format "" :must-match)
+ (symbol :tag ":must-match"))
(list :tag "completion"
(const :format "" database)
+ (const :format "" :default)
+ (string :tag ":default")
(const :format "" :completion)
+ (sexp :tag ":completion")
(const :format "" :must-match)
- (restricted-sexp
- :match-alternatives (listp stringp))))
+ (symbol :tag ":must-match")))
(const port)))
;; SQL Product support
server)
"List of login parameters needed to connect to Postgres."
:type 'sql-login-params
- :version "24.1"
+ :version "26.1"
:group 'SQL)
(defun sql-postgres-list-databases ()