all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
@ 2011-07-10 17:09 Steve Revilak
  2011-07-11  9:42 ` martin rudalics
  2011-07-11  9:42 ` martin rudalics
  0 siblings, 2 replies; 7+ messages in thread
From: Steve Revilak @ 2011-07-10 17:09 UTC (permalink / raw
  To: 9040


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

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':




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


Here is the output of bzr version-info

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

These are the sources that I built emacs with.



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/emacs-trunk/share/emacs/24.0.50/etc/DEBUG.


In GNU Emacs 24.0.50.1 (x86_64-suse-linux-gnu, GTK+ Version 2.20.1)
  of 2011-07-09 on sunny
Windowing system distributor `The X.Org Foundation', version 11.0.10800000
configured using `configure  '--prefix=/usr/local/emacs-trunk''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: C
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: @im=local
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<down> <S-iso-lefttab> <S-iso-lefttab> <S-iso-lefttab> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> C-c C-c M-x r e p o r t - e m a c s - 
b u <tab> <return> C-g C-g C-c C-c <down-mouse-1> <mouse-1> 
M-x <help-echo> r e p o r t - e m a c s - b u g <r
eturn>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
OVERVIEW [2 times]
CONTENTS...done
SHOW ALL
display-buffer: Wrong type argument: listp, t
Quit [2 times]
display-buffer: Wrong type argument: listp, t

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc
org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda
org-info org-gnus org-docview org-bibtex org-bbdb org byte-opt warnings
bytecomp byte-compile cconv macroexp advice help-fns advice-preload
ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src
ob-comint comint ring ob-keys ob ob-eval org-complete pcomplete org-list
org-faces org-compat org-entities org-macs noutline outline easy-mmode
regexp-opt cal-menu easymenu calendar cal-loaddefs time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

[-- Attachment #1.2: foo.org --]
[-- Type: text/plain, Size: 373 bytes --]

# -*- 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

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

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

* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
  2011-07-10 17:09 bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c Steve Revilak
  2011-07-11  9:42 ` martin rudalics
@ 2011-07-11  9:42 ` martin rudalics
  2011-07-11  9:49   ` Bastien
  2011-07-11  9:49   ` Bastien
  1 sibling, 2 replies; 7+ 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] 7+ messages in thread

* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
  2011-07-10 17:09 bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c Steve Revilak
@ 2011-07-11  9:42 ` martin rudalics
  2011-07-11  9:42 ` martin rudalics
  1 sibling, 0 replies; 7+ 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] 7+ messages in thread

* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
  2011-07-11  9:42 ` martin rudalics
@ 2011-07-11  9:49   ` Bastien
  2011-07-11  9:49   ` Bastien
  1 sibling, 0 replies; 7+ 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] 7+ messages in thread

* bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c
  2011-07-11  9:42 ` martin rudalics
  2011-07-11  9:49   ` Bastien
@ 2011-07-11  9:49   ` Bastien
  2011-07-12  0:05     ` Steve Revilak
  2011-07-12  0:05     ` Steve Revilak
  1 sibling, 2 replies; 7+ 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] 7+ 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
@ 2011-07-12  0:05     ` Steve Revilak
  1 sibling, 0 replies; 7+ messages in thread
From: Steve Revilak @ 2011-07-12  0:05 UTC (permalink / raw
  To: Bastien; +Cc: 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] 7+ 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
  2011-07-12  0:05     ` Steve Revilak
  1 sibling, 0 replies; 7+ 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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10 17:09 bug#9040: 24.0.50; wrong type argument: listp t when invoking org-ctrl-c-ctrl-c Steve Revilak
2011-07-11  9:42 ` martin rudalics
2011-07-11  9:42 ` martin rudalics
2011-07-11  9:49   ` Bastien
2011-07-11  9:49   ` Bastien
2011-07-12  0:05     ` Steve Revilak
2011-07-12  0:05     ` Steve Revilak

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.