emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam <noorul@noorul.com>
To: Simon Guest <simon.guest@tesujimath.org>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: [PATCH] Bug in org-colview/org-beamer?
Date: Sat, 31 Jul 2010 16:07:16 +0530	[thread overview]
Message-ID: <AANLkTimHMebUD-keygj1XD5cxO0uRffbrspBSjFgwOO5@mail.gmail.com> (raw)
In-Reply-To: <868w4s3ygu.wl%simon.guest@tesujimath.org>


[-- Attachment #1.1: Type: text/plain, Size: 949 bytes --]

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
>     ((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

[-- Attachment #1.2: Type: text/html, Size: 1407 bytes --]

[-- Attachment #2: orgmode.columnview.diff.txt --]
[-- Type: text/plain, Size: 568 bytes --]

diff --git a/lisp/org-colview.el b/lisp/org-colview.el
index 8c0ade2..dc0ab04 100644
--- a/lisp/org-colview.el
+++ b/lisp/org-colview.el
@@ -468,7 +468,7 @@ Where possible, use the standard interface for changing this line."
 		    (call-interactively 'org-schedule))))
      ((equal key "BEAMER_env")
       (setq eval '(org-with-point-at pom
-		    (call-interactively 'org-beamer-set-environment-tag))))
+		    (call-interactively 'org-beamer-select-environment))))
      (t
       (setq allowed (org-property-get-allowed-values pom key 'table))
       (if allowed

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-07-31 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-31  7:24 Bug in org-colview/org-beamer? Simon Guest
2010-07-31 10:37 ` Noorul Islam [this message]
2010-07-31 10:48   ` Patchwork: Patch 184 Accepted Bastien Guerry
2010-07-31 10:48   ` [PATCH] Bug in org-colview/org-beamer? Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimHMebUD-keygj1XD5cxO0uRffbrspBSjFgwOO5@mail.gmail.com \
    --to=noorul@noorul.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=simon.guest@tesujimath.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).