From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#12915: 24.2.50; Visiting a file via drag-and-drop should add it to the history of visited files Date: Sun, 13 Jan 2013 11:15:45 +0100 Message-ID: References: <87obgug641.fsf@gnu.org> <87mwwd76ll.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1358072220 7665 80.91.229.3 (13 Jan 2013 10:17:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2013 10:17:00 +0000 (UTC) Cc: Chong Yidong , 12915@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 13 11:17:14 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 1TuKcr-0004Ir-Vp for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jan 2013 11:17:14 +0100 Original-Received: from localhost ([::1]:49068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuKcb-0001Q6-Kw for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jan 2013 05:16:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuKcT-0001Pr-F4 for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2013 05:16:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuKcO-0002Xz-Vg for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2013 05:16:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuKcO-0002Xt-SS for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2013 05:16:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TuKcg-00032V-3S for bug-gnu-emacs@gnu.org; Sun, 13 Jan 2013 05:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Jan 2013 10:17:02 +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.135807217111615 (code B ref 12915); Sun, 13 Jan 2013 10:17:02 +0000 Original-Received: (at 12915) by debbugs.gnu.org; 13 Jan 2013 10:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:57702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TuKbq-00031I-Jy for submit@debbugs.gnu.org; Sun, 13 Jan 2013 05:16:10 -0500 Original-Received: from mail-oa0-f52.google.com ([209.85.219.52]:39403) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TuKbo-000315-Jo for 12915@debbugs.gnu.org; Sun, 13 Jan 2013 05:16:09 -0500 Original-Received: by mail-oa0-f52.google.com with SMTP id o6so3065886oag.25 for <12915@debbugs.gnu.org>; Sun, 13 Jan 2013 02:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8zFdq5P3snVWigHCDMrwHN+62uonV533LJmb+spxKqY=; b=SWwloaRhbNQ5TeH9rDrTXVTzpW03lyJGXHoRlfRqZsE7ZXNNd0ElPqOUsmdbCBm4WA Xs+Xmsm7cnflDWd3GGlr8hTIKaf1ES67H50VtMRb7G8p2K1xpBTzmBLCejIKAtOS74yf VmE44zFx5qs1am9Ln2nTNdyE0M4OG9o+jTvY6xLMLQFjoVq0arl8aQFtXjn/5IWvB1xY IA6SwHBG4EhWZZ7nI6qvEgl135D1sPHEYD0m0D8jwzO2aPMa+jU6Sl95K2GIfbhUFGvq KOBZbn8ge74umR8c/2Pumff4OWFld0v/PyysnmWUUqUOMY5Am6fqOAlYbztgw+KfXaRM qhrg== Original-Received: by 10.60.7.67 with SMTP id h3mr48063819oea.31.1358072145646; Sun, 13 Jan 2013 02:15:45 -0800 (PST) Original-Received: by 10.60.11.39 with HTTP; Sun, 13 Jan 2013 02:15:45 -0800 (PST) In-Reply-To: <87mwwd76ll.fsf@mail.jurta.org> 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:69707 Archived-At: > When this feature was discussed last time at > http://thread.gmane.org/gmane.emacs.pretest.bugs/9253/focus=43774 > I found it too irritating that it clutters the minibuffer history > with too many unnecessary elements that were not entered manually. > >> I think it is best done by adding an optional argument `add-history' to >> `find-file' (and similar functions like `find-file-other-frame'), so >> that Lisp callers can specify to update `file-name-history' even if the >> file name was not read interactively. Any objections? > > Since this is a matter of personal preference, I think not Lisp callers > but Emacs users should be able to specify what to add to the history. FWIW, I also don't want to pollute the minibuffer history, obviously. That would make harder to find the entries you care about. Perhaps I wasn't clear enough, but what I had in mind was adding to the history every file visited _under direct user request_ (with either `C-x C-f', drag-n-drop, click on dired buffer, jump to bookmark, menu item, command line argument, etc). -- Dani Moncayo