From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Zhao Subject: Re: still seeing semi-regular lockups Date: Thu, 3 Jul 2014 11:31:40 -0400 Message-ID: References: <87siocrbyb.fsf@ericabrahamsen.net> <87siobtn1i.fsf@bzg.ath.cx> <87ha4r1j91.fsf@tanger.home> <87k39hdf2o.fsf@tanger.home> <87ppj86elt.fsf@ericabrahamsen.net> <874n0kde2y.fsf@tanger.home> <87bnus4s5n.fsf@ericabrahamsen.net> <87egye7kx3.fsf@nicolasgoaziou.fr> <87a992mleu.fsf@ericabrahamsen.net> <87ha3425s3.fsf@ericabrahamsen.net> <87r428v4hn.fsf@ericabrahamsen.net> <87y4wdwmsy.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2iz8-0007P7-1p for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 11:31:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2iz6-0004Ym-Sj for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 11:31:41 -0400 Received: from mail-ve0-x231.google.com ([2607:f8b0:400c:c01::231]:52431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2iz6-0004Y6-O1 for emacs-orgmode@gnu.org; Thu, 03 Jul 2014 11:31:40 -0400 Received: by mail-ve0-f177.google.com with SMTP id i13so409132veh.22 for ; Thu, 03 Jul 2014 08:31:40 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: York Zhao , Eric Abrahamsen , emacs-orgmode > I'm now using commit "126e2bc", this morning I did experience some funny > things which I had never experienced before. Unfortunately I let them go. I > will keep an eye on the new problems. I'm now using commit "fdc673d". The problem I experienced 2 days ago happened again. The direct operations I did was that I programmatically deleted a few table line in one table and inserted them in another table which is in the subtree immediately following the current table. But I ended up having more lines in the new table, most of them were duplicated. Here is roughly the snippet of the command I used: (defun yhj-drop-something () (interactive) (save-excursion (let* ((beg (line-beginning-position)) (end (1+ (line-end-position))) (line (buffer-substring beg end))) (kill-region beg end) (unless (re-search-forward "^\\*+[ \t]+Newtable[ \t]*$" (save-excursion (org-end-of-subtree t)) t) (error "Incompatible contents format")) (forward-line 4) (unless (org-at-table-p 'any) (error "Incompatible contents format")) (beginning-of-line) (insert line) (org-table-align) (org-table-sort-lines nil ?a)))) I can't post everything here because the command operates on my personal contents. I have been using this snippet for years without problem. I executed this command several times with point moved to different lines in the first table. Each time this command is executed it is supposed to "move" one table line to another table. Hope this will help a bit and I will pay close attention next time to give more details.