Re: Dslide 1.0 Feature Roadmap & RFC

2024-12-25 Thread Psionic K
> May animations be disabled in the slides? They are not necessary most > of the time in the real-world presentations Reasonable. I'll get this supported, as well as making "peel" an option. Peeling is currently only activated on item-reveal when :inline is t. > is way too easy to use accidenta

Re: Completions Registry

2024-12-25 Thread Psionic K
Sorry, my initial thoughts are too far ranging. More directly, how can I inject extra values into `org-special-properties' or elsewhere so that they appear when completing `org-set-property'? Applications that use non-standard properties don't have a way AFIAK to inform these completions.

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)

2024-12-14 Thread Psionic K
> Do you have an example of using buffer-local variables to store > transient state? Directing me to an appropriate section of the > showcase should be plenty. It's less magic than it sounds. I basically bypassed the infix system when making transients for Master of Ceremonies. https://github.co

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)

2024-12-13 Thread Psionic K
> intercepts the main loop This is optional, per transient menu (prefix) and the commands within it. A common technique, used by magit and others, is to have entry point commands in the regular keymap so that many commands can be started without traversing several menus. If you want normal un-shad

Binary Table & Babel Data Passing

2024-12-11 Thread Psionic K
Buffer text is not a good data transfer protocol for moving return values from babel block to block. It is also not a good storage medium for table data. I propose we implement more binary data passing strategies. Elisp memory is it's own source of problems, so what would likely work better is a

Completions Registry

2024-12-11 Thread Psionic K
Not just a problem for dslide but for org in general, any time a package adds keys to configure blocks or properties, these do not complete except through dabbrev etc. The keys are likely not already in documents. The only way I can reason to make them visible is to provide functions to register

Dslide 1.0 Feature Roadmap & RFC

2024-11-27 Thread Psionic K
Earlier, a single PR for supporting babel parameters was invaluable insight into current features. I don't use org mode in every way that everyone uses org mode. Different perspectives help. I have compiled a list of everything I believe belongs in version 1.0: https://github.com/positron-soluti

Keyword TOC generation for GFM

2024-11-24 Thread Psionic K
Reportedly, ox-md is somehow responsible for ox-gfm generating a TOC with anchors. Don't quote me on that. I don't believe it either. Facts I actually believe: ox-gfm will generate a github flavor table if I just set `toc' to `t' at the top of my readme. However, if I try to create a partial

hiding image with overlays; bounds issue

2024-11-22 Thread Psionic K
Dslide needs to dynamically show and hide content. I have been relying on overlays just for ease of accounting. Text properties are a valid fallback if I decide overlays are too fiddly. I've run into a few cases where if I don't extend the overlay to underlap the beginning of an image, the overl

Re: Structure templates moving point

2024-06-06 Thread Psionic K
18 PM Ihor Radchenko wrote: > Psionic K writes: > > > I made some changes to my buffer display settings. When the structure > > template choice interface does not fall back to creating a frame, it > > does not exhibit the errant point behavior. > > > > In any cas

Re: Structure templates moving point

2024-06-06 Thread Psionic K
I made some changes to my buffer display settings. When the structure template choice interface does not fall back to creating a frame, it does not exhibit the errant point behavior. In any case, after creating the comment block, the point should probably move inside the block like it does for so

Structure templates moving point

2024-06-04 Thread Psionic K
As of 9.7.2 Using `org-insert-structure-template' to add comment blocks to a document where I previously added comment blocks is moving the point to unrelated comments, and definitely not to the body of the block that was just inserted. The display buffer behavior is at least no longer creating f

How should I handle babel configuration of exports & results in Dslide?

2024-05-27 Thread Psionic K
Because live presentations are a bit different from exporting documents, I'm not always sure how options should apply. I'm not an expert on many of these options and am not sure what will feel consistent for users. For context, a user wants :exports results or :exports none to hide the babel bloc

dslide 0.4.0, last unstable release

2024-05-25 Thread Psionic K
Dslide (Domain Specific sLIDEs) is a rethought, mostly complete rewrite of org-tree-slide. Its highlight features: - using babel blocks - per-slide configuration - extensible via custom actions and support for custom EIEIO classes There is a file in the /test directory called demo.org. You can s

Re: org-(un)fill-buffer

2024-01-10 Thread Psionic K
; also, if a new command is to be introduced, presumably it would work > on subtrees, paragraphs, lists, and regions, so that you could have it > not apply to informal non-org lists or code that is not in a source > block etc. > > met with alex today > yesterday he wasn't availa

Re: org-(un)fill-buffer

2024-01-10 Thread Psionic K
ments, but if I had to do it now, I would make the inclusion of part of an element include all of that element. On Thu, Jan 11, 2024 at 12:47 AM Ihor Radchenko wrote: > > Psionic K writes: > > >> You may instead just run > >> (let ((fill-column most-positive-

Re: org-(un)fill-buffer

2024-01-10 Thread Psionic K
This is the org-fill-buffer command, done generically for people who want to fill or unfill the entire buffer, as is required when alternating between hard newline filling and visual line mode filling. See attached patch for docstring and commit message. From 706d5d71cdf1ed2528664bdaf714aad6bd15af

Re: org-(un)fill-buffer

2024-01-10 Thread Psionic K
> You may instead just run No. That will have to be run manually on every element and every line of every list. I suppose let's just not talk about it further and I'll submit a patch so there's no confusion. On Wed, Jan 10, 2024 at 9:31 PM Ihor Radchenko wrote: > > Ps

Re: [PATCH] Unindentation fixup for code blocks

2024-01-10 Thread Psionic K
> Would you also be able to create a reproducer, so that we can replicate the problem and write a test? Yeah, I just have to make some indentation text invisible. Where should such a test live? Where is your documentation on running a test? > It looks like you did not send the patch with git se

org-(un)fill-buffer

2024-01-10 Thread Psionic K
I wrote up a small addition to the unfill package, which is very convenient for switching hard newlines out in favor of tools like visual-line-mode and adaptive-wrap. The command unfilled every list and paragraph in the entire buffer. PR is here: https://github.com/purcell/unfill/pull/11#pullrequ

[PATCH] Unindentation fixup for code blocks

2024-01-10 Thread Psionic K
When cleaning up hard indentation, I found my source blocks remaining indented. The way that org-do-remove-indentation is sensitive to invisible text. This occurs for source blocks whenever using org-modern-mode, where it makes the source blocks align left. By swapping out the arithmetic and expr

Link translation & relative path export_file_name

2023-10-26 Thread Psionic K
When using an +#export_file_name directive, is it possible to have links translated to match the directory offset of the target? I came across this while working on a documentation generation scheme for https://github.com/positron-solutions/elisp-repo-kit The links in the org document are correct