[O] org-todo & empty title -> misaligned tags
Reproduction steps (tested w/ emacs -Q): Version: GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-13 1. M-x org-mode 2. (insert "* ") 3. M-x org-set-tags-command, enter any tag name 4. M-x org-todo The tag jumps right next to the asterisk (expected: stays where it is). Doesn't happen if the title is not empty. 5. M-x org-set-tags-command resets the tags back where they belong I think it's a bug.
[O] Bug: Org agenda category max length raise error [9.2.5 (9.2.5-1-gff6508-elpaplus @ /home/edo/.emacs.d/elpa/org-plus-contrib-20190805/)]
--text follows this line-- Hi. * Issue: 1. Use max length format %., example (setq org-agenda-prefix-format '((agenda . " %i %-4.4 c%?-12t% s") ;; (agenda . " %i %-12:c%?-12t% s") (timeline . " % s") (todo . " %i %-4.4 c%?-12t% s");; (todo . " %i %-12:c") (tags . " %i %-4.4 c") ;; (tags . " %i %-12:c") (search . " %i %-4.4 c")) ;; (search . " %i %-12:c")) 2. Open an org file. 3. Typing C-c a a (for example) raise: org-compile-prefix-format: Args out of range: "-4.4", 4, 11 * How to fix it: org-agenda.el: (see comments ;; + line added, ;; - line removed) (when (eq var 'category) (setq org-prefix-category-length (floor (abs (string-to-number (match-string 2 s) (setq org-prefix-category-max-length (let ((x (match-string 2 s))) (save-match-data ;; + (when (string-match "\\.[0-9]+" x) (string-to-number (substring (match-string 0 x) 1))) ;; + ;; (when (string-match-p "\\.[0-9]+" x) ;; - ;; (string-to-number (substring (match-string 0 x) 1)) ;; - (if (eq var 'eval) (setq varform `(format ,f (org-eval ,(read (match-string 4 s) Best regards. Hector Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2019-04-13 Package: Org mode version 9.2.5 (9.2.5-1-gff6508-elpaplus @ /home/edo/.emacs.d/elpa/org-plus-contrib-20190805/)
[O] Bug: org-log-done behaves strangely when removing DONE tag from folded headline
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. Steps to reproduce: This was done with a minimal-org.el file as found in the Org docs. The only customization made was: (setq org-log-done 'time) 1. Create an org buffer with two headlines, e.g. * Foo * Bar 2. Use org-shiftright to mark the first headline as DONE. * DONE Foo CLOSED: [2019-08-11 Sun 09:30] * Bar 3. Collapse the completed headline with org-cycle * DONE Foo... * Bar 4. Use org-shiftleft to remove the DONE tag from the first headline. Expected result: * TODO Foo * Bar Actual result: * TODO Foo... * Bar The second line gets absorbed into the first in a weird way. The new line is not actually removed in the underlying buffer, which you can see by saving and reloading the file. You can also return things to normal by mashing org-shifttab enough, at the cost of all of the other folding in the buffer being reset. Emacs : GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.5.0, Carbon Version 158 AppKit 1671.4) of 2019-06-08 Package: Org mode version 9.2.5 (9.2.5-dist @ /Users/ttm/tmp/org-9.2.5/lisp/) current state: == (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '((closure (org--rds reftex-docstruct-symbol orgtbl-line-start-regexp org-element-greater-elements org-table-coordinate-overlays org-table-auto-blank-field org-clock-history org-agenda-current-date org-with-time org-defdecode org-def org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-compiled org-clock-current-task org-clock-effort org-agenda-skip-function org-agenda-skip-comment-trees org-agenda-archives-mode org-end-time-was-given org-time-was-given org-log-note-extra org-log-note-purpose org-log-post-message org-last-inserted-timestamp org-last-changed-timestamp org-entry-property-inherited-from org-blocked-by-checkboxes org-state org-agenda-headline-snapshot-before-repeat org-capture-last-stored-marker org-agenda-start-on-weekday org-agenda-buffer-tmp-name clean-buffer-list-kill-buffer-names org-id-link-to-org-use-id org-agenda-buffer-name org-priority-regexp org-mode-abbrev-table org-mode-syntax-table buffer-face-mode-face org-mode-map org-tbl-menu org-org-menu org-struct-menu org-entities org-last-state org-id-track-globally org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-options iswitchb-temp-buflist calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close-formula align-mode-rules-list org-emphasis-alist org-emphasis-regexp-components org-export-registered-backends org-modules org-babel-load-languages org-indent-indentation-per-level org-element-paragraph-separate ffap-url-regexp org-inlinetask-min-level t) nil (add-hook (quote change-major-mode-hook) (quote org-show-all) (quote append) (quote local)) ) (closure (org-bracket-link-regexp org-src-window-setup *this* org-babel-confirm-evaluate-answer-no org-src-preserve-indentation org-src-lang-modes org-link-file-path-type org-edit-src-content-indentation org-babel-library-of-babel t) nil (add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)) ) org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function '(closure (org-id-locations org-agenda-search-view-always-boolean org-agenda-overriding-header t) (entry) (cdr (assq :title entry))) org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-log-done 'time org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("id" :follow org-id-open) ("eww" :follow eww :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 :s
Re: [O] org-links for Gnus in imap with Gmail (for a convenient todo.org list)
Le sam. 27 juil. 2019 à 11:32:01 , Bob Newell a envoyé ce message: > Bonjour Josef, > > Je ne suis pas assez doué avec org-mode pour donner des conseils > expertes. Mais j'ai quand même une idée. Peut-être vous pouviez utiliser > 'advice' au lieu d'un 'hook' sur org-capture-finalize > > Par exemple (attention! pas verifié!) > > (defun jr/fix-the-link (&rest args) > (interactive) > (save-excursion >(find-file "~/Dropbox/Orgzly/links.org") >(goto-char (point-min)) >(while (search-forward "INBOX" nil t) > (replace-match "Tous les messages")) >(save-buffer))) > (advice-add 'org-capture-finalize :after #'jr/fix-the-link) > > Bonne chance ... ! Dear Bob, In fact, I just realized that this code works as I wanted: (defun jr/fix-the-link (&rest args) (interactive) (save-excursion (find-file "~/Dropbox/Orgzly/todo.org") (goto-char (point-min)) (while (search-forward "gnus:INBOX#" nil t) (replace-match "gnus:%5BGmail%5D/Tous les messages#")) (save-buffer))) (advice-add 'org-capture-finalize :after #'jr/fix-the-link) after C-c c t the link is in todo.org, and with C-c C-w , once refiled in links.org, the email link is correctly changed! I do not understand this magic trick, but many many thanks for your kind and very efficient help ! Best wishes, -- Joseph
Re: [O] org-agenda list on other language than english
Hello, Andrés Ramírez wrote at 14:30 on August 10, 2019: : : Would it be possibe to render agenda in other language than English. Mostly. Localised day and month names are taken from your (apparently missing) calendar setup. Make sure that your startup file setq's at least these two variables: - calendar-month-name-array - calendar-day-name-array (starts with $SUNDAY) Also, it might be advisable to set calendar-date-style (to 'european in my case). My setup for German is this, modify for Spanish as appropriate: (setq calendar-date-style 'european calendar-month-name-array ["Januar" "Februar" "März" "April" "Mai" "Juni" "Juli" "August" "September" "Oktober" "November" "Dezember"] calendar-day-name-array ["Sonntag" "Montag" "Dienstag" "Mittwoch" "Donnerstag" "Freitag" "Samstag"] ) The "days" in "10 days-agenda", however, is hard-wired. : Convert from this: : --8<---cut here---start->8--- : 10 days-agenda (W32-W33): : Wednesday 7 August 2019 : : To this (Spanish): : --8<---cut here---start->8--- : 10 dias-agenda (W32-W33): : Miercoles 7 Agosto 2019 Regards Thomas
Re: [O] org-agenda list on other language than english
Hi Thomas. Thomas> Localised day and month names are taken from your (apparently Thomas> missing) calendar setup. Make sure that your startup file Thomas> setq's at least these two variables: Thomas> - calendar-month-name-array - calendar-day-name-array (starts Thomas> with $SUNDAY) Thomas> Also, it might be advisable to set calendar-date-style (to Thomas> 'european in my case). Thanks. That was what I was looking for. Best Regards
[O] NLS/Augment
Guys, This is a slightly offtopic, but I've been using org-mode and I love love loveit. Was the writing of org-mode related in any way to Douglas Engelbart's NLS/Augment system? A lot of the features seem to crossover. Or is this simply coincidence?