emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
       [not found] <20110710170905.GA7629@srevilak.net>
@ 2011-07-11  9:42 ` martin rudalics
       [not found] ` <4E1AC57F.5000200@gmx.at>
  1 sibling, 0 replies; 3+ messages in thread
From: martin rudalics @ 2011-07-11  9:42 UTC (permalink / raw)
  To: Steve Revilak; +Cc: 9040

 > 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
       [not found] ` <4E1AC57F.5000200@gmx.at>
@ 2011-07-11  9:49   ` Bastien
  2011-07-12  0:05     ` Steve Revilak
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2011-07-11  9:49 UTC (permalink / raw)
  To: martin rudalics; +Cc: 9040, Steve Revilak

Hi Martin and Steve,

martin rudalics <rudalics@gmx.at> writes:

> which is probably the expected behavior.  What shall I do?

Nothing.  I cannot reproduce this error, and this is surely 
an old error -- will be fixed when I commit Org 7.6 or 7.6.1
to Emacs trunk.

Thanks for looking into this,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
  2011-07-11  9:49   ` Bastien
@ 2011-07-12  0:05     ` Steve Revilak
  0 siblings, 0 replies; 3+ messages in thread
From: Steve Revilak @ 2011-07-12  0:05 UTC (permalink / raw)
  To: Bastien; +Cc: martin rudalics, 9040-done

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

Martin and Bastien,

Thank you for following up on my bug report.

I did a bzr pull and rebuilt emacs.  The behavior I described earlier
no longer occurs.

Sorry for the trouble.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-12  0:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20110710170905.GA7629@srevilak.net>
2011-07-11  9:42 ` bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c martin rudalics
     [not found] ` <4E1AC57F.5000200@gmx.at>
2011-07-11  9:49   ` Bastien
2011-07-12  0:05     ` Steve Revilak

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).