From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Visiting files with gnuclient don't add to history Date: Sun, 17 Sep 2006 02:08:37 +0200 Message-ID: <450C9205.1070608@student.lu.se> References: <20060916153824.1145.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158451742 27741 80.91.229.2 (17 Sep 2006 00:09:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2006 00:09:02 +0000 (UTC) Cc: Slawomir Nowaczyk , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 17 02:09:01 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 1GOkDS-0002QG-B8 for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 02:08:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GOkDR-0003W6-Lb for ged-emacs-devel@m.gmane.org; Sat, 16 Sep 2006 20:08:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GOkDG-0003RW-F0 for emacs-devel@gnu.org; Sat, 16 Sep 2006 20:08:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GOkDE-0003Oe-Hx for emacs-devel@gnu.org; Sat, 16 Sep 2006 20:08:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GOkDE-0003OS-Dg for emacs-devel@gnu.org; Sat, 16 Sep 2006 20:08:44 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GOkFi-0003MX-3L; Sat, 16 Sep 2006 20:11:18 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 450708BC00106119; Sun, 17 Sep 2006 02:08:41 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: Jason Rumney In-Reply-To: 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:59925 Archived-At: 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? Are you on w32? I just added a line to gnuserv.el that should fix the problem: diff -c "c:/Program Files/Emacs/EmacsW32/bin/gnuserv.el~" "c:/Program Files/Emacs/EmacsW32/bin/gnuserv.el" *** c:/Program Files/Emacs/EmacsW32/bin/gnuserv.el~ Wed Jul 5 17:21:44 2006 --- c:/Program Files/Emacs/EmacsW32/bin/gnuserv.el Sun Sep 17 02:07:03 2006 *************** *** 313,321 **** (progn (select-screen gnuserv-frame) (find-file file)) (select-screen (create-screen (find-file-noselect file))))) ! ! (t (find-file file))))) ;; emacs18+ ! ) (defun gnuserv-edit-files-quickly (list) "For each (line-number . file) pair in LIST, edit the file at line-number. --- 313,320 ---- (progn (select-screen gnuserv-frame) (find-file file)) (select-screen (create-screen (find-file-noselect file))))) ! (t (find-file file))) ;; emacs18+ ! (add-to-history 'file-name-history file)))) (defun gnuserv-edit-files-quickly (list) "For each (line-number . file) pair in LIST, edit the file at line-number. Diff finished. Sun Sep 17 02:07:32 2006