Re: Subject: [PATCH] org-id: Allow file name to be overridden on ID creation

2020-04-20 Thread Kyle Meyer
Kyle Meyer writes: > Subject: [PATCH] org-id: Allow file name to be overridden on ID creation Applied (c716b7c08).

Re: Bug: Weird error message whenever creating org file [8.2.5h (8.2.5h-elpa @ /Users/kevin/.emacs.d/elpa/org-20140130/)]

2020-04-20 Thread Kyle Meyer
Kevin Van Horn writes: > Whenever I create a new *.org file, I get this error message: > > File mode specification error: (error "'recenter'ing a window that does > not display current-buffer.") This will be tricky for others to debug without a minimal config to trigger it. For debugging on you

Re: Failing tests

2020-04-20 Thread Kyle Meyer
Marco Wahl writes: > When building with "make test" I get > > #v+ > 2 unexpected results: >FAILED ob-tangle/jump-to-org >FAILED test-org-attach/dir > #v- > > does this ring a bell for anybody? FWIW I don't see either failure on my end (Emacs 26.3). Do they fail for you consistently?

yhetil.org/orgmode now supports searching by Gmane ID

2020-04-22 Thread Kyle Meyer
In the Git and mailing list history, we've got lots of references like . Those Gmane http links aren't so useful now, though you can still use that information to access the message by doing things such as $ w3m -m nntp://news.gmane.io/gman

Re: yhetil.org/orgmode now supports searching by Gmane ID

2020-04-22 Thread Kyle Meyer
Eric Abrahamsen writes: > Kyle Meyer writes: [...] >> $ w3m -m nntp://news.gmane.io/gmane.emacs.orgmode/112052 >> >> (Offhand I don't know how to do the same in Gnus, despite it being my >> primary method for following things over nntp.) > > I assu

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-04-24 Thread Kyle Meyer
Daniel Kraus writes: > Just want to say that I'm (like everyone else who uses the Emacs > `native-comp` branch > with org-mode from master) are also affected by this and > would appreciate if this can be merged. I'll plan to bring that commit into master tomorrow. We can reevaluate/rework the

Re: how to get an org-link to open a program in eshell

2020-04-24 Thread Kyle Meyer
Joseph Vidal-Rosset writes: > I'm trying to get something via an org-link. I suspect that it is > possible, but the documentation is not clear enough for me to get it. > > I want to make an org-link that get me directly in eshell a program, > and if it is possible to do it, I will bookmark this o

Re: Why not org-tempo insert upcased strings?

2020-04-24 Thread Kyle Meyer
tsuucat writes: >> Yes, the convention is now to have downcased keywords. > Thanks. Is the convention documented? > > https://orgmode.org/manual/Structure-Templates.html#Structure-Templates > > It doesn’t seems that The O

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-04-25 Thread Kyle Meyer
Kyle Meyer writes: > I'll plan to bring that commit into master tomorrow. We can > reevaluate/rework the change if needed when Bastien is back in action. Done with 3c31941139ed6de14aebee950141dabbd7c0b468.

Re: Feature request: org-agenda-clockreport-mode to omit files with no clocked time

2020-04-26 Thread Kyle Meyer
Stig Brautaset writes: > I often end up with empty files in my org-agenda-clockreport-mode, > something like this. (For the avoidance of doubt: this is an ECM ;-) ) > > | File | Headline | Time | | > |--+--++---| > | | ALL *Tota

Re: Specifying the execution function and/or nested major mode for babel blocks

2020-04-26 Thread Kyle Meyer
Vladimir Nikishkin writes: > This is fine most of the time, however, there are exceptions. > The one I am interested in is fortran/f90. There are separate > fortran-mode and f90-mode, however, afaiu, just a single > ob-fortran.el, which works fine with both of those. In that case, you'd just nee

Re: Specifying the execution function and/or nested major mode for babel blocks

2020-04-27 Thread Kyle Meyer
Vladimir Nikishkin writes: >>> (add-to-list 'org-src-lang-modes '("f90" . fortran)) > > Language alignment is fine. What needs to be done is to make org-babel > use org-babel-execute:fortran for both begin_src fortran, and for > begin_src f90. Yeah, my suggestion doesn't make sense given you sai

Re: Why not org-tempo insert upcased strings?

2020-04-27 Thread Kyle Meyer
Kaushal Modi writes: > On Mon, Apr 27, 2020, 4:35 AM tsuucat wrote: > >> Why the convention is changed in org-tempo? > > I'm a bit hazy about this, but I believe that org-tempo got introduced > after this commit: > https://code.orgmode.org/bzg/org-mode/commit/13424336a6f30c50952d291e7a82906c1210

