emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visiting files with gnuclient don't add to history


From: Lennart Borgman
Subject: Re: Visiting files with gnuclient don't add to history
Date: Sun, 17 Sep 2006 02:08:37 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Jason Rumney wrote:
Slawomir Nowaczyk <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]