From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Tury Newsgroups: gmane.emacs.help Subject: unload/rollback question Date: Wed, 1 Mar 2006 22:41:45 +0100 Organization: T-Online Internet Hungary Message-ID: <82vhcp9oqxbo.11nn42d6jle3d.dlg@40tude.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141400150 21789 80.91.229.2 (3 Mar 2006 15:35:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 15:35:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 16:35:50 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFCJX-0005mU-UP for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 16:35:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFCJX-0000Wq-Hz for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 10:35:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.bme.hu!news.t-online.hu!newsfeed.matavnet.hu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: dsl5400f27f.pool.t-online.hu Original-X-Trace: namru.matavnet.hu 1141249305 15377 84.0.242.127 (1 Mar 2006 21:41:45 GMT) Original-X-Complaints-To: newsmaster@matavnet.hu Original-NNTP-Posting-Date: Wed, 1 Mar 2006 21:41:45 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.15.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:137851 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33474 Archived-At: Hi, is it possible anyhow to "unload" something what was previously loaded by load or require? E.g. a mode? Without restarting Emacs. It just came to my mind how would it be possible to test some mode under development: when I think I could try something I would like to start from a "clean page", so unloading safely everything what was tried previoulsy would be a must. Does unload-feature do this? It seems for me that it works only if it is "supported" by that mode... (Is unload-feature a new stuff? Since then old modes immediately are out of scope...:-( Could undo be used somehow? Would this be possible with a little help to Emacs? E.g. evaluating some insert-savepoint-now and later a rollback-to-savepoint (like in (Oracle) SQL)? Thanks, P