[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Error when using org-ctrl-c-ctrl-c to add tags
From: |
Vicente Vera |
Subject: |
Re: [O] Error when using org-ctrl-c-ctrl-c to add tags |
Date: |
Sun, 19 Apr 2015 12:03:42 -0300 |
Hello Marc. Yes, upon further inspection it seems the problem is in
org-icompleting-read. This function is complaining that
org-tags-completion--function---one of its arguments---is not a list.
2015-04-19 11:36 GMT-03:00 Marc Ihm <address@hidden>:
> Vicente Vera <address@hidden> writes:
>
>> Hi.
>> Don't think there are more details to provide. The error message
>> appears upon pressing C-c C-c (bound to the org-ctrl-c-ctrl-c command)
>> on a headline, doesn't matter which level.
>> It happened in 3 different Org files, one of which was created for testing.
>> Also tried with "emacs -q" but the error persisted.
>>
>> Strange message though, org-tags-completion-function is a function,
>> not a variable, so why is Emacs complaining that it isn't a list?
>> Probably related to commit acf7f47ecd20a48c05f97dc660b00d1850b57e10?
>
> I see this error too; the patch below fixes it for me (and corrects the
> nexting level of 'completing-read too ...)
>
> best regards
> Marc
>
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 8a00847..f440382 100755
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -10512,10 +10512,11 @@ from."
> (listp (second args)))
> 'org-iswitchb-completing-read)
> (t (or (and (boundp 'completing-read-function)
> - completing-read-function)
> - 'completing-read)))
> + completing-read-function))
> + 'completing-read))
> (concat (car args))
> - (if (consp (car (nth 1 args)))
> + (if (and (consp (nth 1 args))
> + (consp (car (nth 1 args))))
> (mapcar 'car (nth 1 args))
> (nth 1 args))
> (cddr args)))))
- [O] Error when using org-ctrl-c-ctrl-c to add tags, Vicente Vera, 2015/04/17
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Vicente Vera, 2015/04/18
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Marc Ihm, 2015/04/19
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Rasmus, 2015/04/19
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags,
Vicente Vera <=
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Marc Ihm, 2015/04/19
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Vicente Vera, 2015/04/19
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Rasmus, 2015/04/20
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Rasmus, 2015/04/20
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Marc Ihm, 2015/04/20
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Ken Mankoff, 2015/04/26
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Rasmus, 2015/04/27
- Re: [O] Error when using org-ctrl-c-ctrl-c to add tags, Ken Mankoff, 2015/04/27