Re: [O] Bug: org-2ft and/or float-time is wrong [9.1.2 (9.1.2-22-ga2a034-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20171023/)]

2017-10-30 Thread Allen Li
On Mon, Oct 30, 2017 at 5:40 PM, Allen Li wrote: > (current-time-string (time-to-seconds (org-2ft "<2017-10-31>"))) > "Sun Oct 29 17:00:00 2017" > > This seems wrong > > In org-2ft > > (org-parse-time-string s nil t) > > The t means use UTC instead of Emacs local time. > > However, Org translates

[O] Bug: org-2ft and/or float-time is wrong [9.1.2 (9.1.2-22-ga2a034-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20171023/)]

2017-10-30 Thread Allen Li
(current-time-string (time-to-seconds (org-2ft "<2017-10-31>"))) "Sun Oct 29 17:00:00 2017" This seems wrong In org-2ft (org-parse-time-string s nil t) The t means use UTC instead of Emacs local time. However, Org translates into (float-time), which is in Emacs localtime. 1. SCHEDULED>"" com

[O] org-display-inline-images not displaying images

2017-10-30 Thread Leslie Watter
Hi folks, Does the org-display-inline-images behavior was changed from 9.0.10 up ? I'm facing some trouble with it -- from 9.0.10 up images are'nt being displayed . Same configuration, the only change was org-version. How I'm calling: -- #+CAPTION: Criando novo Projeto Maven #+

Re: [O] function for inserting a block

2017-10-30 Thread Eric Abrahamsen
Sorry, last patch had some documentation errors. >From 055af9e9545947b9aeccc3370c8b67a237eea5d8 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Mon, 30 Oct 2017 10:55:29 -0700 Subject: [PATCH] Replace easy templates with org-insert-structure-template * lisp/org.el (org-insert-structure-temp

[O] tangle and comments.

2017-10-30 Thread Uwe Brauer
Hi I followed the instructions found in http://eschulte.github.io/babel-dev/DONE-tangle-entire-org-mode-file-in-comments.html Although they are 7 years old however when I try to tangle the example file I receive Tangled 0 code blocks from tangle2.org Here is the file just in case Uwe Brauer

[O] Get rid of message-mode code?

2017-10-30 Thread Eric Abrahamsen
Now that orgstruct-mode is gone, can't we get rid of all the checks for message-mode when filling, etc? diff --git a/lisp/org.el b/lisp/org.el index 9ad06ac3b..ed338ad80 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -22316,68 +22316,58 @@ assumed to be significant there." Return fill prefix, as a

Re: [O] function for inserting a block

2017-10-30 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> This will get there eventually! Because there's likely to be more >> tweaking, I haven't touched the manual or the tests yet, just reworked >> the option and function: > > Thank you. Some comments follow. > >> #+BEGIN_SRC elisp >>

Re: [O] function for inserting a block

2017-10-30 Thread Eric S Fraga
On Monday, 30 Oct 2017 at 12:05, Nicolas Goaziou wrote: [...] > As suggested by Rasmus once, maybe we could get away from FORTRAN touch > and insert everything lowercase. +1 (repeat many times) -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-155-gf474c7 signature.asc Description: PGP

Re: [O] function for inserting a block

2017-10-30 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > This will get there eventually! Because there's likely to be more > tweaking, I haven't touched the manual or the tests yet, just reworked > the option and function: Thank you. Some comments follow. > #+BEGIN_SRC elisp > (defcustom org-structure-template-alist

[O] "Body" of current section

2017-10-30 Thread Richard Parsons
Hello I can use org-element-at-point to get information about the current section. What function do I run in order to get its "body" i.e. ignoring the header and the properties drawer? Many thanks Richard