diff options
| author | Tom Tromey | 2013-06-03 12:25:05 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-06-03 12:25:05 -0600 |
| commit | 68359abba96d7ec4db8aab3d3dd9cf1105c3bab5 (patch) | |
| tree | 862703e7e1a1888170136a8296a5750d6b2ae2eb /lisp/progmodes/sql.el | |
| parent | cbcba8ce7f980b01c18c0fd561ef6687b1361507 (diff) | |
| parent | e2d8a6f0a229b4ebe26484b892ec4f14888f58b6 (diff) | |
| download | emacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.tar.gz emacs-68359abba96d7ec4db8aab3d3dd9cf1105c3bab5.zip | |
merge from trunk; clean up some issues
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 65 |
1 files changed, 39 insertions, 26 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 3cf6757d5ec..940afc3d5f4 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -285,36 +285,49 @@ file. Since that is a plaintext file, this could be dangerous." | |||
| 285 | 285 | ||
| 286 | (define-widget 'sql-login-params 'lazy | 286 | (define-widget 'sql-login-params 'lazy |
| 287 | "Widget definition of the login parameters list" | 287 | "Widget definition of the login parameters list" |
| 288 | ;; FIXME: does not implement :default property for the user, | ||
| 289 | ;; database and server options. Anybody have some guidance on how to | ||
| 290 | ;; do this. | ||
| 291 | :tag "Login Parameters" | 288 | :tag "Login Parameters" |
| 292 | :type '(repeat (choice | 289 | :type '(set :tag "Login Parameters" |
| 293 | (const user) | 290 | (choice :tag "user" |
| 294 | (const password) | 291 | :value user |
| 295 | (choice :tag "server" | 292 | (const user) |
| 296 | (const server) | 293 | (list :tag "Specify a default" |
| 297 | (list :tag "file" | 294 | (const user) |
| 298 | (const :format "" server) | 295 | (list :tag "Default" |
| 299 | (const :format "" :file) | 296 | :inline t (const :default) string))) |
| 300 | regexp) | 297 | (const password) |
| 301 | (list :tag "completion" | 298 | (choice :tag "server" |
| 302 | (const :format "" server) | 299 | :value server |
| 300 | (const server) | ||
| 301 | (list :tag "Specify a default" | ||
| 302 | (const server) | ||
| 303 | (list :tag "Default" | ||
| 304 | :inline t (const :default) string)) | ||
| 305 | (list :tag "file" | ||
| 306 | (const :format "" server) | ||
| 307 | (const :format "" :file) | ||
| 308 | regexp) | ||
| 309 | (list :tag "completion" | ||
| 310 | (const :format "" server) | ||
| 311 | (const :format "" :completion) | ||
| 312 | (restricted-sexp | ||
| 313 | :match-alternatives (listp stringp)))) | ||
| 314 | (choice :tag "database" | ||
| 315 | :value database | ||
| 316 | (const database) | ||
| 317 | (list :tag "Specify a default" | ||
| 318 | (const database) | ||
| 319 | (list :tag "Default" | ||
| 320 | :inline t (const :default) string)) | ||
| 321 | (list :tag "file" | ||
| 322 | (const :format "" database) | ||
| 323 | (const :format "" :file) | ||
| 324 | regexp) | ||
| 325 | (list :tag "completion" | ||
| 326 | (const :format "" database) | ||
| 303 | (const :format "" :completion) | 327 | (const :format "" :completion) |
| 304 | (restricted-sexp | 328 | (restricted-sexp |
| 305 | :match-alternatives (listp stringp)))) | 329 | :match-alternatives (listp stringp)))) |
| 306 | (choice :tag "database" | 330 | (const port))) |
| 307 | (const database) | ||
| 308 | (list :tag "file" | ||
| 309 | (const :format "" database) | ||
| 310 | (const :format "" :file) | ||
| 311 | regexp) | ||
| 312 | (list :tag "completion" | ||
| 313 | (const :format "" database) | ||
| 314 | (const :format "" :completion) | ||
| 315 | (restricted-sexp | ||
| 316 | :match-alternatives (listp stringp)))) | ||
| 317 | (const port)))) | ||
| 318 | 331 | ||
| 319 | ;; SQL Product support | 332 | ;; SQL Product support |
| 320 | 333 | ||