all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se>,
	emacs-devel@gnu.org
Subject: Re: Visiting files with gnuclient don't add to history
Date: Sun, 17 Sep 2006 02:08:37 +0200	[thread overview]
Message-ID: <450C9205.1070608@student.lu.se> (raw)
In-Reply-To: <uvennbvjr.fsf@jasonrumney.net>

Jason Rumney wrote:
> Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se> 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	other threads:[~2006-09-17  0:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 14:46 Visiting files with gnuclient don't add to history Slawomir Nowaczyk
2006-09-16 16:55 ` Jason Rumney
2006-09-17  0:08   ` Lennart Borgman [this message]
2006-09-17 17:29     ` Slawomir Nowaczyk
2006-09-17 15:12 ` Richard Stallman
2006-09-17 15:27   ` Lennart Borgman
2006-09-17 17:29   ` Slawomir Nowaczyk
2006-09-17 20:00   ` Jason Rumney
2006-09-17 22:36     ` Lennart Borgman
2006-09-17 22:49       ` Jason Rumney
2006-09-17 22:57         ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=450C9205.1070608@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=slawomir.nowaczyk.847@student.lu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.