[BUG] C-u C-u C-u TAB regression on master

2022-05-11 Thread Allen Li
There appears to be a regression in the behavior of C-u C-u C-u TAB on master (at aea24b3feafb9c389dc5933005928462bb20c4f8). C-u C-u C-u TAB is supposed to show everything including drawers, but on this test file it does not show property drawers: Make a file containing 2000 copies of the

Re: Regarding arbitrary Org blocks

2022-05-11 Thread Russell Adams
On Wed, May 11, 2022 at 02:39:28PM -0700, Greg Minshall wrote: > Russell, the behavior you describe, that used to work, sounds reasonable > to me. otoh, in case you haven't discovered =narrow-to-region= and > friends, (which i only recently did), that might also give you some of > what you want.

Re: Regarding arbitrary Org blocks

2022-05-11 Thread Greg Minshall
Russell, the behavior you describe, that used to work, sounds reasonable to me. otoh, in case you haven't discovered =narrow-to-region= and friends, (which i only recently did), that might also give you some of what you want. cheers, Greg

Re: How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread John Kitchin
hm. what is xenops doing? That isn't a package I use, but my results drawers are also closed when opening a file. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213

Re: How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread Richard Stanton
It works fine when I use emacs -Q, so I did some hunting around and discovered that it’s a bad interaction with the xenops package. A shame, as this package does a great job of almost-real-time previewing of LaTeX equations, figure and tables. > On May 11, 2022, at 10:51 AM, Richard Stanton

Re: Regarding arbitrary Org blocks

2022-05-11 Thread Colin Baxter
> Russell Adams writes: > On Wed, May 11, 2022 at 09:23:27PM +0300, Daniel Fleischer wrote: >> Russell Adams [2022-05-11 Wed 18:14] wrote: >> >> > Could I add some minor mode to say text-mode with >> auto-fill-mode and > aspell somewhere when opening those blocks? >>

Re: Org-ref not working when exporting to LaTeX

2022-05-11 Thread Bruce D'Arcus
This is an aside, but I recently learned about citeproc-lua, which adds CSL processing directly to tex and latex. https://github.com/zepinglee/citeproc-lua Now included in texlive 2022. As that evolves more (there are still missing features), it could be another viable alternative. On Wed, May

Re: Org-ref not working when exporting to LaTeX

2022-05-11 Thread Daniel Fleischer
John Kitchin [2022-05-11 Wed 14:17] wrote: > The regular export is preferred for LaTeX (C-c C-e l o) is preferred for > LaTeX export as it generates the LaTeX cite > commands. The version in C-c C-e r p uses CSL for the formatting, not LaTeX, > and it allows you to get nicely formatted >

Re: [oc] multiple cite_export keywords for multiple export processors?

2022-05-11 Thread Bruce D'Arcus
On Wed, May 11, 2022 at 9:55 AM Ihor Radchenko wrote: > > "Bruce D'Arcus" writes: > > >> Emm. org-cite-export-processors? > > > > So I recognize I don't fully understand the org export system, but > > that sets global defaults. > > > > What if I want to set a different style on a specific

Re: Regarding arbitrary Org blocks

2022-05-11 Thread Russell Adams
On Wed, May 11, 2022 at 09:23:27PM +0300, Daniel Fleischer wrote: > Russell Adams [2022-05-11 Wed 18:14] wrote: > > > Could I add some minor mode to say text-mode with auto-fill-mode and > > aspell somewhere when opening those blocks? > > Hi! If you're editing text why do you need a special

Re: Regarding arbitrary Org blocks

2022-05-11 Thread Daniel Fleischer
Russell Adams [2022-05-11 Wed 18:14] wrote: > Could I add some minor mode to say text-mode with auto-fill-mode and > aspell somewhere when opening those blocks? Hi! If you're editing text why do you need a special buffer? You can edit them in the orgmode buffer and enjoy all its textual

Re: Org-ref not working when exporting to LaTeX

2022-05-11 Thread John Kitchin
The regular export is preferred for LaTeX (C-c C-e l o) is preferred for LaTeX export as it generates the LaTeX cite commands. The version in C-c C-e r p uses CSL for the formatting, not LaTeX, and it allows you to get nicely formatted results without using bibtex/biblatex as the citation

Re: Org-ref not working when exporting to LaTeX

