emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: How can I keep time of the day after shifting multiple dates on the agenda view? [9.1.14 (9.1.14-1-g4931fc-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20180910/)]
@ 2018-10-20 16:24 Davi Ramos
  2018-10-22 12:50 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Davi Ramos @ 2018-10-20 16:24 UTC (permalink / raw)
  To: emacs-orgmode

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

I'm using batch agenda commands to change the dates of several dates,
using the format "++8d" from the docs. The problem is that the time of day
vanishes when I do that. I want to update the deadlines, but also keep
their original times of the day.

**Example**:

    ** TODO Some task
    DEADLINE: <2018-10-22 Mon 17:00>

    ** TODO Some other task
    DEADLINE: <2018-10-23 Tue 20:00>

After `++1d`, what I want is:

    ** TODO Some task
    DEADLINE: <2018-10-23 Tue 17:00>

    ** TODO Some other task
    DEADLINE: <2018-10-24 Wed 20:00>

But the actual result is:

    ** TODO Some task
    DEADLINE: <2018-10-23 Tue>

    ** TODO Some other task
    DEADLINE: <2018-10-24 Wed>

------------------------------------------------------------------------

Emacs  : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
2.24.31)
 of 2018-08-16
Package: Org mode version 9.1.14 (9.1.14-1-g4931fc-elpaplus @
~/.emacs.d/elpa/org-plus-contrib-20180910/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-fontify-whole-heading-line t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-tags-column -80
 org-pomodoro-long-break-length 25
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9))
 org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
 org-pretty-entities t
 org-edit-src-content-indentation 0
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-agenda-files
'("/home/BigHome/Documents/org/Estudo/Unifacs/PrimeiroSemestre/Matérias/Algoritmos/Algs/Listas/
new_steps.org"
"/home/BigHome/Documents/org/Estudo/Unifacs/PrimeiroSemestre/Matérias/Algoritmos/Algs/Listas/
etapas.org" "~/org/Compromissos/day.org" "~/org/Compromissos/tomorrow.org"
"/home/BigHome/Documents/org/Notes/Clarice/clarice.org" "~/.emacs.d/init.org"
"~/org/day.org")
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-clock-report-include-clocking-task t
 org-tag-alist '((:startgroup) ("@org" . 111) ("@unif" . 117) ("@blog" .
110)
("@fami" . 102) ("@heal" . 115) ("@tech" . 116) ("@grph" . 116)
("@prog" . 112) ("@emcs" . 101) ("@home" . 104) (:endgroup))
 org-allow-promoting-top-level-subtree t
 org-archive-location "~/org/Archive/archive.org::"
 org-mode-hook '(evil-org-mode org-bullets-mode org-clock-load
electric-pair-local-mode
toc-org-enable
#[0 "\300\301\302\303\304$\207"
   [add-hook change-major-mode-hook org-show-block-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-eldoc-load)
 org-clock-persist t
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-outline-path-complete-in-steps nil
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-indented t
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3
"\n\n(fn ENTRY)"]
 org-cliplink-max-length 60
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-babel-pre-tangle-hook '(save-buffer)
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default)
("\\.x?html?\\'" . default)
("\\.jpg\\'" . "viewnior %s") ("\\.pdf\\'" . "zathura %s"))
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-hide-emphasis-markers t
 org-clock-in-resume t
 org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS
WIDTH)"]
 org-ellipsis "."
 org-clock-x11idle-program-name "xprintidle"
 org-src-preserve-indentation t
 org-fontify-done-headline t
 org-pomodoro-short-break-length 10
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-mode-hook '((lambda nil (setq display-line-numbers nil) (setq
truncate-lines t)))
 org-pomodoro-ticking-sound
"~/.emacs.d/elpa/org-pomodoro-20171108.2114/resources/tick.wav"
 org-structure-template-alist '(("el" "#+BEGIN_SRC emacs-lisp :tangle
