all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: senny <yves.senn@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: indirect-region (make-indirect-buffer) breaks major-mode  fontification
Date: Wed, 18 Nov 2009 17:38:26 +0100	[thread overview]
Message-ID: <e01d8a50911180838l51f92c10t84b58ed461be54ca@mail.gmail.com> (raw)
In-Reply-To: <e01d8a50911180744n6872c881r26174ee27f59f241@mail.gmail.com>

On Wed, Nov 18, 2009 at 4:44 PM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> On Wed, Nov 18, 2009 at 2:52 PM, senny <yves.senn@gmail.com> wrote:
>
>>> >  - When I call (cleanup-buffer => starterkit function to indent,
>>> > untabify and trailing whitespace removal)
>>> >    It takes like 6 seconds to clean the buffer where nxml mode takes
>>> > around half a second.
>>>
>>> Is this for the example you sent me? That sounds a bit strange. Can
>>> you please send me a copy of cleanup-buffer so I can see what it does?
>
>
> I tested this a bit more and found that you are right. It is the
> indentation that takes so long time - but only when you use a multi
> major mode that has nxml-mode as its main mode.
>
> I do not know what to do about it but I will keep it in mind. (I have
> one solution in mind right now...)


I just uploaded a new beta nXhtml 2.02 where this should be fixed.
Thanks for reminding me of the problem.




      reply	other threads:[~2009-11-18 16:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17 12:43 indirect-region (make-indirect-buffer) breaks major-mode fontification senny
2009-11-17 14:01 ` Lennart Borgman
     [not found] ` <mailman.10887.1258466524.2239.help-gnu-emacs@gnu.org>
2009-11-17 14:16   ` senny
2009-11-17 14:20     ` Joost Kremers
2009-11-17 14:40       ` senny
2009-11-17 15:13     ` Lennart Borgman
     [not found]       ` <ADEECBBC-DEC5-45E1-9A56-C8877DA04F7C@gmail.com>
     [not found]         ` <e01d8a50911171135g288b67dfk8bcc6d15812a994c@mail.gmail.com>
     [not found]           ` <453D5202-26FA-4AE5-9AC6-1F4973C42A9B@gmail.com>
2009-11-17 20:28             ` Lennart Borgman
     [not found]             ` <mailman.10926.1258489768.2239.help-gnu-emacs@gnu.org>
2009-11-18  7:54               ` senny
2009-11-18 13:30                 ` Lennart Borgman
     [not found]                 ` <mailman.10965.1258551083.2239.help-gnu-emacs@gnu.org>
2009-11-18 13:52                   ` senny
2009-11-18 15:44                     ` Lennart Borgman
2009-11-18 16:38                       ` Lennart Borgman [this message]

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=e01d8a50911180838l51f92c10t84b58ed461be54ca@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=yves.senn@gmail.com \
    /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.