emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julian Burgos <jmburgos@uw.edu>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>, e.fraga@ucl.ac.uk
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: org-src-fontify-natively makes things very, very slow
Date: Fri, 18 Mar 2011 00:11:56 +0000	[thread overview]
Message-ID: <AANLkTi=6BUzo7HqAyYXAG=4fYxGJmvq3-_8UcSPiD75v@mail.gmail.com> (raw)
In-Reply-To: <804o71triy.fsf@somewhere.org>

When editing the block in native mode everything works fine.  Closing
the buffer (or even rebooting the computer) had no effect.
I´ll keep this off until is fixed.  It is though a great feature!

2011/3/17 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>:
> Hi all,
>
> Eric S Fraga wrote:
>> Julian Burgos <jmburgos@uw.edu> writes:
>>> I was very excited to discover org-src-fontify-natively, but I´m not having
>>> a good experience with it. When it is on, org-mode becomes very slow while
>>> typing into a code block. This happens regardless of the size of the file
>>> or number of blocks, and the slow down is very noticeable. Each keystroke
>>> takes about half a second to appear in screen. Typing outside of the code
>>> blocks everything works fine. Turning off font-lock-verbose and
>>> global-linum-mode did not make any difference. I´m running OrgMode 7.5 and
>>> GNU Emacs 23.2.1. on Windows XP.
>>>
>>> Any ideas?
>
> Idem for me. Slow(er) in Org buffer itself.
>
>> If you edit the source code block in its native mode (C-c',
>> =org-edit-special=), is it fast or slow?
>
> Fast(er) in dedicated buffer.
>
>> In any case, this may be related to the thread on slow behaviour
>> discussed on this list the past few days.  Does the response improve if
>> you kill the buffer and load the file again?
>
> Maybe this is (partly?) due to the overlay I added:
>
> #+begin_src emacs-lisp
>                (overlay-put (make-overlay beg1 block-end)
>                             'face 'org-block-background))
> #+end_src
>
> in function
>
> #+begin_src emacs-lisp
> (defun org-fontify-meta-lines-and-blocks (limit)
> #+end_src
>
> in file org.el.
>
> Best regards,
>  Seb
>
> --
> Sébastien Vauban
>
>
>



-- 
Julian Mariano Burgos
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: julian@hafro.is, jmburgos@uw.edu

  reply	other threads:[~2011-03-18  0:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 13:59 org-src-fontify-natively makes things very, very slow Julian Burgos
2011-03-17 18:28 ` Eric S Fraga
2011-03-17 20:34   ` Sébastien Vauban
2011-03-18  0:11     ` Julian Burgos [this message]
2011-03-18  8:38     ` Eric S Fraga
2011-03-18 12:44       ` Julian Burgos
2011-03-19  9:20       ` Sébastien Vauban
2011-03-19 12:28         ` suvayu ali
2011-03-19 20:37           ` Eric S Fraga
2011-03-19 20:34         ` Eric S Fraga
2011-03-20  4:23           ` Le Wang
2011-03-20 19:41             ` Eric S Fraga
2011-03-21  2:37               ` Le Wang
2011-03-21 13:57                 ` Eric Schulte
2011-03-21 17:06                   ` Eric S Fraga
2011-03-21 22:23                     ` Sébastien Vauban
2011-03-22  9:18                       ` Ulf Stegemann
2011-03-29 14:49                       ` Matt Lundin
2011-03-29 16:49                         ` Eric S Fraga
2011-03-30  7:34                         ` Sébastien Vauban
2011-04-28 20:59                     ` Carsten Dominik
2011-04-28 23:32                       ` Eric S Fraga
2011-04-30 19:45                         ` Eric S Fraga
2011-05-01 13:37                           ` Carsten Dominik
2011-03-29 14:12           ` Matt Lundin
2011-03-29 16:44             ` Eric S Fraga

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=6BUzo7HqAyYXAG=4fYxGJmvq3-_8UcSPiD75v@mail.gmail.com' \
    --to=jmburgos@uw.edu \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).