emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* No operator defined for property header-args
@ 2017-06-05 10:31 Kevin Foley
  2017-06-05 21:00 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Foley @ 2017-06-05 10:31 UTC (permalink / raw)
  To: emacs-orgmode

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

I'm getting the error "No operator defined for property header-args" when
trying to run `org-property-action` on the `header-args` property below:

    * outline header
    :PROPERTIES:
    :header-args:bash:    :tangle yes
    :END:

I'm able to set the same properties using

    #+PROPERTY: header-args:bash :tangle yes

I've tried running `emacs -Q` and get the same error.  I'm using
org-version is 9.0.7

[-- Attachment #2: Type: text/html, Size: 617 bytes --]

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

* Re: No operator defined for property header-args
  2017-06-05 10:31 No operator defined for property header-args Kevin Foley
@ 2017-06-05 21:00 ` Nicolas Goaziou
  2017-06-06 11:26   ` Kevin Foley
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2017-06-05 21:00 UTC (permalink / raw)
  To: Kevin Foley; +Cc: emacs-orgmode

Hello,

Kevin Foley <kfoley15@gmail.com> writes:

> I'm getting the error "No operator defined for property header-args" when
> trying to run `org-property-action` on the `header-args` property below:
>
>     * outline header
>     :PROPERTIES:
>     :header-args:bash:    :tangle yes
>     :END:
>
> I'm able to set the same properties using
>
>     #+PROPERTY: header-args:bash :tangle yes
>
> I've tried running `emacs -Q` and get the same error.  I'm using
> org-version is 9.0.7

I'm not able to reproduce it. Could you post an ECM and a backtrace?

Regards,

-- 
Nicolas Goaziou

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

* Re: No operator defined for property header-args
  2017-06-05 21:00 ` Nicolas Goaziou
@ 2017-06-06 11:26   ` Kevin Foley
  2017-06-06 12:13     ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Foley @ 2017-06-06 11:26 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode


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

I've attached an ECM and below is my attempt at the backtrace.  Let me know
if I missed something.

* org-at-property-p()
* #[0 "\301 \204 \302\303!\210\304\305!\306 \210\307\310 \311#8\204
\302\312 \"\210\313 !\207" [org-columns-current-fmt-compiled
org-at-property-p user-error "Not at a property" match-string-no-properties
2 org-columns-get-format-and-top-level 3 assoc-string t "No operator
defined for property %s" org-columns-compute] 6
("/home/kevin/.emacs.d/lib/org/lisp/org.elc"
. 550375) nil]()
* apply(#[0 "\301 \204 \302\303!\210\304\305!\306 \210\307\310 \311#8\204
\302\312 \"\210\313 !\207" [org-columns-current-fmt-compiled
org-at-property-p user-error "Not at a property" match-string-no-properties
2 org-columns-get-format-and-top-level 3 assoc-string t "No operator
defined for property %s" org-columns-compute] 6
("/home/kevin/.emacs.d/lib/org/lisp/org.elc"
. 550375) nil] nil)
* org-compute-property-at-point()
  funcall-interactively(org-compute-property-at-point)
  call-interactively(org-compute-property-at-point)
  org-property-action()
  funcall-interactively(org-property-action)
  call-interactively(org-property-action)
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)

Thanks,
Kevin Foley

On Mon, Jun 5, 2017 at 5:00 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Kevin Foley <kfoley15@gmail.com> writes:
>
> > I'm getting the error "No operator defined for property header-args" when
> > trying to run `org-property-action` on the `header-args` property below:
> >
> >     * outline header
> >     :PROPERTIES:
> >     :header-args:bash:    :tangle yes
> >     :END:
> >
> > I'm able to set the same properties using
> >
> >     #+PROPERTY: header-args:bash :tangle yes
> >
> > I've tried running `emacs -Q` and get the same error.  I'm using
> > org-version is 9.0.7
>
> I'm not able to reproduce it. Could you post an ECM and a backtrace?
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #1.2: Type: text/html, Size: 3347 bytes --]

