From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: 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 10:21:25 +0100 Message-ID: <50F27C95.6050804@easy-emacs.de> References: <87obgug641.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358068902 15035 80.91.229.3 (13 Jan 2013 09:21:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2013 09:21:42 +0000 (UTC) Cc: Emacs developers To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 13 10:21:59 2013 Return-path: Envelope-to: ged-emacs-devel@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 1TuJlO-0005YZ-Dt for ged-emacs-devel@m.gmane.org; Sun, 13 Jan 2013 10:21:58 +0100 Original-Received: from localhost ([::1]:43761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuJl7-0002bn-Tm for ged-emacs-devel@m.gmane.org; Sun, 13 Jan 2013 04:21:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuJl4-0002bi-Tx for emacs-devel@gnu.org; Sun, 13 Jan 2013 04:21:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuJl1-0005Yp-6P for emacs-devel@gnu.org; Sun, 13 Jan 2013 04:21:38 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:51887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuJl0-0005YW-Sw; Sun, 13 Jan 2013 04:21:35 -0500 Original-Received: from [192.168.178.27] (brln-4db9e3ba.pool.mediaWays.net [77.185.227.186]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MSFeJ-1TVjhX1Z7r-00TfUv; Sun, 13 Jan 2013 10:21:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 In-Reply-To: <87obgug641.fsf@gnu.org> X-Provags-ID: V02:K0:MGi2bWqMej+OXoN+Rc7CygEXaMjNvkenN8zbyAatqGW R1Mai/YoHdNO6ei90C59jURfktwPw6S4RIaEUERy+OWBAV5Q6k Z4DyRm8l/3i6/xsFxTqfKBV+JUOX7k5Et7yk2w2UX7Sya1PDYF QwIOgDPXZrRSz60gkKl24unCrDd/tyEp9msHrEmRdRDgsynHDR 69DVZNsXZsEf8B1vSjj7IHuhDL0ZKHxlxvilPnQFlRxMExVxIO Langpq9tuhyPdJ3DKFXsJtsiPyU9qE44agrHXMzHi/LuTCqNdt dhTXYcdZEtJ9rL87Gr4Z9gvXt2yGwLzA0zYMe7rLkaGKTRF5Y+ zaNdK6jFLURk9LfBHv9AW/vmDXZJVvnJ6w6sq8Ssp X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.187 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156299 Archived-At: Am 12.01.2013 09:25, schrieb Chong Yidong: > Dani Moncayo writes: > >>> The history of visited files should contain every visited >>> file, regardless of the way it was visited (command line argument, >>> drag-n-drop, menu item, C-x C-f...) >> >> ... and when the file is visited via bookmarks (e.g. `C-x r b foo >> '). (I've just missed this feature). > > This feature is relatively easy to implement. > > 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? > > > > Hi, don't think files just used by programs should go into history. That might make history useless to a certain point. Also it might slow down programs. Cheers, Andreas