Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Marco Wahl
Matt Lundin writes: >>> Maybe an optional argument could allow one to switch from one behaviour >>> to the other. I have no strong opinion about this, though. >> >> Thanks! >> >> I just found function `org-agenda-switch-to' which is similar to >> `org-agenda-goto' but does not the jump to the hea

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Matt Lundin
Marco Wahl writes: > Nicolas Goaziou writes: > >> Hello, >> >> Marco Wahl writes: >> >>> >>> Pressing TAB in the agenda would jump to the respective plain list item. >>> >>> Find the concrete patch below. >>> >>> WDYT? >> >> I have the feeling that both behaviours are useful. All things being >

[O] Bug: C-c C-c on deadline timestamp can do nothing useful [9.1.2 (9.1.2-elpaplus @ /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171004/)]

2017-10-07 Thread Aaron Jensen
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 http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --

Re: [O] asymmetry between org-backward-sentence and org-forward-sentence around headings

2017-10-07 Thread Mat Vibrys
Sorry, my example contents does not seem to be proper. Dots are missing after all the bodyX. correct one looks like following: * head1 body1. * head2 body2. * head3 body3. calling `org-forward-sentence' from goes to , while it should to to somewhere after head2 and before body2. Calli

Re: [O] asymmetry between org-backward-sentence and org-forward-sentence around headings

2017-10-07 Thread Mat Vibrys
Nicolas, thank You for fix, I've just did some testing on it and found some contents where assymetry still persists. cursor position is marked with and IT IS NOT PART OF FILE CONTENTS. * head1 body1 * head2 body2 * head3. body3 calling `org-forward-sentence' from will go to , while

Re: [O] function for inserting a block

2017-10-07 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Nicolas Goaziou writes: >> >> >> [...] >> >>> C-c C-x t is free, tho. >> >> Oops, I think that's what I meant to type. Here's the latest version of >> the patch -- I removed the bit fooling with the location of point at the >> en

Re: [O] S5 HTML export - org9.1.1

