Public API change: How to handle function signature change gracefully

2020-04-19 Thread General discussions about Org-mode.
Hello everyone, I would like to change the public API of the :face part of `org-link-set-parameters':     (org-link-set-parameters "file" :face 'org-link) My ultimate goal is to have org-links be able to be have their face changed based on the contents, not just the path of the link. I

Re: Public API change: How to handle function signature change gracefully

2020-04-21 Thread General discussions about Org-mode.
Thanks John and Nicolas. I sort of arrived at the same point with my over-engineered approach and change of public API. modified   lisp/org.el @@ -5081,10 +5081,18 @@ This includes angle, plain, and bracket links." (link (org-element-property :raw-link link-object)) (type (org-element-property

Re: Bug: Repeating tasks no longer appearing on future dates in the agenda [9.3.6 (9.3.6-17-g389288-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200224/)]

2020-05-21 Thread General discussions about Org-mode.
Hi Gustavo, Gustavo Barros writes: > Hopefully a solution for the one-time delay issue which does not > trigger this new problem can be found. But I concur (if I may) it was > a wise decision to revert the commit in the meantime. Agreed, thanks Kyle. I'll revisit the one-time delay issue

bug#41364: 27.0.91; org-self-insert-command does not work

2020-05-22 Thread General discussions about Org-mode.
Hi Tim, you need to add (require 'org-tempo) to your configuration to get writes: > Tim Hawes writes: > >> Start emacs with emacs -Q >> Start or open an org-mode document >> type > describe-key looks correct. > > Does the following snippet from ORG-NEWS's "incompatible changes" > section[1]

[BUG?] org-edit-src-save active in Org-Babel Previewo

2020-09-06 Thread General discussions about Org-mode.
In an babel preview buffer opened with 'org-babel-expand-src-block, ('org-edit-src-save) writes the expanded view back to the org file, with all the variable expansions, etc. I may be wrong, but i don't remember this behavior in older versions of Org, and this has bitten me a couple of times,

Re: "text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
Russell Adams wrote: > I believe you can set your #+STARTUP on your file to "showall". That's a good, uhm, start! Thanks. > This will make the whole file open. I don't know if > you could disable tab folding a drawer > later though. Well, I can rebind that key... -- underground experts

Re: All the best

2020-09-15 Thread General discussions about Org-mode.
edgar wrote: > I just want to send a small note to wish you the best > during these times of need. Let us remember that it is > community which allows us to keep going as a species. > Please, take care of yourselves and those who surround > you, and let us do our best to overcome the >

Re: "text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
> Can I tell Org mode to don't change editing back > and forth, also don't collapse items in and out, > i.e. virtually text mode, only I still want the > font lock and to be able to use the mode to set > keys, the functions to compile into a PDF, and > so forth. Here is part of an IRC

Re Org 9.4 is out. Can you help? // breaking apart Org Mode

2020-09-15 Thread General discussions about Org-mode.
Hello, At the request of Bastien I'm sending on these ideas regarding the future of Org Mode development. I'm also copying emacs-devel since they might be interested too. Org Mode and Emacs would benefit greatly from the codebase being broken apart, not unlike how an antitrust suit breaks

"text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
Can I tell Org mode to don't change editing back and forth, also don't collapse items in and out, i.e. virtually text mode, only I still want the font lock and to be able to use the mode to set keys, the functions to compile into a PDF, and so forth. TIA -- underground experts united

Re: "text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
Russell Adams wrote: > I believe you can set your #+STARTUP on your file > to "showall". Can I prevent hyperlinks from folding back and forth? I mean, with [[][]] ? Hm, maybe this will just go on and on if there is no option to do it for real. The font-lock idea was perhaps not so bad...? --

Re: "text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
Stefan Nobis wrote: > (setq org-link-descriptive nil) I don't have org-link-descriptive, it seems... Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/) GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu) of 2019-09-23, modified by Debian -- underground experts

basic org questions

2020-09-15 Thread General discussions about Org-mode.
1) How do I make a region italic? This does not fontify and does not show up as italic type: /En gång i tiden var även Spanien täckt av skog. En gammal berättelse menar att man i norra Spanien kunde hoppa upp på en apas rygg och ta sig ner till södra Spanien utan att klättra av en enda gång.

Re: "text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
Gustavo Barros wrote: > That's probably not something most Org users would > do, but I think you'd get close to what you want > with: > > (add-hook 'org-mode-hook 'visible-mode) Yeah, that seems to have done it? Great! Thanks a lot! ;;; -*- lexical-binding: t -*- ;;; ;;; this file: ;;;

Re: "text mode" org mode

2020-09-15 Thread General discussions about Org-mode.
Stefan Nobis wrote: >>> (setq org-link-descriptive nil) >> >> I don't have org-link-descriptive, it seems... > > No problem, the old name is =org-descriptive-links= > (this name has been deprecated in Org 9.3, but it > is still working in 9.4). Thanks, I wonder tho if all this (setq

using header data in document

2020-09-15 Thread General discussions about Org-mode.
How can I use header data in the document? E.g., #+AUTHOR: Emanuel Berg [...] \author I wrote this! # only that doesn't work -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Matt Huszagh wrote: > If you mean the table itself, that would be > very strange. Heh...? What's strange with that? Anyway that's what I mean. -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
tomas wrote: > The variable `org-emphasis-regexp-components' is > documented, so one might hope that the method is > magic, but somewhat official. Indeed, that works: (setq org-emphasis-regexp-components (append (butlast org-emphasis-regexp-components) '(7)) ) :) -- underground

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Re: basic org questions Russell Adams wrote: >> 1) How do I make a region italic? [...] > > https://emacs.stackexchange.com/questions/18101/org-mode-multi-line-emphasis-and-bold OK, thanks, not the same good looking syntax tho but good enough for government work, I suppose. >> 2) How do I have

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Matt Huszagh wrote: > Were you referring to the tables being centered > after export (I see from another part of this chain > that that's what you were referring to in the 3rd > question) when you wanted them left-aligned? > If that is the case, it would really help if you > specify that in your

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Tim Cross wrote: > #+latex_class: korma-article user-error: Unknown LaTeX class ‘korma-article’ > #+latex_header: \setlength{\parindent}{0pt} Yes, that's removed the indentation but didn't insert a blank line... -- underground experts united http://user.it.uu.se/~embe8573

Re: using header data in document

2020-09-15 Thread General discussions about Org-mode.
Corwin Brust wrote: > | Org comes with following pre-defined macros: > | > | ‘{{{keyword(NAME)}}}’ > | ‘{{{title}}}’ > | ‘{{{author}}}’ > | ‘{{{email}}}’ Thanks, great! > So you can use use, e.g. {{{author}}} in various > places to get at data from the header: > > | Org recognizes macro

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Matt Huszagh wrote: >> Yeah, but in LaTeX being left aligned is not some >> property of the table, everything is left-aligned, >> and if you want it otherwise, you put between >> \begin{center} and \end{center} ... > > That page also describes how to set float > parameters, which the table can be

Re: patch: ob-clojure improvements

2020-10-09 Thread General discussions about Org-mode.
Nice work, I did some testing here... * Comment: Should babashka be added as an option for custom? (defcustom org-babel-clojure-backend nil "Backend used to evaluate Clojure code blocks." :group 'org-babel :type '(choice (const :tag "inf-clojure" inf-clojure) (const

Re: Bug: DOI links are broken in HTML exports

2020-09-23 Thread General discussions about Org-mode.
Thanks Bastien. > Do you use a link abbreviation for doi: links ? > >> When I export this document to HTML the DOI link gets converted into a >> broken hyperlink. It should be converted into >> https://doi.org/10.1186/s12864-016-2377-z as explained >> in https://www.doi.org/.

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Nick Dokos wrote: > (setq org-latex-tables-centered nil) Yes! :) Thanks :) That took a couple of messages... :O -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Bug: DOI links are broken in HTML exports

2020-09-21 Thread General discussions about Org-mode.
Hi, I've found a small bug in org-html-export-to-html. Minimal document to reproduce: --- Foo [fn:1] * Footnotes [fn:1] doi:10.1186/s12864-016-2377-z --- When I export this document to HTML the DOI link gets converted into a broken hyperlink. It should be converted into

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Stefan Nobis wrote: >> There are many pieces of software that will allow >> the user to the violate best typesetting practices >> easily. LaTeX is not one of them. > > Not quite right. I have seen people create really > ugly source code *and* ugly output with LaTeX with > ease. You can create

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Stefan Nobis wrote: >>> #+attr_latex: :center nil :booktabs t >>> | My | Columns | >>> |+-| >>> | 1 | 2 | >>> | 3 | 4 | > >> "PDF file produced with errors." > > Sorry that I try to make more general examples that > are not exactly tailored to your use case. > As I said

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Stefan Nobis wrote: >> OK, but the values still ned to be >> specified, right? > > No, just use the package - it sets the relevant > lengths to change the style of marking paragraphs > and tries hard to also reset every other length > that depends on the original values of > these variables. You

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Alexander Adolf wrote: > I use visual-line-mode (which also enables > word-wrap by default) for Org files. For instance: > > (add-hook 'org-mode-hook (lambda () >(turn-off-auto-fill) >(visual-line-mode) >

Re: using header data in document

2020-09-16 Thread General discussions about Org-mode.
Eric S Fraga wrote: >> {{{date()}}} works as does {{{date(%D)}}} in >> a sense, only the format string doesn't seem to >> influence the output, which is "September 16, >> 2020". > > The documentation that you have in your post says > that this works only if the actual date given in > the #+DATE

Re: using header data in document

2020-09-16 Thread General discussions about Org-mode.
Eric S Fraga wrote: > On Wednesday, 16 Sep 2020 at 00:08, Emanuel Berg via > "General discussions about Org-mode." wrote: > >> Hm, date? Maybe that can be used to do a line like >> the LaTeX's >> >> Last modified: \today >> >> or how would

Re: using header data in document

2020-09-16 Thread General discussions about Org-mode.
Eric S Fraga wrote: > what does your #+date: line look like? Is it > a single time stamp? If it is not, all of the above > would return the same thing. I don't have that line. -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Tim Cross wrote: > #+latex_header: \parskip 1.5ex Got it! Thanks! Now it works, with: #+latex_header: \parskip 1.5ex #+latex_header: \parindent 0pt -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Samuel Wales wrote: >> Marking paragraphs by blank lines and without >> indentation is deemed less readable (see for >> example section 3.10 "Marking Paragraphs" in >> https://komascript.de/~mkohm/scrguien.pdf). [...] > > for my part, i appreciate your using the "wrong" > style for your email

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Stefan Nobis wrote: > #+attr_latex: :center nil :booktabs t > | My | Columns | > |+-| > | 1 | 2 | > | 3 | 4 | "PDF file produced with errors." -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Stefan Nobis wrote: > But otherwise I second your recommendation to not > use this style of marking paragraphs if not > absolutely required. Well, I'm not exactly required to do anything, but I know what I think something should look like... -- underground experts united

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Stefan Nobis wrote: >> #+latex_header: \setlength{\parindent}{0pt} >> #+latex_header: \setlength{\parskip}{\baselineskip} > > Better use > > #+latex_header: \usepackage{parskip} > > as this package has less bad side-effects on other > parts of the document than setting these far-reaching >

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
TEC wrote: > You see, strangely enough - if you want to tweak > the result of Org exporting to LaTeX, you have to > write LaTeX :P I got it to work. Thanks for your help. I'm not abandoning org-mode just yet... -- underground experts united http://user.it.uu.se/~embe8573

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Thomas S Dye wrote: > There are many pieces of software that will allow > the user to the violate best typesetting practices > easily. LaTeX is not one of them. In my experience, you can typeset whatever you want with LaTeX, and in any way that you want. non-fiction book:

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
tomas wrote: > Or just ask around here, but best with concrete, > little goals each time. ? -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Tim Cross wrote: >> #+latex_header: \parskip 1.5ex >> #+latex_header: \parindent 0pt > > Note that I agree with the other post recommending > using the parskip package as a better solution. > I had forgotten about that package when I posted > the above, which is really just a dirty hack.

Bug: Link descriptions include checkbox counter [9.3.7 (9.3.7-16-g521d7f-elpaplus @ /home/tarjei/.emacs.d/elpa/org-plus-contrib-20200803/)]

2020-08-06 Thread General discussions about Org-mode.
Hi! Is it intended behavior for =org-store-link= to include checkboxcounters in the description? I would expect the example below to be =[[id:..][Link to this]]=, similarly to how TODO keywords are treated. #+begin_src org ,*** [1/2] Link to this :PROPERTIES: :ID:

Re: Anyone doing any fancy customizations of source blocks?

2020-06-19 Thread General discussions about Org-mode.
Hi Bill, I'm glad you found the example useful. I've been thinking myself of also un-hiding the header arguments, which I do find useful to have visible. Best, --Diego On Fri, Jun 19, 2020 at 4:04 AM William Denton wrote: “On 3 June 2020, Diego Zamboni wrote: > I use the config John mentioned

FWD: Re: FWD: Org-Babel Support for Powershell

2020-06-09 Thread General discussions about Org-mode.
Hi, I thought about four possible solutions to include Powershell 7 in Emacs. I understand that Powershell 5.1 is not Open Source. But is is not the case with Powershell 7. I share my idea with nche...@linuxha.com below. I am still not very familiar with the vast emacs universe. But I am very

FWD: Org-Babel Support for Powershell

2020-06-06 Thread General discussions about Org-mode.
Hi, I ask the maintainer of org-babel Bastien Guerry , if it is possible to include Powershell support for org-babel. Monsieur Guerry told me to ask you via email. Powershell 5.1 is now an important tool for Infrastructure as Code in the Windows Server world. Windows

Bug: Attachment directory omitted from html export if line 1 is not section heading [9.3.7 (9.3.7-14-gb2b587-elpaplus @ /home/tarjei/.emacs.d/elpa/org-plus-contrib-20200720/)]

2020-07-26 Thread General discussions about Org-mode.
Hi! The following org file, where the attachment is a copied text file, is exported to a fully functional html page: -- without_title.org --- * Section :ATTACH: :PROPERTIES: :ID: 17b1efb9-e20c-4637-98c1-12e796e18d62 :END: Attachment link to attachment

proposal: ox-bb, Org exporter for BBCode

2021-01-06 Thread General discussions about Org-mode.
Hi there, I wrote a simple Org exporter[1] for the BBCode format[2] which is used in many web forums. Is there any interest in including it in Org? Known todos on my side are: 1. Rewrite my shell tests in elisp to include then in the Org tests. 2. Figure out a test error on Emacs 27. I

[PATCH] ox.el: Add missing polish translations in export dictionary

2020-11-01 Thread General discussions about Org-mode.
Hi All, This patch is just a quick addition to export dictionary for polish language. Things which were translated: - Continued from previous page -> Ciąg dalszy poprzedniej strony - Continued on next page-> Kontynuacja na następnej stronie Let me know if it's ok. Karol Wójcik>From

Bug: test-org-archive/datetree fails with German locale

2021-01-09 Thread General discussions about Org-mode.
Hello, I've run across a test error on the current HEAD. When I run "make test" on my system, then test-org-archive/datetree fails. The test fails because the expected output should contain "Sunday", but with a German locale the generated text is "Sonntag" instead (which is the German

Re: Regression in org-element-fixed-width-parser? Extra newline added after exported block

2021-01-20 Thread General discussions about Org-mode.
On Tue, Jan 19, 2021 at 08:45:22PM +0100, mitch--- via General discussions about Org-mode. wrote: > I have created a minimal test using the ox-ascii backend that shows > the same behaviour in Org core. Which is attached here because it forget it in the original mail. Sorry Christian

Regression in org-element-fixed-width-parser? Extra newline added after exported block

2021-01-19 Thread General discussions about Org-mode.
Hi all, I wrote two Org exporters[1,2] that each have a testsuite of their own. I regularly run tests against Emacs 25 and 26 with their respective Org versions. When I started to test against Emacs 27.1 with Org mode 9.3 I got test failures in both exporters: The export of a fixed with block

[PATCH] testing/lisp/test-org-archive.el: Fix test

2021-01-13 Thread General discussions about Org-mode.
Hello, I've run across a test error on the current HEAD. When I run "make test" on my system, then test-org-archive/datetree fails. The test fails because the expected output should contain "Sunday", but with a German locale the generated text is "Sonntag" instead (which is the German

How to not include newlines in strip-export?

2021-01-17 Thread General discussions about Org-mode.
I'm using the following snippet for saving the plot in python snippets #+NAME: save-file #+BEGIN_SRC python :results silent :var filename="filename" plt="plt" :exports none return f"\nfname = 'assets/' + filename + '.png'\nplt.savefig(fname)\nfname" #+END_SRC Using it like so #+BEGIN_SRC

Re: [bug] Exporting results in "Wrong type argument" when "+CALL" is used

2021-01-31 Thread General discussions about Org-mode.
> On Jan 30, 2021, at 3:10 PM, Rodrigo Morales > wrote: > > > As the subject states, executing some exporting commands (see list in > step 2 below) results in an error when there is at least one "#+CALL" > statement. > > The backtrace is shown below. > > #+begin_example > Debugger

Re: [PATCH] ox-bb.el: Add BBCode exporter

2021-05-09 Thread General discussions about Org-mode.
Hellp Bastien, On Mon, Apr 26, 2021 at 09:49:13AM +0200, Bastien wrote: > Christian Garbs via "General discussions about Org-mode." > writes: > > > after getting an encouraging reply to my initial proposal[1], I went > > forward and finished the patch to inc

Re: outline-minor-mode and org-mode capabilities for programming languages

2021-05-09 Thread General discussions about Org-mode.
> I have same elisp code and using outline-minor-mode. The good thing about it > is that > the language highlighting is preserved. But navigating and moving the code > around is > much more difficult than actually being in org-mode (I can use tab ate move > code with > "M-", M-). The

Re: [wip-cite-new] Adjust punctuation around citations

2021-05-16 Thread General discussions about Org-mode.
Am 16.05.2021 um 23:38 schrieb Bruce D'Arcus: On Sun, May 16, 2021 at 5:29 PM Denis Maier wrote: ... There's only one further complication: if the quotation is a set off block quote, the citation comes after the punctuation mark: This is a complete sentence. (author year) I've not seen

how to document/comment a complex org table formula

2021-07-04 Thread General discussions about Org-mode.
Limbic answer : - create an emacs-lisp function doing what you want - comment /ad libitum/ - call this function in your spreadsheet. HTH,

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread General discussions about Org-mode.
Dear Tim, On Tuesday, July 6, 2021 3:30:40 AM EDT Tim Cross wrote: > Jacopo De Simoi via "General discussions about Org-mode." writes: > > Hi Greg, > > > > thanks for your comments! > > > > On Tuesday, July 6, 2021 12:43:54 AM EDT Greg Mins

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread General discussions about Org-mode.
to see how to do the same with noweb and compare my approach with the "standard" one. Once more, I hope these examples clarify my point of view. Best Jacopo On Tuesday, July 6, 2021 2:11:09 AM EDT Vladimir Lomov wrote: > Hello! > > ** Jacopo De Simoi via General discuss

Re: [PATCH] Allow tangling to a list of files

2021-07-05 Thread General discussions about Org-mode.
Hi Greg, thanks for your comments! On Tuesday, July 6, 2021 12:43:54 AM EDT Greg Minshall wrote: > hi, Jacopo, > > i'm not convinced this is needed over and above your old "solution" of > using <> witn N-different source blocks, each :tangle'ing to a > different file. To be honest I never

[PATCH] ox-bb.el: Add BBCode exporter

2021-02-05 Thread General discussions about Org-mode.
Hi, after getting an encouraging reply to my initial proposal[1], I went forward and finished the patch to include the BBCode exporter in Org. The patch applies to current master and includes a suite of tests. Please review and/or apply this patch. Best regards, Christian [1]

Bug: Incompatible return type in org-babel C when using a table of doubles with a header as a variable [9.4.4 (release_9.4.4-272-ga9f38b @ /home/richard/.emacs.d/straight/build/org/)]

2021-04-02 Thread General discussions about Org-mode.
When a table of floating pointer numbers that contains a header row is set as a variable to a C source block, the generated header file contains an invalid return type, causing the program to not compile. For example, if I have a table that looks like #+NAME: tbl-doubles-org-bug-report

Re: Bug: Org bold emphasis gobbles leading stars on next headline [9.3.7 (release_9.3.7-710-g3f04ad @ /home/n/.emacs.d/straight/build/org/)]

2021-03-22 Thread General discussions about Org-mode.
> No Wayman writes: > > With the following Org mode file and point denoted by "|": > > > > * Parent > > | > > ** Sibling > > > > Insert the text "*", resulting in: > > > > * Parent > > "*"| > > ** Sibling > > > > textually, but the final star of the Sibling heading is hidden as > > well: > > > >

org agenda bug — respect literal examples

2021-02-28 Thread General discussions about Org-mode.
Org Agenda seems not to respect lines beginning with ":" or other literal examples. E.g., adding a line like this will populate the Org Agenda: : (<%%(diary-float t 3 -1)> in org-mode) Similarly for: #+begin_src org (<%%(diary-float t 3 -1)> in org-mode) #+end_src #+begin_src emacs-lisp ;;

org agenda bug — diary-sexp-entry-symbol is not respected

2021-02-28 Thread General discussions about Org-mode.
The string "%%" is hard coded here as a date prefix: https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-agenda.el#L5648 Shouldn’t this be diary-sexp-entry-symbol to allow local overrides, etc.? -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a

Custom link type that attaches file in :follow

2021-04-12 Thread General discussions about Org-mode.
Hi! I am having some trouble adding a link via =org-link-set-parameters=. I want to have a custom =xournalpp=-link type that behaves as follows: - follow :: Open attached file - exists :: open the file - don't exist :: create attachment directory and copy template file into it - export ::

[BUG] Second item of `org-agenda-timerange-leaders' cannot be a function [9.4.6 (9.4.6-gf70e36 @ /home/viz/lib/emacs/straight/build/org/)]

2021-08-03 Thread General discussions about Org-mode.
Looking at the definition of `org-agenda-timerange-leaders' suggests that the second item of the list can be a function.     (defcustom org-agenda-timerange-leaders '("" "(%d/%d): ")   "Text preceding timerange entries in the agenda view.     This is a list with two strings.  The first

Re: [patch] priorities range reversed

2021-08-09 Thread General discussions about Org-mode.
Actually, there some bigger problems with the function as well... — It didn’t update the priority cookie properly when one had been set before * [#1] Exercise: update to [#2] — After fixing that, I noticed that the included save-excursion doesn’t work

[patch] priorities range reversed

2021-08-09 Thread General discussions about Org-mode.
In the case of numeric priorities [#1] [#9] and so on, there is a test that is reversed in org.el. This appears twice with a slight variation. ;; Are we are less than the highest or greater than the lowest? (or (< (upcase new) org-priority-highest) (> (upcase new) org-priority-lowest)) The

[PATCH] ox: Italian smart quotes

2021-08-12 Thread General discussions about Org-mode.
[PATCH] ox: Italian smart quotes * ox.el (org-export-smart-quotes-alist): Added support for italian smart quotes. >From 97a45353d19be98bcf0d94da0d902a025408fa3a Mon Sep 17 00:00:00 2001 From: DPDmancul Date: Wed, 11 Aug 2021 18:21:55 +0200 Subject: [PATCH] ox: Italian smart quotes * ox.el

[PATCH] ox: Italian smart quotes

2021-08-11 Thread General discussions about Org-mode.
>From 97a45353d19be98bcf0d94da0d902a025408fa3a Mon Sep 17 00:00:00 2001 From: DPDmancul Date: Wed, 11 Aug 2021 18:21:55 +0200 Subject: [PATCH] ox: Italian smart quotes * ox.el (org-export-smart-quotes-alist): Added support for italian smart quotes. --- lisp/ox.el | 6 ++ 1 file changed, 6

Chiming in [Re: org-cite not mentioned in ORG-NEWS for 9.5]

2021-09-27 Thread General discussions about Org-mode.
As reported by Bastien, I started a documentation for the current state of the citation engine(s). I intended to complete it, but got "a little" sidetracked. Enclosed is a patch of where I was in August. Bastien made the following remarks, which I mostly intended to follow :

bug#52547: 29.0.50; Confusing behavior of org-timer-set

2021-12-17 Thread General discussions about Org-mode.
Kyle Meyer writes: > This must be org-timer-set-timer; there's no org-timer-set in Org's > tree. Correct. My apologies. > Yes, it seems better to at least signal a user-error if the input > doesn't match the expected format. Agreed. Or perhaps recognize h/m/s, like org-schedule does. >

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-27 Thread General discussions about Org-mode.
Max Nikulin writes: > Let's consider the following example: > > >8 > Test > > #+begin_src elisp >(message "Test") > #+end_src > 8< - > > emacs -Q -L ~/src/org-mode/lisp/ --eval "(custom-set-variables > '(org-babel-load-languages '((emacs-lisp . nil" babel-exec.org > >

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2022-01-01 Thread General discussions about Org-mode.
Max Nikulin writes: > On 30/12/2021 15:00, Rudolf Adamkovič wrote: >> >> #+property: header-args:bibtex+ :eval yes > > Why do you set ":eval yes" explicitly for bibtex if you believe that > it should not be executed? Plain old stupidity. :) Rudy -- "Programming reliably --- must be an

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2022-01-01 Thread General discussions about Org-mode.
"Berry, Charles" writes: > Max, > >> On Dec 31, 2021, at 4:05 AM, Max Nikulin wrote: >> >> >> Should some function a macro be provided to facilitate declaring >> languages as data format (config files, JSON, YAML, etc.) rather than >> executable source code? > > I think we already have this

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-25 Thread General discussions about Org-mode.
Ihor Radchenko writes: > And we do not have to force the users adding trivial things like > bibtex. Bibtex may be one of the defaults. I see. In effect, Org would not try to "execute BibTeX" when executing a buffer. That makes sense! Rudy -- "I love deadlines. I love the whooshing noise they

bug#52778: 29.0.50; refill-mode issues in org-mode

2021-12-25 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Could you kindly use M-x org-submit-bug-report to prepare your > future bug reports related to Org mode? Oh, I apologize. I did not know that Org has its own command to report bugs. In the future, I will use M-x org-submit-bug-report. Rudy -- "I love deadlines. I

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-25 Thread General discussions about Org-mode.
"Berry, Charles" writes: > The problem cited here *only* exists for execution using > org-babel-execute-buffer or similar functions. > > For that case, setting buffer or heading properties, such as […] > resolves the issue. > > So the user needs to add just one-line per language to set this up.

bug#52587: 29.0.50; Wrong block header/footer background in Org

2021-12-26 Thread General discussions about Org-mode.
Protesilaos Stavrou writes: > [ I will sync with emacs.git as soon as I publish the next tagged > version (2.0.0). It is a big one and the change log will take some > time to prepare... Maybe this week. ] I noticed "Update modus-themes to version 2.0.0" in the Git log. Yet, I compiled

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-23 Thread General discussions about Org-mode.
Ihor Radchenko writes: > So, Org cannot distinguish between language backends that are simply > not loaded and the ones that do not define org-babel-execute:lang. Oh, if we have this architectural limitation in place, then Org cannot help the user, and every user will have "explain" to Org that

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-21 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Though I am not a big fan of introducing yet another customisation. > Maybe someone has better ideas? I struggle to understand. Why do we need a customization? If Org knows that some backend exists but has no execute function, why does it even try to execute it? It

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-28 Thread General discussions about Org-mode.
Max Nikulin writes: > No, it means instruction to unload support of emacs-lisp even it was > loaded before. I see. Thank you for the explanation! I misunderstood the (rather unusual) "org-babel-do-load-languages" API despite having read the documentation. > I do not insist that current

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-30 Thread General discussions about Org-mode.
Rudolf Adamkovič via "General discussions about Org-mode." writes: > Below, I include a typical use case: Org notes about an article with a > corresponding BibTeX entry. Please, ignore the example I gave, as it does not show anything. I apologize it. Below, I provide a g

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-29 Thread General discussions about Org-mode.
"Berry, Charles" writes: > Rudy, > > Thanks for the comment, but ... > >> On Dec 25, 2021, at 1:37 PM, Rudolf Adamkovič wrote: >> >> I think we look at the problem from two different perspectives. You >> look at the problem from the "how" perspective, whereas I look at it >> from the "why"

[BUG] Manual links to MathJax documentation [9.5.1 (release_9.5.1-11-g96d91b @ /emacs-28.0.90/lisp/org/)]

2021-12-18 Thread General discussions about Org-mode.
Hello, I noticed the links in the footnotes 131 and 132 are broken at https://orgmode.org/manual/Math-formatting-in-HTML-export.html I suppose the following links may be used instead: 131: http://docs.mathjax.org/en/v2.7-latest/tex.html 132:

[BUG] Set org-format-latex-options in .dir-locals.el [9.5.1 (release_9.5.1-11-g96d91b @ emacs-28.0.90/lisp/org/)]

2021-12-18 Thread General discussions about Org-mode.
Hello, I tried configuring 'org-format-latex-options' per a org-mode file/directory by adding the following configuration into the .dir-locals.el file: ((org-mode . ((org-format-latex-options . (:foreground default :background default

[BUG] org-html-mathjax-options docstring [9.5.1 (release_9.5.1-11-g96d91b @ /emacs-28.0.90/lisp/org/)]

2021-12-18 Thread General discussions about Org-mode.
Hello, It seems the docstring of org-html-mathjax-options may need to be updated. I tried setting 'autonumber' to "None", as the docstring suggests, but only the lower-cased "none" worked fine. Also, MathJax documentation for 2.7 (the version I've got HTML rendered with by org-mode) mentions

Bug: org-no-popups disregards display-buffer-fallback-action [9.4.6 (9.4.6-13-g4be129-elpaplus @ /home/jeeger/.emacs.d/elpa/org-plus-contrib-20210920/)]

2021-11-10 Thread General discussions about Org-mode.
Hello! I'm trying to make multi-frame emacsing nicer, and I encountered what I consider a bug with the `org-no-popups` macro in `org-macs.el`. `org-no-popups` tries to surpress the creation of new frames via setting `pop-up-frames` and `display-buffer-alist` to nil temporarily. This does not

Bug: org-no-popups disregards display-buffer-fallback-action [9.4.6 (9.4.6-13-g4be129-elpaplus @ /home/jeeger/.emacs.d/elpa/org-plus-contrib-20210920/)]

2021-11-10 Thread General discussions about Org-mode.
Hello! I'm trying to make multi-frame emacsing nicer, and I encountered what I consider a bug with the `org-no-popups` macro in `org-macs.el`. `org-no-popups` tries to surpress the creation of new frames via setting `pop-up-frames` and `display-buffer-alist` to nil temporarily. This does not

Re: Bug: org-no-popups disregards display-buffer-fallback-action 9.4.6

2021-11-14 Thread General discussions about Org-mode.
Hello! On 13.11.21 14:15, Max Nikulin wrote: Some users prefers multiple frames, others multiple windows in a full-screen frame. Could you, please, briefly describe what kind of behavior you are truing to achieve? My thought is that I have a perfectly good window manager that allows me to

Re: Bug: org-no-popups disregards display-buffer-fallback-action 9.4.6

2021-11-14 Thread General discussions about Org-mode.
On 13.11.21 14:15, Max Nikulin wrote: On 10/11/2021 14:50, Jan Seeger wrote: I'm trying to make multi-frame emacsing nicer, and I encountered what I consider a bug with the `org-no-popups` macro in `org-macs.el`. `org-no-popups` tries to surpress the creation of new frames via setting

Re: Bug: org-no-popups disregards display-buffer-fallback-action [9.4.6 (9.4.6-13-g4be129-elpaplus @ /home/jeeger/.emacs.d/elpa/org-plus-contrib-20210920/)]

2021-11-14 Thread General discussions about Org-mode.
On 10.11.21 11:20, Ihor Radchenko wrote: Jan Seeger via "General discussions about Org-mode." writes: Hello! I'm trying to make multi-frame emacsing nicer, and I encountered what I consider a bug with the `org-no-popups` macro in `org-macs.el`. This problem has been fixed in Org

whitespace in org source files

2021-11-12 Thread General discussions about Org-mode.
I'm hacking on ob-shell.el and I see that the source has mixed tabs and spaces. If I were to contribute changes, would it be an issue if tabs were converted to whitespace? I've not used the email contribution style before and have had whitespace issues in the past with GitHub PRs.  I

examples for org-manual

2021-12-01 Thread General discussions about Org-mode.
The org-manual could use more practical examples, in my opinion. How does one submit suggestions/edits?

Re: Put #+print_bibliography in an org source code block?

2021-07-19 Thread General discussions about Org-mode.
Am 18.07.2021 um 07:02 schrieb Vikas Rawal: I don't know if this is crazy. But I was wondering if it is possible (or worth exploring as an idea) to turn #+print_bibliography into something that can be evaluated to throw the bibliography as results in the org file itself. This would then allow

should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?

2021-07-19 Thread General discussions about Org-mode.
> It seems like that should not be the case, i.e. if you define > BIBLIOGRAPHY keywords it means you do not want to use the ones in  > org-cite-global-bibliography. Is there a scenario where the union of  > those makes sense? Yes indeed: you may have - A library for background issues (e. g.

  1   2   3   >