[-- Attachment #2: header-args-ecm.org --]
[-- Type: application/octet-stream, Size: 107 bytes --]

* outline header
:PROPERTIES:
:header-args:bash:    :tangle yes
:END:

#+BEGIN_SRC bash
  ls -la
#+END_SRC

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

* Re: No operator defined for property header-args
  2017-06-06 11:26   ` Kevin Foley
@ 2017-06-06 12:13     ` Nicolas Goaziou
  2017-06-07 15:15       ` Kevin Foley
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2017-06-06 12:13 UTC (permalink / raw)
  To: Kevin Foley; +Cc: emacs-orgmode

Hello,

Kevin Foley <kfoley15@gmail.com> writes:

> I've attached an ECM and below is my attempt at the backtrace.  Let me know
> if I missed something.
>
> * org-at-property-p()
> * #[0 "\301 \204 \302\303!\210\304\305!\306 \210\307\310 \311#8\204
> \302\312 \"\210\313 !\207" [org-columns-current-fmt-compiled
> org-at-property-p user-error "Not at a property" match-string-no-properties
> 2 org-columns-get-format-and-top-level 3 assoc-string t "No operator
> defined for property %s" org-columns-compute] 6
> ("/home/kevin/.emacs.d/lib/org/lisp/org.elc"
> . 550375) nil]()
> * apply(#[0 "\301 \204 \302\303!\210\304\305!\306 \210\307\310 \311#8\204
> \302\312 \"\210\313 !\207" [org-columns-current-fmt-compiled
> org-at-property-p user-error "Not at a property" match-string-no-properties
> 2 org-columns-get-format-and-top-level 3 assoc-string t "No operator
> defined for property %s" org-columns-compute] 6
> ("/home/kevin/.emacs.d/lib/org/lisp/org.elc"
> . 550375) nil] nil)
> * org-compute-property-at-point()
>   funcall-interactively(org-compute-property-at-point)
>   call-interactively(org-compute-property-at-point)
>   org-property-action()
>   funcall-interactively(org-property-action)
>   call-interactively(org-property-action)
>   org-ctrl-c-ctrl-c(nil)
>   funcall-interactively(org-ctrl-c-ctrl-c nil)
>   call-interactively(org-ctrl-c-ctrl-c nil nil)
>   command-execute(org-ctrl-c-ctrl-c)

AFAIU, when you are offered the `org-property-action' menu, you press
"c", for `org-compute-property-at-point'.

As a consequence, the error is expected since there is nothing to
compute here. What did you expect instead?

Regards,

-- 
Nicolas Goaziou

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

* Re: No operator defined for property header-args
  2017-06-06 12:13     ` Nicolas Goaziou
@ 2017-06-07 15:15       ` Kevin Foley
  2017-06-07 16:20         ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Foley @ 2017-06-07 15:15 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

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

Ah okay it's my misunderstanding then.  I'm trying to refresh the local
setup to apply a different set of header args to that tree.

After some research it looks like I should just be calling
org-mode-restart.  Does that seem correct?

Thanks,
Kevin


On Tue, Jun 6, 2017 at 8:13 AM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Kevin Foley <kfoley15@gmail.com> writes:
>
> > I've attached an ECM and below is my attempt at the backtrace.  Let me
> know
> > if I missed something.
> >
> > * org-at-property-p()
> > * #[0 "\301 \204 \302\303!\210\304\305!\306 \210\307\310 \311#8\204
> > \302\312 \"\210\313 !\207" [org-columns-current-fmt-compiled
> > org-at-property-p user-error "Not at a property"
> match-string-no-properties
> > 2 org-columns-get-format-and-top-level 3 assoc-string t "No operator
> > defined for property %s" org-columns-compute] 6
> > ("/home/kevin/.emacs.d/lib/org/lisp/org.elc"
> > . 550375) nil]()
> > * apply(#[0 "\301 \204 \302\303!\210\304\305!\306 \210\307\310 \311#8\204
> > \302\312 \"\210\313 !\207" [org-columns-current-fmt-compiled
> > org-at-property-p user-error "Not at a property"
> match-string-no-properties
> > 2 org-columns-get-format-and-top-level 3 assoc-string t "No operator
> > defined for property %s" org-columns-compute] 6
> > ("/home/kevin/.emacs.d/lib/org/lisp/org.elc"
> > . 550375) nil] nil)
> > * org-compute-property-at-point()
> >   funcall-interactively(org-compute-property-at-point)
> >   call-interactively(org-compute-property-at-point)
> >   org-property-action()
> >   funcall-interactively(org-property-action)
> >   call-interactively(org-property-action)
> >   org-ctrl-c-ctrl-c(nil)
> >   funcall-interactively(org-ctrl-c-ctrl-c nil)
> >   call-interactively(org-ctrl-c-ctrl-c nil nil)
> >   command-execute(org-ctrl-c-ctrl-c)
>
> AFAIU, when you are offered the `org-property-action' menu, you press
> "c", for `org-compute-property-at-point'.
>
> As a consequence, the error is expected since there is nothing to
> compute here. What did you expect instead?
>
> Regards,
>
> --
> Nicolas Goaziou
>
-- 
Thanks,
Kevin Foley

[-- Attachment #2: Type: text/html, Size: 2911 bytes --]

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

* Re: No operator defined for property header-args
  2017-06-07 15:15       ` Kevin Foley
@ 2017-06-07 16:20         ` Nicolas Goaziou
  2017-06-08  1:02           ` Kevin Foley
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2017-06-07 16:20 UTC (permalink / raw)
  To: Kevin Foley; +Cc: emacs-orgmode

Hello,

Kevin Foley <kfoley15@gmail.com> writes:

> Ah okay it's my misunderstanding then.  I'm trying to refresh the local
> setup to apply a different set of header args to that tree.
>
> After some research it looks like I should just be calling
> org-mode-restart.  Does that seem correct?

I don't think you need to refresh anything for node properties. I.e.,
the new value will be used during next evaluation.


Regards,

-- 
Nicolas Goaziou

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

* Re: No operator defined for property header-args
  2017-06-07 16:20         ` Nicolas Goaziou
@ 2017-06-08  1:02           ` Kevin Foley
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Foley @ 2017-06-08  1:02 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

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

You're right, I thought because a refresh was needed for #+PROPERTY: it was
also needed for property blocks.  Thanks for your help.

Thanks,
Kevin Foley

On Wed, Jun 7, 2017 at 12:20 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Kevin Foley <kfoley15@gmail.com> writes:
>
> > Ah okay it's my misunderstanding then.  I'm trying to refresh the local
> > setup to apply a different set of header args to that tree.
> >
> > After some research it looks like I should just be calling
> > org-mode-restart.  Does that seem correct?
>
> I don't think you need to refresh anything for node properties. I.e.,
> the new value will be used during next evaluation.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1394 bytes --]

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

end of thread, other threads:[~2017-06-08  1:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-05 10:31 No operator defined for property header-args Kevin Foley
2017-06-05 21:00 ` Nicolas Goaziou
2017-06-06 11:26   ` Kevin Foley
2017-06-06 12:13     ` Nicolas Goaziou
2017-06-07 15:15       ` Kevin Foley
2017-06-07 16:20         ` Nicolas Goaziou
2017-06-08  1:02           ` Kevin Foley

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