From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [Bug] Regression w/ insert into tables in overwrite-mode Date: Mon, 27 Feb 2012 20:27:14 +0100 Message-ID: <87ehtghyb1.fsf@Rainer.invalid> References: <87d392u4b4.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S26EK-00026m-65 for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 14:27:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S26EI-0001IG-GG for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 14:27:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:58790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S26EI-0001Ht-9H for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 14:27:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S26EG-00087P-Gr for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 20:27:24 +0100 Received: from pd9eb4b41.dip.t-dialin.net ([217.235.75.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Feb 2012 20:27:24 +0100 Received: from Stromeko by pd9eb4b41.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Feb 2012 20:27:24 +0100 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: emacs-orgmode@gnu.org Achim Gratz writes: > Commit 00040e7 by David Maus has introduced a regression when inserting > into org tables while overwrite mode is on. For each character inserted > into a table cell, the cell (and the whole table row) gets shortened by > one character. > > If the change can not be reverted, the deletion must not > happen when overwrite mode is on, maybe through something like this: > > (if (not overwrite-mode) (delete-char -1)) The change cannot be reverted, since Emacs24 issues a compile-time warning about using delete-backward-char, even though that warning has been dropped from the doc string... so it needs to be protected or replaced by an org-specific version that honors overwrite mode. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra