From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: orgtbl-mode and markdown Date: Thu, 20 Dec 2012 09:01:53 +0100 Message-ID: <417EF3F0-EB5E-4EE2-B800-FA2C9C7B6E43@gmail.com> References: <1ssj73bvzr.fsf@voll.uninett.no> <1sbodrbhsl.fsf@voll.uninett.no> <66FAEC7A-9437-4ACD-A61E-4841AB8668EF@gmail.com> <87a9tbi6r0.fsf@Rainer.invalid> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlb4v-00037u-E3 for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 03:02:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tlb4r-0002qo-JI for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 03:02:05 -0500 Received: from mail-ee0-f51.google.com ([74.125.83.51]:59599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlb4r-0002qc-C1 for emacs-orgmode@gnu.org; Thu, 20 Dec 2012 03:02:01 -0500 Received: by mail-ee0-f51.google.com with SMTP id d4so1497902eek.24 for ; Thu, 20 Dec 2012 00:01:59 -0800 (PST) In-Reply-To: <87a9tbi6r0.fsf@Rainer.invalid> 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: Achim Gratz Cc: emacs-orgmode@gnu.org On 18.12.2012, at 18:56, Achim Gratz wrote: > Carsten Dominik writes: >> Well this is very safe - but if you have to assume that every elisp >> command does change match data behind your back, you would have to >> create a lot of extra code. > > Stefan Monnier advises the opposite (quote from > http://article.gmane.org/gmane.emacs.bugs/68688 ): > > --8<---------------cut here---------------start------------->8--- >> Okay. On second though: it wouldn't be very useful to use the match >> data set by these functions. Why not save the match-data here once so >> that no caller has to ever worry about it? Is there a general policy >> that this kinda thing shouldn't be done? > > Yes, the general policy is: all functions should be presumed to trash > the match-data, except for a very few exceptions. > --8<---------------cut here---------------end--------------->8--- I am sure that Stefan would consider backward-delete-charater such an exception, if you ask him directly. - Carsten > > > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > SD adaptation for Waldorf rackAttack V1.04R1: > http://Synth.Stromeko.net/Downloads.html#WaldorfSDada > >