Re: org-sort random

2021-11-22 Thread Kyle Meyer
(Please don't drop the list.) Vikas Rawal writes: > That is, just press RET? I think that depends on the completion framework. With the default completion, yes, I think RET should do it. With ivy, it's instead ivy-immediate-done (C-M-j). I'm not sure offhand about other frameworks. > If I

Re: [PATCH] Fix regex for determining image width from attribute

2021-11-22 Thread Kyle Meyer
Matt Huszagh writes: > Timothy writes: > >> I’ve just pushed the change I described in 4514a32. This improves the >> interpretation of :width attributes and makes a value of “t” work as >> discussed. >> I have not prioritised #+attr_org for now, but that sounds like a change we >> could make in

Re: Invalid read syntax errors compiling orgmode from git repository

2021-11-22 Thread Kyle Meyer
JG writes: > commit 4514a324c86a408951a0553a390a01981d61c367 (HEAD -> main, origin/main, > origin/HEAD) [...] > In toplevel form: > org-agenda.el:50:1: Error: Invalid read syntax: ")", 50, 14 > Compiling /home/etest/org-mode/lisp/org-archive.el... [...] Thanks for reporting. The syntax error

Re: org-sort random

2021-11-21 Thread Kyle Meyer
On 11/22/21 07:40:35 +0530, Vikas Rawal wrote: > I am trying to sort a sub-tree of headings randomly. But `C-c ^ f > random RET` asks for a "function for comparing keys". What am I > supposed to do? Here's the prompt: Function for comparing keys (empty for default `sort-subr' predicate): And

Re: test-org-cite/main-affixes failure

2021-11-06 Thread Kyle Meyer
Nicolas Goaziou writes: > Kyle Meyer writes: [...] >> Does the current version of the test (no space) pass on your end? > > No idea. I haven't been able to run any test during the past week, at > least (due to a silly error about missing ob-vala). Hmm, after ob-vala.el was rem

test-org-cite/main-affixes failure

2021-11-06 Thread Kyle Meyer
Hi Nicolas, test-org-cite/main-affixes, added in ad4028286 (oc: Refactor affixes extraction, 2021-11-03), is failing on my end: $ BTEST_RE=main-affixes make test-dirty [...] Test test-org-cite/main-affixes condition: (ert-test-failed ((should (equal '...

Re: Problems generating the org-mode documentation

2021-10-22 Thread Kyle Meyer
Hoffmann, Jobst writes: > But I think I found the culprit: > > Line 17568 of org.texi reads: > > @kindex C-c C-x @ > > and @ starts a command, which leads to the stack overflow. > > Line 17568 of org.texi should read > > @kindex C-c C-x @@ > > witha doubled @ at the end of the

Re: org-table-blank-field key binding removal

2021-10-16 Thread Kyle Meyer
Bastien Guerry writes: > I suggest we add a news entry in etc/ORG-NEWS in the bugfix branch for > the change to be advertized for 9.5.x users. > > Can anyone do that? Done in 9bc3a2b98.

Re: org-table-blank-field key binding removal

2021-10-13 Thread Kyle Meyer
Michael Brand writes: > The change is not announced in ORG-NEWS. I think it should be in Version 9.4. Right, I agree this change should have come with a NEWS entry, though 0c4e844c8 (Remove default binding for org-table-blank-field, 2021-04-28) is from the 9.5 release not 9.4. However, 9.5 is

test-org-cite/list-citations failure (was: Citation not inserted as 1st item in footnote ...)

2021-10-09 Thread Kyle Meyer
Hi Nicolas, Nicolas Goaziou writes: > Nicolas Goaziou writes: > >> This allows one to insert a citation in the middle of the citation >> number, which is not desirable either. IOW, an additional check is >> required. > > I think this is now fixed. Thank you. It looks like this commit

Re: [BUG] org-save-all-org-buffers reapplies startup visibility [9.5 (release_9.5 @ /usr/local/share/emacs/29.0.50/lisp/org/)]

2021-10-09 Thread Kyle Meyer
No Wayman writes: > Subject: [PATCH] lisp/org.el: (org-save-all-org-buffers): Prevent `org-mode' > reload > > * lisp/org.el: (org-save-all-org-buffers): Ensure `save-some-buffers' PRED > returns boolean. > > As of this upstream commit: > >

Re: org-table-blank-field key binding removal

2021-10-05 Thread Kyle Meyer
On 10/05/21 21:49:22 -0500, Alan Wehmann wrote: > On 2/5/21 in this email list Carsten Dominik suggested removing the > key binding C-c for "org-table-blank-field". That got > implemented for Org-9.5, but the Info file didn't get changed, so it > still says: > > ‘C-c ’ (‘org-table-blank-field’)

Re: [org-cite] Testing on macOS, XML file missing

2021-10-02 Thread Kyle Meyer
Kyle Meyer writes: > Rudolf Adamkovič writes: > >> When I try to export HTML with APA/CSL citations (C-c C-e h o), >> Emacs says: >> >>> The default CSL locale file >>> /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/etc/csl

Re: Grabbing the link to a message on the archive

2021-10-02 Thread Kyle Meyer
Max Nikulin writes: > On 02/10/2021 21:26, Ihor Radchenko wrote: [...] >> It can be parsed from the html. Something like below (it is my >> home-made parser, but I think the idea should be clear): >> >> (org-capture-ref-set-bibtex-field :key (org-capture-ref-query-dom :tag 'form >> :tag 'input

Re: [org-cite] Testing on macOS, XML file missing

2021-10-02 Thread Kyle Meyer
Bruce D'Arcus writes: > Sorry; I wasn't clear. > > What I meant is that etc/styles was also not synced. Right, some of the non-lisp files get moved around directory-wise between the Org and Emacs repos. Just in case it didn't stick out in the snippets from my message upstream, the same files

Re: [org-cite] Testing on macOS, XML file missing

2021-10-02 Thread Kyle Meyer
Bruce D'Arcus writes: > On Sat, Oct 2, 2021 at 1:24 AM Kyle Meyer wrote: > >> Is there a reason to avoid updating to the latest version? > > No; updating them makes sense. All right, thanks. I've updated these files to latest versions in 06ab36eb0.

Re: [org-cite] Testing on macOS, XML file missing

2021-10-01 Thread Kyle Meyer
Rudolf Adamkovič writes: > I compiled Emacs from "master" (2e92f90a5d) to try the new > citations. > [...] > > When I try to export HTML with APA/CSL citations (C-c C-e h o), > Emacs says: > >> The default CSL locale file >>

Re: org-element.el change in emacs.git

2021-09-30 Thread Kyle Meyer
Adam Porter writes: > I noticed this recent commit on emacs.git making a change to > org-element.el: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=58102466e32d4dd9c7d816cdc3f4595a2145f332 Thanks for the heads up. I monitor Org-related changes to the Emacs repo and port them to

Re: Switching to new Git repositories

2021-09-23 Thread Kyle Meyer
No Wayman writes: > Out of curiosity I ran this against the repo to see if the > "Version" metadata had always followed its current convention: > > git grep "Version:" $(git rev-list --all) -- lisp/org.el > > Looks like the "-dev" suffix goes back to "9.4-dev" and before > that we have

Re: Switching to new Git repositories

2021-09-23 Thread Kyle Meyer
On 09/23/21 17:17:48 -0400, No Wayman wrote: >> Sounds like a weird issue. I don't think this 9.5-dev tag is >> something from the Org repo. > > There is a bug in mk/targets.mk introduced by 61336f80dc. Quoting that commit message for context: mk/targets.mk: Add version fallback for tag-less

org-attach-sync uses directory-empty-p (new in Emacs 28)

2021-08-08 Thread Kyle Meyer
Hi Marco, In 61e083732 (org-attach: Possibly delete empty attach directory, 2021-07-09), you added a call to directory-empty-p. This function was introduced in Emacs's 0806075520 (Add directory-empty-p and new argument COUNT for directory-files-*, 2020-11-02) and hasn't yet made it into a

[RFH] thoughts on porting an Emacs etc/schema/ change

2021-05-23 Thread Kyle Meyer
I'm trying to figure out how to port changes to etc/schema/ files in the Emacs repo back to the Org repo. I'd appreciate feedback from anyone who knows anything about the etc/schema/ files in Org's tree and/or ox-odt. Background == Org has a few files in etc/schema: org$ git

Re: Org mode manual export

2021-05-22 Thread Kyle Meyer
Thomas S. Dye writes: > Aloha all, > > The Org mode FAQ on Worg correctly reports that the Org mode > manual is written in Org mode, but it implies that it is exported > to texinfo using pandoc--"You can export .org files to texinfo > using Pandoc". > > I thought the manual was exported to

Re: tags-todo agenda shoud not ignore DONE items

2021-05-16 Thread Kyle Meyer
Bastien writes: > Bastien writes: > >> Confirming this as an issue, if someone wants to fix it. > > This should be fixed now with 823f9744e in maint, tags-todo should now > include DONE headings. 823f9744e looks like a regression because it removes the distinction between `tags' and

Re: Bug: Org mode fails to compile using Emacs 24.5-r10 [9.4.5 (9.4.5-g3ea248 @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-05-01 Thread Kyle Meyer
Kyle Meyer writes: > Ah, sorry for not writing that more clearly. By the above, I wasn't > saying that the ones I commented on were the _only_ ones I see with > Emacs 24.5 on maint. I've dealt with a few more. * ob-C.el:477:1:Error: Unknown upattern `(quote integerp)' I

Re: Transforming table and then exporting as CSV

2021-05-01 Thread Kyle Meyer
Pankaj Jangid writes: [...] > Same org file has multiple tables, so I am asking for “Table Name”. I > want to do two improvements: > > 1. When asking for table name, I want to offer all the table names in >the file as completion options. You could collect names with something like (require

Re: Bug: Org mode fails to compile using Emacs 24.5-r10 [9.4.5 (9.4.5-g3ea248 @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-05-01 Thread Kyle Meyer
Ihor Radchenko writes: > Kyle Meyer writes: > >> Here are a few notes on ones present in maint that I've glanced at. > > I confirm that there are no warning using Emacs 25.3.1 on maint. > > For Emacs 24.5.1, I see that following in addition to what you > mentioned:

Re: Bug: Org mode fails to compile using Emacs 24.5-r10 [9.4.5 (9.4.5-g3ea248 @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-04-30 Thread Kyle Meyer
Ihor Radchenko writes: > I was recently testing Org mode using old Emacs versions. Running make > on master fails with the following errors and warnings: Here are a few notes on ones present in maint that I've glanced at. > Compiling /home/yantar92/Git/org-mode/lisp/ol-eww.el... > > In

Re: [PATCH] Fix numbering of captioned images

2021-04-30 Thread Kyle Meyer
Pablo Barraza Cornejo writes: > Sounds good to me! I've modified the patch to reflect this change. [...] > Subject: [PATCH] ox-html.el/inline-image export: Fix caption numbering Thanks. Pushed (390063d8d).

Re: [PATCH] Fix numbering of captioned images

2021-04-29 Thread Kyle Meyer
Pablo Barraza Cornejo writes: > When exporting to HTML, the exporter is supposed to check if there > are additional constraints over a paragraph using > `org-html-standalone-image-predicate'. A misplaced quote causes > `org-html-standalone-image-p' to not apply them. Thanks for catching the

Re: Bug: org-babel only tangles first noweb reference on a line [9.4 (9.4-elpaplus @ /home/tom/.emacs.d/elpa/org-plus-contrib-20200914/)]

2021-04-27 Thread Kyle Meyer
Bastien writes: > Hi Tom, > > Tom Gillespie writes: > >>The 9.4 release has a bug where it will only tangle the first noweb >> reference on a line. >> This is also present at 9c31cba002a1ba93053aebea1f778be87f61ba06. It happens >> in >> emacs-27 and emacs-28. The reproduction is below.

Re: [PATCH] org-manual.org: Fix syntax

2021-04-26 Thread Kyle Meyer
Cheong Yiu Fung writes: > Subject: [PATCH] org-manual.org: Fix syntax > > * doc/org-manual.org (HTML export commands): Fix kbd representation Thanks. Pushed (58cacdf0e), adding a period after "representation".

Re: Bug: [PATCH] define-minor-mode: prefer keyword args [9.4.5 (9.4.5-ga02a3b @ /home/n/.emacs.d/straight/build/org-plus-contrib/)]

2021-04-26 Thread Kyle Meyer
Bastien writes: > Hi, > > thanks for the patch, we do indeed need to move forward for this. > > Could you propose the patch against the master branch (not the maint > branch, since this is not a bugfix) and perhaps fix *all* warnings? Thanks, but these were already taken care of by 8c29cbdef

Re: org-contacts.el use lexical-let not defined in cl-lib

2021-04-23 Thread Kyle Meyer
Michael Eliachevitch writes: > Dear all, > > I'm not sure if this is the correct mailinglist for org-contrib > bugs. Thanks for the report. Yes, this is the place [*]. stardiviner (+cc) recently took over maintaining org-contacts.el. > I found that org-contacts.el uses `lexical-let*` which is

Re: unable to resolve link to Gnus email

2021-04-23 Thread Kyle Meyer
Seb writes: > Hello, > > Attempting to export with any exporter fails if document or a subtree > thereof contains an email link, e.g. captured from a Gnus buffer: > > [[gnus:GroupName#EMAIL_ID][Email from John Doe]] > > I get the error: > > user-error: Unable to resolve link: >

Re: Bug: org-caputure fails, sometimes [9.3.7 (release_9.3.7-705-gea9463 @ /home/oub/emacs/site-lisp/packages/org/)]

2021-04-23 Thread Kyle Meyer
Uwe Brauer writes: > I am running GNU emacs and org mode, whose versions are specified below. > Sometimes when being in a gnus message buffer and running org-capture > I obtain an error whose bug trace I attach. Usually I have to restart > emacs. > > , > | > | Debugger entered--Lisp error:

Re: List of ob-* maintainers

2021-04-20 Thread Kyle Meyer
Thomas S. Dye writes: > Aloha Kyle, > > Thanks for this. I think the Worg list might be useful to > indicate which languages don't have maintainers. Or, is the > information in the source files sufficient? I don't know, but adding the information to the Worg table sounds fine to me. Thanks.

Re: Bug: table header line mode misaligned in org-indent-mode

2021-04-19 Thread Kyle Meyer
Oorja Sandhu writes: > Steps : > 1. emacs -Q > Latest Emacs cloned and built from master today. > > 2. Open the attached org file > > 3. M-x org-table-header-line-mode > > 4. M-x org-indent-mode > > 5. Resize emacs window very small such that horizontal as well as vertical > scrolling is

Re: Bug: wrong font for checkboxes in org-mouse mode org-odt-data-dir not defined correctly [9.4.4 (9.4.4-dist @ /Users/administrator/.emacs.d/packages/elpa/org-plus-contrib-20210322/)]

2021-04-19 Thread Kyle Meyer
Yaroslav Rogov writes: > Currenty there’re following lines in org-mouse.el: > > (font-lock-add-keywords >nil >`(("^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(\\[[ X]\\]\\)" > (2 `(face bold keymap ,org-mouse-map mouse-face highlight) > t))) >

Re: Bug: JavaScript in HTML export not recognized by LibreJS as free [9.4.5 (9.4.5-16-g94be20-elpaplus @ /home/jorge/.config/emacs/elpa/org-plus-contrib-20210412/)]

2021-04-19 Thread Kyle Meyer
Jorge P. de Morais Neto writes: > Hi. The HTML export has JavaScript that LibreJS does not recognize as > free. Thanks for noting this. That's certainly not ideal. > My first attempt at an workaround (inspired by the Org Mode mailing > list) was merely encoding the ampersand in the magnet

Re: List of ob-* maintainers

2021-04-19 Thread Kyle Meyer
Thomas S. Dye writes: > Aloha all, > > Is there a list of current ob-* maintainers? Bastien updated the "Maintainer" field of the source files: $ git grep -i maintainer lisp/ob-* | cut -d'<' -f1 lisp/ob-C.el:;; Maintainer: Thierry Banel lisp/ob-J.el:;; Maintainer: Joseph Novakovich

Re: ox-html Incorrectly (?) Puts HTML Into the `` Tag

2021-04-19 Thread Kyle Meyer
Tim Visher writes: > On Wed, Jan 20, 2021 at 11:10 PM Kyle Meyer wrote: >> >> It's been applied to master (f4b9f9808). Please report back if you >> still encounter the problem in your use case. >> > > I (finally) got around to testing this out. Initially

Re: link syntax fixing bug?

2021-04-17 Thread Kyle Meyer
Samuel Wales writes: > in recent maint, i am trying the code included with the maint release > to update org link escaping syntax. > > the issue is that when i click on google, the space before "hi" does > not show up in the earch box. ergo, different results. > > *** should be orig >

Re: [PATCH] Remove diary-list-entries Emacs 21 compat code

2021-04-17 Thread Kyle Meyer
Stefan Kangas writes: > Please find attached a small cleanup patch to org-agenda.el. Thanks. Pushed (3a7e1c047).

Re: [PATCH] org-eldoc: Fix compatibility with eldoc 1.11 and Emacs 27

2021-04-17 Thread Kyle Meyer
Trevor Murphy writes: > * contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): Check > before invoking elisp eldoc functions from Emacs 28. > > The previous check assumed that the presence of eldoc 1.11 bindings > implied elisp-mode bindings that come with Emacs>=28, but eldoc 1.11 >

Re: Bug: table header line mode causes next-line to reach beginning of line

2021-04-17 Thread Kyle Meyer
Oorja Sandhu writes: [...] > 3. M-x org-table-header-line-mode > > 4. Resize emacs window very small such that horizontal as well as > vertical scrolling is required to see it fully. > > Otherwise, add rows and columns in the org table in the file such that > it exceeds window size both

Re: Bug: Display Inline Images from Subdirectory [9.4.4 (9.4.4-33-g5450d6-elpaplus @ /home/ded/.emacs.d/elpa/org-plus-contrib-20210322/)]

2021-04-10 Thread Kyle Meyer
Daniel E. Doherty writes: > Nick, > > Thanks for trying this out. I tried this again using emacs -Q with both > emacs27 and emacs28, and I still get the same result, i.e., it produces > the link but does not display it inline. Both versions supported > display of SVG graphics files. Hmm, I see

Re: On the protection of emails in the archives

2021-04-09 Thread Kyle Meyer
Guillaume MULLER writes: > Hi all, > > I recently sent an email on this mailing list (see > https://orgmode.org/list/b1e778c5-acbf-8a17-c9bf-dcb6693e9...@univ-st-etienne.fr/ > ) > > Since then, I'm receiving spams on the email address I used to send > the message. > > After some research, it

Re: how to select interactively the time in org-time-stamp

2021-04-08 Thread Kyle Meyer
Uwe Brauer writes: > , > | (org-time-stamp ARG INACTIVE) > | > | Prompt for a date/time and insert a time stamp. > | > | If the user specifies a time like HH:MM or if this command is > | called with at least one prefix argument, the time stamp contains > | the date and the time.

Re: Bug: org-link-descriptive needs to be buffer-local [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-04-06 Thread Kyle Meyer
Ingo Lohmar writes: > On Mon, Apr 05 2021 22:36 (-0400), Kyle Meyer wrote: >> Hmm, I think a problem with `:local t' (or, equivalently, >> make-variable-buffer-local for backward compatibility reasons) is that >> then you'd interfere with user customization that directly set

Re: Bug: org-attach-follow with wrong-number-of-arguments [ ( @ /home/sbrass/.emacs.d/elpa/org-9.4.4/)]

2021-04-05 Thread Kyle Meyer
[ Sorry for the slow reply. ] Simon Braß writes: > Hi all, > > I've tried to open an attached file (added with org-attach-attach), however, > when I try to open it with C-c C-o I got the following backtrace: > > #+begin_example > Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2)

Re: "#+STARTUP: hideblocks" has no effect?

2021-04-05 Thread Kyle Meyer
autofrettage writes: > I recently read about the #+STARTUP parameter "hideblocks", but it > doesn't seem to have any effect in my set-up. All the blocks kept > laughing straight in my face. :-( > > Any ideas about what could have gone wrong? Are you leaving org-startup-folded at showeverything

Re: Bug: org-link-descriptive needs to be buffer-local [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-04-05 Thread Kyle Meyer
Ingo Lohmar writes: > I stumbled upon weird behavior when using `org-toggle-link-display', and > I finally checked what that is about. > > Observation: > - use `org-toggle-link-display' in org buffer A, and (coming > from the defaults) links are now shown in full (not just the > description),

Re: Can no longer org-set-link-parameters with "fuzzy" link types

2021-04-05 Thread Kyle Meyer
[ Sorry for the slow response. ] Adam Sneller writes: > I have a function that searches for broken fuzzy links in org-mode and > applies org-warning face to anything it finds: > > (org-link-set-parameters > "fuzzy" > :face (lambda (path) > (let ((org-link-search-inhibit-query t)) > (if

Re: life on the eading bledge

2021-04-05 Thread Kyle Meyer
Greg Minshall writes: > hi. running c881b60593b3beeed7b8c7a2bada64157cd9940a, the following > > > *** this =equals= that > > and, so on > > > exporting [C-e l o], gives > : replace-regexp-in-string: Wrong type argument: arrayp, nil Thanks for reporting. The failure was introduced by

Re: org-adapt-indentation not honored prior to Org 9.4?

2021-03-30 Thread Kyle Meyer
Tim Cross writes: > one thing I think might help (maybe too late) would be to put the > entries for both electric-indent-mode and org-adapt-indentation so that > they are together in the release notes as they do interact with each > other and often people stop looking once they see one and not

Re: [PATCH] Remove redundant #' around lambdas

2021-03-30 Thread Kyle Meyer
Stefan Kangas writes: > Please find attached a minor cleanup patch. Thank you. Pushed (3089fcd69).

Re: [PATCH] org-agenda.el: Rename org-agenda-format-item parameters

2021-03-30 Thread Kyle Meyer
Renato Ferreira writes: > On Mon, 29 Mar 2021 23:20:02 -0400, Kyle Meyer said: > >> Presumably you arrived at this patch because you hit into a particular >> issue (related the lexical binding conversion in 129c33ddd). >> Could you provide a reproducer (o

Re: fuzzy link can't be exported when \begin{foo} is there

2021-03-29 Thread Kyle Meyer
James Powell writes: > First time poster, long time user.  Glad to be here. Welcome. > This seems to a bug. [...] > When I add some latex in the middle: > <> > In Table [[tableOne]] I show that this site has AADT 143925, by > TVT_Detailed_2019.xlsx. > > \begin{landscape} > #+NAME: tableOne >

Re: org-adapt-indentation not honored prior to Org 9.4?

2021-03-29 Thread Kyle Meyer
Mike Kupfer writes: > Over the weekend I upgraded my Emacs from 27.1 (Org 9.3) to 27.2-rc2 > (Org 9.4). I noticed that Org mode behaves differently, even with > "emacs -Q". > > In 27.1, if I visit foo.org and type "* header RET", point is put in the > first column. In 27.2, point is put in

Re: [PATCH] org-agenda.el: Rename org-agenda-format-item parameters

2021-03-29 Thread Kyle Meyer
Renato Ferreira writes: > * org-agenda.el (org-agenda-format-item): Rename parameters so they > don't clash with dynamic variables used by > `org-prefix-format-compiled'. Thanks. Presumably you arrived at this patch because you hit into a particular issue (related the lexical binding conversion

Re: Missing from org-attach buffer?

2021-03-29 Thread Kyle Meyer
Colin Baxter writes: > Hello, > > I seem to recall that attaching files to an org-attach directory could > be done by one letter commands from the M-x org-attach > buffer. These commands seem now to be missing, and the only way to > attach files to the directory is via M-x org-attach-attach-cp ,

Re: [PATCH 0/1] Add option to delay fontification of source blocks

2021-03-28 Thread Kyle Meyer
Leo Okawa Ericson writes: > Fontification of long code blocks can be very slow. The patch, which should be > in another other email, mitigates this by > adding an option to delay the fontification after the user has become idle by > using idle timers. This seems to be faster from my limited

Re: [PATCH 1/2] org-manual.org: Fix typo in org-protocol capture example

2021-03-28 Thread Kyle Meyer
Maxim Nikulin writes: > * doc/org-manual.org: Use "&" as parameter separator in query part > of example for org-protocol capture URI. Thank you. Pushed this and the next patch (4de2fff87), with a minor formatting tweak to the second commit message.

Re: [PATCH] org.el (org-do-latex-and-related): Fix duplicate 'latex-and-related faces

2021-03-27 Thread Kyle Meyer
Sébastien Miquel writes: > I've looked at the history of this code, and some earlier comment > indicated that limit was ignored on purpose. Thanks for digging. LIMIT was dropped from the re-search-forward call in 80268c0e0 (Fix fontification of LaTeX environments, 2019-01-01), with the addition

Re: [PATCH] org.el (org-do-latex-and-related): Fix duplicate 'latex-and-related faces

2021-03-24 Thread Kyle Meyer
Sébastien Miquel writes: > With the current org-do-latex-and-related function, fontification of > a region before a LaTeX fragment repeatedly adds the > 'org-latex-and-related face to the fragment. > > You can reproduce with an org buffer with the following content. [...] > The attached patch

Re: emacs27 and let: Symbol’s value as variable is void: org-table-header-line-p

2021-03-24 Thread Kyle Meyer
Santiago Mejia writes: > Hi All, > > I just did a clean install of Xubuntu 20.04. I also installed emacs27 > (from this repository:ppa:kelleyk/emacs) > > When I try to export any snippet from org-mode by calling > org-export-dispatch, my freshly installed emacs complains: > > "let: Symbol’s

Re: Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)]

2021-03-24 Thread Kyle Meyer
Jean-Baptiste Mazon writes: > The documentation for customizable variable > `org-html-format-drawer-function' currently reads as such: [...] > For example, the variable could be set to the following function > in order to mimic default behavior: > > The default value simply returns the value of

Re: [PATCH] Update example :publishing-function names in manual

2021-03-24 Thread Kyle Meyer
Greg Minshall writes: > --- > doc/org-manual.org | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks. Pushed (d15639944), adding a changelog entry.

Re: [PATCH] org-src.el Do not ask to revert unmodified buffers

2021-03-21 Thread Kyle Meyer
Thanks for the patch. pillule writes: > Hi, it is asked to the user if we want to revert changes when > re-entering in a org-source buffer. > Even if the buffer have no modifications. Hmm, that description seems to be focusing on the prompt's parenthetical note. When

Re: [PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-21 Thread Kyle Meyer
Stefan Kangas writes: > Thanks. Here's a followup patch that converts most remaining http-links > to https. All of them have been manually tested to avoid breakage. Great, thank you. Pushed (2e1c98415).

Re: [PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-21 Thread Kyle Meyer
Stefan Kangas writes: > The attached patch updates all links to gnu.org to use https instead of > http. Pushed (8cc992f7b). > (Such a change was made in Emacs itself already in 2017.) Yep, I believe those came into Org's tree with ff0dcf52a (Backport commit bc511a64f from Emacs, 2017-09-13)

Re: Bug: crash exporing to html [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-03-21 Thread Kyle Meyer
Greg Minshall writes: > one line in why.org: > > call_find-orgs() > > > then > > emacs -Q > > > then > > C-e h h > > > then > > Debugger entered--Lisp error: (wrong-type-argument consp nil) > org-babel-exp-code(nil lob) > org-babel-exp-do-export(nil lob) >

Re: Invalid function: org-preserve-local-variables

2021-03-21 Thread Kyle Meyer
Loris Bennett writes: > Hi, > > I'm running > > Org mode version 9.4.4 (9.4.4-25-g3a522a-elpaplus @ > /home/loris/.emacs.d/elpa/org-plus-contrib-20210222/) > > and today I encountered the following error when refiling > > org-refile: Invalid function: org-preserve-local-variables > > Despite

Re: Using lexical-binding

2021-03-21 Thread Kyle Meyer
Greg Minshall writes: > Kyle, > > thanks. i see. i wondered why the talk was all about agendas. > > since, in my (brand new, experimenting) use of > =org-babel-map-src-blocks=, i'm calling a function, and that function is > trying to de-reference, e.g., =beg-block=, i get an error. Thanks for

bug#44824: [PATCH] org.el: Avoid xdg-open silent failure

2021-03-21 Thread Kyle Meyer
Maxim Nikulin writes: > I hope, I have addressed other your comments in the updated patch. > > commit 5eca7764d94dd46b9f9a7792d1b786a3f03b20b6 > Author: Max Nikulin > Date: Wed Feb 17 16:35:58 2021 + > > org.el: Avoid xdg-open silent failure Thanks. A note for future patches: your

Re: Using lexical-binding

2021-03-19 Thread Kyle Meyer
Greg Minshall writes: > hi. i just upgraded to > : Org mode version 9.4.4 (9.4.4-27-gb712b9-elpa @ > /home/minshall/.emacs.d/elpa/org-20210315/) > > and, have also just started playing with > (org-babel-map-inline-src-blocks), the documentation for which says > > During evaluation of BODY

Re: How to jump from one spelling mistake to the next?

2021-03-19 Thread Kyle Meyer
Samuel Wales writes: > i wonder why the generic next-error is not used. Hmm, good question. Ignoring any historical reasons for why flyspell does what it does, a quick search on the Emacs lists makes me think at least one open issue is how to prioritize/combine different next-error sources: *

Re: How to jump from one spelling mistake to the next?

2021-03-19 Thread Kyle Meyer
Sharon Kimble writes: > When I'm writing in org-mode I very often make spelling mistakes which I > can go back to later to correct. So how can I jump from one mistake to > the next please? If you have Flyspell mode enabled in the buffer, flyspell-goto-next-error (bound to `C-,' by default) will

Re: [PATCH] ox-html: Add webp as an inline image format

2021-03-18 Thread Kyle Meyer
Jay Kamat writes: > Subject: [PATCH] ox-html: Add webp as an inline image format Thanks for the patch. Pushed (a9f38b1c2) with a few additions (updated the :package-version keyword, added a NEWS entry, and added a period after the changelog entry.)

Re: [PATCH] Fix ob-smiles using old org API.

2021-03-18 Thread Kyle Meyer
Lein Matsumaru writes: > As subject says, it does not get updated, so I did. [...] > Subject: [PATCH] ob-smiles.el: Update org babel API Thanks. Pushed (1738b455b), along with a follow-up commit that fixes the free variable reference in molecule-jump. Note that the plan is to move contrib/ to

bug#44824: [PATCH] org.el: Avoid xdg-open silent failure

2021-03-18 Thread Kyle Meyer
Maxim Nikulin writes: > org.el: Avoid xdg-open silent failure > > * lisp/org.el (org-open-file): Use 'pipe :connection-type instead of > 'pty to prevent killing of background process on handler exit. > > Problem happens only in some desktop environments where configured

Re: [PATCH] ob-sql.el: Add support for SAP HANA

2021-03-16 Thread Kyle Meyer
Robin Campbell Joy writes: > Subject: [PATCH] ob-sql.el: Add support for SAP HANA Thanks for the update. Pushed (b241c126b). > diff --git a/testing/lisp/test-ob-sql.el b/testing/lisp/test-ob-sql.el [...] > + > +(require 'org-test) > +(require 'ob-sql) I've dropped these two lines. For the

Re: [PATCH] ob-sql.el: Add support for SAP HANA

2021-03-15 Thread Kyle Meyer
Robin Campbell Joy writes: > Hi, > > could someone please let me know if something is missing/incorrect? Thanks for the patch, and sorry for the delay. > On Thu, 4 Feb 2021 at 08:55, Robin Campbell Joy wrote: > >> * lisp/ob-sql.el (org-babel-execute:sql, org-babel-sql-dbstring-saphana): >> Add

Re: org-export-latex-packages-alist vs org-latex-packages-alist

2021-03-15 Thread Kyle Meyer
Tyler Smith writes: > Hello, > > Can someone confirm if > > `org-export-latex-packages-alist` and > `org-export-latex-listings-langs` > > are obsolete versions of > > `org-latex-packages-alist` and `org-listings-langs`? > > I've had the former in my config for years, and today noticed that

Re: [PATCH] org-compat.el (org-mode-flyspell-verify): Do not spell check code in headline

2021-03-14 Thread Kyle Meyer
Sébastien Miquel writes: > Subject: [PATCH] org-compat.el (org-mode-flyspell-verify): Do not check code > in headline > > * lisp/org-compat.el (org-mode-flyspell-verify): Do not spell check > code, verbatim and LaTeX fragments in headline title. Makes sense. Hopefully the cost of the

Re: org-capture gnus also extract from the cc field.

2021-03-12 Thread Kyle Meyer
Uwe Brauer writes: > Hi > > This would be very useful for my workflow, actually I have > > ("mu" "Stat+Num: English" > table-line (file+headline "/somefile.org" "Exercise Group-E") > "| %:fromname|%:fromaddress|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | > %a|%:date " :prepend

Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-12 Thread Kyle Meyer
Ihor Radchenko writes: > I have a https link like "https://doi.org/10.1016/0160-791x(79)90023-x". > If I put this link into an org file (using emacs -Q or Org mode master), > only "https://doi.org/10.1016/0160-791x(79)" part of the link is treated > as a link. I guess, it should not happen. This

Re: Problem with org-ref

2021-03-09 Thread Kyle Meyer
Marvin M. Doyley writes: > Hi there, > > When I use crossref-add-bibtex-entry it download the BibTeX entry but cannot > download the associated pdf. > I get the following error (wrong-type-argument stringp > ("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/“)) > > I configured org-ref as

Re: Bug: 28.0.50; `org-clocking-buffer` definition was removed, but it is still being referenced [9.4.3]

2021-03-09 Thread Kyle Meyer
Eduardo Bellani writes: > Kyle Meyer writes: > >> In 16b5ee0ef, org-clocking-buffer was moved from org-clock.el to org.el, >> and org-clock.el loads org.el. >> >> What's the concrete problem that you're running into? > Backtrace: > > Debugger entered--

Re: Using lexical-binding

2021-03-09 Thread Kyle Meyer
Stefan Monnier writes: > Any chance you could put this in the `Package-Requires:`? Sure, added (5263eff5a). > Note that all the uses I introduced of `with-suppressed-warnings` only > wrap a very small amount of code, so you could also replace them with > `with-no-warnings` (added back in

Re: [PATCH] Reduce code duplication in ob-sql.el and ob-sqlite.el

2021-03-08 Thread Kyle Meyer
Nick Savage writes: > Please see the attached updated patch with the changes requested. Thanks. Pushed (37749c165). > + (declare (obsolete "use `org-babel-sql-expand-vars' instead." "Org 9.4")) ... changing "Org 9.4" to "Org 9.5".

Re: Bug: 28.0.50; `org-clocking-buffer` definition was removed, but it is still being referenced [9.4.3]

2021-03-08 Thread Kyle Meyer
Eduardo Bellani writes: > On 16b5ee0efb5592f78faeffa07048bfe741331a18 `org-clocking-buffer` was > removed as a symbol. That symbol is still being referenced throughout > the current(4d463ee4baf8a7ce8b7c633149a9452bc70ef557) `org-clock.el` > file. In 16b5ee0ef, org-clocking-buffer was moved from

Re: Using lexical-binding

2021-03-08 Thread Kyle Meyer
Looking at this one more time before applying, I noticed a couple of backward compatibility issues. Stefan Monnier writes: > Subject: [PATCH] * lisp/org-agenda.el: Use lexical-binding [...] > + (pcase type > + ('agenda > +(org-agenda-list

Re: Using lexical-binding

2021-03-06 Thread Kyle Meyer
Stefan Monnier writes: > Should I send a rebased patch for inclusion Yes, please. > or do you want to give more time for people to try it out? My guess is that we won't hear much more without bringing the changes into master, and I'm in favor of doing so given that Marco and I have both used

Re: Using lexical-binding

2021-03-03 Thread Kyle Meyer
Kyle Meyer writes: > Stefan Monnier writes: > >> Since I'm not using it, I can't really test the result in any meaningful >> way. Furthermore, just like `calendar.el`, it relies on dynamic scoping >> and `eval` in all kinds of ways, so it's very difficult

Re: [PATCH] Reduce code duplication in ob-sql.el and ob-sqlite.el

2021-03-03 Thread Kyle Meyer
Nick Savage writes: > Hi everyone, > > See the attached patch. It is a small change to reduce code duplication > between ob-sql.el and ob-sqlite.el by reusing org-babel-sql-expand-vars > as suggested by the FIXME in ob-sqlite.el. Thank you. Looks good, though I think it'd be nice to keep

Re: [PATCH] Async session eval (2nd attempt)

2021-03-03 Thread Kyle Meyer
Jack Kamm writes: > I also have an async implementation for ob-R that's ready after this is > merged :) It's a bit disappointing that only one babel user has tested this out and provided feedback, but please feel free to merge this whenever you think it's ready. I'm very happy to leave the

Re: [PATCH] Query when exiting with running clock

2021-03-03 Thread Kyle Meyer
Allen Li writes: > Thanks for your feedback. I have addressed your comments. Please see > the new patches. Thanks. Pushed with a few modifications and a commit on top that adds a NEWS entry. 1: 39422ba4a ! 1: 303e7c28e org-clock: Query when exiting with running clock @@ Commit message

Re: Org mode links: Open a PDF file at a given page and highlight a given string

2021-03-02 Thread Kyle Meyer
Rodrigo Morales writes: [...] > + create a Org link to specific pages of a PDF and highlight a given > string. > > #+begin_src emacs-lisp :results silent > (setq org-file-apps > '(("\\.pdf::\\([0-9]+\\)::\\([^:]+\\)\\'" . "zathura -P %1 -f %2 %s"))) > #+end_src > > The following link must

  1   2   3   4   5   6   7   8   9   10   >