yes\n?\n#+END_SRC")
("use"
"#+BEGIN_SRC emacs-lisp :tangle yes\n(use-package ?\n:ensure t)\n#+END_SRC")
("ll"
"\\begin{equation*}\n\\begin{split}\n?\n\\end{split}\n\\end{equation*}")
("py" "#+BEGIN_SRC python :tangle yes\n?\n#+END_SRC")
("sh" "#+BEGIN_SRC shell :tangle yes\n?\n#+END_SRC")
("cc" "#+BEGIN_SRC C\n?\n#+END_SRC")
("s" "#+BEGIN_SRC ?\n\n#+END_SRC")
("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE")
("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE")
("v" "#+BEGIN_VERSE\n?\n#+END_VERSE")
("V" "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM")
("c" "#+BEGIN_CENTER\n?\n#+END_CENTER")
("C" "#+BEGIN_COMMENT\n?\n#+END_COMMENT")
("l" "#+BEGIN_EXPORT latex\n?\n#+END_EXPORT")
("L" "#+LaTeX: ")
("h" "#+BEGIN_EXPORT html\n?\n#+END_EXPORT")
("H" "#+HTML: ")
("a" "#+BEGIN_EXPORT ascii\n?\n#+END_EXPORT")
("A" "#+ASCII: ") ("i" "#+INDEX: ?")
("I" "#+INCLUDE: %file ?"))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines)
 org-todo-keywords '((sequence "TODO" "|" "DONE" "MODIFIED"))
 org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
 org-tags-column -90
 org-capture-mode-hook '((lambda nil (evil-insert-state)
(evil-window-move-very-bottom)))
 org-replace-disputed-keys t
 org-odt-format-inlinetask-function
'org-odt-format-inlinetask-default-function
 org-return-follows-link t
 org-refile-allow-creating-parent-nodes 'confirm
 org-refile-use-outline-path 'file
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("id" :follow org-id-open)
       ("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)
       ("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) ("file+sys") ("file+emacs")
       ("doi" :follow org--open-doi-link)
       ("elisp" :follow org--open-elisp-link)
       ("file" :complete org-file-complete-link)
       ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path))))
       ("help" :follow org--open-help-link)
       ("http" :follow (lambda (path) (browse-url (concat "http:" path))))
       ("https" :follow (lambda (path) (browse-url (concat "https:" path))))
       ("mailto" :follow
(lambda (path) (browse-url (concat "mailto:" path))))
       ("news" :follow (lambda (path) (browse-url (concat "news:" path))))
       ("shell" :follow org--open-shell-link))
 org-bullets-bullet-list '("◐" "◑" "◒" "◓" "☉" "◎" "◉")
 org-latex-format-headline-function
'org-latex-format-headline-default-function
 org-link-translation-function 'toc-org-unhrefify
 org-pomodoro-finished-sound
"~/.emacs.d/elpa/org-pomodoro-20171108.2114/resources/bell.wav"
 org-clock-idle-time 5
 org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-image-actual-width nil
 org-pomodoro-start-sound
"~/.emacs.d/elpa/org-pomodoro-20171108.2114/resources/bell.wav"
 org-html-format-headline-function
'org-html-format-headline-default-function
 org-clock-mode-line-total 'current
 org-pomodoro-length 45
 org-clock-out-remove-zero-time-clocks t
 org-link-frame-setup '((file . find-file))
 org-pomodoro-short-break-sound
"~/.emacs.d/elpa/org-pomodoro-20171108.2114/resources/bell.wav"
 org-use-speed-commands t
 org-pomodoro-long-break-sound
"~/.emacs.d/elpa/org-pomodoro-20171108.2114/resources/bell_multiple.wav"
 org-clock-persist-query-resume nil
 )

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

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

* Re: Bug: How can I keep time of the day after shifting multiple dates on the agenda view? [9.1.14 (9.1.14-1-g4931fc-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20180910/)]
  2018-10-20 16:24 Bug: How can I keep time of the day after shifting multiple dates on the agenda view? [9.1.14 (9.1.14-1-g4931fc-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20180910/)] Davi Ramos
@ 2018-10-22 12:50 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-10-22 12:50 UTC (permalink / raw)
  To: Davi Ramos; +Cc: emacs-orgmode

Hello,

Davi Ramos <davilopes.cine@gmail.com> writes:

> I'm using batch agenda commands to change the dates of several dates,
> using the format "++8d" from the docs. The problem is that the time of day
> vanishes when I do that. I want to update the deadlines, but also keep
> their original times of the day.

Could you show the exact command you're using? Does it work when not
used in batch?

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2018-10-22 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-20 16:24 Bug: How can I keep time of the day after shifting multiple dates on the agenda view? [9.1.14 (9.1.14-1-g4931fc-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20180910/)] Davi Ramos
2018-10-22 12:50 ` Nicolas Goaziou

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