Re: [PATCH] org-agenda.el: Complete multiple todo keywords

2020-04-29 Thread Kyle Meyer
Thanks for the patch. Looks like a nice improvement to me. akater writes: > * lisp/org-agenda.el (org-todo-list): Use completing-read-multiple > instead of completing-read when selecting todo keywords to filter by > in Agenda. This and the rest of the lines were unwrapped. Could you wrap them

Re: How to properly set up reminders for paying cellphone fees in org?

2020-04-29 Thread Kyle Meyer
Vladimir Nikishkin writes: > I need to pay a fee by every 28th of the month, and I want this task > to show up in the agenda from the 20th of the next not paid month. > > What's the proper DEADLINE format? > > DEADLINE: <2020-02-28 Sun .+1m -10d> ? > DEADLINE: <2020-02-28 Sun -10d .+1m> ? Tho

Re: How to properly set up reminders for paying cellphone fees in org?

2020-04-30 Thread Kyle Meyer
Vladimir Nikishkin writes: > However, the manual node you're pointing to disagrees with the claim that > those are equivalent: > >>If you need both a repeater and a special warning period in a deadline >>entry, the repeater should come first and the warning period last >> DEADLINE: <2005-10-0

Re: [PATCH] org-agenda.el: Complete multiple todo keywords

2020-04-30 Thread Kyle Meyer
akater writes: > Done. New patch is attached. Thanks for the update and the expanded explanations. The patch looks good to me. As a minor note for future patches, it's easier on the receiver if you include the non-patch commentary in one of the ways that git-am can automatically detect and tri

Re: org-plot - changing colors

2020-04-30 Thread Kyle Meyer
Stephan Fabel writes: > I'm trying to plot a table which looks like this: > > | Team | Bu | R | Bk | G | T | % Bu | % R | % Bk | %G | > |---++---++++--+--+--+--| > | Team 1| 4 | 5 | 2 | 24 | 35 | 11.4 | 14.3 | 5.7 | 68.6 | > | Team 2|

Re: [PATCH] org-agenda.el: Complete multiple todo keywords

2020-05-01 Thread Kyle Meyer
Applied (d23bd9187).

Re: Bug: Org-drill defines advice causing infinite recursion [9.3.6 (release_9.3.6-465-g4fde1c @ /home/christoffer/.emacs.d/straight/build/org/)]

