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#12915: 24.2.50; Visiting a file via drag-and-drop should add it to the history ofvisited files Date: Tue, 15 Jan 2013 11:57:25 +0200 Organization: JURTA Message-ID: <87obgqpw9n.fsf@mail.jurta.org> References: <87obgug641.fsf@gnu.org> <87mwwd76ll.fsf@mail.jurta.org> <87d2x842ws.fsf@mail.jurta.org> <65F6EBA42246485393472446D6597C96@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358246560 8788 80.91.229.3 (15 Jan 2013 10:42:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 10:42:40 +0000 (UTC) Cc: 'Chong Yidong' , 12915@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 15 11:42:56 2013 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 1Tv3yp-0003wK-7X for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 11:42:55 +0100 Original-Received: from localhost ([::1]:40160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv3yY-0001NO-VJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 05:42:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv3yU-0001MP-TY for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 05:42:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv3yU-0006q7-0M for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 05:42:34 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv3yT-0006q3-Su for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 05:42:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tv3yv-0008Vx-Vz for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 05:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jan 2013 10:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12915-submit@debbugs.gnu.org id=B12915.135824653932675 (code B ref 12915); Tue, 15 Jan 2013 10:43:01 +0000 Original-Received: (at 12915) by debbugs.gnu.org; 15 Jan 2013 10:42:19 +0000 Original-Received: from localhost ([127.0.0.1]:60962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tv3yE-0008Uy-LJ for submit@debbugs.gnu.org; Tue, 15 Jan 2013 05:42:19 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:46097 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tv3yB-0008Up-Os for 12915@debbugs.gnu.org; Tue, 15 Jan 2013 05:42:17 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D22632017DF60D; Tue, 15 Jan 2013 02:41:44 -0800 (PST) In-Reply-To: <65F6EBA42246485393472446D6597C96@us.oracle.com> (Drew Adams's message of "Mon, 14 Jan 2013 07:45:11 -0800") 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.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:69803 Archived-At: > `file-name-history' was designed to be augmented by `read-file-name', whenever a > file name is input. That includes commands that do not display/visit the file. > This way of interactively choosing files should not be ignored, just because > someone finds an easy way to hook history augmentation into file-buffer display. A new variable (e.g. `file-name-history-variable') could be introduced to hold the name of the history variable. The default would be the currently existing `file-name-history'. And the other possible value would be a new history variable (e.g. `file-name-extended-history') that will collect all visited/displayed file names like: (defvar file-name-history nil "History list of file names entered in the minibuffer.") (defvar file-name-extended-history nil "History list of files visited/displayed in the current session.") (defcustom file-name-history-variable 'file-name-history "History list to use in the minibuffer that reads a file name. The value of this variable should be a symbol; that symbol is used as a variable to hold a history list for the file names." :group 'files :type 'symbol) Then the users would be able to customize it to `file-name-extended-history': (custom-set-variables '(file-name-history-variable file-name-extended-history))