From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Newsgroups: gmane.emacs.help Subject: run-with-idle-timer ... + mmm-mode Date: Tue, 20 Feb 2007 12:35:37 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0231448351==" X-Trace: sea.gmane.org 1172003771 31878 80.91.229.12 (20 Feb 2007 20:36:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2007 20:36:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 21:36:04 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 1HJbiV-0002tg-R1 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Feb 2007 21:36:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJbiV-0004ri-1d for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Feb 2007 15:36:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJbi9-0004rQ-6v for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 15:35:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJbi7-0004qs-8K for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 15:35:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJbi7-0004qn-3f for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 15:35:39 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJbi6-0005oS-Fx for help-gnu-emacs@gnu.org; Tue, 20 Feb 2007 15:35:38 -0500 Original-Received: by nf-out-0910.google.com with SMTP id h2so2914151nfe for ; Tue, 20 Feb 2007 12:35:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OlqvRNXiTyBHP4KzN2Pew88A4zY972f97UFdJ+AgSOQ8r/45vI6XehuUHbXHOK9VDR03N1NIfQbKjFsn42MTOtam24csRI6xIC8NSAYtusEXyYwFJwbaTGMafaPtoxEDPv/ub5uSnL9KYy/A0ubkW+Ks73ZhxgOhkZdw/QOvYd4= Original-Received: by 10.82.152.16 with SMTP id z16mr13870664bud.1172003737135; Tue, 20 Feb 2007 12:35:37 -0800 (PST) Original-Received: by 10.82.189.19 with HTTP; Tue, 20 Feb 2007 12:35:37 -0800 (PST) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:41358 Archived-At: --===============0231448351== Content-Type: multipart/alternative; boundary="----=_Part_58476_22439589.1172003737103" ------=_Part_58476_22439589.1172003737103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have some HTML with embedded code snippets that I am using mmm-mode to allow me to edit appropriately. The only problem is that mmm-mode doesn't reprocess the file as I edit it ... so, I added a call to mmm-parse-buffer whenever a file is saved that is using mmm-mode ... but, I'd also like to be able to see things happen WHEN I type in something that should cause a sub-mode to kick in ... So, I've been playing with run-with-idle-timer, but, that doesn't seem to fire appropriately ( I'm using emacs 22.0.93 ) ... any input anybody can give that would help would be greatly appreciated. Thank you, in advance, for your time. jd. -- Greetings Starfghter! You have been recruited by the Star League to defend the frontier against Xur and the Ko-Dan Armada. ------=_Part_58476_22439589.1172003737103 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have some HTML with embedded code snippets that I am using mmm-mode to allow me to edit appropriately.

The only problem is that mmm-mode doesn't reprocess the file as I edit it ... so, I added a call to mmm-parse-buffer whenever a file is saved that is using mmm-mode ...

but, I'd also like to be able to see things happen WHEN I type in something that should cause a sub-mode to kick in ...

So, I've been playing with run-with-idle-timer, but, that doesn't seem to fire appropriately ( I'm using emacs 22.0.93 )

... any input anybody can give that would help would be greatly appreciated.

Thank you, in advance, for your time.

jd.

--
Greetings Starfghter! You have been recruited by the Star League to defend the frontier against Xur and the Ko-Dan Armada. ------=_Part_58476_22439589.1172003737103-- --===============0231448351== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0231448351==--