2022-05-11 Thread Daniel Fleischer
Alessandro Bertulli [2022-05-11 Wed 19:41] wrote: > I'm going to post my setup in a minute. The > point is: when exporting the org file to LaTeX (C-c C-e l o), a PDF file > gets produced, but it doesn't process the citation keys. For example, in > my file (see below), I got the key "acm:code"

Re: How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread Richard Stanton
I see that the same question was asked by John Kitchin in 2016. The accepted answer back then was either to put #+STARTUP: showeverything at the top of the org file or to use (setq org-startup-folded "showeverything”). I don’t know if something has changed in org since then, but neither of

[PATCH] Re: Concatenate properties

2022-05-11 Thread Tyler Grinn
Ihor Radchenko writes: > Tyler Grinn writes: > >> Ihor Radchenko writes: >> >>> Tyler Grinn writes: >>> Could you provide an example of what the value of that variable would be if, for instance, I wanted PROP_A and PROP_B to be joined with a single space and PROP_C and

Org-ref not working when exporting to LaTeX

2022-05-11 Thread Alessandro Bertulli
Hi all! I'm trying to set up an academic workflow, and being unsure about which framework to use, I gave org-ref a try. However, I can't make it produce a correct LaTeX PDF file. I'm going to post my setup in a minute. The point is: when exporting the org file to LaTeX (C-c C-e l o), a PDF file

Re: source block evaluation in #+DATE line

2022-05-11 Thread Timothy
Hi Andreas, > how can I have a source block result in a #+Date line? Short version: you can’t as `#+date' is not a [parsed keyword]. Individual export backends do limited processing, and IIRC you should be able to use a macro. All the best, Timothy [parsed keyword]

Re: source block evaluation in #+DATE line

2022-05-11 Thread Eric S Fraga
On Wednesday, 11 May 2022 at 17:50, Eric S Fraga wrote: > ⚠️ Caution: External sender > > > On Wednesday, 11 May 2022 at 05:15, Andreas Leha wrote: >> Thanks for the comments. And sorry for the misleading example. I do not >> want to use source blocks to insert a date. In fact I want to include

Re: [PATCH] lisp/org-table.el: Use booktabs on org-table-export

2022-05-11 Thread Pride Allman
So basically, the export function is doing the overwrite for user options but to reduce the number of inconsistency we can't use this patch for only one such option. Now you explained it I can't think of a way to solve it without rewriting the whole thing. Or maybe I need to read the source code

Re: source block evaluation in #+DATE line

2022-05-11 Thread Eric S Fraga
On Wednesday, 11 May 2022 at 05:15, Andreas Leha wrote: > Thanks for the comments. And sorry for the misleading example. I do not > want to use source blocks to insert a date. In fact I want to include > the current git commit hash on the title slide. I do this by: --8<---cut

How to stop results being hidden when using ":results drawer"?

2022-05-11 Thread Richard Stanton
I’m creating documents where I run Python code blocks that create LaTeX mathematical output that I want to be able to export to either LaTeX/PDF or HTML. Using :wrap in the header works fine, except that LaTeX complains about the unknown environment “results” (it still compiles the file to

Re: [PATCH] org-macs.el: Do not compare wall time and file modification time

2022-05-11 Thread Paul Eggert
The comments don't seem to match the code here. + (let* ((tangled-file (concat (file-name-sans-extension file) ".el")) + (file-mtime (file-attribute-modification-time + (file-attributes (file-truename file + (tangled-mtime

Regarding arbitrary Org blocks

2022-05-11 Thread Russell Adams
I used to insert arbitrary blocks like: #+BEGIN_IMPORTANT yadda yadda #+END_IMPORTANT in my documents, and when I hit C-c ' to edit them it would give me a basic buffer and I could edit the plain text within. Some recent change instead now says "No special environment to edit here". How can I

Re: [PATCH] (v3) New LaTeX code export option: engraved

2022-05-11 Thread Timothy
Hi All, I now have what I hope is the final set of patches[1]. Compared to v2 we have: • a fix for % in captions (long standing bug) • support for mathescaped code • a news/manual entry for engraved • a collection of tweaks based on Ihor’s lovely feedback 珞 I’ve also slipped in a patch to

Re: [oc] multiple cite_export keywords for multiple export processors?

2022-05-11 Thread Ihor Radchenko
"Bruce D'Arcus" writes: >> Emm. org-cite-export-processors? > > So I recognize I don't fully understand the org export system, but > that sets global defaults. > > What if I want to set a different style on a specific document? There is also #+cite_export: keyword, but it only sets global

Re: [how to joint column/rows of tables that are in different files (id?)]

2022-05-11 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > Can you make a temporary org-buffer that copies all those tables into > one place, and then join them? My workflow (in case anybody finds this helpful) #+begin_src * Localisation of the program files Each file you want to correct is located in a different

Re: how to transpose a table but not deleting the horizontal lines

2022-05-11 Thread Uwe Brauer
>>> "t" == tbanelwebmin writes: > The orgtbl-arggregate package (on Melpa and GitHub) does that. > Horizontal lines are converted to empty columns. > Transposing again recreates the original horizontal lines. > Beware, as opposed to org-table-transpose-table-at-point, it does not modify > the

Re: [BUG] Org-cycle strange behaviour in Emacs 29.0.50 [9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)]

