emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maria Shinoto <maria@shinoto.de>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
Date: Sun, 14 Aug 2016 09:03:00 +0900	[thread overview]
Message-ID: <d22d971a-be9d-6d03-c186-c07b0c9eda7c@shinoto.de> (raw)
In-Reply-To: <m24m6oxlu4.fsf@tsdye.com>

Aloha Tom,

this seems to be the right direction. I updated from Melpa, which was 
recommended in several web pages about org mode. Will try to figure it 
out and write about my findings.

Best,
Maria

Am 14.08.16 um 08:58 schrieb Thomas S. Dye:
> Aloha Maria,
>
> When I press Ctrl-h v and type org-planning-line-re <RET>, I get this:
>
> ,------------------------------------------------------------------------
> | org-planning-line-re is a variable defined in `org.el'.
> | Its value is "^[        ]*\\(\\(?:CLOSED\\|DEADLINE\\|SCHEDULED\\):\\)"
> |
> |   This variable may be risky if used as a file-local variable.
> |
> | Documentation:
> | Matches a line with planning info.
> | Matched keyword is in group 1.
> `------------------------------------------------------------------------
>
> I'm not an expert, but I think your installation might be mixed, which
> sometimes happens installing Org mode from ELPA.  See
> http://orgmode.org/worg/org-faq.html#mixed-install.
>
> hth,
> Tom
>
> Maria Shinoto writes:
>
>> Hi,
>>
>> Thanks a lot for your help、I tried the options, but CUA Keys were not
>> selected. There is nothing about CUA keys in my .emacs file either.
>>
>> Now I put on the Debugger -- unfortunately, I do not know anything about
>> elisp.
>>
>> I set the cursor on a list item line with checkbox marked "X" and typed
>> C-c C-c, getting the typical message:
>>
>> "Symbol's value as variable is void: org-planning-line-re"
>>
>>
>> This is the message I got in the Debugger, I hope this gives a hint to
>> my problem:
>>
>>
>> ***************************
>>>> Debugger entered--Lisp error: (void-variable org-planning-line-re)
>>>>   org-element--current-element(330 element planning nil)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ...
>>>> ...
>>>> ...
>>>> 	\n" beginning-of-line throw exit :parent re-search-backward :contents-begin
>>    :end outline-next-heading input-pending-p time-less-p current-time
>> interrupt org-element--current-element
>> :structure org-add-props plist-put org-element--cache-put plain-text eql
>> headline section inlinetask
>> plain-list item property-drawer node-property table table-row
>> :contents-end (plain-list table) ...] 9)
>>>>   org-element--parse-to(142)
>>>>   org-element-at-point()
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> \x1a\x15
>>
>>    [next restriction object-data completep objects parent
>> org-element--object-lex throw exit
>> :end get-text-property 0 plist-get nil :begin found :parent
>> org-add-props plist-put t
>> element property cache-limit pos object --dolist-tail-- value v] 6)
>> :begin get-text-property 0
>> plist-get throw exit :end :contents-begin :contents-end (32 9) (32 9)
>> plain-text property pos
>> last cend cbeg end org-element-object-restrictions restriction] 7)
>> org-element--cache-put
>> org-element--affiliated-re org-element-parsed-keywords tag
>> org-complex-heading-regexp end org-comment-string ...] 7)
>>>>   org-element-context()
>>>>   org-ctrl-c-ctrl-c(nil)
>>>>   call-interactively(org-ctrl-c-ctrl-c nil nil)
>>>>   command-execute(org-ctrl-c-ctrl-c)
>>
>>
>> ***************************
>>
>>
>> Maria
>>
>>
>> PS I had to delete all byte-code in order to get the message sent.
>> Really feel like a beginner...
>>
>>
>>
>> Am 13.08.16 um 19:45 schrieb Axel Kielhorn:
>>    >
>>    >> Am 13.08.2016 um 09:41 schrieb Maria Shinoto <maria@shinoto.de>:
>>    >>
>>    >> Message-ID:
>> <m24m6pw4i8.fsf@Marias-iMac.local.i-did-not-set--mail-host-address--so-tickle-me>
>>    >>
>>    >>
>>    >>
>>    >> Hi,
>>    >>
>>    >> I am learning Org-mode and Emacs on a Mac, and got everything working
>>    >> fine, except for the key combination C-c C-c.
>>    >>
>>    >> C-c C-c should update states in certain contexts, e.g. toggle the
>> state of a check box and the counter of tasks finished in the header of
>> such a check box list.
>>    >>
>>    >> In the Emacs UI for Mac (not Aquamac), this key combination does not
>>    >> work, it is org mode version 8.2.10.
>>    >>
>>    >> It does work when I call emacs from the terminal though, where
>> org-mode version is 4.67c.
>>    >>
>>    >> Is there something wrong with the newer Org mode versions?
>>    >
>>    > You probably have „Options | Use CUA Keys“ set in the GUI Version.
>>    > This maps C-C, C-X, C-V to copy, cut, paste.
>>    >
>>    > Since the default is off (nil) you may have activated it somehow,
>> maybe an init.el you copied from somewhere?
>>    >
>>    > I have the same Emacs you have and here everything ist fine.
>>    >
>>    > Axel
>>    >
>>    >
>
>

  reply	other threads:[~2016-08-14  0:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-13  7:41 Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs [8.2.10 (release_8.2.10 @ /Users/home/.emacs.d/elpa/org-20160801/)] Maria Shinoto
2016-08-13 10:45 ` Axel Kielhorn
2016-08-13 23:44   ` Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs Maria Shinoto
2016-08-13 23:58     ` Thomas S. Dye
2016-08-14  0:03       ` Maria Shinoto [this message]
2016-08-14  0:14       ` Maria Shinoto
2016-08-14  0:28         ` Maria Shinoto
2016-08-14  1:35           ` Thomas S. Dye
2016-08-14  1:38             ` Maria Shinoto
2016-08-14  2:17               ` Thomas S. Dye
2016-08-14  6:55                 ` Maria Shinoto
2016-08-14  7:46                   ` Axel Kielhorn
2016-08-14  8:09                     ` Maria Shinoto
2016-08-14  8:28                       ` Maria Shinoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d22d971a-be9d-6d03-c186-c07b0c9eda7c@shinoto.de \
    --to=maria@shinoto.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).