Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
I'm not an expert, but instead of trying to adjust the initialization files I'd re-install Org mode following the instructions here: http://orgmode.org/worg/org-faq.html#installing-via-elpa. hth, Tom Maria Shinoto writes: > So should I delete the line > > /Applications/Emacs.app/Contents/Resources/lisp/org > > and leave the one on top > > /Users/mariashinoto/.emacs.d/elpa/org-20160808/ > > ? > > Maria > > > > > Am 14.08.16 um 10:35 schrieb Thomas S. Dye: >> According to the web site, you should see the path to the latest >> Org mode. Yours points to the Org mode that ships with Emacs. If >> you've updated Org mode independently of Emacs, then Emacs isn't finding >> the latest Org mode correctly. >> >> hth, >> Tom >> >> Maria Shinoto writes: >> >>> and again... >>> >>> I got the load-path variable with C-h v load-path RET, it looks like this: >>> >>> >>> load-path is a variable defined in `C source code'. >>> Its value is >>> ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" >>> "/usr/share/emacs/site-lisp/org" "/Library/Application >>> Support/Emacs/24.5/site-lisp" "/Library/Application >>> Support/Emacs/site-lisp" >>> "/Applications/Emacs.app/Contents/Resources/site-lisp" >>> "/Applications/Emacs.app/Contents/Resources/lisp" >>> "/Applications/Emacs.app/Contents/Resources/lisp/vc" >>> "/Applications/Emacs.app/Contents/Resources/lisp/url" >>> "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" >>> "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" >>> "/Applications/Emacs.app/Contents/Resources/lisp/play" >>> "/Applications/Emacs.app/Contents/Resources/lisp/org" >> ^^ >> >>> "/Applications/Emacs.app/Contents/Resources/lisp/nxml" >>> "/Applications/Emacs.app/Contents/Resources/lisp/net" >>> "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" >>> "/Applications/Emacs.app/Contents/Resources/lisp/mail" >>> "/Applications/Emacs.app/Contents/Resources/lisp/leim" >>> "/Applications/Emacs.app/Contents/Resources/lisp/language" >>> "/Applications/Emacs.app/Contents/Resources/lisp/international" >>> "/Applications/Emacs.app/Contents/Resources/lisp/gnus" >>> "/Applications/Emacs.app/Contents/Resources/lisp/eshell" >>> "/Applications/Emacs.app/Contents/Resources/lisp/erc" >>> "/Applications/Emacs.app/Contents/Resources/lisp/emulation" >>> "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" >>> "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" >>> "/Applications/Emacs.app/Contents/Resources/lisp/cedet" >>> "/Applications/Emacs.app/Contents/Resources/lisp/calendar" >>> "/Applications/Emacs.app/Contents/Resources/lisp/calc" >>> "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") >>> >>> >>>This variable may be risky if used as a file-local variable. >>> >>> Documentation: >>> List of directories to search for files to load. >>> Each element is a string (directory name) or nil (meaning >>> `default-directory'). >>> Initialized during startup as described in Info node `(elisp)Library >>> Search'. >>> * >>> >>> >>> In my beloved BBEdit, I created this list: >>> >>> * >>> ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" >>> "/usr/share/emacs/site-lisp/org" >>> "/Library/Application Support/Emacs/24.5/site-lisp" >>> "/Library/Application Support/Emacs/site-lisp" >>> "/Applications/Emacs.app/Contents/Resources/site-lisp" >>> "/Applications/Emacs.app/Contents/Resources/lisp" >>> "/Applications/Emacs.app/Contents/Resources/lisp/vc" >>> "/Applications/Emacs.app/Contents/Resources/lisp/url" >>> "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" >>> "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" >>> "/Applications/Emacs.app/Contents/Resources/lisp/play" >>> "/Applications/Emacs.app/Contents/Resources/lisp/org" >>> "/Applications/Emacs.app/Contents/Resources/lisp/nxml" >>> "/Applications/Emacs.app/Contents/Resources/lisp/net" >>> "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" >>> "/Applications/Emacs.app/Contents/Resources/lisp/mail" >>> "/Applications/Emacs.app/Contents/Resources/lisp/leim" >>> "/Applications/Emacs.app/Contents/Resources/lisp/language" >>> "/Applications/Emacs.app/Contents/Resources/lisp/international" >>> "/Applications/Emacs.app/Contents/Resources/lisp/gnus" >>> "/Applications/Emacs.app/Contents/Resources/lisp/eshell" >>> "/Applications/Emacs.app/Contents/Resources/lisp/erc" >>> "/Applications/Emacs.app/Contents/Resources/lisp/emulation" >>> "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" >>> "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" >>> "/Applications/Emacs.app/Contents/Resources/lisp/cedet" >>> "/Applications/Emacs.app/Contents/Resources/lisp/calendar" >>> "/Applications/Emacs.app/Contents/Resources/lisp/calc" >>> "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") >>> ** >>> >>> So, another /org path is there. Could this be the problem, or anything else? >>> >>> Looking forward to answers and
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
So should I delete the line /Applications/Emacs.app/Contents/Resources/lisp/org and leave the one on top /Users/mariashinoto/.emacs.d/elpa/org-20160808/ ? Maria Am 14.08.16 um 10:35 schrieb Thomas S. Dye: According to the web site, you should see the path to the latest Org mode. Yours points to the Org mode that ships with Emacs. If you've updated Org mode independently of Emacs, then Emacs isn't finding the latest Org mode correctly. hth, Tom Maria Shinoto writes: and again... I got the load-path variable with C-h v load-path RET, it looks like this: load-path is a variable defined in `C source code'. Its value is ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" "/usr/share/emacs/site-lisp/org" "/Library/Application Support/Emacs/24.5/site-lisp" "/Library/Application Support/Emacs/site-lisp" "/Applications/Emacs.app/Contents/Resources/site-lisp" "/Applications/Emacs.app/Contents/Resources/lisp" "/Applications/Emacs.app/Contents/Resources/lisp/vc" "/Applications/Emacs.app/Contents/Resources/lisp/url" "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" "/Applications/Emacs.app/Contents/Resources/lisp/play" "/Applications/Emacs.app/Contents/Resources/lisp/org" ^^ "/Applications/Emacs.app/Contents/Resources/lisp/nxml" "/Applications/Emacs.app/Contents/Resources/lisp/net" "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" "/Applications/Emacs.app/Contents/Resources/lisp/mail" "/Applications/Emacs.app/Contents/Resources/lisp/leim" "/Applications/Emacs.app/Contents/Resources/lisp/language" "/Applications/Emacs.app/Contents/Resources/lisp/international" "/Applications/Emacs.app/Contents/Resources/lisp/gnus" "/Applications/Emacs.app/Contents/Resources/lisp/eshell" "/Applications/Emacs.app/Contents/Resources/lisp/erc" "/Applications/Emacs.app/Contents/Resources/lisp/emulation" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" "/Applications/Emacs.app/Contents/Resources/lisp/cedet" "/Applications/Emacs.app/Contents/Resources/lisp/calendar" "/Applications/Emacs.app/Contents/Resources/lisp/calc" "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") This variable may be risky if used as a file-local variable. Documentation: List of directories to search for files to load. Each element is a string (directory name) or nil (meaning `default-directory'). Initialized during startup as described in Info node `(elisp)Library Search'. * In my beloved BBEdit, I created this list: * ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" "/usr/share/emacs/site-lisp/org" "/Library/Application Support/Emacs/24.5/site-lisp" "/Library/Application Support/Emacs/site-lisp" "/Applications/Emacs.app/Contents/Resources/site-lisp" "/Applications/Emacs.app/Contents/Resources/lisp" "/Applications/Emacs.app/Contents/Resources/lisp/vc" "/Applications/Emacs.app/Contents/Resources/lisp/url" "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" "/Applications/Emacs.app/Contents/Resources/lisp/play" "/Applications/Emacs.app/Contents/Resources/lisp/org" "/Applications/Emacs.app/Contents/Resources/lisp/nxml" "/Applications/Emacs.app/Contents/Resources/lisp/net" "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" "/Applications/Emacs.app/Contents/Resources/lisp/mail" "/Applications/Emacs.app/Contents/Resources/lisp/leim" "/Applications/Emacs.app/Contents/Resources/lisp/language" "/Applications/Emacs.app/Contents/Resources/lisp/international" "/Applications/Emacs.app/Contents/Resources/lisp/gnus" "/Applications/Emacs.app/Contents/Resources/lisp/eshell" "/Applications/Emacs.app/Contents/Resources/lisp/erc" "/Applications/Emacs.app/Contents/Resources/lisp/emulation" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" "/Applications/Emacs.app/Contents/Resources/lisp/cedet" "/Applications/Emacs.app/Contents/Resources/lisp/calendar" "/Applications/Emacs.app/Contents/Resources/lisp/calc" "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") ** So, another /org path is there. Could this be the problem, or anything else? Looking forward to answers and getting to grips with emacs and org-mode, Maria Am 14.08.16 um 09:14 schrieb Maria Shinoto: Aloha again, now I checked as far as I could. I get this response to "M-x org-version": Org-mode version 8.2.10 (release_8.2.10 @ /Users/mariashinoto/.emacs.d/elpa/org-20160808/) This should be OK according to the FAQ. Next step would be to go through the output of "list-load-path-shadows" according to the FAQ. But: What is it, how can I get there, how can I modify, what do I have to look for? Thanks for any help, Maria Am 14.08.16 um 08:58 schrieb Thomas S. Dye: Aloha Maria, When I press
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
According to the web site, you should see the path to the latest Org mode. Yours points to the Org mode that ships with Emacs. If you've updated Org mode independently of Emacs, then Emacs isn't finding the latest Org mode correctly. hth, Tom Maria Shinoto writes: > and again... > > I got the load-path variable with C-h v load-path RET, it looks like this: > > > load-path is a variable defined in `C source code'. > Its value is > ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" > "/usr/share/emacs/site-lisp/org" "/Library/Application > Support/Emacs/24.5/site-lisp" "/Library/Application > Support/Emacs/site-lisp" > "/Applications/Emacs.app/Contents/Resources/site-lisp" > "/Applications/Emacs.app/Contents/Resources/lisp" > "/Applications/Emacs.app/Contents/Resources/lisp/vc" > "/Applications/Emacs.app/Contents/Resources/lisp/url" > "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" > "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" > "/Applications/Emacs.app/Contents/Resources/lisp/play" > "/Applications/Emacs.app/Contents/Resources/lisp/org" ^^ > "/Applications/Emacs.app/Contents/Resources/lisp/nxml" > "/Applications/Emacs.app/Contents/Resources/lisp/net" > "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" > "/Applications/Emacs.app/Contents/Resources/lisp/mail" > "/Applications/Emacs.app/Contents/Resources/lisp/leim" > "/Applications/Emacs.app/Contents/Resources/lisp/language" > "/Applications/Emacs.app/Contents/Resources/lisp/international" > "/Applications/Emacs.app/Contents/Resources/lisp/gnus" > "/Applications/Emacs.app/Contents/Resources/lisp/eshell" > "/Applications/Emacs.app/Contents/Resources/lisp/erc" > "/Applications/Emacs.app/Contents/Resources/lisp/emulation" > "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" > "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" > "/Applications/Emacs.app/Contents/Resources/lisp/cedet" > "/Applications/Emacs.app/Contents/Resources/lisp/calendar" > "/Applications/Emacs.app/Contents/Resources/lisp/calc" > "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") > > >This variable may be risky if used as a file-local variable. > > Documentation: > List of directories to search for files to load. > Each element is a string (directory name) or nil (meaning > `default-directory'). > Initialized during startup as described in Info node `(elisp)Library > Search'. > * > > > In my beloved BBEdit, I created this list: > > * > ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" > "/usr/share/emacs/site-lisp/org" > "/Library/Application Support/Emacs/24.5/site-lisp" > "/Library/Application Support/Emacs/site-lisp" > "/Applications/Emacs.app/Contents/Resources/site-lisp" > "/Applications/Emacs.app/Contents/Resources/lisp" > "/Applications/Emacs.app/Contents/Resources/lisp/vc" > "/Applications/Emacs.app/Contents/Resources/lisp/url" > "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" > "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" > "/Applications/Emacs.app/Contents/Resources/lisp/play" > "/Applications/Emacs.app/Contents/Resources/lisp/org" > "/Applications/Emacs.app/Contents/Resources/lisp/nxml" > "/Applications/Emacs.app/Contents/Resources/lisp/net" > "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" > "/Applications/Emacs.app/Contents/Resources/lisp/mail" > "/Applications/Emacs.app/Contents/Resources/lisp/leim" > "/Applications/Emacs.app/Contents/Resources/lisp/language" > "/Applications/Emacs.app/Contents/Resources/lisp/international" > "/Applications/Emacs.app/Contents/Resources/lisp/gnus" > "/Applications/Emacs.app/Contents/Resources/lisp/eshell" > "/Applications/Emacs.app/Contents/Resources/lisp/erc" > "/Applications/Emacs.app/Contents/Resources/lisp/emulation" > "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" > "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" > "/Applications/Emacs.app/Contents/Resources/lisp/cedet" > "/Applications/Emacs.app/Contents/Resources/lisp/calendar" > "/Applications/Emacs.app/Contents/Resources/lisp/calc" > "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") > ** > > So, another /org path is there. Could this be the problem, or anything else? > > Looking forward to answers and getting to grips with emacs and org-mode, > > Maria > > > > > Am 14.08.16 um 09:14 schrieb Maria Shinoto: >> Aloha again, >> >> now I checked as far as I could. >> >> I get this response to "M-x org-version": >> >> Org-mode version 8.2.10 (release_8.2.10 @ >> /Users/mariashinoto/.emacs.d/elpa/org-20160808/) >> >> This should be OK according to the FAQ. >> >> Next step would be to go through the output of "list-load-path-shadows" >> according to the FAQ. But: What is it, how can I get there, how can I >> modify, what do I have to look for? >> >> Thanks for any help, >> Maria >> >> >> Am 14.08.16 um 08:58 schrieb Thomas S. Dye: >>> Aloha
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
and again... I got the load-path variable with C-h v load-path RET, it looks like this: load-path is a variable defined in `C source code'. Its value is ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" "/usr/share/emacs/site-lisp/org" "/Library/Application Support/Emacs/24.5/site-lisp" "/Library/Application Support/Emacs/site-lisp" "/Applications/Emacs.app/Contents/Resources/site-lisp" "/Applications/Emacs.app/Contents/Resources/lisp" "/Applications/Emacs.app/Contents/Resources/lisp/vc" "/Applications/Emacs.app/Contents/Resources/lisp/url" "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" "/Applications/Emacs.app/Contents/Resources/lisp/play" "/Applications/Emacs.app/Contents/Resources/lisp/org" "/Applications/Emacs.app/Contents/Resources/lisp/nxml" "/Applications/Emacs.app/Contents/Resources/lisp/net" "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" "/Applications/Emacs.app/Contents/Resources/lisp/mail" "/Applications/Emacs.app/Contents/Resources/lisp/leim" "/Applications/Emacs.app/Contents/Resources/lisp/language" "/Applications/Emacs.app/Contents/Resources/lisp/international" "/Applications/Emacs.app/Contents/Resources/lisp/gnus" "/Applications/Emacs.app/Contents/Resources/lisp/eshell" "/Applications/Emacs.app/Contents/Resources/lisp/erc" "/Applications/Emacs.app/Contents/Resources/lisp/emulation" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" "/Applications/Emacs.app/Contents/Resources/lisp/cedet" "/Applications/Emacs.app/Contents/Resources/lisp/calendar" "/Applications/Emacs.app/Contents/Resources/lisp/calc" "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") This variable may be risky if used as a file-local variable. Documentation: List of directories to search for files to load. Each element is a string (directory name) or nil (meaning `default-directory'). Initialized during startup as described in Info node `(elisp)Library Search'. * In my beloved BBEdit, I created this list: * ("/Users/mariashinoto/.emacs.d/elpa/org-20160808/" "/usr/share/emacs/site-lisp/org" "/Library/Application Support/Emacs/24.5/site-lisp" "/Library/Application Support/Emacs/site-lisp" "/Applications/Emacs.app/Contents/Resources/site-lisp" "/Applications/Emacs.app/Contents/Resources/lisp" "/Applications/Emacs.app/Contents/Resources/lisp/vc" "/Applications/Emacs.app/Contents/Resources/lisp/url" "/Applications/Emacs.app/Contents/Resources/lisp/textmodes" "/Applications/Emacs.app/Contents/Resources/lisp/progmodes" "/Applications/Emacs.app/Contents/Resources/lisp/play" "/Applications/Emacs.app/Contents/Resources/lisp/org" "/Applications/Emacs.app/Contents/Resources/lisp/nxml" "/Applications/Emacs.app/Contents/Resources/lisp/net" "/Applications/Emacs.app/Contents/Resources/lisp/mh-e" "/Applications/Emacs.app/Contents/Resources/lisp/mail" "/Applications/Emacs.app/Contents/Resources/lisp/leim" "/Applications/Emacs.app/Contents/Resources/lisp/language" "/Applications/Emacs.app/Contents/Resources/lisp/international" "/Applications/Emacs.app/Contents/Resources/lisp/gnus" "/Applications/Emacs.app/Contents/Resources/lisp/eshell" "/Applications/Emacs.app/Contents/Resources/lisp/erc" "/Applications/Emacs.app/Contents/Resources/lisp/emulation" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp" "/Applications/Emacs.app/Contents/Resources/lisp/cedet" "/Applications/Emacs.app/Contents/Resources/lisp/calendar" "/Applications/Emacs.app/Contents/Resources/lisp/calc" "/Applications/Emacs.app/Contents/Resources/lisp/obsolete") ** So, another /org path is there. Could this be the problem, or anything else? Looking forward to answers and getting to grips with emacs and org-mode, Maria Am 14.08.16 um 09:14 schrieb Maria Shinoto: Aloha again, now I checked as far as I could. I get this response to "M-x org-version": Org-mode version 8.2.10 (release_8.2.10 @ /Users/mariashinoto/.emacs.d/elpa/org-20160808/) This should be OK according to the FAQ. Next step would be to go through the output of "list-load-path-shadows" according to the FAQ. But: What is it, how can I get there, how can I modify, what do I have to look for? Thanks for any help, 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 , 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
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
Aloha again, now I checked as far as I could. I get this response to "M-x org-version": Org-mode version 8.2.10 (release_8.2.10 @ /Users/mariashinoto/.emacs.d/elpa/org-20160808/) This should be OK according to the FAQ. Next step would be to go through the output of "list-load-path-shadows" according to the FAQ. But: What is it, how can I get there, how can I modify, what do I have to look for? Thanks for any help, 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 , 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() [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: >> >> Message-ID: >> >> >> >> 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 > >
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
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 , 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() [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: >> >> Message-ID: >> >> >> >> 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 > >
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
Aloha Maria, When I press Ctrl-h v and type org-planning-line-re , 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() >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> > >[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: >>> >>> Message-ID: > >>> >>> >>> >>> 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 >> >> -- Thomas S. Dye http://www.tsdye.com
Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs
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() [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: >> >> Message-ID: >> >> >> >> 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 > >
[O] org-ref bibliography html export & bigblow
Hi, using org-ref by John Kitchin bibliography html export works fine as long as I don’t activate the org-html-theme bigblow by Fabrice Niessen which I like very much. With this theme the bibliography doesn’t appear in the exported html anymore. Are there any ideas what I could do? Johannes
Re: [O] ox-md.el: Export TOC and Footnotes as Markdown rather than HTML
Hi Nicolas, Thanks for the quick feedback! Notes on your notes: > However, AFAIU, rendering for footnote section is still HTML, albeit a > lightweight one. Ah yes, that's true—the enclosing section can be rendered in Markdown, but the footnotes themselves (and their references) are in HTML. I think that make sense because footnotes, afaik, aren't part of "vanilla" Markdown, although some variants do support them. I think this function should not be specific to footnote section header, i.e., > it could factor out the following code in `org-md-headline' Good point -- I implemented this in the attached revision. Ideally, this should handle the level and a scope so as to handle toc:3 or > #+TOC: headlines local. I'm not as familiar with Org's TOC facilities as I should be, so I'll update to handle these cases after some research. I want to avoid letting these patches get too big, too. Here's the patch for generating the footnotes section as Markdown, let me know what you think. Cheers, Jake On Mon, Aug 8, 2016 at 9:35 AM, Nicolas Goaziouwrote: > Hello, > > Jake Romer writes: > > > I notice that in Org 8.3, `org-md-export-as-markdown` and > > `org-md-export-to-markdown` render a document's Table of Contents and > > Footnotes sections as HTML rather than Markdown. > > Correct. > > > I have a couple of patches that change this behavior so that both are > > rendered as Markdown. I'd love to hear any thoughts or suggestions for > > improvement if you think this would be useful to include in ox-md.el. > > That's very interesting. Thank you. Some comments follow. > > However, AFAIU, rendering for footnote section is still HTML, albeit > a lightweight one. > > > From b64d21e6b5bb35b6446abf37233463e40df040c3 Mon Sep 17 00:00:00 2001 > > From: Jake Romer > > Date: Sun, 7 Aug 2016 16:04:39 -0400 > > Subject: [PATCH 1/2] Export Footnotes section as Markdown > > The commit message has to contain the name of new and modified > functions. See commit log for examples. > > > > --- > > ox-md.el | 74 ++ > -- > > 1 file changed, 72 insertions(+), 2 deletions(-) > > > > diff --git a/ox-md.el b/ox-md.el > > index 0aaade6..865e123 100644 > > --- a/ox-md.el > > +++ b/ox-md.el > > @@ -50,6 +50,20 @@ This variable can be set to either `atx' or `setext'." > > (const :tag "Use \"atx\" style" atx) > > (const :tag "Use \"Setext\" style" setext))) > > > > + Footnotes > > + > > +(defcustom org-md-footnote-format "%s" > > + "The format for the footnote reference. > > +%s will be replaced by the footnote reference itself." > > + :group 'org-export-md > > + :type 'string) > > + > > > +(defcustom org-md-footnote-section-title "Footnotes" > > + "The title for the Footnotes section. > > +Example: `Footnotes', `References', `Sources', etc." > > + :group 'org-export-md > > + :type 'string) > > I suggest to ignore the variable above and use an equivalent of > >(org-html--translate "Table of Contents" info) > > instead. > > > +(defun org-md-footnote-section-header (info) > > + "Renders a template for the footnotes section header in the preferred > style. > > +INFO is used as a communication channel." > > + (let ((style (plist-get info :md-headline-style)) > > +(section-title (plist-get info :md-footnote-section-title))) > > +(cond > > + ((equal style 'atx) (format "\n%s %s\n%%s\n" "##" section-title)) > > + ((equal style 'setext) (format "\n%s\n%s\n%%s\n" > > +section-title > > +(make-string (length section-title) > ?-)) > > (if (eq style 'atx) > ... > ...) > > I think this function should not be specific to footnote section header, > i.e., it could factor out the following code in `org-md-headline' > >;; Use "Setext" style. >((eq style 'setext) > (concat heading tags anchor "\n" > (make-string (length heading) (if (= level 1) ?= ?-)) > "\n\n" > contents)) >;; Use "atx" style. >(t (concat (make-string level ?#) " " heading tags anchor "\n\n" > contents)) > > > + Footnotes Section > > + > > +(defun org-md-footnote-section (info) > > + "Format the footnote section as Markdown. > > +INFO is a plist used as a communication channel." > > + (let* ((fn-alist (org-export-collect-footnote-definitions info)) > > + (fn-alist > > + (loop for (n type raw) in fn-alist collect > > +(cons n (org-trim (org-export-data raw info)) > > +(when fn-alist > > + (format > > + (org-md-footnote-section-header info) > > + (format > > +"\n%s\n" > > +(mapconcat > > + (lambda (fn) > > + (let ((n (car fn)) (def (cdr fn))) > > + (format > > + "%s %s\n" > > + (format > >
Re: [O] 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/)]
> Am 13.08.2016 um 09:41 schrieb Maria Shinoto: > > Message-ID: > > > > > 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
Re: [O] Bug: clock table report hang when using :tags [8.2.10 (release_8.2.10 @ c:/Program Files/emacs/share/emacs/24.5/lisp/org/)]
Hey Nicolas: I upgraded from 8.2.10 to 8.3.5, but still get the same result. Have no idea why since I have little knowledge on how to read and debug elisp code. Sorry for the inconvenience On Mon, Aug 8, 2016 at 5:16 AM, Nicolas Goaziouwrote: > Hello, > > Yichao Woo writes: > > > Using command org-dblock-update in the following piece of org-mode text > > result in emacs hanging (but can exit using C-g key combo). The primary > > reason I found for the issue is the use of ‘:tags “hello”. If I remove > > it, the report will be generated. > > > > here is the text resulting the hanging of command org-dblock-update > > > > ** hh > > #+BEGIN: clocktable :maxlevel 5 :scope subtree :tags "hello" > > > > #+END: > > *** gogogo > :hello: > > :LOGBOOK: > > CLOCK: [2016-07-26 Tue 12:45]--[2016-07-26 Tue 13:45] => 1:00 > > :END: > > > > Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32) > > of 2015-04-11 on LEG570 > > Package: Org-mode version 8.2.10 (release_8.2.10 @ c:/Program > > Files/emacs/share/emacs/24.5/lisp/org/) > > You need to update Org to the latest stable release. > > Regards, > > -- > Nicolas Goaziou > -- Best Regards Yichao
[O] 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/)]
Message-ID: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? Thanks for your help, Maria Emacs : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-11 on builder10-9.porkrind.org Package: Org-mode version 8.2.10 (release_8.2.10 @ /Users/home/.emacs.d/elpa/org-20160801/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-from-is-user-regexp "\\" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '("~/mylife.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )