From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: [PATCH] Bug in org-colview/org-beamer? Date: Sat, 31 Jul 2010 16:07:16 +0530 Message-ID: References: <868w4s3ygu.wl%simon.guest@tesujimath.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=000e0cd2989218ad6c048cac8d4e Return-path: Received: from [140.186.70.92] (port=37369 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Of9RP-0003kJ-9A for emacs-orgmode@gnu.org; Sat, 31 Jul 2010 06:37:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Of9RO-0001HM-62 for emacs-orgmode@gnu.org; Sat, 31 Jul 2010 06:37:19 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:48134) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of9RO-0001Gu-3K for emacs-orgmode@gnu.org; Sat, 31 Jul 2010 06:37:18 -0400 Received: by gyb11 with SMTP id 11so1177030gyb.0 for ; Sat, 31 Jul 2010 03:37:16 -0700 (PDT) In-Reply-To: <868w4s3ygu.wl%simon.guest@tesujimath.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Simon Guest Cc: emacs-org list --000e0cd2989218ad6c048cac8d4e Content-Type: multipart/alternative; boundary=000e0cd2989218ad61048cac8d4c --000e0cd2989218ad61048cac8d4c Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jul 31, 2010 at 12:54 PM, Simon Guest wrote: > Hi, > > I'm making my first real Org mode Beamer presentation, using org-mode > 7.01g, and trying to set the ignore_heading for a multi-column slide. > > In column mode, when I hit 'e' in the Env column, Emacs says: > Wrong type argument: commandp, org-beamer-set-environment-tag > (and org-beamer-set-environment-tag does not appear to be defined > anywhere). > > It's triggered from this code in org-colview.el > ((equal key "BEAMER_env") > (setq eval '(org-with-point-at pom > (call-interactively 'org-beamer-set-environment-tag)))) > > Any idea what's wrong? > > This function was renamed to org-beamer-select-environment and I think it was not changed here. The attached patch should solve the problem. * lisp/org-colview.el Use org-beamer-select-environment instead of org-beamer-set-environment-tag Thanks and Regards Noorul --000e0cd2989218ad61048cac8d4c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Jul 31, 2010 at 12:54 PM, Simon Guest <simon.guest@tesujimath.org> wrote:
Hi,

I'm making my first real Org mode Beamer presentation, using org-mode 7.01g, and trying to set the ignore_heading for a multi-column slide.

In column mode, when I hit 'e' in the Env column, Emacs says:
Wrong type argument: commandp, org-beamer-set-environment-tag
(and org-beamer-set-environment-tag does not appear to be defined
anywhere).

It's triggered from this code in org-colview.el
=A0 =A0 ((equal key "BEAMER_env")
=A0 =A0 =A0(setq eval '(org-with-point-at pom
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(call-interactively 'org-beamer= -set-environment-tag))))

Any idea what's wrong?


This function was renamed to org-beame= r-select-environment and I think it was not changed here.

The attached patch should solve the problem.

* lisp/org-colview.el
=A0=A0Use org-beamer-select-environmen= t instead of=A0org-beamer-set-environment-tag

Than= ks and Regards
Noorul

--000e0cd2989218ad61048cac8d4c-- --000e0cd2989218ad6c048cac8d4e Content-Type: text/plain; charset=US-ASCII; name="orgmode.columnview.diff.txt" Content-Disposition: attachment; filename="orgmode.columnview.diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gcabt7zh0 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLWNvbHZpZXcuZWwgYi9saXNwL29yZy1jb2x2aWV3LmVsCmlu ZGV4IDhjMGFkZTIuLmRjMGFiMDQgMTAwNjQ0Ci0tLSBhL2xpc3Avb3JnLWNvbHZpZXcuZWwKKysr IGIvbGlzcC9vcmctY29sdmlldy5lbApAQCAtNDY4LDcgKzQ2OCw3IEBAIFdoZXJlIHBvc3NpYmxl LCB1c2UgdGhlIHN0YW5kYXJkIGludGVyZmFjZSBmb3IgY2hhbmdpbmcgdGhpcyBsaW5lLiIKIAkJ ICAgIChjYWxsLWludGVyYWN0aXZlbHkgJ29yZy1zY2hlZHVsZSkpKSkKICAgICAgKChlcXVhbCBr ZXkgIkJFQU1FUl9lbnYiKQogICAgICAgKHNldHEgZXZhbCAnKG9yZy13aXRoLXBvaW50LWF0IHBv bQotCQkgICAgKGNhbGwtaW50ZXJhY3RpdmVseSAnb3JnLWJlYW1lci1zZXQtZW52aXJvbm1lbnQt dGFnKSkpKQorCQkgICAgKGNhbGwtaW50ZXJhY3RpdmVseSAnb3JnLWJlYW1lci1zZWxlY3QtZW52 aXJvbm1lbnQpKSkpCiAgICAgICh0CiAgICAgICAoc2V0cSBhbGxvd2VkIChvcmctcHJvcGVydHkt Z2V0LWFsbG93ZWQtdmFsdWVzIHBvbSBrZXkgJ3RhYmxlKSkKICAgICAgIChpZiBhbGxvd2VkCg== --000e0cd2989218ad6c048cac8d4e Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --000e0cd2989218ad6c048cac8d4e--