From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: Abbrev-mode expanded during export [7.7 (release_7.7.330.g774f)] Date: Wed, 28 Sep 2011 19:08:39 -0400 Message-ID: <87ipoc6z9k.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R93FD-00005E-LO for emacs-orgmode@gnu.org; Wed, 28 Sep 2011 19:08:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R93FC-0006tm-01 for emacs-orgmode@gnu.org; Wed, 28 Sep 2011 19:08:51 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:12609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R93FB-0006s7-Rs for emacs-orgmode@gnu.org; Wed, 28 Sep 2011 19:08:49 -0400 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 Hi Eric, I've recently switched from yasnippets to abbrev-mode + skeletons and run into an unexpected situation during export. I have the following level 2 task: ,---- | *** NEXT Report bug about abbrev expansions during export | [2011-09-28 Wed 07:55] | | Define src edit mode for plantuml `---- I also have an abbrev-mode and skeleton expansion for 'plantuml' defined as follows: ,---- | (define-skeleton skel-org-block-plantuml | "Insert a org plantuml block, querying for filename." | "File (no extension): " | "#+begin_src plantuml :file " str ".png\n" | _ - \n | "#+end_src\n") | | (define-abbrev org-mode-abbrev-table "plantuml" "" | 'skel-org-block-plantuml) `---- When I select this subtree for export with C-c @ and then C-c C-e b I get prompted for the filename for expansion of 'plantuml'. For some reason the combination of 'src' and 'plantuml' triggers this abbrev mode expansion during export but I don't understand why. This line is actually part of a commit for my 'Update org-mode doc' task with a git short-log entry of ,---- | d9bba26 Define src edit mode for plantuml `---- I don't think export should be trying to expand the plantuml in this subtree. Do you have any idea what is going on here? Regards, Bernt Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Package: Org-mode version 7.7 (release_7.7.330.g774f)