2022-05-11 Thread Ihor Radchenko
Yusef Aslam writes: > Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.31, cairo version 1.16.0) > of 2022-05-09 > Package: Org mode version 9.5.3 (9.5.3-g0b07b3 @ > /home/yaslam/.emacs.d/straight/build/org/) > > I have strange behaviour in Emacs 29.0.50 and the

Re: ivy-done and "Unregistered buffer modifications detected"

2022-05-11 Thread Ihor Radchenko
William Denton writes: > I was fiddling with my init file and something with pdf-tools blew up and > initialization went wrong and I lost my desktop history list of buffers I > always > have open. When I fixed the problem (by dropping pdf-tools, which I realized > I > never used), I had to

Re: [oc] multiple cite_export keywords for multiple export processors?

2022-05-11 Thread Bruce D'Arcus
On Wed, May 11, 2022 at 9:21 AM Ihor Radchenko wrote: > > "Bruce D'Arcus" writes: > > > I just saw a post on reddit that reminded me of this issue. > > > > User wants to use the oc-biblatex export processor for latex export, > > but otherwise use oc-csl. > > > > They want to specify styles for

Re: org-agenda todos list sorted by earliest deadline first

2022-05-11 Thread Ihor Radchenko
Sébastien Gendre writes: > The only option I have to set is: > ``` > (setq org-agenda-sorting-strategy '((agenda deadline-down time-up habit-up > priority-down timestamp-down category-keep) > (todo deadline-up priority-down > category-keep) >

Re: [oc] multiple cite_export keywords for multiple export processors?

2022-05-11 Thread Ihor Radchenko
"Bruce D'Arcus" writes: > I just saw a post on reddit that reminded me of this issue. > > User wants to use the oc-biblatex export processor for latex export, > but otherwise use oc-csl. > > They want to specify styles for each. > > This isn't possible currently; one has to modify the org source

Re: [PATCH v4] org-encode-time compatibility and convenience helper

2022-05-11 Thread Ihor Radchenko
Max Nikulin writes: >> + (defmacro org-encode-time ( time) >> +(pcase (length time) ; Emacs-29 since d75e2c12eb >> + (1 `(encode-time ,@time)) >> + ((or 6 9) `(encode-time (list ,@time))) >> + (_ (error "`org-encode-time' may be called with 1, 6, or 9 >>

Re: [BUG] org-babel-load-file can not compile file

2022-05-11 Thread Ihor Radchenko
Max Nikulin writes: > Actual result: >> Compiling /home/ubuntu/examples/org/ex-ob-load-file.el...done >> Wrote /home/ubuntu/examples/org/ex-ob-load-file.elc >> progn: Cannot open load file: No such file or directory, ex-ob-load-file.el > > It seems, it is a regression caused by the Org commit >

Re: [PATCH] org-macs.el: Do not compare wall time and file modification time

2022-05-11 Thread Max Nikulin
On 06/05/2022 23:56, Max Nikulin wrote: Mark Barton to emacs-orgmode, emacs-devel. master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc. Tue, 26 Apr 2022 23:37:50 -0700. https://list.orgmode.org/bf5b9308-3fef-4dc6-98c9-bff36f19d...@gmail.com The change also breaks

Re: [PATCH] lisp/org-table.el: Use booktabs on org-table-export

2022-05-11 Thread Ihor Radchenko
Pride Allman writes: > This is my first patch so hopefully I followed the instructions correctly, Thanks for the patch! Patches are always welcome, though I do not fully agree with the approach you used in this particular one. > While using ~org-table-export~ on a table directly even with >

Re: citation biblatex fullcite

2022-05-11 Thread Bruce D'Arcus
On Wed, May 11, 2022 at 6:43 AM Andreas Leha wrote: > > "Bruce D'Arcus" writes: > > > On Tue, May 10, 2022, 11:20 PM Andreas Leha > > wrote: > >> > >> Hi all, > >> > >> how can I use the (rather) new citation engine with the biblatex backend > >> to export to \fullcite ? > > > > We should add a

Re: Concatenate properties

2022-05-11 Thread Ihor Radchenko
Tyler Grinn writes: > Ihor Radchenko writes: > >> Tyler Grinn writes: >> >>> >>> Could you provide an example of what the value of that variable would be >>> if, for instance, I wanted PROP_A and PROP_B to be joined with a single >>> space and PROP_C and PROP_D to be concatenated? Or better

Re: [PATCH] Re: org-agenda-clock-report-header

2022-05-11 Thread Ihor Radchenko
Colin Baxter writes: > Unfortunately, I see no difference in my clock tables whether I have > org-agenda-clock-report-header set to t, nil or something like > "My-Heading", or if I put :Header: as a tag in the file headline that > contains the clock table, or if I write :Header t in the #+BEGIN:

Re: [BUG] Error when editing properties in column view [9.5.3 (release_9.5.3-452-g407104 @ /home/mbork/others-works/emacs/org-mode/lisp/)]

2022-05-11 Thread Ihor Radchenko
Marcin Borkowski writes: > When I try to edit a property in column view, I get the following error > message: > > Invalid column specification format: nil > > This only seems to happen if the point is not too close to the left > margin. I did a bit of digging and found out that the culprit is

Re: [BUG] void function incf in org-screenshot [9.5.3 (9.5.3-ga3dac4 @ /home/jds6696/.emacs.d/straight/build/org/)]

2022-05-11 Thread Ihor Radchenko
Justin Silverman writes: > I am getting an error > > > org-screenshot-generate-file-name: Symbol’s function definition is void: incf Thanks for the report! Note that org-screenshot is not a part of Org anymore. See the first item in https://orgmode.org/Changes.html. Nevertheless, this

Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-11 Thread Ihor Radchenko
Kaushal Modi writes: > On Mon, May 9, 2022 at 5:44 PM Kaushal Modi wrote: >> >> I have now sent this to Emacs bug tracking: >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342 > > Thanks for the debug[1] Ihor! > > This issue was quickly fixed on Emacs master in >

Re: [PATCH] (v2) New LaTeX code export option: engraved

2022-05-11 Thread Ihor Radchenko
Timothy writes: Thanks for the replies. I consider all but one as resolved. >> What will happen if there is no [LISTINGS-SETUP]? > > Captioned/Floating code blocks won’t work. Can you also add this to the documentation of the preamble variable? Otherwise, it may not be very clear what

Re: org-fold problems

2022-05-11 Thread Ihor Radchenko
Eric S Fraga writes: >> Note that I tried to run ediff-buffers on Org buffers and everything >> remains folded with stable Org 9.5 as well. > > That has not been my experience. I think... but cannot verify. I do > use drawers a lot and differences are often in them for the type of > document I

Re: citation biblatex fullcite

2022-05-11 Thread Andreas Leha
"Bruce D'Arcus" writes: > On Tue, May 10, 2022, 11:20 PM Andreas Leha > wrote: >> >> Hi all, >> >> how can I use the (rather) new citation engine with the biblatex backend >> to export to \fullcite ? > > We should add a style for this that maps to biblatex fullcite and > natbib bibentry, and

Re: citation biblatex fullcite

2022-05-11 Thread Bruce D'Arcus
On Tue, May 10, 2022, 11:20 PM Andreas Leha wrote: > > Hi all, > > how can I use the (rather) new citation engine with the biblatex backend > to export to \fullcite ? We should add a style for this that maps to biblatex fullcite and natbib bibentry, and which ultimately would work as well in

Re: citation biblatex fullcite

2022-05-11 Thread Dominik Schrempf
Hi Andreas, thank you for asking this question. I had the same problem, and I think it should be fixed. A workaround is described here as part of a lengthy discussion: https://list.orgmode.org/87r16vtpmp@gmail.com/ (add-to-list ’org-cite-biblatex-styles ’(“full” nil “fullcite” nil nil))

Re: [how to joint column/rows of tables that are in different files (id?)]

2022-05-11 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > Can you make a temporary org-buffer that copies all those tables into > one place, and then join them? Thanks, I think will use a different approach and only copy certain rows, via the remote function as in ** The target Rows | Nombre | Color | Level |