From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Visiting files with gnuclient don't add to history Date: Sun, 17 Sep 2006 23:49:57 +0100 Message-ID: <450DD115.1010907@gnu.org> References: <20060916153824.1145.SLAWOMIR.NOWACZYK.847@student.lu.se> <450DA967.6040809@gnu.org> <450DCE02.5070403@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158533465 29348 80.91.229.2 (17 Sep 2006 22:51:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2006 22:51:05 +0000 (UTC) Cc: Slawomir Nowaczyk , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 18 00:51:03 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GP5TR-0007Nj-Ux for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 00:50:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP5TR-0004nn-I0 for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 18:50:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GP5TD-0004li-6S for emacs-devel@gnu.org; Sun, 17 Sep 2006 18:50:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GP5TC-0004lE-2U for emacs-devel@gnu.org; Sun, 17 Sep 2006 18:50:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP5TB-0004l9-ST for emacs-devel@gnu.org; Sun, 17 Sep 2006 18:50:37 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GP5Vs-0004md-18; Sun, 17 Sep 2006 18:53:24 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (Postfix) with ESMTP id 27AE652483; Sun, 17 Sep 2006 23:50:35 +0100 (BST) Original-Received: from [10.0.0.32] (unknown [10.0.0.32]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 012654B; Sun, 17 Sep 2006 23:50:35 +0100 (BST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 Original-To: Lennart Borgman In-Reply-To: <450DCE02.5070403@student.lu.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59950 Archived-At: Lennart Borgman wrote: > Jason Rumney wrote: >> I don't think it is a bug, only interactive use of find-file should >> add to history. There is already code in server.el to add to history, >> since it is calling find-file non-interactively but in response to >> user interaction. dnd.el on the other hand does not add to history, >> but probably should. > > Why should only interactive use inside of Emacs add to history? Because the user is generally not interested in files that are found behind the scenes when they look at history, they are only interested in the files they have explicitly opened. > I believe users of emacsserver/client or gnuserver/client expects that > files opened those ways should be treated the same. Indeed, because such use IS interactive.