Re: [PATCH v2] Inline image display as part of a new org-link-preview system

2024-09-01 Thread Ihor Radchenko
Karthik Chikmagalur writes: > First, here's an updated description of the proposed API: > > 1. You can register a previewer with each type of Org link in the > following way: > > (org-link-set-parameters "file" :preview #'org-link-preview-file) > (org-link-set-parameters "https" :preview #'my/or

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-09-01 Thread Ihor Radchenko
Rudolf Adamkovič writes: > From: Rudolf Adamkovic > > * etc/ORG-NEWS (Texinfo exporter now supports numeric =toc= values in > =#+OPTIONS:=): Announce the new feature. > * lisp/ox.el (org-export-excluded-from-toc-p): Return nil for all > headlines that are above the `toc' value in export `#+OPTIO

[SUMMARY] #10 [[bbb:OrgMeetup]] on Wed, Aug 14, 19:00 UTC+3

2024-09-01 Thread Ihor Radchenko
- The recent Sacha's News: https://sachachua.com/blog/2024/08/2024-08-12-emacs-news/ - Rudy asked about the current status of LaTeX preview feature - Karthink (one of the authors of the new LaTeX preview) was around, so he replied in detail - There are a couple of blockers they want

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-09-01 Thread Ihor Radchenko
Dan Drake writes: > I customized org-ctrl-k-protect subtree so that when point is on a > headline for an entry with some folded content, ctrl-k asks for > confirmation first. > > However, I also have the "k" speed key set up; to me, doing ctrl-K and > the "k" speed key are the same, but only ctrl

Re: Org-agenda follow and narrow

2024-09-01 Thread Sébastien Gendre
Thank you very much. :) Ihor Radchenko writes: > Sébastien Gendre writes: > >> That exactly what I was searching for. >> >> Is it possible to fix the size of the new window ? >> When it open a habit task, because of the logbook, the new window is soo >> big that it make the agenda no more vis

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2024-09-01 Thread Ihor Radchenko
Morgan Smith writes: >> It has been over a month. Have you had a chance to look into my >> questions? > > After you asked that question, I decided to demonstrate the changes I > wanted to make by also submitting a test. However, I thought it prudent > to first test what we already have. So I wa

Re: [PATCH] lisp/org.el: Fix removing timestamp overlays

2024-09-01 Thread Ihor Radchenko
Joseph Turner writes: > Subject: [PATCH] lisp/org.el: Fix removing timestamp overlays Thanks, although I believe that we can fix things even better. (If I understand the problem you are trying to solve correctly; just in case, please explain what you are trying to solve ;]) > (when (and (

Re: Adding a class to the auto-inserted elements

2024-09-01 Thread Suhail Singh
Daniel Radetsky writes: > As a user, I would like to be able to apply a css selector to the elements > in question > > 0. With extremely high confidence that I am selecting _only_ the specific > elements which org is auto-inserting in this case > > 1. Without having to do much understanding of t

Re: Automatically update plain list checkboxes when removing nested list items?

2024-09-01 Thread Sławomir Grochowski
Ihor Radchenko writes: > There is no such way readily available, AFAIK. I also noticed that there is no command to remove an item from a plain list. But I've never needed that functionality. I made a simple comparison table to better understand the org mode interface, maybe it will be useful to

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-09-01 Thread Dan Drake
"AFAIU, what you are struggling with is that you sometimes press "k" by accident, without aiming to cut the subtree. Is my understanding correct?" Yes, that's correct. Sometimes I'd use the speed key accidentally and cut the subtree. On Sun, Sep 1, 2024 at 11:19 AM Ihor Radchenko wrote: > > Dan

BUG: after an org-capture to an inbox entry, statistics-cookies are not updated on certain circumstances

2024-09-01 Thread pinmacs
Hi, I am living with this bug since a long time, I thought I was asking maybe something very special. But then I find on a org-capture that goes to an inbox entry: 1. if prepend is nil, does not work on the first time (?) 2. works when number of entries is greater than 1 3. never works when p

BUG (regression): clocktable with ~:link t~ looks visually inconsistent

2024-09-01 Thread pinmacs
Hi, On a clocktable with hierarchy (see attached file clocktable-link-bug.org), when ~:link t~ is used, it does not look visually good; that was not an issue with the previous versions of orgmode Find attached screenshot 2024-09-01_23-05_clocktable-detail.png, that shows the inconsistency in

Sv: Sv: Sv: Modularizing Org as GSoC project (was: New Emacs features via Google Summer of Code (or other similar stipend schemes) (was: as for Calc and the math library))

2024-09-01 Thread arthur miller
>arthur miller writes: > Well, part of it. Or more to make some parts of org-markup configurable, and usable as minor modes so they can be easier used outside of org-mode. >>> >>>This is not the direction Org mode project is going. We do the reverse - >>>Org markup is getting more

Re: Patch: hiding emphasis markers

2024-09-01 Thread Ihor Radchenko
Tommy Phillips writes: > Here is a small suggested patch for the way org hides emphasis markers. > It’s my first time doing this so hopefully I’m submitting it correctly. Duplicate of https://list.orgmode.org/orgmode/caameppfgscw+davgx82-b6qz3w-wig1ta6mpoztn1tcjt4p...@mail.gmail.com/ Canceled.

Re: [PATCH] Testing: Add tests for `org-tags-sort-function'

2024-09-01 Thread Ihor Radchenko
Morgan Smith writes: > diff --git a/testing/lisp/test-org-agenda.el b/testing/lisp/test-org-agenda.el > index 778f91e8e..c1092df3b 100644 > --- a/testing/lisp/test-org-agenda.el > +++ b/testing/lisp/test-org-agenda.el Thanks for the patch! > +;; Sorting doesn't care about `org-tag-alist

Re: Org-agenda follow and narrow

2024-09-01 Thread Ihor Radchenko
Sébastien Gendre writes: > That exactly what I was searching for. > > Is it possible to fix the size of the new window ? > When it open a habit task, because of the logbook, the new window is soo > big that it make the agenda no more visible. You can configure everything via `display-buffer-ali

Re: Org exports broken ID links

2024-09-01 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> That link is not broken - it points to a file containing the linked >> heading. It just happens to be the same Org file. > > I am struggling to understand. > > The link points to a heading that is not exported due to its `noexport' > tag. H

Re: Patch: hiding org emphasis markers

2024-09-01 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> You may instead introduce a new allowed value for >> `org-hide-emphasis-markers' to hide markers for non-nil entries in >> `org-emphasis-alist'. Maybe even allow the value to be an explicit list >> of the markers to be hidden '("*" "_" ...). >

Re: Adding a class to the auto-inserted elements

2024-09-01 Thread Ihor Radchenko
Daniel Radetsky writes: > So I was exporting an Org doc to html the other day, and I was trying to > follow this guide to make the list elements appear as a comma-separated list > > https://markheath.net/post/css-comma-separated-list > > It didn't work, and I discovered this was because Org adds

Re: [PATCH] Texinfo: Check for math support without warnings and quietly (was: Improve Texinfo math checking)

2024-09-01 Thread Rudolf Adamkovič
Oops, I found a bug in the patch. Now fixed. Rudy >From a99cb0ecafb6a0a1d4ef841dd20be5fa2da43cff Mon Sep 17 00:00:00 2001 From: Rudolf Adamkovic Date: Tue, 27 Aug 2024 11:10:56 +0200 Subject: [PATCH] ox-texinfo: Check for math support without warnings and quietly * lisp/ox-texinfo.el (org-texi

Re: Adding a class to the auto-inserted elements

2024-09-01 Thread Daniel Radetsky
> But there is nothing wrong on Org side per se, right? I don't think so. The fact that ox-html inserts a there with no way for me as the user to disable this, in my view, bad. It's not a totally unreasonable default, but it shouldn't be required. > The fact that some specific suggestion... Thi

Re: Automatically update plain list checkboxes when removing nested list items?

2024-09-01 Thread Ihor Radchenko
"Rohit Patnaik" writes: > I have a question about plain list checkboxes. If I have a plain list, as > follows: > ... > Then, if it turns out that Sub-item 3 is unnecessary, I can delete it with > C-k: > > - [-] Item 1 > - [X] Sub-item 1 > - [X] Sub-item 2 > > However, Item 1's checkbox is in

org-contrib: I suggest a new bugfix release

2024-09-01 Thread pinmacs
Hi, Now that I refreshed orgmode and emacs, I was confused why propview was not working as expected, then I realized that the official version is still 0.4.2 [1], I am confused that the date or the number does not match with the 0.5 release [2] Anyway, I think these two commits are really im

[PATCH] put `org-attach-after-change-hook` at the end of org-attach

2024-09-01 Thread Christopher M. Miles
lisp/org-attach.el (org-attach-attach): Put org-attach-after-change-hook at the end to make sure user can access attach link in org-store-links. From f21ef819ab6670f1ed64a731d5d7b5fb29119f33 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 29 Aug 2024 11:31:53 +0800 Subject: [PATCH] org-att

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-09-01 Thread Ihor Radchenko
Sébastien Gendre writes: > Here is what I plan to add, on each generated webpage, compared to what > the built-in HTML exporter already provide: > > - A side panel containing: Some kind of side/top panel would make sense, I think. > - A site web name and/or logo +1 > - A search field for

Re: Ideas to generate unique search context for id:links

2024-09-01 Thread Ihor Radchenko
Kepa writes: > I'm exploring the new option implemented in org 9.7: > > "id: links support search options like [[id:my-id::*child heading]]: Any > valid fuzzy location will work as a search option." > > ... > I was thinking about submitting this feature request, but probably it > will have cave

Re: Request for addition to "structure editing" manual section

2024-09-01 Thread Ihor Radchenko
Tim Braun writes: > There is a useful but undocumented feature in org-mode related to > structure editing. Occasionally one may need to move a sub-item within > a file but outside its current parent heading. There is an existing > function and native keybinding for this: M-S and M-S . This > isn

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-09-01 Thread Sébastien Gendre
Hello. Thank you for your reply, I add mines after the quotes. Ihor Radchenko writes: >> - A search field for an local search engine > > +1, but I would like to know more details - will it be something you > want to ship with Org mode, as JS? For now, I have done successful testes with Page

[BUG] incorrect HTML export with italic link containing an exclamation mark (!) [9.7.10 (N/A @ /gnu/store/icgsji9268qh5fxlrw0xh8775nbark3v-emacs-org-9.7.10/share/emacs/site-lisp/org-9.7.10/)]

2024-09-01 Thread Dr. Arne Babenhauserheide
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.