all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <thorn+news@fastmail.fm>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsserver unstable?
Date: Tue, 24 Jul 2007 17:05:48 +0200	[thread overview]
Message-ID: <878x95j0z7.fsf@baldur.tsdh.de> (raw)
In-Reply-To: mailman.3864.1185284692.32220.help-gnu-emacs@gnu.org

Sven Bretfeld <sven.bretfeld@gmx.ch> writes:

Hi Sven,

> Is it perhaps possible to restart the server automatically every, say,
> 15 minutes?

It should be possible. See

,----[ C-h f run-with-timer RET ]
| run-with-timer is an interactive compiled Lisp function in `timer.el'.
| (run-with-timer SECS REPEAT FUNCTION &rest ARGS)
| 
| Perform an action after a delay of SECS seconds.
| Repeat the action every REPEAT seconds, if REPEAT is non-nil.
| SECS and REPEAT may be integers or floating point numbers.
| The action is to call FUNCTION with arguments ARGS.
| 
| This function returns a timer object which you can use in
| `cancel-timer'.
`----

> I have no idea how to do it, and what possible side effects this could
> have.

I wouldn't do it. When you edit a file with emacsclient while the server
restarts, you'll lose the connection, I think, which probably asks for
troubles.

Bye,
Tassilo
-- 
It  is  said that  looking  into Chuck  Norris'  eyes  will reveal  your
future. Unfortunately, everybody's future is always the same: death by a
roundhouse-kick to the face.

  parent reply	other threads:[~2007-07-24 15:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 23:40 emacsserver unstable? Sven Bretfeld
2007-07-24 13:44 ` Sven Bretfeld
     [not found] ` <mailman.3864.1185284692.32220.help-gnu-emacs@gnu.org>
2007-07-24 15:05   ` Tassilo Horn [this message]
2007-07-24 16:08     ` Sven Bretfeld
2007-07-24 17:44       ` Peter Dyballa
2007-07-24 19:08         ` Sven Bretfeld
2007-07-24 20:22           ` Peter Dyballa
2007-07-24 21:46             ` Lennart Borgman (gmail)
2007-07-24 21:50               ` Peter Dyballa
2007-07-24 22:01             ` Sven Bretfeld
2007-07-24 22:47               ` Peter Dyballa
2007-07-25 13:43         ` Sven Bretfeld
2007-07-25 15:13           ` Sven Bretfeld
2007-07-25 23:43           ` Sven Bretfeld
     [not found]           ` <mailman.3990.1185406991.32220.help-gnu-emacs@gnu.org>
2007-07-26  8:22             ` Tassilo Horn
     [not found] <mailman.3828.1185234040.32220.help-gnu-emacs@gnu.org>
2007-07-24  7:48 ` Tassilo Horn
2007-07-24  9:09   ` Sven Bretfeld
     [not found]   ` <mailman.3845.1185268221.32220.help-gnu-emacs@gnu.org>
2007-07-25  5:59     ` Stefan Monnier
2007-07-26 13:26       ` Sven Bretfeld
2007-07-26 18:27         ` Peter Dyballa

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=878x95j0z7.fsf@baldur.tsdh.de \
    --to=thorn+news@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    /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.