From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: New Beamer environment selection problem Date: Wed, 27 Apr 2016 16:39:36 +0300 Message-ID: <87bn4v1887.fsf@iki.fi> References: <878tzzv26g.fsf@iki.fi> <87k2jjl64z.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPh7-0002C0-Cb for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 09:39:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avPh2-0006YH-DX for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 09:39:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:34170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPh2-0006Xr-6o for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 09:39:52 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1avPgx-0007zb-J2 for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 15:39:47 +0200 Received: from host-137-163-18-130.edu.hel.fi ([137.163.18.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2016 15:39:47 +0200 Received: from jarmo.hurri by host-137-163-18-130.edu.hel.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2016 15:39:47 +0200 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" To: emacs-orgmode@gnu.org Nicolas Goaziou writes: >> The newest versions of org (pulled from git) introduced a problem in my >> use of beamer. Consider the following org file >> >> #------------------------------------------------------------------- >> #+STARTUP: beamer >> * foo >> ** bar >> #------------------------------------------------------------------- >> >> Earlier, when I moved my cursor to the end of word "bar" and pressed >> "C-c C-b" for (org-beamer-select-environment), I was able to select a >> beamer environment. Now I get an error >> >> apply: Wrong number of arguments: max, 0 >> >> Any ideas? > > I cannot reproduce it. Could you send a detailed backtrace? Is this detailed enough? Debugger entered--Lisp error: (wrong-number-of-arguments max 0) max() apply(max nil) org-fast-tag-selection(nil nil nil nil) org-set-tags() org-beamer-select-environment() call-interactively(org-beamer-select-environment nil nil) command-execute(org-beamer-select-environment) > Could you also check you're not experiencing a mixed installation? This is a printout of (org-version): Org-mode version 8.3.4 (release_8.3.4-758-g1daac7 @ /home/jarmo/addons/emacs-packages/org/lisp/) Also, in (list-load-path-shadows) all the directories that hide other stuff point to the up-to-date org installation. In addition, in my .emacs, load-path is updated to include the correct org lisp directory before any org stuff is loaded. But it is true that this isn't the only weird thing I have seen recently. I still haven't been able to solve my Babel shell problem I posted earlier. Jarmo