From: Tim Vaughan Date: Sat, 20 Jun 2020 22:35:07 +0000 (+0200) Subject: Tidying up for next release. X-Git-Tag: v2.9.0 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=ab6a018cc080dfedca166a8c053538f3248f1eb6 Tidying up for next release. --- diff --git a/elpher.el b/elpher.el index 7809634..04f38a3 100644 --- a/elpher.el +++ b/elpher.el @@ -4,10 +4,10 @@ ;; Author: Tim Vaughan ;; Created: 11 April 2019 -;; Version: 2.8.0 +;; Version: 2.9.0 ;; Keywords: comm gopher ;; Homepage: http://thelambdalab.xyz/elpher -;; Package-Requires: ((emacs "26.1")) +;; Package-Requires: ((emacs "26.2")) ;; This file is not part of GNU Emacs. @@ -71,7 +71,7 @@ ;;; Global constants ;; -(defconst elpher-version "2.8.0" +(defconst elpher-version "2.9.0" "Current version of elpher.") (defconst elpher-margin-width 6 @@ -104,7 +104,7 @@ ;; (defgroup elpher nil - "A gopher client." + "A gopher and gemini client." :group 'applications) ;; General appearance and customizations @@ -915,8 +915,7 @@ If ADDRESS is not supplied or nil the record is rendered as an (elpher-insert-margin (concat (char-to-string selector-type) "?")) (insert (propertize display-string 'face 'elpher-unknown))))) - (insert "\n") -)) + (insert "\n"))) (defun elpher-click-link (button) "Function called when the gopher link BUTTON is activated (via mouse or keypress)." @@ -1104,7 +1103,10 @@ that the response was malformed." (?1 ; Input required (elpher-with-clean-buffer (insert "Gemini server is requesting input.")) - (let* ((query-string (read-string (concat response-meta ": "))) + (let* ((query-string + (if (eq (elt response-code 1) ?1) + (read-passwd (concat response-meta ": ")) + (read-string (concat response-meta ": ")))) (query-address (seq-copy (elpher-page-address elpher-current-page))) (old-fname (url-filename query-address))) (setf (url-filename query-address)