Daniel Bausch <bau...@dvs.tu-darmstadt.de> writes: > I think it actually is not an org-mode problem but depends on how > (count-lines 1 (point)) works, as it is using regex searches for the > line endings. I can imagine that the regex parser for utf-8 can be > inefficient.
I just looked again at Eric's profile output. Why does count-lines not show up there at all? Could it be goto-char, bolp, or even save-excursion instead? I suspected count-lines because it is really doing heavy lifting. Regards, Daniel -- MSc. Daniel Bausch Research Assistant (Computer Science) Technische Universität Darmstadt http://www.dvs.tu-darmstadt.de/staff/dbausch