2017-10-07 Thread Kyle Meyer
dchechi...@gmail.com writes: > I have evaluated the following function found in ox-html.el > and indeed the S5 html works when this function is defined. > > (defun org-html-end-plain-list (type) > "Insert the end of the HTML list depending on TYPE." > (case type > (`ordered "") > (`uno

Re: [O] Is there a way to get all agenda TODOs programmatically?

2017-10-07 Thread Matt Lundin
Marcin Borkowski writes: > On 2017-10-07, at 16:20, Matt Lundin wrote: > >> Hi Marcin, >> >> Marcin Borkowski writes: >> >>> I'd like to get a list of all agenda TODOs, with titles and due dates. >>> Is there something ready in Org/contrib/blogosphere to help me? >> >> This functionality is bui

Re: [O] Is there a way to get all agenda TODOs programmatically?

2017-10-07 Thread Marcin Borkowski
On 2017-10-07, at 16:20, Matt Lundin wrote: > Hi Marcin, > > Marcin Borkowski writes: > >> I'd like to get a list of all agenda TODOs, with titles and due dates. >> Is there something ready in Org/contrib/blogosphere to help me? > > This functionality is built into org-mode. The simplest way to

Re: [O] Tangling based on file level #+PROPERTY

2017-10-07 Thread Ken Mankoff
Strange, and nevermind. Restarting emacs fixed it. It must have been something to do with stale files and the upgrade. -k. On Sat, Oct 7, 2017 at 3:44 PM, Kaushal Modi wrote: > On Sat, Oct 7, 2017, 7:10 AM Ken Mankoff wrote: > >> Hi Org List, >> >> I just upgraded to 9.1.2. >> > > What versi

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Marco Wahl
Nicolas Goaziou writes: > Hello, > > Marco Wahl writes: > >> Let's say in an Org file you have the following plain list. >> >> * test >> >> - <2017-10-07 Sat 16:25> Start writing the RFC. >> - <2017-10-07 Sat 16:29> Thought: "Will somebody notice?" >> - <2017-10-07 Sat 16:30> Sent the RFC to the

Re: [O] S5 HTML export - org9.1.1

2017-10-07 Thread dchechin92
Hello, I have evaluated the following function found in ox-html.el and indeed the S5 html works when this function is defined. (defun org-html-end-plain-list (type) "Insert the end of the HTML list depending on TYPE." (case type (`ordered "") (`unordered "") (`descriptive "")))

Re: [O] S5 HTML export - org9.1.1

2017-10-07 Thread Kyle Meyer
Hello, dchechi...@gmail.com writes: > Since I upgrade to org-9.1.1, the export to S5 HTML seems not to work > whereas it used to work before this upgrade. > > I have the following message : > "format: Symbol's function definition is void: org-html-end-plain-list" > I use GNU Emacs 25.1.1 (x86_64-

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > Let's say in an Org file you have the following plain list. > > * test > > - <2017-10-07 Sat 16:25> Start writing the RFC. > - <2017-10-07 Sat 16:29> Thought: "Will somebody notice?" > - <2017-10-07 Sat 16:30> Sent the RFC to the list. > > For each list item a corresp

Re: [O] org-open-at-point fails on internal links

2017-10-07 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > Hello, > > Scott Otterson writes: > >> When I click on an internal link to an anchor, I get the error message: >> >> "Wrong type argument: number-or-marker-p" >> >> The same happens if I type C-c C-o on the link. This is mapped >> to org-open-at-point, which should

Re: [O] Can I use a custom mode for org-src-lang-modes and still get syntax highlighting?

2017-10-07 Thread Nicolas Goaziou
Hello, david wen riccardi-zhu writes: > I'm trying to get syntax highlighting with org-mode source blocks > using a custom language mode for editing JavaScript. I use js2-mode > with a bunch of minor modes, rather than js-mode, which is what > org-mode uses by default. > > I was able to get org-

Re: [O] org-open-at-point fails on internal links

2017-10-07 Thread Kyle Meyer
Hello, Scott Otterson writes: > When I click on an internal link to an anchor, I get the error message: > > "Wrong type argument: number-or-marker-p" > > The same happens if I type C-c C-o on the link. This is mapped > to org-open-at-point, which should handle internal links. [...] > This beh

[O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-07 Thread Marco Wahl
Hello, This is a little proposition about changing the behaviour of `org-agenda-goto' which typically gets triggered when pressing TAB on an line in the Org agenda. The proposition affects only the case of an agenda line due to a timestamp outside a planning line (i.e. SCHEDULED or DEADLINE.) Up

[O] S5 HTML export - org9.1.1

2017-10-07 Thread dchechin92
Hello, Since I upgrade to org-9.1.1, the export to S5 HTML seems not to work whereas it used to work before this upgrade. I have the following message : "format: Symbol's function definition is void: org-html-end-plain-list" I use GNU Emacs 25.1.1 (x86_64-w64-mingw32). Do someone as the same pro

Re: [O] Is there a way to get all agenda TODOs programmatically?

2017-10-07 Thread Matt Lundin
Hi Marcin, Marcin Borkowski writes: > I'd like to get a list of all agenda TODOs, with titles and due dates. > Is there something ready in Org/contrib/blogosphere to help me? This functionality is built into org-mode. The simplest way to get such a list is to use the agenda (specifically M-x or

[O] [RFC] Exclude headlines from TOC, take 2

2017-10-07 Thread Nicolas Goaziou
Hello, Here is another take on the possibility to exclude headlines from the table of contents. Last attempt was rejected because users need to include /unnumbered/ headlines in the TOC. Point taken. However, I don't think it makes sense to exclude /numbered/ headlines from the TOC. Hence, I prop

Re: [O] Tangling based on file level #+PROPERTY

2017-10-07 Thread Kaushal Modi
On Sat, Oct 7, 2017, 7:10 AM Ken Mankoff wrote: > Hi Org List, > > I just upgraded to 9.1.2. > What version did you upgrade from? I have a file with this at the top: > > #+PROPERTY: header-args :tangle filename > > And a lot of SRC blocks with this header: > > #+BEGIN_SRC emacs-lisp > #+END_SR

[O] Can I use a custom mode for org-src-lang-modes and still get syntax highlighting?

2017-10-07 Thread david wen riccardi-zhu
I'm trying to get syntax highlighting with org-mode source blocks using a custom language mode for editing JavaScript. I use js2-mode with a bunch of minor modes, rather than js-mode, which is what org-mode uses by default. I was able to get org-mode to use js2-mode for editing code by custom

[O] [PATCH v2] org-clock: Fix clock report sometimes ignoring hours before :wstart

2017-10-07 Thread Georgiy Tugai
* lisp/org-clock (org-clocktable-steps): Fix weekly-step clock report ignoring hours between start of period and start of week, when start of period is on a day of week numerically less than start of week. Clock report now always inserts a "week" starting at the start of the period, if nec

[O] Tangling based on file level #+PROPERTY

2017-10-07 Thread Ken Mankoff
Hi Org List, I just upgraded to 9.1.2. I have a file with this at the top: #+PROPERTY: header-args :tangle filename And a lot of SRC blocks with this header: #+BEGIN_SRC emacs-lisp #+END_SRC In the past, when I tangled the file, I got ~100 blocks exported. Now I get 5, because only 5 have ex

[O] Fontification for the inner bloc of two nested bloc

2017-10-07 Thread Pierre-André Cornillon
Dear orgmode users/gurus, I have a question about fontification of inner src bloc. I have two nested blocks: one special (outer bloc) and one src (inner bloc) like this #+begin_bloc20171001122500 #+begin_src R blip <- runif(2) test <- rnorm(2) #+end_src #+end_bloc20171001122500 and I want t

[O] org-open-at-point fails on internal links

2017-10-07 Thread Scott Otterson
When I click on an internal link to an anchor, I get the error message: "Wrong type argument: number-or-marker-p" The same happens if I type C-c C-o on the link. This is mapped to org-open-at-point, which should handle internal links. However, if I type C-c o on the link, then the cursor goes t