Re: [RFC] If you use Org 9.6, please share the output of M-x org-element-cache-hash-show-statistics
Org mode version 9.6.1 15.80% of cache searches hashed, 5.90% non-hashable. Emacs Uptime: 9 hours, 58 minutes, 8 seconds
Re: [off-topic] E-readers and Org-Mode
I am very happy with my Kobo Elipsa (https://us.kobobooks.com/products/kobo-elipsa). I use the following flow very often: + Place a PDF in dropbox folder, sync to Elipsa + Read on Elipsa, annotate in various ways + Sync back to dropbox. + Look at PDF on my desktop computer (linux), annotations visible. I use okular to read PDF on linux.
Re: [BUG] Scheduled task shows up wrong day in agenda [9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/)]
Ihor Radchenko writes: > Can you try to update Emacs? From my experience, there are sometimes > cryptic issues in Org, which disappear as you update Emacs from more > recent master. Per your advice I uninstalled, grabbed all source files and rebuilt from scratch. Result: testcase running under "emacs -Q" passes OK now, don't see Scheduled task shows up wrong day in agenda.
Re: [BUG] Scheduled task shows up wrong day in agenda [9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/)]
Ihor Radchenko writes: > > I am unable to reproduce using built-in Org version of my own Emacs > build (GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version > 1.16.0) of 2022-01-29). > > Can you provide more details steps to reproduce starting from emacs > -Q? Sure. Save "foobar.org" and "testcase_startup.el" into a directory. Start emacs in that directory as "emacs -Q -l testcase_startup.el". When emacs comes up, hit "a" to get agenda. "foobar.org" has one task scheduled for Sunday. When I write this, it is Saturday. Task is displayed in agenda for Saturday. Happy to investigate myself if you have suggestions of things I can look at to track this down. (org-version) "9.5.2" (emacs-version) "GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-03-09" load-path: ("/usr/local/share/emacs/29.0.50/lisp" "/usr/local/share/emacs/29.0.50/lisp/vc" "/usr/local/share/emacs/29.0.50/lisp/url" "/usr/local/share/emacs/29.0.50/lisp/textmodes" "/usr/local/share/emacs/29.0.50/lisp/progmodes" "/usr/local/share/emacs/29.0.50/lisp/play" "/usr/local/share/emacs/29.0.50/lisp/org" "/usr/local/share/emacs/29.0.50/lisp/nxml" "/usr/local/share/emacs/29.0.50/lisp/net" "/usr/local/share/emacs/29.0.50/lisp/mh-e" "/usr/local/share/emacs/29.0.50/lisp/mail" "/usr/local/share/emacs/29.0.50/lisp/leim" "/usr/local/share/emacs/29.0.50/lisp/language" "/usr/local/share/emacs/29.0.50/lisp/international" "/usr/local/share/emacs/29.0.50/lisp/image" "/usr/local/share/emacs/29.0.50/lisp/gnus" "/usr/local/share/emacs/29.0.50/lisp/eshell" "/usr/local/share/emacs/29.0.50/lisp/erc" "/usr/local/share/emacs/29.0.50/lisp/emulation" "/usr/local/share/emacs/29.0.50/lisp/emacs-lisp" "/usr/local/share/emacs/29.0.50/lisp/cedet" "/usr/local/share/emacs/29.0.50/lisp/calendar" "/usr/local/share/emacs/29.0.50/lisp/calc" "/usr/local/share/emacs/29.0.50/lisp/obsolete") * Tasks ** TODO Something SCHEDULED: <2022-03-13 Sun> testcase_startup.el Description: application/emacs-lisp
[BUG] Scheduled task shows up wrong day in agenda [9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/)]
Single org file "foobar.org", containing one task scheduled for Sunday. It is displayed on agenda for Saturday. I build my own emacs, which includes org, on OS Ubuntu 20.04. foobar.org contents: * Tasks ** TODO Something SCHEDULED: <2022-03-06 Sun> Agenda Displays: Day-agenda (W09): Saturday5 March 2022 foobar: Scheduled: TODO Something Emacs : GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-02-28 Package: Org mode version 9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/) current state: == (setq org-link-elisp-confirm-function 'yes-or-no-p org-directory "./" org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-agenda-files '("foobar.org") org-export-before-parsing-hook '(org-attach-expand-links) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [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-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) )
[O] org-agenda fails on particular construct
With latest version of org: Org mode version 9.0.2 (9.0.2-elpaplus @ /home/me/.emacs.d/elpa/org-plus-contrib-20161214/) I get the following error when trying to create an agenda: org-agenda-get-day-entries: Wrong type argument: number-or-marker-p, "<2015-03-07 Sat>" with a construct like this: *** DONE Do Something CLOSED: [2015-03-05 Thu 15:14] SCHEDULED: <2015-03-05 Thu> DEADLINE: <2015-03-07 Sat> When SCHEDULED and DEADLINE removed, no problem.
Re: [O] Org Mode and PDF Notes!
Matt Price writes: > I've just written up a post on my workflow for PDF's Thanks, this is helpful.
[Orgmode] Re: Problem with 7.02 - org-capture-templates not set from init file
OK, I found the problem. In my emacs init file, further down I had: (require 'gnus-load) ;; for dev gnus (require 'message) (require 'bbdb) (require 'org-install) (require 'org-icalendar) (require 'org-mobile) ... Removing these requires results in working org and not stomping on org-capture-templates. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Problem with 7.02 - org-capture-templates not set from init file
One thing I noticed that changed in org-install.el from 7.01h to 7.02 - in 7.02 is being explicitly defined in org-install.el as nil, that wasn't happening before. 7.01h: ;;;### (autoloads (org-capture-import-remember-templates org-capture-insert-template-here ;; org-capture) "org-capture" "lisp/org-capture.el" (19549 1164)) ;;; Generated autoloads from lisp/org-capture.el (autoload 'org-capture "org-capture" "\ Capture something. \\ This will let you select a template from `org-capture-templates', and then file the newly captured information. The text is immediately inserted at the target location, and an indirect buffer is shown where you can edit it. Pressing \\[org-capture-finalize] brings you back to the previous state of Emacs, so that you can continue your work. When called interactively with a \\[universal-argument] prefix argument GOTO, don't capture anything, just go to the file/headline where the selected template stores its notes. With a double prefix argument \\[universal-argument] \\[universal-argument], go to the last note stored. When called with a `C-0' (zero) prefix, insert a template at point. Lisp programs can set KEYS to a string associated with a template in `org-capture-templates'. In this case, interactive selection will be bypassed. \(fn &optional GOTO KEYS)" t nil) 7.02 ;;;### (autoloads (org-capture-import-remember-templates org-capture-insert-template-here ;; org-capture org-capture-templates) "org-capture" "lisp/org-capture.el" ;; (19658 27920)) ;;; Generated autoloads from lisp/org-capture.el (defvar org-capture-templates nil "\ Templates for the creation of new entries. Each entry is a list with the following items: keys The keys that will select the template, as a string, characters only, for example \"a\" for a template to be selected with a single key, or \"bt\" for selection with two keys. When using several keys, keys using the same prefix key must be together in the list and preceded by a 2-element entry explaining the prefix key, for example (\"b\" \"Templates for marking stuff to buy\") The \"C\" key is used by default for quick access to the customization of the template variable. But if you want to use that key for a template, you can. description A short string describing the template, will be shown during selection. type The type of entry. Valid types are: entry an Org-mode node, with a headline. Will be filed as the child of the target entry or as a top-level entry. itema plain list item, will be placed in the first plain list at the target location. checkitem a checkbox item. This differs from the plain list item only is so far as it uses a different default template. table-line a new line in the first table at target location. plain text to be inserted as it is. target Specification of where the captured item should be placed. In Org-mode files, targets usually define a node. Entries will become children of this node, other types will be added to the table or list in the body of this node. Valid values are: (file \"path/to/file\") Text will be placed at the beginning or end of that file (id \"id of existing org entry\") File as child of this entry, or in the body of the entry (file+headline \"path/to/file\" \"node headline\") Fast configuration if the target heading is unique in the file (file+olp \"path/to/file\" \"Level 1 heading\" \"Level 2\" ...) For non-unique headings, the full path is safer (file+regexp \"path/to/file\" \"regexp to find location\") File to the entry matching regexp (file+datetree \"path/to/file\") Will create a heading in a date tree (file+function \"path/to/file\" function-finding-location) A function to find the right location in the file (clock) File to the entry that is currently being clocked (function function-finding-location) Most general way, write your own function to find both file and location template The template for creating the capture item. If you leave this empty, an appropriate default template will be used. See below for more details. Instead of a string, this may also be one of (file \"/path/
[Orgmode] Problem with 7.02 - org-capture-templates not set from init file
Since moving from org-version 7.01 to 7.02, the variable "org-capture-templates", which I set in my .emacs.el in a custom-set-variables is not being set. No error is generated, just the variable remains nil. Here's how I set it: --8<---cut here---start->8--- '(org-capture-templates (quote (("t" "Todo" entry (file+headline "Tasks.org" "Tasks") "* TODO %? %i %a") ("c" "Care" entry (file+headline "Care.org" "Care Notes") "* %? %U %i %a") ("j" "Journal" entry (file+datetree "Journal.org") "* %?" --8<---cut here---end--->8--- Am I doing something funny here, or did something break? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode