From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: special-mode buffer changes to fundamental when modified Date: Fri, 21 Oct 2016 12:58:28 +0200 Message-ID: <87wph2j7e3.fsf@web.de> References: <87wph3n4d7.fsf@jupiter.lan> <87twc79gsa.fsf@web.de> <87eg3bhtcm.fsf@jupiter.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477047546 12014 195.159.176.226 (21 Oct 2016 10:59:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2016 10:59:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Stefan Huchler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 21 12:59:02 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxXXR-0002Wq-Kk for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2016 12:59:01 +0200 Original-Received: from localhost ([::1]:59909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxXXT-0002pT-Sl for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2016 06:59:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxXX4-0002pO-R9 for help-gnu-emacs@gnu.org; Fri, 21 Oct 2016 06:58:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxXX0-0005Qp-0x for help-gnu-emacs@gnu.org; Fri, 21 Oct 2016 06:58:38 -0400 Original-Received: from mout.web.de ([212.227.15.14]:52245) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxXWz-0005QO-Nm for help-gnu-emacs@gnu.org; Fri, 21 Oct 2016 06:58:33 -0400 Original-Received: from drachen.dragon ([90.186.2.239]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MINMF-1bwiqn2Ti3-004AWy; Fri, 21 Oct 2016 12:58:31 +0200 In-Reply-To: <87eg3bhtcm.fsf@jupiter.lan> (Stefan Huchler's message of "Thu, 20 Oct 2016 18:34:49 +0200") X-Provags-ID: V03:K0:lj8rffL6hOg0Lv9xWU2SqNq+xNnGecJAwRX1UG+z2CLZW2F6EJ6 wtD239du4s/kstc2/SdLfRsTdpES99b0buQVGdhl5D+g6n5aGMLFGlpb3YjZ/XKzdbTlxt3 0d9AF0qpJEtsiJc99jem59FS4PYBmH10+/x6gjhmpNXqb0NNGugdDAM8neBw+x2vRQjcSvo uhjCTraKgE7b7rlxb1Hhw== X-UI-Out-Filterresults: notjunk:1;V01:K0:cPtpTt+NjRw=:eqNG3i5x/iUIgYuDqEUwsk wTaAdvCrctLoHM6RR6SM2FU2iDHtRnAdGVBgBldshPbyd4Qti6xdHUtKowKm/Lg9wsXBPjh2y Bo57r0h1Ag0V8b4hOsxhrKRK374hmHSSOL3Aa++n31x5H6wyIGh/6XeZu5kfl/diU/vMUqIiI aPILkG0QwhXFtoOycAqJD+KmMvgA8MSE6E2JQAelsJ8oq6Hux5Eo3EPBjE/B/scXJ/KvkZ7RV kYMP9ZMxs0ytZoQ05TgIwfOfWoLJyd/v8h80dgqIFbb7dOru50dSpdIoi6U39dBpJdy7ou/nA QutSjjZ/gPTfsl59tZ5jHWdNuFkU79++BPIUHl8rqQI+q18osG15jkLIuL5ZCDG+GMRQL+rtf PA1W/VeaMp8wyhuHZ1N/ia4jGfeY+0FfA+VV3zHCX3kBf5Pn5wKs7FmoCSmYfEu/ntRfySnQN tgbJVf3pXhoD/Ni0eARjnxmOIoiMeUNvD6kh+kIjwc3aXeopQ04FZR2aqA/PAA9T35VED1pK0 aY9J1PTr7ErUPwrrxnRWToBpjBJzvGUIPpyHnCKnlonnugIduy7IqWwctEIC3KdQrOHMha03p hpbmcmD3sbFH9Vu16V/O6WVGq1BaCZVXb+pNJXfJf8IqWyhydv7xuDWhFx+mahe8g8IrmVE8L Qeuq96T1zjHaKDG948MYT4c0YuWB36QT/lu1UCq6OSQcESd9Nnlw33U5VOzBmX6koJr3K/2SS Xao4RPFwIla8z+0j+NuJwfV2797ooR68eyf56blRp75tfN3Ar755M8rTpMYLM5A48MZCX1R7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111582 Archived-At: Stefan Huchler writes: > > That looks very strange. A mode definition should not make a > > particular buffer current. It should work in any (current) buffer > > where the mode is enabled. > > Again I used first other methods like with-temp-buffer and stuff like > that, but it always either dont insert the stuff I want, or it changes > the mode of the buffer to fundamental mode. Ok, then please tell us a bit more about what you want to achieve, and what the mode you want to define is supposed to do. Michael.