Re: Recent folding issues

2022-07-11 Thread William Denton
On 11 July 2022, Jack Kamm wrote: 2. When folded, I frequently found multiple headlines to be displayed on the same line, like so: * Headline 1... * Headline 2...* Headline 3... * Headline 4 Hitting Shift-Tab a few times (org-global-cycle) usually fixed the problem. That's very much like a

Re: Folded headlines with text showing where it shouldn't

2022-07-11 Thread William Denton
On 3 June 2022, Ihor Radchenko wrote: William Denton writes: For me, this looks like either a mixed installation (please post the output of M-x org-version) or some third-party package misbehaving. M-x org-version says: Org mode version 9.5.3 (release_9.5.3-511-g8e69ad @

BUG+PATCH org-capture hangs under Cygwin/X

2022-07-11 Thread Max Mikhanosha
Due to various reasons I'm now using Cygwin/X Emacs, and for this emacs, (gui-get-selection) method is kind of slow (about 0.2) seconds. While this is not a big deal usually, (org-get-x-clipboard) calls (gui-get-selection) 4 times with different formats (utf8, text, compound-text and string). On

Re: [BUG] Future repeated tasks marked done in Org Agenda don't show as done [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-07-11 Thread Ihor Radchenko
Gustavo Barros writes: > But not to bump empty handed, I did some investigation on this, and I > think I know why the problem happens. Thanks for the detailed analysis! > What I'm not sure is why this condition is there in the first place. > That's the only place where the let-bound `todayp'

Re: Org mode escape characters

2022-07-11 Thread Ihor Radchenko
David Boss writes: > You tell me to "surround" slashes by zero-width-space characters, to keep > them from being taken as italic escapes.OK. First problem: what, exactly, is > the zero-width space character? I won't be entering text with my fingers, a > lispfunction I wrote will be inserting

Re: Alternatives or org-capture?

2022-07-11 Thread Christopher M. Miles
I'm currently maintaining org-contacts (well, inactively) Here is my own org-contacts' org-capture template, maybe you want to check out as reference: #+begin_src emacs-lisp (add-to-list 'org-capture-templates `("C" ,(format "%s\tContacts"

Re: Recent folding issues

2022-07-11 Thread Ihor Radchenko
Jack Kamm writes: > I started noticing a couple issues with folding, after updating my > org-mode in recent months: May you provide the output of M-x org-version? > 1. Inserting text below or above a folded headline will cause it to > unfold. I am not sure if this is an intentional change, but

Re: Alternatives or org-capture?

2022-07-11 Thread Tim Cross
ypuntot writes: > I'm going to start using org-contacts. And, with that, I would like to use > org-capture or yankpad. Which one would you recommend using? > I have been trying to use org-capture but it doesn't seem too intuitive for > me :$ > > I saved time ago a tutorial for yankpad, and

[PATCH] oc-csl: Add support for sub-bibliographies

2022-07-11 Thread András Simonyi
Dear All, the attached patch adds support for filter-based sub-bibliographies in the "csl" org-cite export processor. It supports the same syntax for specifying filters as the biblatex processor and supports some of the biblatex filter types, concretely, entry-type and keyword based filtering. It

Re: fontsets

2022-07-11 Thread Juan Manuel Macías
Hi, Timothy, Timothy writes: > Yep, so in my config’s implementation I have an alist of fontset names and > individual fonts. For something part of org-mode itself, we’d probably want to > add a format level to this, something like: > > ┌ > │ ((fontset-name . > │ ((serif . > │

Re: [feature] Consistent fixed indentation of headline data

2022-07-11 Thread Valentin Lab
Many thanks for your warm welcome, kind review and suggestions. I do not provide a corrective patch in this email, but it'll come soon depending on possible other remarks or follow-ups of this email. On 07/07/2022 12:41, Ihor Radchenko wrote: Valentin Lab writes: Note that we rarely change

Alternatives or org-capture?

2022-07-11 Thread ypuntot
I'm going to start using org-contacts. And, with that, I would like to use org-capture or yankpad. Which one would you recommend using? I have been trying to use org-capture but it doesn't seem too intuitive for me :$ I saved time ago a tutorial for yankpad, and it looked nice. Does org-capture

Re: fontsets (was: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful..."))

2022-07-11 Thread Timothy
Hi Juan, > When you talk about fontset, I understand that you mean lists of > families with their options that you have previously defined, is that > right? Yep, so in my config’s implementation I have an alist of fontset names and individual fonts. For something part of org-mode itself, we’d

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Max Nikulin
On 11/07/2022 21:23, Juan Manuel Macías wrote: Max Nikulin writes: \ifpdftex, \ifPDFTeX True if PDFTEX is in use (whether writing PDF or DVI), so this is true for documents processed with both the latex and pdflatex commands. So the code says: if pdfTeX is used, do nothing; else, add this

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-11 Thread Max Nikulin
On 10/07/2022 03:22, Juan Manuel Macías wrote: LuaTeX and XeTeX are digital typesetting systems. They are not word processors. I have skimmed through the discussion happened exactly a year ago https://list.orgmode.org/orgmode/scuirf$m7o$1...@ciao.gmane.io/ and I should repeat that you are too

Re: Org mode escape characters

2022-07-11 Thread Max Nikulin
On 11/07/2022 09:36, David Boss wrote: I generally run in Fundamental mode. Since ASCII is really only a 7-bit code, I use the high bit to indicate italics. ... I want to be able to copy an emacs buffer, with some characters having italic mode set, and paste that into an email compose buffer,

Recent folding issues

2022-07-11 Thread Jack Kamm
I started noticing a couple issues with folding, after updating my org-mode in recent months: 1. Inserting text below or above a folded headline will cause it to unfold. I am not sure if this is an intentional change, but I find the new behavior confusing -- usually I am trying to enter a new

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Juan Manuel Macías
Timothy writes: > As an illustrative example, if I include this in one of my documents and > create > a PDF: > ┌ > │ #+options: fontset:biolinum > └ > > Then I’ll get text with: > ⁃ libertine roman as the serif font > ⁃ biolinum as the serif, and default, font > ⁃ source code pro as the

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Juan Manuel Macías
Max Nikulin writes: >> \\relax >> \\else > > Is it the case of latex as the old engine with tex->dvi->ps workflow > besides new XeTeX and LuaTeX? However such engine is not used by Org. According to the iftex documentation (p. 2): \ifpdftex, \ifPDFTeX True if PDFTEX is in use (whether

Re: [BUG] Future repeated tasks marked done in Org Agenda don't show as done [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-07-11 Thread Gustavo Barros
Hi All, On Fri, 29 Oct 2021 at 21:40, Ihor Radchenko wrote: Gustavo Barros writes: The glitch is that some repeated tasks, when marked done in the Agenda, show no visual feedback that the action has taken place, as usual, and if you refresh the Agenda, they just vanish, which

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Timothy
Hi Ihor & co., > As I recall, Timothy has been working on simplifying preamble > generation. If we do not put unnecessary packages into preamble, > compilation will be significantly faster. > > If Timothy can come up with a patch some time soon, I’d prefer to have a > more targeted preamble.

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Juan Manuel Macías
Tim Cross writes: > Juan, if I understand your proposal correctly, I think your on the right > track. It sounds like what you are proposing would have almost no impact > on basic users like me, but would allow those with more demanding > requirements to adjust without too much effort. I

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Max Nikulin
On 11/07/2022 03:23, Juan Manuel Macías wrote: 3. A variable (something like 'org-latex-fontspec-default-configuration') would return something like this: (format \\usepackage{iftex} \\ifpdftex I like the idea of unified preamble suitable for pdflatex and lualatex. For pdftex

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Juan Manuel Macías
Juan Manuel Macías writes: > By the way, although I've already commented on it in some post in the > parent thread, i think this package I wrote might be useful for doing a > quick visual test of a font (including opentype features test), using > org-latex-preview (compiling with LuaTeX). It can

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Juan Manuel Macías
Stefan Nobis writes: > Juan Manuel Macías writes: > >> 1. There could be a defcustom, something like 'org-latex-use-fontspec' >> (I would vote for nil by default). > > I would vote to activate this by default. I voted nil because of the available fonts issue. But I think what you say below is a

Re: [BUG] right shift list checkbox with [Alt-Right] caused error by option org-list-demote-modify-bullet

2022-07-11 Thread Ihor Radchenko
"Christopher M. Miles" writes: > When setting this option: > > #+begin_src emacs-lisp > (setq org-list-demote-modify-bullet '(("+" . "-") ("-" . "+") ("*" . "+"))) > #+end_src > > I right shift list checkbox with [Alt-Right] caused error: > ... > Become: > > - [ ] list item 1 > [ ] ] list item

Re: [Sporadically?,] Google does not properly crawl/index the Org mailing list archives?

2022-07-11 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > I (quickly) searched the list but did not find that the issue was > raised before, so here I go. > > I had saved for myself an excerpt from the list archive. I wanted to > consult again the whole thread, so I type into Google: > >"primarily latex/natbib

Re: Org mode escape characters

2022-07-11 Thread Ihor Radchenko
David Boss writes: > Org mode is very crude: it indicates italics by surrounding text by slashes, > and so, > what if the original text contained slashes, intended as ordinary > text, not escape characters? What if the slashes themselves are > intended to be italicized? You can then surround

Re: [PATCH] org-src.el: Add plain to org-src-window-setup customization

2022-07-11 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: > Bastien, could you please add Matt to tiny change contributor list? Done in https://git.sr.ht/~bzg/worg/commit/f7825a7c, also sorting the list of names. -- Bastien

Org mode escape characters

2022-07-11 Thread David Boss
I generally run in Fundamental mode. Since ASCII is really only a 7-bit code, I use the high bit to indicate italics. I wrote a Java program for printing; it makes all characters 16-bit, despite their starting as 8-bit,so no problem. For emacs, I wrote the necessary hooks to catch high bits in

[Sporadically?,] Google does not properly crawl/index the Org mailing list archives?

2022-07-11 Thread Alain . Cochard
Hello. I (quickly) searched the list but did not find that the issue was raised before, so here I go. I had saved for myself an excerpt from the list archive. I wanted to consult again the whole thread, so I type into Google: "primarily latex/natbib users like john" and I get: Your

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Stefan Nobis
Juan Manuel Macías writes: > 1. There could be a defcustom, something like 'org-latex-use-fontspec' > (I would vote for nil by default). I would vote to activate this by default. > (format > \\usepackage{iftex} > \\ifpdftex > \\relax > \\else > \\usepackage{fontspec} >

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-11 Thread Stefan Nobis
Ihor Radchenko writes: > But can someone check if Free* fonts are available on Windows and > Mac by default? I just checked TeXLive (on MacOS, but should be the same on all systems): The Free* fonts are part of TeXLive as truetype and as opentype versions (and partly in other formats). For

[BUG] right shift list checkbox with [Alt-Right] caused error by option org-list-demote-modify-bullet

2022-07-11 Thread Christopher M. Miles
When setting this option: #+begin_src emacs-lisp (setq org-list-demote-modify-bullet '(("+" . "-") ("-" . "+") ("*" . "+"))) #+end_src I right shift list checkbox with [Alt-Right] caused error: #+begin_src org ,* test - [ ] list item 1 - [ ] list item 2 Become: - [ ] list item 1 [ ] ]