Re: [O] [patch] structure snippet completions
On Thu, Dec 7, 2017 at 6:51 PM Rasmuswrote: > Rasmus writes: > One possible "bug" that I discovered is illustrated by the following > example. > > * foo > suggested indention > > When I tab at point ("|") extra indention will be stripped. I don’t > know if this is something that should be fixed. > That's does look like a bug. The preservation of indentation is especially useful if you want source block in nested lists. #+BEGIN_EXAMPLE Outside list #+END_EXAMPLE - list level 1 #+BEGIN_EXAMPLE At level 1 #+END_EXAMPLE - list level 2 #+BEGIN_EXAMPLE At level 2 #+END_EXAMPLE -- Kaushal Modi
[O] bug#24791: bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp)
On Mon, Dec 4, 2017 at 11:59 AM, Nicolas Goaziouwrote: > Hello, > > Allen Li writes: > >> On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou >> wrote: >>> Hello, >>> >>> Jan Böhm writes: >>> Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave just like normally setting todo state to "DONE" with org-todo. Specifically, the timestamp added in the log takes the current time instead of 23:59 of the previous day, as would be expected. Replicate behaviour: start emacs -Q set org-log-done to "time" visit new file and switch to org mode create TODO headline and set TODO state to "DONE" by calling "org-todo-yesterday" ⇒ todo state is set to DONE correctly, but the timestamp inserted in the log drawer is the current time. >>> >>> I cannot reproduce it in a recent Org release. Could you double-check >>> with a newer Org? >> >> I am going to blindly wager that this is yet another bug caused by Org >> mode's subtle timezone issues. >> >> I can reproduce it (and crucially, I am not in the GMT time zone), >> although the repro recipe produces a CLOSED timestamp and not a log >> drawer timestamp. > > I removed timezone references from maint. Can you still reproduce the > issue? I can confirm that it's fixed on 9.1.4 (org-plus-contrib-20171205)
Re: [O] [patch] structure snippet completions
Rasmuswrites: > Hi, > > Nicolas Goaziou writes: > >> It looks like a typo, but the two lines above are commented. > > Indeed. Thanks. > >> Also, would it make sense to add a few tests? > > I never feel very creative about tests but I have added some. > > I have also pushed the code. " enabled by requiring org-tempo. > > Let me know about any issues. One possible "bug" that I discovered is illustrated by the following example. * foo suggested indention
Re: [O] [patch] structure snippet completions
Hi, Nicolas Goaziouwrites: > It looks like a typo, but the two lines above are commented. Indeed. Thanks. > Also, would it make sense to add a few tests? I never feel very creative about tests but I have added some. I have also pushed the code. "
Re: [O] Bug: subtree archiving when Archive is not final headline yields bad visibility [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2+gg1+12/lisp/org/)]
On Wed, Dec 6, 2017 at 12:19 PM, Allen Liwrote: > (Can reproduce with Org 9.1.3, submitting with emacs -Q) > > Using a file tmp.org: > > * Foo > ** Archive :ARCHIVE: > *** Test > :PROPERTIES: > :ARCHIVE_TIME: 2017-12-06 Wed 12:13 > :END: > ** Bar > > This appears like so with default visibility: > > * Foo > ** Archive :ARCHIVE:... > ** Bar > > Archiving Bar with C-c C-x A yields: > > * Foo > ** Archive :ARCHIVE:... > *** Bar... > > Expected visibility: > > * Foo > ** Archive :ARCHIVE:... Actually, this issue is a bit more severe. point does not get left on the next headline, which breaks my workflow of recording a macro for C-c C-x A and tapping F4 many times. According to http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00286.html > AFAIK, there is no special location in the file for archived subtrees, > i.e., there is nothing wrong with > > * Some projects > ** Some item... > ** Archive :ARCHIVE:... > ** New entry... This bug means that the Archive headline's position is significant.
[O] Still there are some places that the new org-babel markers are not unified yet
By default, the org-babel markers is lower-case now. But I found in the following case, it is upper-case still. ``` #+begin_src clojure :results code :wrap src html (:body (clj-http.client/get "http://localhost:80;)) #+end_src #+RESULTS: #+BEGIN_src html "\n\n\nWelcome to nginx!\n\n body {\n width: 35em;\n margin: 0 auto;\n font-family: Tahoma, Verdana, Arial, sans-serif;\n }\n\n\n\nWelcome to nginx!\nIf you see this page, the nginx web server is successfully installed and\nworking. Further configuration is required.\n\nFor online documentation and support please refer to\nhttp://nginx.org/\;>nginx.org.\nCommercial support is available at\nhttp://nginx.com/\;>nginx.com.\n\nThank you for using nginx.\n\n\n" #+END_src ``` You can see that `#+BEGIN_src` and `#+END_src`. Maybe there are more places need to be updated and unified. (a project scope query replace will be great)
Re: [O] allow gnuplot to generate plot in different directories
Hello, Eric S Fragawrites: > I have no idea what the protocol here is. But, in any case, attached is > a new patch relative to maint. Applied. Thank you. > I hate upper case (an RSI thing... ;-)) but okay. also noting that the > previous comment started with lower case. and should single sentence > comments end with a full stop (.)? As a rule of thumb, comments that start on a new line (e.g., with ";; " prefix) are full sentences (capital and full stop). Inline comments (prefixed with "; ") do not have such requirments. Regards, -- Nicolas Goaziou0x80A93738
Re: [O] Problems with Org-mode & Minted
Thanks Alan I wondered about this strange syntax mix .. I will investigate , following thi strack... Regards J.MOLIERE - Mentor/J 2017-12-07 11:18 GMT+01:00 Alan Schmitt: > Hello, > > On 2017-12-07 10:42, jerome moliere writes: > > > org-latex-minted-options '(("frame" "lines") ("linenos=true") > > ("fontsize=\scriptsize") ) > > I think this is wrong, you should have two strings in each list. Have > you tried > '(("frame" "lines") ("linenos" "true") ("fontsize" "\\scriptsize") > ? > > Alan > > -- > OpenPGP Key ID : 040D0A3B4ED2E5C7 > Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-11: 405.14, 2016-11: 403.53 >
Re: [O] Problems with Org-mode & Minted
Hello, On 2017-12-07 10:42, jerome molierewrites: > org-latex-minted-options '(("frame" "lines") ("linenos=true") > ("fontsize=\scriptsize") ) I think this is wrong, you should have two strings in each list. Have you tried '(("frame" "lines") ("linenos" "true") ("fontsize" "\\scriptsize") ? Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-11: 405.14, 2016-11: 403.53 signature.asc Description: PGP signature
[O] Problems with Org-mode & Minted
Hi all Org-mode gurus, I am trying to use the minted package with Org-mode to generate a big slides deck containing java code & XML code listtings... It's almost OK execpted that I am unaable to set any option to adapt the listings to my needs.. As a consequence the listings come in raw excepted the language attribute set accordingly to my config and the theme as specified in my config file (spacemacs) I tried to specify a couple of options but they are simply ignored and are not exported... excerpt from my .spacemacs file (setq org-latex-listings 'minted org-latex-packages-alist '(("" "minted")) org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f") org-latex-minted-options '(("frame" "lines") ("linenos=true") ("fontsize=\scriptsize") ) ) I tried already with org-export-latex-minted-options but does not work .. This a listing as generated in my .tex file output from org-mode export \begin{minted}[]{java} public class ComplexLayoutDemo extends JFrame { public ComplexLayoutDemo(){ JPanel main_panel = (JPanel)getContentPane(); main_panel.setLayout(new BorderLayout()); JPanel north = new JPanel(); north.add(new JLabel("Texte au nord")); JPanel south = new JPanel(); south.setLayout(new FlowLayout()); south.add(new JLabel("Autre texte")); south.add(new JLabel("texte au sud")); main_panel.add("North",north); main_panel.add("South",south); pack(); setVisible(true); } \end{minted} As already stated I can't see no minted options... I would like to shorten the font size with tiny or script size and may be activate frames around listings J.MOLIERE - Mentor/J