From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: axiom mode Date: Sun, 10 Jun 2007 14:11:05 +0200 Message-ID: <466BEA59.1010601@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181477530 20120 80.91.229.12 (10 Jun 2007 12:12:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2007 12:12:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: axiomize@yahoo.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 10 14:12:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HxMH6-0007DV-R6 for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 14:12:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxMH5-0000BR-Tw for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 08:12:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HxMGp-00009N-2j for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 08:11:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HxMGn-00006A-Ma for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 08:11:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxMGn-000060-JZ for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 08:11:45 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HxMGn-00006o-IF for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 08:11:45 -0400 Original-Received: (qmail invoked by alias); 10 Jun 2007 12:11:39 -0000 Original-Received: from N848P006.adsl.highway.telekom.at (EHLO [62.47.49.230]) [62.47.49.230] by mail.gmx.net (mp010) with SMTP; 10 Jun 2007 14:11:39 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+SD2Q41kSSr19KLovxGrZYwKv77ecuEdrbfzWaUr UZTG/fb0I/qfvK User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:44840 Archived-At: > * write clean initalisation code. In particular, it should be possible to have > several buffers with different axiom processes, just like in shell mode. I > looked at shell.el, but fail to understand it. In `axiom-run' make `axiom-process' buffer local (set (make-local-variable 'axiom-process) (get-buffer-process (current-buffer))) This will render `axiom-buffer' meaningless. Hence, in `axiom' you have to always make a new process and in `axiom-mode-new-axiom-process' you should remove things like (delete-process axiom-process) (kill-buffer (axiom-buffer)) BTW after killing `axiom-process' which buffer is `axiom-buffer' supposed to return? Do you really always want to kill the current buffer here?