From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Re: Visiting files with gnuclient don't add to history Date: Sun, 17 Sep 2006 19:29:50 +0200 Message-ID: <20060917185223.6FD6.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <450C9205.1070608@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1158514233 8668 80.91.229.2 (17 Sep 2006 17:30:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2006 17:30:33 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 17 19:30:30 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 1GP0TD-0005vG-Mj for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 19:30:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP0TD-0007xh-4z for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 13:30:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GP0T1-0007vf-Kr for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:30:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GP0Sz-0007tI-MG for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:30:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP0Sz-0007tE-HH for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:30:05 -0400 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GP0Ve-0000NG-5P for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:32:50 -0400 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.13.6/8.13.6/perf-jw-tr) with ESMTP id k8HHTx1C016856 for ; Sun, 17 Sep 2006 19:29:59 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: <450C9205.1070608@student.lu.se> X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.25.02 [en] 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:59939 Archived-At: On Sun, 17 Sep 2006 02:08:37 +0200 Lennart Borgman wrote: #> Jason Rumney wrote: #> > Slawomir Nowaczyk writes: #> >> Is this a problem in Emacs or is there something wrong with my #> >> version of gnuserv/gnuclient? #> > #> > The code that visits the files sent by gnuclient will be in #> > gnuserv.el, so that would be the first place to look. #> #> Slawomir, which gnuserv/gnuclient are you using? I am not entirely sure... I remember it took me quite some time (long ago) before I found a version which actually worked reliably. My gnuserv.el contains this: (defconst gnuserv-rcs-header-id "$Header: gnuserv.el,v 2.1 95/02/16 12:00:16 arup alpha $") but that is probably meaningless, since the latest change (of those listed explicitly, at least) is: ;; Lennart Borgman 2005-01-29 ;; Added aliases for old server-* functions called from gnuclient. I have now downloaded a seemingly newer version (at least, the gnuclient program has new Emacs icon and is 900kb in size, as opposed to 80kb which I have been using ;) from http://www.emacswiki.org/cgi-bin/wiki/GnuClient namely this: http://ourcomments.org/Emacs/DL/EmacsW32%20only/EmacsW32-alone-1.06.zip (I did not want to download the whole EmacsW32) #> Are you on w32? Yes. But I use "pure" emacs, pulled from CVS and compiled by myself, not EmacsW32. #> I just added a line to gnuserv.el that should fix the problem: Thanks, I applied this patch and it works great. The reason I have wrote here, though, is that the version of gnuserv I was using, without this modification, *used to* work just fine a couple of weeks/months ago. I do not know what changed... all I found in NEWS (searching for "history") which could be related are those two changes: *** New function `add-to-history' adds an element to a history list. *** The new variable `history-add-new-input' specifies whether to add new but I do not see from their descriptions why should they affect things like gnuserv. I may miss something, but if this was supposed to be an incompatible change, maybe it would be worthwhile to document it better. And if not, then maybe there is a bug somewhere. -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) Real Programmers just whistle the binary code into the modem