2020-05-01 Thread Kyle Meyer
Hi, Sorry for the slow reply. Christoffer Stjernlöf writes: > Org-drill defines the following advice: > > (when (version< org-version "9.2") > (advice-add 'org-get-tags :around #'org-drill-get-tags-advice)) > > (defun org-drill-get-tags-advice (orig-fun &rest args) > ;; the tw

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread Kyle Meyer
Nicolas Goaziou writes: > No Wayman writes: > >> No Wayman writes: >> >>> Any interest in this patch? >> Apologies, intended this to be a reply to: >> https://lists.gnu.org/archive/html/emacs-orgmode/2020-03/msg00317.html > > It apparently felt through the cracks. We're missing reviewers these >

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-04 Thread Kyle Meyer
No Wayman writes: > Appreciate the reminder, Kyle. I emailed the form per the > directions in that link roughly two weeks ago. Ah, great! Thanks (and sorry for the noise).

[PATCH 0/4] dynamic block-related fixes

2020-05-04 Thread Kyle Meyer
Axel Kielhorn writes: > while exchanging mails with Uwe Brauer I discovered some errors in the manual: > > 7.5.3 Capturing column view > > links to > > A.6 Dynamic Blocks > > which describes > > org-dynamic-block-insert-dblock > > But this commands does not know about columnview It does, but it

[PATCH 2/4] orgcard: Update binding for org-columns-insert-dblock

2020-05-04 Thread Kyle Meyer
As of 34b71a0ca (Add a dispatcher command for inserting dynamic blocks, 2018-12-23), the binding was removed and the command is available via org-dynamic-block-insert-dblock. --- doc/orgcard.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/orgcard.tex b/doc/orgcard.tex i

[PATCH 4/4] org: Retain prefix arg when dispatching dynamic block commands

2020-05-04 Thread Kyle Meyer
* lisp/org.el (org-dynamic-block-insert-dblock): Add an interactive-p argument that is non-nil for interactive calls and signals to call the dynamic block function interactively. org-clock-report takes a prefix argument. When it had a regular binding, this was easy to access. As of 34b71a0ca (Ad

[PATCH 1/4] manual: Remove stale information about dynamic block bindings

2020-05-04 Thread Kyle Meyer
* doc/org-manual.org (Capturing column view): Replace stale binding with mention of org-dynamic-block-insert-dblock, and refer to org-columns-insert-dblock rather than its obsolete variant. (The clock table): Prune references to stale binding, rewrite org-dynamic-block-insert-dblock key sequence in

[PATCH 3/4] Autoload dynamic block definitions

2020-05-04 Thread Kyle Meyer
* lisp/org-clock.el: * lisp/org-colview.el: Autoload call to org-dynamic-block-define. The dynamic block dispatcher added in 34b71a0ca (Add a dispatcher command for inserting dynamic blocks, 2018-12-23) offers an entry for "clocktable" and "columnview" only after the corresponding library is loade

Re: [PATCH] Do not ignore org-odt-styles-file

2020-05-04 Thread Kyle Meyer
Kyle Meyer writes: > Could you update your patch to follow the conventions outlined at > <https://orgmode.org/worg/org-contribute.html>? In particular, add (1) > a change-log entry to the commit message and (2) a TINYCHANGE cookie. > Also, it's typical for commit subj

Re: [PATCH 2/4] orgcard: Update binding for org-columns-insert-dblock

2020-05-05 Thread Kyle Meyer
Axel Kielhorn writes: >> diff --git a/doc/orgcard.tex b/doc/orgcard.tex >> index fa233b620..121a86442 100644 >> --- a/doc/orgcard.tex >> +++ b/doc/orgcard.tex >> @@ -513,7 +513,7 @@ \section{Properties and Column View} >> \key{special commands in property lines}{C-c C-c} >> \key{next/previous allo

Re: [PATCH 0/4] dynamic block-related fixes

2020-05-05 Thread Kyle Meyer
Pushed with fixes for the orgcard issues Axel noted and dropping the notmuch message ID prefix that I unintentionally included in two commit messages. Range-diff: 1: 6f990dbc4 ! 1: 861ffb313 manual: Remove stale information about dynamic block bindings @@ Commit message for inser

Re: Bug: Missing key definition for org-resolve-clocks [9.3.6 (9.3.6-25-g685b2c-elpa @ c:/users/ian/.emacs.d/elpa/org-20200316/)]

2020-05-05 Thread Kyle Meyer
[ Sorry for the delayed reply. ] Ian Garmaise writes: > According to the manual section 8.4.3, org-resolve-clocks should be > bound to C-c C-x C-z > > This doesn't seem to be the case. That's odd. That binding has been around for a while (f250f6beb, 2012-07-28) and is in the version you reporte

Re: [PATCH] Fix moving cursor in org-set-tags-command

2020-05-07 Thread Kyle Meyer
Matt Lundin writes: > Commit 44ec473c199262d89b372d8a6cd35bed7672164d from Feb. 23 causes > org-set-tags-command to move the cursor forward 1 char when situated on > headline asterisks. [...] > This commit modified a previous change on Feb. 21 > (450452de4b790706d187291f9f71a286f8f62004). But that

Re: [PATCH] Fix moving cursor in org-set-tags-command

2020-05-08 Thread Kyle Meyer
Nicolas Goaziou writes: > Matt Lundin writes: > >> -(when (save-excursion (skip-chars-backward "*") (bolp)) >> - (forward-char >> +(and (looking-at " ") >> + (string-match "\\*+" (buffer-substring (point-at-bol) (point))) >> + (forward-char > > Please replace `and' wi

Re: [PATCH] Fix moving cursor in org-set-tags-command

2020-05-09 Thread Kyle Meyer
Nicolas Goaziou writes: > Then let's push Matt Lundin's solution (with skip-chars-backward), along > with your tests! Pushed (6e50b22ff). Thanks.

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Kyle Meyer
Nicolas Goaziou writes: > Ihor Radchenko writes: > >> My response to you was blocked by your mail server: >> >>> 550 5.7.1 Reject for policy reason RULE3_2. See >>> http://postmaster.gandi.net > > Aka "spam detected". Bah. > >> The message landed on the mail list though: >> https://www.mail-archi

Re: Possible bug with columnview and active dates

2020-05-10 Thread Kyle Meyer
> I posted this question here: > https://emacs.stackexchange.com/questions/58337/how-remove-active-date-from-a-dynamic-block-using-columnview > regarding removing the active dates from a columnview. A user replied > suggesting this could maybe be a bug. > > According to the docs: > https://orgmod

Re: Possible bug with columnview and active dates

2020-05-10 Thread Kyle Meyer
Kyle Meyer writes: >> According to the docs: >> https://orgmode.org/manual/Special-Properties.html#Special-Properties >> Using DEADLINE or SCHEDULED should not include the angular brackets. > > Thanks for the report. There is certainly a document/code mismatch. > D

Re: Possible bug with columnview and active dates

2020-05-10 Thread Kyle Meyer
Kyle Meyer writes: > While I think it's be fair to consider this a regression, I'm leery of s/it's be/it's/ > restoring the original behavior of stripping the brackets given how long > the current behavior has been around. Instead I think it'd be better to &g

[PATCH] manual: Fix special property descriptions for DEADLINE/SCHEDULED

2020-05-10 Thread Kyle Meyer
Kyle Meyer writes: > Instead I think it'd be better to update the documentation and tweak > the output on colview's end. Here's an update for the manual. I'll apply it in a day or two if no objections come in. -- >8 -- Subject: [PATCH] manual: Fix special proper

Re: Possible bug with columnview and active dates

2020-05-11 Thread Kyle Meyer
Nicolas Goaziou writes: > IIRC, date computations in the spreadsheet return inactive timestamps. > So, if we don't want to conform to the documentation, we could insert an > inactive time-stamp instead, to be on the safe side. > > WDYT? Sounds good to me. I should be able to find time in the nex

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-05-11 Thread Kyle Meyer
Carsten Dominik writes: > I just tried to archive something and hit again the issue that > org-get-outline-paths undefined. Is there a specific holdup why this > function has not been moved back into org.el? org-get-outline-path was moved back to org.el in 3c3194113 (2020-04-26). % git rev-pa

[PATCH] colview: Display active time stamps as inactive

2020-05-11 Thread Kyle Meyer
Kyle Meyer writes: > Nicolas Goaziou writes: > >> IIRC, date computations in the spreadsheet return inactive timestamps. >> So, if we don't want to conform to the documentation, we could insert an >> inactive time-stamp instead, to be on the safe side. >> >&g

Re: [PATCH] colview: Display active time stamps as inactive

2020-05-12 Thread Kyle Meyer
Kyle Meyer writes: > Okay, here's a patch for that to go along with the documentation patch. Pushed (7684b59c7, 75902a473).

Re: [PATCH 0/1] Fix various typos

2020-05-13 Thread Kyle Meyer
Jonas Bernoulli writes: > There isn't much to be said about the typo fixes in the attached patch. > > However, I noticed a few more typos, which I did not fix: > > * In CONTRIBUTE several occurances of "maintainance" should be > replaced with "maintenance". One of them occurs in a URL to > a

Re: Manual 2.2.2 and 16.7 needs to amended

2020-05-13 Thread Kyle Meyer
Charles Millar writes: > I think the following changes are required: in the manual, if they > already have not been made in the past few hours: > > 2.2.2 > When Emacs first visits an Org file, the global state is set to > SHOWEVERYTHING, i.e., all file content is visible(1). > > (No idea if the f

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-15 Thread Kyle Meyer
Pablo Palazon writes: > I've created a path to add a new option to float properties for figures on > latex. This is my first change for org-mode, and I don't really sure if > this is the correct way to do it. Thank you! > * lisp/ox-latex.el (org-latex--inline-image): Include margin option > to c

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-16 Thread Kyle Meyer
Louis Gostiaux writes: > Kyle could you please redirect also to Pablo's patch ? Couldn't find it. Sure, there were three patches, but the patch for the main code change was in the message that mine as in reply to: You can see the message at https://yhetil.org/CAOKwhjswgMvE4jkTXgMeEg7G9s9R2j

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-16 Thread Kyle Meyer
Thomas S. Dye writes: > This patch produces a LaTeX environment, marginfigure, that isn't > part of the standard. AFAIK, marginfigure is defined in the > sidenotes package and separately in the tufte-latex class, neither > of which Org mode loads by default. If the patch is applied, then > o

Re: Spelling corrections, file name changes

2020-05-16 Thread Kyle Meyer
Mak Kolybabi writes: > I noticed two spelling mistakes in the `worg` repo: > > 1. "maint[ai]nence" vs "maint[e]nance" > 2. "gardner" vs "gardener" Thanks. It looks like your message was delayed hitting the list, and the maintenance typos in the file names were pointed out by someone else in th

[PATCH] agenda: Consider FILETAGS for archive skipping

2020-05-16 Thread Kyle Meyer
George Sokolsky writes: > I have .org files with "#+FILETAGS: ARCHIVE" headers. > > I want items from these .org files to be hidden by default from results > of "org-agenda" -> "s Search for keywords" by default. > > This is not the case, unfortunately. [...] I'd guess that it's uncommon to try

Re: `#+author:' stopped setting the author to empty string

2020-05-18 Thread Kyle Meyer
Kaushal Modi writes: > At some point in the past month or so, I have noticed that on Org master, > #+author: does not set the author to empty in the exports. > > Simply example to reproduce: Thanks for the minimal example. > I looked through the commits on master in the past month, but I don't s

Re: [PATCH] agenda: Consider FILETAGS for archive skipping

2020-05-18 Thread Kyle Meyer
George Sokolsky writes: > I had to apply it manually on the latest org-20200518 (line numbers > changed in this new version or me too lame) - the patch seem to fix the > below problem and works just fine! The patch was against the master branch (specifically 9bc0cc7fb), not the maint branch which

Re: `#+author:' stopped setting the author to empty string

2020-05-19 Thread Kyle Meyer
Nicolas Goaziou writes: > At first glance, it looks harmless. If the test suite passes, we can > apply it. The test suite does pass with the change. Pushed, along with a regression test (962b8e765). Thanks.

Re: Capture Template Diary Entry: file+datetree+prompt use the prompted timestamp including the time when time is specified

2020-05-19 Thread Kyle Meyer
Nils Schween writes: > ("d" "Diary entry" entry (file+datetree+prompt > "~/MPIK-Nextcloud/emacs/.org/kalender.org") > "* %i%?\n %T") > > And it works as expected: When calling the capture template, I am prompted > for a > date and I can also type a time, and on saving everyt

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-19 Thread Kyle Meyer
Nick Daly writes: > Attached is an updated patch that makes output trimming work with > blocks that do and don't produce results. The old patch creates a > =let: Wrong type argument: arrayp, nil= error when evaluating blocks > that don't produce output. This necessarily incorporates yesterday's

Re: [PATCH] agenda: Consider FILETAGS for archive skipping

2020-05-20 Thread Kyle Meyer
George Sokolsky writes: > Kyle, could you please apply the patch to the org repository? Applied (5e2490bdf).

[PATCH] ob-core: Display warning on failure to read results

2020-05-20 Thread Kyle Meyer
Greg Minshall writes: > hi. i'm running R code from an org mode file. i was having a problem > where a code block that *was* returning a value result was not returning > the results into the buffer. > > (after long head-scratching) this appears to be because my code was > returning more lines of

Re: yhetil.org/orgmode now supports searching by Gmane ID

2020-05-22 Thread Kyle Meyer
Bastien writes: > Kyle Meyer writes: > >> Anyway, for the public-inbox archives at <https://yhetil.org/orgmode>, > > I find the interface to be very useful. I'm glad to hear that! > Is it possible to make it the standard/official way to search through > emac

Re: [PATCH] New function org-agenda-filter-set

2020-05-22 Thread Kyle Meyer
Stefan Kangas writes: > Please find attached a patch to add a new function org-agenda-filter-set > which allows you to specify the same strings as in the org-agenda-filter > prompt directly from Lisp. It allows you to do things like: > > (org-agenda-filter-set "-@foo-bar") > > Before, this wo

Re: Fwd: Support compilation of Haskell in org mode babel blocks.

2020-05-22 Thread Kyle Meyer
Hi Roland, Roland Coeurjoly writes: > I added version 9.4 to ORG-NEWS. > Please tell me if that's OK or I should instead put it in 9.3. I don't think you managed to place your patch correctly on top of the current master (5adfb533c at the time of writing) because ... > --- a/etc/ORG-NEWS > +++

Re: Manual 7.5.3 Capturing column view outdated

2020-05-23 Thread Kyle Meyer
Bastien writes: > Axel Kielhorn writes: > >> while exchanging mails with Uwe Brauer I discovered some errors in >> the manual: > > just a note to say it has been fixed by Kyle a while ago: > https://code.orgmode.org/bzg/org-mode/commit/861ffb31 > > Sorry if a confirmation has already been sent, I

Re: [PATCH] ob-core: Display warning on failure to read results

2020-05-24 Thread Kyle Meyer
Kyle Meyer writes: > Subject: [PATCH] ob-core: Display warning on failure to read results Applied to master (14878f3f9).

Re: [PATCH] Fix `org-babel-detangle' handling of false positives

2020-05-24 Thread Kyle Meyer
Hi Kevin and Bastien, This change (010d1e3b6) needs a follow-up patch. Running the tests now leaves the working tree dirty: diff --git a/testing/examples/babel.org b/testing/examples/babel.org index b0942800a..e95a65b85 100644 --- a/testing/examples/babel.org +++ b/testing/examples/babel.org @@

Re: [Patch] Document org-capture-templates entry type default strings

2020-05-24 Thread Kyle Meyer
Bastien writes: > No Wayman writes: > >> I've included the default entry type strings for each entry type in >> org-capture-tempalte's docstring. > > Thanks for the patch. The lines are wrapped and it is not easy to > read it in my client. Can you resend it as an attachement and update > it as

Re: Org-agenda ignores archive tag set by "#+FILETAGS: ARCHIVE"

2020-05-24 Thread Kyle Meyer
Bastien writes: > George Sokolsky writes: > >> I have .org files with "#+FILETAGS: ARCHIVE" headers. > > Shouldn't it be "#+FILETAGS: :ARCHIVE:" instead? > > (Note the columns.) Despite being the documented form, org-set-regexps-and-options will handle entries "tag1 [tag2 ...]" as well: (

Re: [PATCH] Fix `org-babel-detangle' handling of false positives

2020-05-24 Thread Kyle Meyer
Kevin Foley writes: > Kyle Meyer writes: > >> Kevin, could you look into updating the test to avoid changing the repo >> state? > > Sorry about that. Do you have any suggestions on how to avoid changing > the state or any examples of similar tests? > > I tried

Re: Is there a way to export only a subtree of a document to LaTeX (or anywhere)?

2020-05-24 Thread Kyle Meyer
Vladimir Nikishkin writes: > I have a huge document written in org, which takes a lot of time to export. > > I want to preview chapters/sections as I'm writing, before finishing > the whole book. > > Is it possible without copying a subtree to a temporary buffer? When you enter the export dispatc

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-25 Thread Kyle Meyer
Nick Daly writes: > After a bit of tinkering, I realized there are two things going on > here, only one of which I fully understand: > > 1. My core functional issue is that =comint-prompt-regexp= isn't set >up to handle the "Prelude| " entries or the repeated prompts. The >other patches I

Re: [PATCH] ob-haskell: Line Continuations Mangle Block Output

2020-05-25 Thread Kyle Meyer
Nick Daly writes: > On Sat, May 23, 2020 at 7:02 PM Nick Daly wrote: >> : "^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: >> \\*?[[:upper:]][\\._[:alnum:]]*\\)*\\( λ\\)?> " >> >> =comint-prompt-regexp='s variable documentation calls out much simpler >> regexps >> >> : "^[^>]+\\(> \\)?" > > This simplified

Re: [PATCH] test-ob-tangle.el: Fix dirty repo state caused by testing

2020-05-26 Thread Kyle Meyer
Kevin Foley writes: > The attached patch kills the buffer of the file modified > during testing to prevent leaving the repo in a dirty state. Thanks. I applied it in 7a2b785d6 with a small tweak so that a buffer rather than a buffer name is passed to kill-buffer. In the context of the tests, th

Re: Bug: why does org-goto call org-latex-preview?

2020-05-26 Thread Kyle Meyer
Vladimir Nikishkin writes: > Why is it that org-goto enforces the regeneration of previews in a buffer? It looks like an oversight to me. I think org-startup-with-latex-preview should be let-bound to nil around org-goto-location's call to org-mode. Likewise, I'd say that org-startup-with-inline

Re: Bug: why does org-goto call org-latex-preview?

2020-05-26 Thread Kyle Meyer
Ihor Radchenko writes: >> It looks like an oversight to me. I think >> org-startup-with-latex-preview should be let-bound to nil around >> org-goto-location's call to org-mode. Likewise, I'd say that >> org-startup-with-inline-images and org-startup-shrink-all-tables should >> be let-bound to ni

Re: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture

2020-05-27 Thread Kyle Meyer
Kevin Liu writes: > Basically, the last position in the narrowed org-capture is actually > the first position on the next line, so when you go to (end-of-buffer) > and start typing you start clobbering the next headline. > > I tested this with emacs -Q, capturing an `entry` with `file+headline` >

Re: Bug: 20200525 release: invalid function: org-preserve-local-variables [9.3.6 (9.3.6-75-gb614ed-elpa @ /home/jgoerzen/.emacs.d/elpa/org-20200525/)]

2020-05-27 Thread Kyle Meyer
John Goerzen writes: > I recently have upgraded to org 20200525 from your package repo because > org-roam requires a newer org-mode than I had. GNU ELPA has 9.3.6, > which would be new enough, but all of my machines fail downloading the > tar of that version from ELPA with "invalid request", so I

Re: Possible fix for :includes header argument in org-babel C source blocks

2020-05-27 Thread Kyle Meyer
Kévin Le Gouguec writes: > Bastien writes: > >> Brandon Guttersohn writes: >> >>> Hey all, I think I may have a small fix for executing C source blocks >>> in org-babel. Or, possibly just a bad case of user error. >>> >>> The issue (in emacs 27 with -q) is that it doesn't seem possible to >>> sp

Re: Trivial fix for (void-function org-get-outline-path) in org-eldoc.

2020-05-27 Thread Kyle Meyer
Jacob MacDonald writes: > I noticed that after updating my Org I was getting errors instead of > eldoc locations in my .org buffers. Thankfully the fix was a simple > oneliner. Patch attached. As you noted in your next message, this ended up being a part of a larger issue and resolved with a fix

[PATCH] goto: Avoid invoking org-mode for outline navigation

2020-05-27 Thread Kyle Meyer
Kyle Meyer writes: > Ihor Radchenko writes: > >> Is there even a need to call the whole (org-mode). The new buffer is >> an indirect buffer. It should already have org-mode activated (at least, >> we can check for it and not call (org-mode) unnecessarily). If we just

Re: missing packages

2020-05-28 Thread Kyle Meyer
Colin Baxter writes: > I notice a few packages seem to be absent from the org-mode dev tree, > e.g., org-bibtex.el and org-bbdb.el. Yet nothing I've seen in ORG-NEWS > suggests that they have been discontinued. I am probably not > understanding something rather elementary. In Org 9.3, link-relat

Re: Possible fix for :includes header argument in org-babel C source blocks

2020-05-28 Thread Kyle Meyer
Kévin Le Gouguec writes: > BTW, does the change from 44cb98fdb deserve an ORG-NEWS entry? Hmm, my impression from the thread/patch was that it was a plain bug fix, in which case I think the lack of an entry is fine.

Re: Possible fix for :includes header argument in org-babel C source blocks

2020-05-28 Thread Kyle Meyer
Kévin Le Gouguec writes: > Here is a patch to fix the regression: Thanks, applied (6506ea1). > And here is a patch to add a test for the unquoted-single-header case, > since otherwise it's hard to tell whether this behaviour is intentional: Looks good to me. Thanks for taking the time to add t

Re: `with` as a list.

2020-05-29 Thread Kyle Meyer
Mario Frasca writes: > now and then I use emacs to make graphs.  now recently I was plotting > point data, and a running average "fit", so I wanted to have points, and > lines, which I know it's possible in `gnuplot` but now how do I do that > from org-plot … > > I wrote a small patch for org-p

Re: `with` as a list.

2020-05-30 Thread Kyle Meyer
Mario Frasca writes: > btw. are you on irc.freenode.net?  I'm `mariotomo' there.  and I just > joined `#org-mode'.  I don't think that my terminal will ring a bell if > I'm mentioned there. No, sorry, I'm not. > On 30/05/2020 01:22, Kyle Meyer wr

Re: `with` as a list.

2020-05-30 Thread Kyle Meyer
Mario Frasca writes: > diff --git a/lisp/org-plot.el b/lisp/org-plot.el > index a23195d2a..c44cca991 100644 > --- a/lisp/org-plot.el > +++ b/lisp/org-plot.el > @@ -156,7 +156,8 @@ and dependent variables." > table))) > ;; write table to gnuplot grid datafile format >

Re: `with` as a list.

2020-05-30 Thread Kyle Meyer
Mario Frasca writes: > On 30/05/2020 15:25, Kyle Meyer wrote: >> Could you update this header to match the style used by other tests >> (see, e.g., test-org-num.el)? > > apparently, I managed to pick precisely the wrong example! > > ;;; test-org-clock.el --- Tests fo

Re: Failing tests (was: Possible fix for :includes header argument in org-babel C source blocks)

2020-05-30 Thread Kyle Meyer
Kévin Le Gouguec writes: > Kyle Meyer writes: > >> The source for that page is in the worg repo: >> https://code.orgmode.org/bzg/worg/src/master/org-contrib/babel/languages/ob-doc-C.org > > Thanks for the pointer, and for applying the patches! > >>>> FAIL

Re: `with` as a list.

2020-05-31 Thread Kyle Meyer
Mario Frasca writes: > On 30/05/2020 16:29, Mario Frasca wrote: >> I hope to be back soon with a single commit... > > one doubt.  what's the point of having me squash all in a single commit, > when I do not have write access to the repository?  To provide me or another committer with a polished

Re: [PATCH] ob-sql: Respect database param when using dbconnection

2020-05-31 Thread Kyle Meyer
Daniel Kraus writes: > I use ob-sql with the :dbconnection param so I don't have my username and > password in my org file. > But often I don't want to use the default database from the dbconnection > alist but > rather specify it explicitly with :database. > Attached is a patch that fixes this.

Re: `with` as a list.

2020-05-31 Thread Kyle Meyer
Mario Frasca writes: > On 31/05/2020 19:19, Kyle Meyer wrote: >> You've been sending a diff, >> presumably from the point you branched off of to the tip of your branch. >> In that case, you're already presenting each iteration you've sent as >>

Re: [PATCH] implementing `with' as a list, and respecting `deps' order.

2020-06-02 Thread Kyle Meyer
Mario Frasca writes: > From 436bfd0b9fd656f52ea9d7e6a6a665a32564ae93 Mon Sep 17 00:00:00 2001 > From: Mario Frasca > Date: Tue, 2 Jun 2020 15:46:20 + > Subject: [PATCH] implementing `with' as a list, and respecting `deps' order. Thank you for sending an updated patch. Unfortunately it look

Re: Bug: org-collect-keywords is void when config uses org-babel-load-file [9.3.6 (release_9.3.6-683-g3b2de4 @ /home/eric/.emacs.d/straight/build/org/)]

2020-06-02 Thread Kyle Meyer
Eric Berquist writes: > When loading a configuration using `(org-babel-load-file (concat > user-emacs-directory "config.org"))` in `init.el`, this message is reported: > > org-export--get-inbuffer-options: Symbol’s function definition is > void: org-collect-keywords > > and export doesn't

Re: Failing tests

2020-06-02 Thread Kyle Meyer
Kévin Le Gouguec writes: > Kyle Meyer writes: > >>> I think I've narrowed this down to org-open-file running "less >>> examples/att1/fileA" instead of visiting this file. >> [...] >>> Let-binding org-file-apps to '(("." . em

Re: [PATCH] implementing `with' as a list, and respecting `deps' order.

2020-06-03 Thread Kyle Meyer
Mario Frasca writes: > comments on the html page org-contribute.html: [...] > the procedure mentioned there guides me in creating several patch files, > one per commit.  it does not describe the "squashing" you suggested me.  > I'm following your guide, but you might want to review the page your

Re: agenda-view: match tags: Sorting by number of tags matched?

2020-06-03 Thread Kyle Meyer
Budiman Snowman writes: > Suppose I have this document: > > * topic1 :tag1:tag2:tag3: > * topic2 :tag1:tag2:tag4: > * topic3 :tag1:tag3:tag4: > * topic4

Re: [PATCH] New function org-agenda-filter-set

2020-06-04 Thread Kyle Meyer
Bastien writes: > I've seen problems with this new function when completing in agendas: > hitting '/' does not see what tags are available for completion in the > current buffer. > > I'm reverting e9b1b8fde5 from master for now. If you see what's wrong, > please resubmit a patch. Stepping through

Re: 27.0.91; Avoid error on org-html-fontify-code

2020-06-04 Thread Kyle Meyer
pierre.techouey...@gmail.com writes: > Some time ago I tried to export in html form an org file containing many > src blocks and ended with the following message : > > org-html-do-format-code: Buffer is read-only: # > > After narrowing down my file here are the steps to reproduce : > > emacs -q >

Re: bug#41641: 27.0.91; Avoid error on org-html-fontify-code

2020-06-07 Thread Kyle Meyer
Pierre Téchoueyres writes: > I've also attached is a patch to fix this. Thanks. This patch was sent as a separate message to the Org mailing list [0] and has been applied to the Org repo. Closing. [0]: https://orgmode.org/list/87eeqyyf4t@killashandra.ballybran.fr/

Re: 27.0.91; Avoid error on org-html-fontify-code

2020-06-07 Thread Kyle Meyer
Pierre Téchoueyres writes: > Many thanks for that. If I've well understood it's on master. Do you > know (or guess) how long will this take to land in the next release ? This month is the hope: https://orgmode.org/list/87pnaindwq@bzg.fr > I had also open bugs #41641, may be will you close i

Re: New mailing list archive at https://orgmode/list/

2020-06-07 Thread Kyle Meyer
[ +cc Eric Wong, mostly to say thanks for all the work he puts into public-inbox, which is the software behind these archives, but also so that he can correct me if I misrepresent any capabilities of or plans for public-inbox ] > Bastien writes: > >> with Kyle's help, I've set up a new mail

Re: Bug: ob-python mangles multiline :var values [9.3.6 (release_9.3.6-397-ga089600)]

2020-06-07 Thread Kyle Meyer
Jack Kamm writes: > My fix this time was to use functions from python.el to indent, and to > detect whether we are in a string and shouldn't be indented. > > I also added a couple more unit tests, one for multiline strings, and > one for the variable scope/assignment issue that Matt reported. Tha

Re: org-babel-tangle not using relative links

2020-06-08 Thread Kyle Meyer
Jeremias Gonzalez writes: > I cannot seem to be able to make org-babel-tangle respect the setting of > org-babel-tangle-use-relative-file-links to t. Here is my process after > launching "emacs -Q" (the default for > org-babel-tangle-use-relative-file-links appears to be true in this > configu

<    2   3   4   5   6   7   8   9   10   11   >