Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Richard Lawrence
Tim Cross writes: > I'm running Emacs 28 and cannot reproduce the issue you observe. Hmm, the plot thickens! > Running emacs -Q I find M-j is bound to > > M-j runs the command default-indent-new-line (found in global-map), > which is an interactive compiled Lisp function in ‘simple.el’. I defi

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Richard Lawrence
Sorry, forgot to reply to this: Tim Cross writes: > Note that C-j in org mode is different from 'normal' C-j in that it is > bound to org-return-and-maybe-indent. If you want M-j to act like C-j in > org mode, you would need to rebind M-j to org-return-and-maybe-indent in > an appropriate org mo

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Richard Lawrence
Tim Cross writes: > I think something is very wrong if your Emacs 28 has org 9.3. I'm pretty > sure the earliest version which was bundled with Emacs 28 was 9.4 - it > is certainly 9.5 now and that is the version that will be bundled with > it when it is released. Fair enough -- I did think that

[PATCH] Fix org-comment-line-break-function (was: Is M-j broken for you in Org on Emacs 27 and 28?)

2021-11-30 Thread Richard Lawrence
Hi Tim and all, Thanks for sticking with me here... Tim Cross writes: > I just checked this when running emacs -Q and get the following > > comment-line-break-function is a variable defined in ‘simple.el’. > > Its value is ‘org-comment-line-break-function’ > > and fill-prefix is > > fill-prefix

Re: [PATCH] Fix org-comment-line-break-function

