emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)]
@ 2018-08-03 20:54 Ag Ibragimov
  2018-08-04 12:41 ` Kaushal Modi
  0 siblings, 1 reply; 3+ messages in thread
From: Ag Ibragimov @ 2018-08-03 20:54 UTC (permalink / raw)
  To: emacs-orgmode


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

According to the documentation:

> If you want a list to start with a different value (e.g., 20), start
> the text of the item with [@20]

it doesn't seem to work for me. What am I missing?

Emacs  : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-05
Package: Org mode version 9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-blank-before-new-entry nil
 org-babel-after-execute-hook '(spacemacs/ob-fix-inline-images)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-refile-targets '((nil :maxlevel . 3) (org-agenda-files :maxlevel . 3))
 org-enforce-todo-dependencies t
 org-use-property-inheritance t
 org-src-tab-acts-natively t
 org-imenu-depth 8
 org-download-annotate-function 'org-download-annotate-default
 org-agenda-files "~/Dropbox/org/.agenda-files"
 org-clock-report-include-clocking-task t
 org-blocker-hook '(org-block-todo-from-checkboxes org-block-todo-from-children-or-siblings-or-parent)
 org-mode-hook '(er/add-org-mode-expansions abbrev-mode spacemacs/toggle-visual-line-navigation-on ag/org-mode-hook org-clock-load flyspell-mode spacemacs/org-setup-evil-surround
                 spacemacs/delay-emoji-cheat-sheet-hook spacemacs/load-yasnippet toc-org-enable org-download-enable org-bullets-mode dotspacemacs//prettify-spacemacs-docs spacemacs//org-babel-do-load-languages
                 #[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 spacemacs//evil-org-mode
                 org-eldoc-load spacemacs//init-company-org-mode company-mode)
 org-clock-persist t
 org-outline-path-complete-in-steps nil
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-agenda-restore-windows-after-quit t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-with-inline-images t
 org-timer-done-hook '((lambda nil (hs-alert "-- timer done! --")))
 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-from-is-user-regexp "\\<ag@ag-xps\\>"
 org-babel-pre-tangle-hook '(save-buffer)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-babel-load-languages '((emacs-lisp . t) (shell . t) (js . t) (clojure . t) (sql . t) (shell . t) (ditaa . t) (ruby . t))
 org-log-done t
 org-babel-post-tangle-hook '(ag/set-tangled-file-permissions)
 org-agenda-follow-indirect t
 org-ellipsis " ↴"
 org-list-demote-modify-bullet '(("+" . "-") ("-" . "+") ("*" . "+"))
 org-agenda-span 1
 org-fast-tag-selection-single-key t
 org-src-lang-modes '(("http" . "ob-http") ("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql) ("calc" . fundamental) ("C" . c) ("cpp" . c++)
                      ("C++" . c++) ("screen" . shell-script) ("shell" . sh) ("bash" . sh))
 org-catch-invisible-edits 'smart
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-mode-hook '(override-evilified-keys)
 org-agenda-start-with-log-mode t
 org-log-into-drawer t
 org-ditaa-jar-path "/usr/share/java/ditaa/ditaa-0_10.jar"
 org-enforce-todo-checkbox-dependencies t
 org-structure-template-alist '(("sqlf" "#+begin_src sql :engine postgresql :cmdline \"-h localhost -U postgres -p 5434 -d finops_admin_development\"\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-optimize-window-after-visibility-change)
 org-todo-keywords '((sequence "TODO" "ONGOING" "DONE"))
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-clock-persist-file "/home/ag/.emacs.d/.cache/org-clock-save.el"
 org-M-RET-may-split-line '((headline))
 org-agenda-start-with-clockreport-mode t
 org-show-notification-handler 'message
 org-babel-tangle-lang-exts '(("ruby" . "rb") ("clojure" . "clj") ("emacs-lisp" . "el") ("elisp" . "el"))
 org-agenda-persistent-marks t
 org-refile-allow-creating-parent-nodes 'confirm
 org-refile-use-outline-path 'file
 org-src-ask-before-returning-to-edit-buffer nil
 org-id-locations-file "~/Dropbox/org/.org-id-locations"
 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") ("mu4e" :follow org-mu4e-open :store org-mu4e-store-link)
                       ("orgit-rev" :store orgit-rev-store :follow orgit-rev-open :export orgit-rev-export :complete orgit-rev-complete-link)
                       ("orgit-log" :store orgit-log-store :follow orgit-log-open :export orgit-log-export :complete orgit-log-complete-link)
                       ("orgit" :store orgit-status-store :follow orgit-status-open :export orgit-status-export :complete orgit-status-complete-link) ("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-agenda-skip-scheduled-if-done t
 org-log-states-order-reversed nil
 org-link-translation-function 'toc-org-unhrefify
 org-todo-keyword-faces '(("ONGOING" . "orange"))
 org-image-actual-width nil
 org-clock-in-switch-to-state "ONGOING"
 org-ditaa-eps-jar-path "/home/ag/.emacs.d/elpa/26.1/develop/contrib/scripts/DitaaEps.jar"
 org-src-window-setup 'other-window
 org-clock-out-remove-zero-time-clocks t
 org-confirm-babel-evaluate nil
 org-directory "~/Dropbox/org"
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 5 :fileskip0 t :compact t :narrow 60)
 org-agenda-diary-file "~/Dropbox/org/journal.org"
 org-goto-interface 'outline-path-completion
 org-agenda-skip-deadline-if-done t
 org-default-notes-file "~/Dropbox/org/notes.org"
 org-ctrl-k-protect-subtree t
 org-list-allow-alphabetical t
 org-clock-persist-query-resume nil
 )

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

* Re: Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)]
  2018-08-03 20:54 Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)] Ag Ibragimov
@ 2018-08-04 12:41 ` Kaushal Modi
  2018-08-04 21:46   ` Ag Ibragimov
  0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2018-08-04 12:41 UTC (permalink / raw)
  To: Ag Ibragimov; +Cc: emacs-orgmode

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

Hello,

On Sat, Aug 4, 2018, 8:12 AM Ag Ibragimov <to.plotnick@gmail.com> wrote:

>
> According to the documentation:
>
> > If you want a list to start with a different value (e.g., 20), start
> > the text of the item with [@20]
>
> it doesn't seem to work for me. What am I missing?


What does not work?

1. Can you paste a minimal working example of your Org file that contains
the use of that syntax?
2. What are you exporting that file to (HTML, ASCII, ..)? AFAIK that syntax
is effective for only for exports and only if the exporter supports this.

Example: Export below to ascii:


1. Item 1.
2. [@10] Item 10.
-- 

Kaushal Modi

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

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

* Re: Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)]
  2018-08-04 12:41 ` Kaushal Modi
