Re: [O] Feature request: add leading zeroes to align ordered lists with indexes of different length

2019-07-15 Thread Davi Ramos
I don't think it would be as visually pleasant, but I would be grateful for
it.

On Sat, Jul 13, 2019 at 5:09 PM Samuel Wales  wrote:

> would spaces work for you too?
>
> --
> The Kafka Pandemic
>
> What is misopathy?
>
> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
>
> The disease DOES progress. MANY people have died from it. And ANYBODY
> can get it at any time.
>


[O] Feature request: add leading zeroes to align ordered lists with indexes of different length

2019-07-13 Thread Davi Ramos
 ISSUE 

When a list has indexes with different lengths they become unaligned
(image: http://i.imgur.com/ysnTmY2.png). If I add the leading zeroes
manually, Org deletes them when I update the list (by running
`org-ctrl-c-ctrl-c`, for example). How could I configure to add the zeroes
automatically, or at least respect the ones I add manually?

 ORG CONFIGURATIONS #

Emacs  : GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
3.22.11)
 of 2019-07-10
Package: Org mode version 9.2.3 (9.2.3-elpa @
/home/george/.emacs.d/elpa/org-9.2.3/)

current state:
==
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer my/org-src-hooks)
 org-agenda-tags-column -80
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-global-properties '(("Effort_ALL" .
  "0:05 0:10 0:15 0:25 0:30 0:45 1:00 2:00 4:00
6:00")
 )
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-babel-no-eval-on-ctrl-c-ctrl-c t
 org-refile-targets '((nil :maxlevel . 1))
 org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
 org-pretty-entities t
 org-edit-src-content-indentation 1
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-agenda-files '("/home/george/org/Agenda/agenda.org"
"/home/george/org/Agenda/contatos.org"
"/home/george/org/Agenda/estudos.org"
"/home/george/org/Agenda/leituras.org"
"/home/george/org/Agenda/projetos.org"
"/home/george/org/Agenda/saude.org"
"/home/george/org/Agenda/writing.org")
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-clock-report-include-clocking-task t
 org-modules '(org-w3m org-bbdb org-bibtex org-docview org-gnus org-info
org-irc
   org-mhe org-rmail org-eww org-habit)
 org-blocker-hook '(org-block-todo-from-checkboxes)
 org-archive-location "~/org/Info/.archive.org::* From %s"
 org-mode-hook '(#[0 "\301\211 \207"
   [imenu-create-index-function org-imenu-get-tree] 2]
 org-tempo-setup evil-org-mode
 #[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
 my/org-mode-hooks)
 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-src-fontify-natively nil
 org-startup-indented t
 org-clock-history-length 10
 org-agenda-skip-timestamp-if-done 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-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")
 ("\\.mp4\\'" . "vlc %s") ("\\.pdf\\'" . default))
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-babel-load-languages '((python . t))
 org-hide-emphasis-markers t
 org-link-file-path-type 'relative
 org-clock-in-resume t
 org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS
WIDTH)"]
 org-ellipsis "."
 org-src-lang-modes '(("i3" . i3wm-config) ("C" . c) ("C++" . c++)
  ("asymptote" . asy) ("bash" . sh) ("beamer" . latex)
  ("calc" . fundamental) ("cpp" . c++) ("ditaa" .
artist)
  ("dot" . fundamental) ("elisp" . emacs-lisp)
  ("ocaml" . tuareg) ("screen" . shell-script) ("shell"
. sh)
  ("sqlite" . sql))
 org-src-preserve-indentation t
 org-fontify-done-headline t
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-mode-hook '((lambda nil (setq display-line-numbers nil)
 (setq truncate-lines t))
)
 org-log-into-drawer t
 org-edit-src-auto-save-idle-delay 1
 org-enforce-todo-checkbox-dependencies t
 org-lowest-priority 73
 org-cycle-hook nil
 org-todo-keywords '((sequence "TODO(t!)" "STARTED(s!)" "|" "DONE(d!)"))
 org-speed-command-hook '(org-speed-command-activate
  org-babel-speed-command-activate)
 org-tags-column -79
 org-capture-mode-hook '((lambda nil (evil-insert-state)
  (evil-window-move-very-bottom))

[O] 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-21 Thread Davi Ramos
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_E