2021-12-01 Thread Richard Lawrence
Tim Cross writes: > Well, that is the big question - why was > org-comment-line-break-function added instead of just using the > default comment-indent-new-line? Looking back at commit d58d40f0c864ae3a6d7c66df34769619ad2486c1, I see this comment was added by Nicolas (still in org.el): ;; `org-a

Re: [PATCH] Fix org-comment-line-break-function

2021-12-06 Thread Richard Lawrence
Kaushal Modi writes: > On Sat, Dec 4, 2021, 5:25 PM Tim Cross wrote: > >> Given that Nicholas cannot remember the reason for the original function >> and suspects it was meant to be an internal only function, I think this >> patch is probably the best way forward and should be applied. > > Thank

Re: Turn Emacs holidays into Org appointments?

2022-02-07 Thread Richard Lawrence
Hi David and all, David Rogers writes: > Is there a way that I can use something like the Emacs holiday > forms ... but from inside an Org-mode appointment timestamp Yes, this should be possible. > Here's a mock example of what I'm trying to do: > > * Easter > <(holiday-easter-etc 0)> > ** s

Re: wip-cite status question and feedback

2020-04-18 Thread Richard Lawrence
Hi all, Nice to see this issue being discussed again! I don't have a lot to add and at the moment I don't have a lot of time to contribute, but I wanted to make one point about this issue: Joost Kremers writes: > On Mon, Apr 13 2020, Nicolas Goaziou wrote: >> denis.maier.li...@mailbox.org writ

Re: wip-cite status question and feedback

2020-04-18 Thread Richard Lawrence
Joost Kremers writes: > Good points. I guess what this boils down to is whether Org wants > to be like LaTeX, where simple things are doable and complicated > things possible, or Pandoc, where simple things are simple indeed > and complicated things essentially impossible. > > To clarify: in L

Re: wip-cite status question and feedback

2020-04-18 Thread Richard Lawrence
Hi Bruce and all, "Bruce D'Arcus" writes: > Just to align what you're saying and what I'm saying: > > I see three commands in the pandoc syntax: standard/parenthetical, > author-in-text, and suppress-author; that look like so: > > [@doe17] > @doe17 > -@doe17 > > Implicit in what you wrote is the

Re: wip-cite status question and feedback

2020-04-19 Thread Richard Lawrence
"Bruce D'Arcus" writes: > I can't see that it's necessary to have a fourth, because I think the > result of that would be this, which doesn't make any sense. > > 4. "Doe blah blah {2017}"/"Doe blah blah {[3]}" -> > author-in-text+suppress-author command > > Let us know what you think? I think t

Re: wip-cite status question and feedback

2020-05-01 Thread Richard Lawrence
> locally. It could also be, e.g., "cite/footnote", then both "cite/text" >> and "cite/paren" could be of some use. That was suggested by Richard >> Lawrence in this thread, if my memory serves me right. >> >> Does that make sense? > > I think

Re: wip-cite status question and feedback

2020-05-02 Thread Richard Lawrence
Nicolas Goaziou writes: > I think there are really two paths here: either we only support the > common denominator between all processors, like, e.g., Pandoc, or we > handle every possible command, knowing that most of them will not be > portable anyways. Yes, I think that is the core issue: whi

Re: Get Grades Done: the joys of Org's simple power

2020-06-14 Thread Richard Lawrence
Hi Devin, Devin Prater writes: > I tried that on my file, but the checkboxes didn’t update. I’ll give you the > kind of file I’m working with: OK, sorry about that! Two things: 1) I see now that my code assumes the script block runs immediately, so it doesn't work if the script runs before t

Re: Get Grades Done: the joys of Org's simple power

2020-06-14 Thread Richard Lawrence
Hi Devin and all, Devin Prater writes: > Yeah, I was hoping to just have an HTML page or something that could > be put on Github or just sent in an email attachment, where checking > checkboxes would update the fraction cookie. I hacked together a quick solution for this. You should be able to

Re: Get Grades Done: the joys of Org's simple power

2020-06-19 Thread Richard Lawrence
Hi Devin, Devin Prater writes: > Ah, I’m using Safari on MacOS 10.15. I can try with Chrome as well, though. Did it work in Chrome, and/or when you moved the script to the end of the file? For what it's worth, here is a new version that should work better regardless of where it's placed in the

Re: newline or no newline at end of capture: expected behavior

2020-09-27 Thread Richard Lawrence
Hi Samuel, > On 9/23/20, Samuel Wales wrote: >> i have the same question for headline-only capture >> buffers. i.e. what is the expected result with and without trailing >> newline. Just to clarify: are you aware of the :empty-lines, :empty-lines-before and :empty-lines-after keys that you can

Re: Bug: Math mode doesn't work if followed by a dash [9.4 (nil @ /home/gutin/.emacs.d/.local/straight/build/org-mode/)]

2020-09-28 Thread Richard Lawrence
Hi Gutin, gutin writes: > If a pair of dollar signs is followed by a dash, then math mode doesn't > work. Can you say a bit more about what you are trying to do, what you are expecting to happen, and what you are seeing instead? Since you refer to math mode, I assume you are exporting to LaTeX

Re: Bug: Math mode doesn't work if followed by a dash [9.4 (nil @ /home/gutin/.emacs.d/.local/straight/build/org-mode/)]

2020-09-28 Thread Richard Lawrence
Hi Gutin, gutin writes: > What I meant is that if you type > > $*$-algebra > > and hit C-c C-x C-l, then the "$*$" doesn't get replaced with a > mathematical image. A similar problem happens when you export to Latex: > The dollar signs get escaped. I believe this is intentional. There are too

Re: Bug: Math mode doesn't work if followed by a dash [9.4 (nil @ /home/gutin/.emacs.d/.local/straight/build/org-mode/)]

2020-09-29 Thread Richard Lawrence
"Berry, Charles" writes: > The case Gutin describes conforms to the documentation, viz. `$x\beta$-` > should produce math mode LaTeX as I read the next paragraph. > > From (info "(org) LaTeX fragments"): > >• Text within the usual LaTeX math delimiters. To avoid conflicts > with curre

Re: Customize resheduling behaviour

2020-09-30 Thread Richard Lawrence
Hi Stefan, Stefan Huchler writes: > I have a task sheduled like that: > > * TODO Order from a delivery service > SCHEDULED: <2020-10-06 Di .+2w> > > ... > Is there a way to reshedule it, if it fails 1 week later and if I > complete it, reshedule 2 weeks later? I don't think there's any way t

Re: Bug: unexpected new page started after bullet line [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-10-10 Thread Richard Lawrence
Hi Rob, Rob Sargent writes: > This construct causes a new page to be started > * head > ** subhead > - bullet ... in which export backend? You say you are using LibreOffice, but you provided an example Org file with many LaTeX-related options. Do you see the page break in a LibreOffice document

Re: typos in doc.org

2020-11-12 Thread Richard Lawrence
hj-orgmod...@hj.proberto.com writes: > https://www.orgmode.org/worg/sources/doc.org : > > availables -> available ,  uesr -> user : Fixed - thanks for the report! -- Best, Richard

Re: How to go to an Org headline programmatically?

2023-07-07 Thread Richard Lawrence
Hi Marcin, Marcin Borkowski writes: > I want to find an Org headline in Elisp. No need to make it visible, > for example - just move the point to the heading with a given title (it > may even be within `save-excursion', as in "go there, do something, go > back"). `org-link-search' seems to do

Bug: incorrect timestamps with :time-prompt and datetrees

2020-12-24 Thread Richard Lawrence
Hi all, I ran into a subtle bug yesterday. Basically, when using org-capture to capture - an entry into a datetree, - on a date other than today (using :time-prompt in org-capture-templates) - with a capture template that inserts a timestamp (%T) then I get incorrect results for either the

Re: Bug: incorrect timestamps with :time-prompt and datetrees

2020-12-24 Thread Richard Lawrence
Richard Lawrence writes: > This is org 9.4 running from maint (commit ab00524fc). I spent a while > stepping through org-capture and org-read-date but haven't found the > problem yet. I suspect this snippet from a cond form in the middle of > org-capture-set-target-location