@ 2018-08-04 21:46   ` Ag Ibragimov
  0 siblings, 0 replies; 3+ messages in thread
From: Ag Ibragimov @ 2018-08-04 21:46 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-orgmode, Ag Ibragimov


Kaushal Modi <kaushal.modi@gmail.com> writes:

Oh it seems I misunderstood how it works, I thought the cookie 
should
be in the front, e.g.:

[@20]. item 20
   22. item 22
   etc.

but instead it should be

1. [@20] item 20

and after pressing M-RET it automatically replaces 1. with 20. 
Maybe the
documentation on this subject could be more elaborate.

Thank you,
Ag

> Hello,
>
> On Sat, Aug 4, 2018, 8:12 AM Ag Ibragimov 
> <to.plotnick@gmail.com> wrote:
>
>>
>> According to the documentation:
>>
>> > If you want a list to start with a different value (e.g., 
>> > 20), start
>> > the text of the item with [@20]
>>
>> it doesn't seem to work for me. What am I missing?
>
>
> What does not work?
>
> 1. Can you paste a minimal working example of your Org file that 
> contains
> the use of that syntax?
> 2. What are you exporting that file to (HTML, ASCII, ..)? AFAIK 
> that syntax
> is effective for only for exports and only if the exporter 
> supports this.
>
> Example: Export below to ascii:
>
>
> 1. Item 1.
> 2. [@10] Item 10.


--
Thanks,
Ag Ibragimov

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

end of thread, other threads:[~2018-08-04 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-03 20:54 Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)] Ag Ibragimov
2018-08-04 12:41 ` Kaushal Modi
2018-08-04 21:46   ` Ag Ibragimov

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