From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c Date: Mon, 11 Jul 2011 11:42:23 +0200 Message-ID: <4E1AC57F.5000200@gmx.at> References: <20110710170905.GA7629@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310377421 12305 80.91.229.12 (11 Jul 2011 09:43:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 09:43:41 +0000 (UTC) Cc: 9040@debbugs.gnu.org To: Steve Revilak Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 11:43:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgD1X-0003lV-Sp for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 11:43:32 +0200 Original-Received: from localhost ([::1]:42290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgD1W-0004bt-Ne for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 05:43:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgD1A-0004av-6o for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 05:43:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgD18-0000eQ-Tn for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 05:43:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgD15-0000dy-8R; Mon, 11 Jul 2011 05:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QgD13-0008Lx-MI; Mon, 11 Jul 2011 05:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Mon, 11 Jul 2011 09:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9040 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 9040-submit@debbugs.gnu.org id=B9040.131037735832078 (code B ref 9040); Mon, 11 Jul 2011 09:43:01 +0000 Original-Received: (at 9040) by debbugs.gnu.org; 11 Jul 2011 09:42:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgD0f-0008LL-3n for submit@debbugs.gnu.org; Mon, 11 Jul 2011 05:42:37 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QgD0d-0008L8-3U for 9040@debbugs.gnu.org; Mon, 11 Jul 2011 05:42:36 -0400 Original-Received: (qmail invoked by alias); 11 Jul 2011 09:42:28 -0000 Original-Received: from 62-47-58-36.adsl.highway.telekom.at (EHLO [62.47.58.36]) [62.47.58.36] by mail.gmx.net (mp044) with SMTP; 11 Jul 2011 11:42:28 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19ywsQaM75y+m8V3lBaEqVYPS5dqj9CtEY+iKOomk olmdKBROzmsTKl User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <20110710170905.GA7629@srevilak.net> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 11 Jul 2011 05:43:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48549 Archived-At: > I've discovered a problem with org-mode on the trunk version of emacs; > typing ctrl-c ctrl-c to add a tag results in "Wrong type argument: > listp, t". > > Here are steps to reproduce: > > (1) Place the following in a file named "foo.org" (not including the > lines of "=" signs.) > > ================================================================== > # -*- mode: org; -*- > > #+STARTUP: logdone > #+TAGS: bb(b) dw(d) holiday(a) meeting(m) note(n) q(q) releng(r) > sysadmin(s) eng(e) other(o) > > * Top level > ** second level 1 > *** third level > 1 :b: > CLOCK: [2011-07-10 Sun 12:44]--[2011-07-10 Sun 12:44] => 0:00 > > ** second level 2 > *** third level > 2 :b: > CLOCK: [2011-07-10 Sun 12:46] > > material for third level > ================================================================== > > (2) Open foo.org with emacs: > > emacs -Q foo.org > > (3) place point in the first column of "third level 2" (line 12). > > (3) Attempt to add the "meeting" tag to line 12 by typing "C-c C-c m > RET". > > Expected behavior: after typing C-c C-c, org mode should present a > list of pre-defined tags. Emacs 23.3 exhibits this behavior. > > Observed behavior: typing C-c C-c produces the following message in the > minibuffer: Wrong type argument: listp, t Thanks for the fine report. Unfortunately, I can't reproduce this since the text following "Top level" is hidden here. foo.org appears as # -*- mode: org; -*- #+STARTUP: logdone #+TAGS: bb(b) dw(d) holiday(a) meeting(m) note(n) q(q) releng(r) sysadmin(s) eng(e) other(o) * Top level If I manually insert its text into a new buffer foo.org. the buffer after step (3) looks like # -*- mode: org; -*- #+STARTUP: logdone #+TAGS: bb(b) dw(d) holiday(a) meeting(m) note(n) q(q) releng(r) sysadmin(s) eng(e) other(o) * Top level ** second level 1 *** third level 1 :b: CLOCK: [2011-07-10 Sun 12:44]--[2011-07-10 Sun 12:44] => 0:00 ** second level 2 *** third level 2 :meeting:b: CLOCK: [2011-07-10 Sun 12:46] material for third level which is probably the expected behavior. What shall I do? > --------------------------------- > $ bzr version-info > revision-id: rudalics@gmx.at-20110709123238-vs7l1ocolzez5ibf > date: 2011-07-09 14:32:38 +0200 > build-date: 2011-07-10 12:53:42 -0400 > revno: 105058 > branch-nick: trunk > --------------------------------- Chong has fixed some silliness in that code, so maybe this has been fixed already. Please upgrade. > display-buffer: Wrong type argument: listp, t > Quit [2 times] > display-buffer: Wrong type argument: listp, t If the error persists, could you try to edebug `display-buffer' before org calls it and tell me the value of "normalized" calculated in these lines: (normalized ;; Normalize specifiers. (display-buffer-normalize-specifiers buffer-name specifiers label)) Thanks, martin