From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#16542: 24.3.50; When finding a file via a bookmark, that file is not part of file-name-history Date: Tue, 28 Jan 2014 09:28:03 +0200 Organization: JURTA Message-ID: <87bnywpohw.fsf@mail.jurta.org> References: <87lhy5kqa9.fsf@bzg.ath.cx> <87lhy1slx2.fsf@bzg.ath.cx> <877g9l1m4c.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390894571 1542 80.91.229.3 (28 Jan 2014 07:36:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2014 07:36:11 +0000 (UTC) Cc: Bastien , 16542@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 28 08:36:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W83DW-0003ih-J4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 08:36:18 +0100 Original-Received: from localhost ([::1]:35696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W83DW-00058z-3L for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 02:36:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W83DM-00058X-Gy for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 02:36:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W83DG-0000Ls-IJ for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 02:36:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W83DG-0000Lo-Fu for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 02:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W83DF-0005Ur-MM for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 02:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jan 2014 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16542 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16542-submit@debbugs.gnu.org id=B16542.139089454721096 (code B ref 16542); Tue, 28 Jan 2014 07:36:01 +0000 Original-Received: (at 16542) by debbugs.gnu.org; 28 Jan 2014 07:35:47 +0000 Original-Received: from localhost ([127.0.0.1]:38655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W83D0-0005UA-FU for submit@debbugs.gnu.org; Tue, 28 Jan 2014 02:35:47 -0500 Original-Received: from [69.163.184.122] (port=53019 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W83Cv-0005Tt-Ny for 16542@debbugs.gnu.org; Tue, 28 Jan 2014 02:35:42 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 52CEB365C87744; Mon, 27 Jan 2014 23:35:41 -0800 (PST) In-Reply-To: (Drew Adams's message of "Mon, 27 Jan 2014 09:31:29 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84158 Archived-At: > 1. A user option such as what you describe, but with nil meaning > "go for it generally: let the command decide", a non-nil list as > you mention meaning "do not let these commands decide", and any > other non-nil value meaning "do not let any command decide". I think a cleaner solution would be to have two separate history lists: 1. history of minibuffer input 2. history of visited files and a new option to select which history to access via M-p in the minibuffer that reads a file name. Actually we already have a history of recently visited files in recentf, so we could add `bookmark-jump' to `recentf-used-hooks'. Or maybe this is not needed because it already contains `find-file-hook'.