Re: Bug: incorrect timestamps with :time-prompt and datetrees

2021-01-06 Thread Richard Lawrence
Hi everyone, Richard Lawrence writes: > I can now confirm that this is the problem. It looks like what is happening > here > is that the regex is meant to match a time range, but ends up matching > the date: thus a string like "12-31 13:00" gets mangled to "12 13:0

[PATCH] incorrect timestamps with :time-prompt and datetrees

2021-01-12 Thread Richard Lawrence
Hi everyone, Bumping this, since I forgot to put "PATCH" in the subject line before. Richard Lawrence writes: > Here is a patch for this issue. It uses a narrower regex to match a time > range. This regex requires time ranges to have ":MM" or an AM/PM > spec

Re: clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Richard Lawrence
Hi Christopher, "Christopher Causer" writes: > Hello everyone! Here's a reasonably easy (I think) question because I'm quite > new to Emacs and org-mode. > > I have an org-capture template using file+olp+datetree[1], which works great > at filing my thoughts for the day. Separately I know I ca

Re: clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Richard Lawrence
Hi Christopher and all, "Christopher Causer" writes: >> Note that org-datetree-find-date has a slightly annoying interface, in >> that you need to provide a list of three integers representing a >> calendar date. > > Yes, that is a little awkward. What I did think of using was substrings to >

Re: [PATCH] capture: Fix handling of time range for :time-prompt

2021-01-31 Thread Richard Lawrence
already capable of processing the time range > in a way that matches org-capture-set-target-location's intent: when > org-end-time-was-given is bound, org-read-date-analyze splits off the > end value of the range and stores it in org-end-time-was-given. Drop > the custom logic an

Re: [PATCH] capture: Fix handling of time range for :time-prompt

2021-02-02 Thread Richard Lawrence
Kyle Meyer writes: > Pushed (3e64d3475). Thank you! >> As far as I can tell, that is not fully possible today, even with this >> patch. The reason is that time *range* information entered at the prompt >> generated by :time-prompt gets thrown away. The reason for *that* is >> that org-read-date

Re: Problems while trying to load feature

2021-03-14 Thread Richard Lawrence
Hi Ypo, Ypo writes: > Problems while trying to load feature ‘ol-org-w3m’ [etc.] > > It says "ol-..." because I tried to solve it after reading the mail > list. It is said that it happens because in version 27.1 files changed > their name from "org-bbdb" to "ol-org-bbdb", but as you can see

Re: org-cite: make 'suppress-author' a citation 'style'

2021-04-26 Thread Richard Lawrence
Hi all, "Bruce D'Arcus" writes: >> We introduced :suppress-author because someone requested it at some >> point. I don't remember who, but it may be worth asking that person. >> > > I did some quick searching. > > Wow; this goes back a long time

Re: org-cite: make 'suppress-author' a citation 'style'

2021-04-27 Thread Richard Lawrence
"Bruce D'Arcus" writes: >> e.g. you can write >> >> Smith claims foo [(cite): -@Smith2019; -@Smith2020; see also @Jones2018]. >> >> to render >> >> Smith claims foo (2019; 2020; see also Jones 2018). > You identified the same case Andras and I discussed just above. > > I think the solution is si

Re: org-cite: make 'suppress-author' a citation 'style'

2021-04-27 Thread Richard Lawrence
Denis Maier writes: > I think Bruce's point was that author suppresion list items other than > the first lies in the jurisdiction of the citeproc, and has to be > handled depending on citation style. (I.e., user input does /not/ matter > here.) Ahhh OK, that makes it clearer. Thanks! Sorry fo

Re: Cannot schedule something for 2039?

2021-06-07 Thread Richard Lawrence
Hi Alan, alan.schm...@polytechnique.org writes: > I need to schedule something for 2039, but when I do it the date is set > for 2037. I tried with a plain emacs config and I see the same issue. Is > this a bug? whoa, that's a weird behavior, but it seems not to be a bug. I learned something toda

Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-06-22 Thread Richard Lawrence
Hi Matt, Matt Price writes: >> I would like to be able to surround some portion of a subtree with a tag, >> e.g.: >> >> * parent >> some text >> #+HTML: >> ** child 2 >> some boxed content >> ** child 2 >>more boxed content >> #+HTML: >> ** child 3 >> unboxed content > I don't know

Re: Citations merged!

2021-07-20 Thread Richard Lawrence
Hi everyone, Nicolas Goaziou writes: > It took years, but citations are now full part of Org syntax. Sorry to be late to the party, but congratulations and thanks to all of those who worked on this, especially Nicolas, Bruce, Denis and András! It's really wonderful to see this work come to frui

<    1   2   3   4