From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38317: Buffer-local variables don't work as history for read-from-minibuffer Date: Wed, 27 Nov 2019 21:25:00 +0200 Message-ID: <83y2w1p1f7.fsf@gnu.org> References: <87eey0lxxm.fsf@gmail.com> <87v9rcqbls.fsf@gnus.org> <5a0c68d0-4d25-bf8d-fbe8-f106b0f92210@gmx.at> <875zjareo1.fsf@gnus.org> <874kyu72kl.fsf@gmail.com> <87wobq5gs0.fsf@gmail.com> <87o8wyl2wa.fsf@gmail.com> <87k17lfscs.fsf@gnus.org> <87h82pw3vr.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="107722"; mail-complaints-to="usenet@blaine.gmane.org" Cc: larsi@gnus.org, 38317@debbugs.gnu.org To: Federico Tedin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 27 20:25:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ia2w7-000Rrk-GL for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 20:25:15 +0100 Original-Received: from localhost ([::1]:42152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ia2w6-00067b-BV for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Nov 2019 14:25:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38448) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ia2vv-00062K-2y for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 14:25:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ia2vu-0005qN-4j for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 14:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ia2vu-0005qG-1g for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 14:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ia2vt-0004Fs-Rw for bug-gnu-emacs@gnu.org; Wed, 27 Nov 2019 14:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Nov 2019 19:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38317 X-GNU-PR-Package: emacs Original-Received: via spool by 38317-submit@debbugs.gnu.org id=B38317.157488270016343 (code B ref 38317); Wed, 27 Nov 2019 19:25:01 +0000 Original-Received: (at 38317) by debbugs.gnu.org; 27 Nov 2019 19:25:00 +0000 Original-Received: from localhost ([127.0.0.1]:56229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ia2vr-0004FX-NV for submit@debbugs.gnu.org; Wed, 27 Nov 2019 14:25:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ia2vp-0004FK-Qp for 38317@debbugs.gnu.org; Wed, 27 Nov 2019 14:24:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ia2vk-0005gc-LZ; Wed, 27 Nov 2019 14:24:52 -0500 Original-Received: from [176.228.60.248] (port=3040 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ia2vk-0008Qk-2r; Wed, 27 Nov 2019 14:24:52 -0500 In-reply-to: <87h82pw3vr.fsf@gmail.com> (message from Federico Tedin on Wed, 27 Nov 2019 19:50:00 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172552 Archived-At: > From: Federico Tedin > Date: Wed, 27 Nov 2019 19:50:00 +0100 > Cc: 38317@debbugs.gnu.org > > Thanks. In what part of the manual would you document this? I was > thinking of either in: > > 1) The "Minibuffer History" section (but it doesn't mention the actual > HIST variable anywhere in there, though, and never mentions any specific > minibuffer-reading function) That section does mention the history variables, and even includes a list of them. So I'm not sure why you say it doesn't. > Should I update the docstring for `read-from-minibuffer' as well? I > would like to add two things: that the value can be buffer-local, and > that the newly read item will be added to the history list. That it adds to the history is worth mentioning, but the fact that it can be buffer-local we don't normally say explicitly, because it's expected to "just work".