help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One-off history for read-string


From: Emanuel Berg
Subject: Re: One-off history for read-string
Date: Sat, 26 Sep 2015 04:47:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

John Mastro <john.b.mastro@gmail.com> writes:

>     (defvar readonly-history)
>
>     (defun get-history-list-from-server ()
>       ;; Imagine we fetch this list of HTTP
>       (list "foo" "bar" "baz" "quux"))
>
>     (defun my-read-string (prompt)
>       (let ((readonly-history (get-history-list-from-server)))
>         (read-string prompt nil 'readonly-history)))

And one would do that because...?

Besides, isn't that "remote history" or "client-server
history" or "distributed history" rather than
"readonly history"?

And how will the history be assembled if it is only
clients that fetch it and then never add to it?

And again, what is the purpose of all this?

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]