Re: Seeking guidance for starting timezone patch

2025-06-21 Thread General discussions about Org-mode.
10:25 AM Ihor Radchenko wrote: > David Minh-Duy Cao via "General discussions about Org-mode." > writes: > > > I was thinking of contributing a patch to add timezone support for > > org-mode, and I was curious if I could get some pointers on where & how >

Re: [PATCH] ob-sql: session

2025-06-19 Thread General discussions about Org-mode.
Original Message On 6/19/25 1:01 PM, Ihor Radchenko wrote: > Michael Mauger writes: > > > I'd suggest remembering the buffer itself rather than the buffer name. > Also, like `sql-product-interactive', you can control a portion of the buffer > name in the `sql-connect' c

Re: [PATCH] ob-sql: session

2025-06-17 Thread General discussions about Org-mode.
On Monday, June 16th, 2025 at 12:19 PM, Phil Estival wrote: > * [2025-06-15 20:59 +] Michael Mauger mmau...@protonmail.com: > > > On Sunday, June 15th, 2025 at 3:16 PM, Phil Estival p...@7d.nz wrote: > > > > > I also took good note of Michael's remarks. > > > The attached series of patches

Re: org-edit-special screws up org-table with remote calls

2025-06-16 Thread General discussions about Org-mode.
>>> "JSG" == Jacob S Gordon writes: Hello Jacob. > Hey Uwe, > On 2025-06-15 16:41, Uwe Brauer wrote: >> Ej1 has been replace by -@1$140 why > It’s related to the alphanumeric cell references like `B4' [recognized > by org]. The value of `org-table-use-standard-references' is `from' by > defau

Re: [PATCH] ob-sql: session

2025-06-15 Thread General discussions about Org-mode.
On Sunday, June 15th, 2025 at 3:16 PM, Phil Estival wrote: > I also took good note of Michael remarks. > The attached series of patches will work > without any modification to sql.el. I'll introduce later a local > `sql-connection' bound to the session name. In the absence of it, > sessions will

[BUG] (Experimental LaTeX preview) org-persist-write-all causes Emacs to close very slowly [9.8-pre (cd2269ddb @ c:/Users//.emacs.d/straight/build/org/)]

2025-06-10 Thread General discussions about Org-mode.
After installing and using the org latex preview experimental features according to https://abode.karthinks.com/org-latex-preview/, I get severe freezing when closing Emacs, due to the `org-persist-write-all` function in the `kill-emacs-hook`. I write a lot of math, so I have a significant number o

Re: [PATCH] Use full timestamp in todo-list sorts

2025-06-08 Thread General discussions about Org-mode.
Yes; sorry for the lack of response, I did get started on this for a bit, and will pick it back up. Charles On Sun, Jun 8, 2025 at 5:16 AM Ihor Radchenko wrote: > Ihor Radchenko writes: > > > Yup, a proper solution would be making a fix there. ... > > > > What might be done to implement the fe

Re: [BUG] org-capture-templates datetree does not respect org-blank-before-new-entry [9.8-pre (release_9.7.29-321-g277344 @ /Users/izanami/.config/emacs/straight/build/org/)]

2025-05-21 Thread General discussions about Org-mode.
~org-blank-before-new-entry~ does also not work as expected for me using ~org-capture~. However, I would like to HAVE blank lines for new entries. But this setting takes only affect within the date tree (see below): Emacs -q with the following Customize settings: ;;; -*- lexical-binding: t -*

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-05-19 Thread General discussions about Org-mode.
On Saturday, February 15th, 2025 at 4:25 PM, Ihor Radchenko wrote: > Ihor Radchenko yanta...@posteo.net writes: > > > May you please post the patch on Emacs bug tracker? (M-x > > submit-emacs-patch) and X-Debbugs-CC me? > > That way, we get the Emacs maintainers involved into the discussion. >

Seeking guidance for starting timezone patch

2025-05-11 Thread General discussions about Org-mode.
Hey y’all! I was thinking of contributing a patch to add timezone support for org-mode, and I was curious if I could get some pointers on where & how I should start. I’ve seen both the proposed syntax [0] and the most recent org meetup notes [1] on the matter, and since the latter recommended reac

[BUG] org-element--cache [9.6.7 (9.6.7-??-ca873f7fe @ ~/.config/emacs/.local/straight/build-30.1/org/)]

2025-05-10 Thread General discussions about Org-mode.
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. -

Re: [PATCH] worg-about.org: Fixed several grammatical errors

2025-05-02 Thread General discussions about Org-mode.
> > > > > Worg was started by [[http://bzg.fr][Bastien]] in the hope that other > > > > > Org-ers around will > > > > > -bite into this and start sharing tutorials, example of codes, etc. > > > > > +participate and start sharing tutorials, example of codes, etc. > > > > > > > > Hmm. I am wondering

org-timestamp: Wrong week numbers

2025-04-23 Thread General discussions about Org-mode.
Hi It seems that Week numbers are wrong. '(org-display-custom-times t) '(org-timestamp-custom-formats '("%Y-%m-%d (W%W)\12" . "%Y-%m-%d (W%W) %H:%M")) in the customization menu: Org Timestamp Custom Formats: Cons-cell: String: %Y-%m-%d (W%W) String: %Y-%m-%d (W%W) %H:%M If you send "C-c ." And

Re: [PATCH] Re: Summation of effort estimates in columnview dblock

2025-04-20 Thread General discussions about Org-mode.
Ihor Radchenko writes: > [...] > I am finally back to this request. > Please see my take on changes to the manual. > [...] This looks great, and IMO is a big improvement adding the desired clarity. Many thanks for your efforts! --alexander

[PATCH] Use full timestamp in todo-list sorts

2025-04-17 Thread General discussions about Org-mode.
Here is a patch for timestamp sortation issues in todo-list, as documented in the following recent threads: [BUG] Agenda sortation generally ignores time-of-day https://list.orgmode.org/caku+9yxmuxgzg_lxosbgudkb6rtsenmtnctpnxw5z8kbbwf...@mail.gmail.com/ Sorting a TODO agenda across multiple files

Re: [BUG] Agenda sortation generally ignores time-of-day [9.7.25 (9.7.25-bdf9f94 @ /home/charlest/.emacs.d/elpa/org-9.7.25/)]

2025-04-17 Thread General discussions about Org-mode.
I assume that you meant to say that it is non-trivial to support sorting by timestamp *time*, since sorting by timestamp date is already the thing that is happening. I will submit a patch, since I seem to have something working locally that isn't too complex. Charles On Thu, Apr 17, 2025 at 1:52

Re: [BUG] Agenda sortation generally ignores time-of-day [9.7.25 (9.7.25-bdf9f94 @ /home/charlest/.emacs.d/elpa/org-9.7.25/)]

2025-04-17 Thread General discussions about Org-mode.
Well that's the problem I'm talking about, right? time-up/down does respect time-of-day, but a bunch of other sort strategies *don't*, like scheduled-up/down (see example for bug reproduction in previous message). Charles On Sat, Mar 29, 2025 at 2:20 PM Ihor Radchenko wrote: > Charles Tam wri

org-capture-fill-template %T drops end time

2025-04-11 Thread General discussions about Org-mode.
Hello, new to emacs and elisp. Full context can be seen here: https://www.reddit.com/r/emacs/comments/1ju3pk8/comment/mm0o5la/ I'm trying to use org-capture templates (file+datetree+prompt) to enter the time I spend on things at work. I want to have the date and begin and end times in the not

Re: Inline previewing of .rnote files

2025-04-05 Thread General discussions about Org-mode.
Hello, I'm aware of this new enhancement and am eager to see this released, however i think this does not fit well my use case as it requires defining a new link type whereas link types' semantic is - in my view - that of defining a type of URI, not the type of identified element. An .rnote fi

Re: [BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-17 Thread General discussions about Org-mode.
> On my machine, my default shell is fish, so it falls back to sh-mode too. When > bash-ts-mode is enabled, it does an extra check to see if the file is actually > bash, if it can't be sure, it falls back to sh-mode. See > sh--redirect-bash-ts-mode. > > If you enable bash-ts-mode in a file that end

[Works in older org releases] (was: export org to latex, but do not include matlab code only the result)

2025-03-16 Thread General discussions about Org-mode.
>>> "GdaO" == General discussions about Org-mode writes: >>> "UB" == Uwe Brauer writes: >> Hi >> I using GNU emacs 29.4 and org 9.7.14. >> I swore one of the following code snippets using matlab with results >> were exported

Re: export org to latex, but do not include matlab code only the result

2025-03-15 Thread General discussions about Org-mode.
>>> "UB" == Uwe Brauer writes: > Hi > I using GNU emacs 29.4 and org 9.7.14. > I swore one of the following code snippets using matlab with results > were exported to LaTeX, but only the results not the matlab code > snippets. > Not any more always the code and the result and the code is expo

Re: One big file or multiple small ones

2025-03-15 Thread General discussions about Org-mode.
Such a nice explanation. It definitely speaks of experience. This resonates with me to some extent, surely I can feel down the line if I continue I might pile up without managing it properly. Categorizing is beneficial, I should utilize that more. > If you don't apply the system well enough or u

Re: [BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-14 Thread General discussions about Org-mode.
I've tried to use the latest org release and compile emacs from the latest commit. Nothing has changed. Then i've tried to install emacs from nix. I used this home manager config: ``` { config, pkgs, ... }: let unstableTarball = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-uns

Re: [BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-14 Thread General discussions about Org-mode.
Attached a screenshot that shows how it looks in my case.

Re: One big file or multiple small ones

2025-03-13 Thread General discussions about Org-mode.
This resonates with me to some extent, surely I can feel down the line if I continue I might pile up without managing it properly. Categorizing is beneficial, I should utilize that more. > If you don't apply the system well enough or user doesn't know how to > apply it, then searching is the only

Re: [BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-12 Thread General discussions about Org-mode.
he same thing. Do i maybe need to spin a vm and give all the possible reproduction steps? I'm using void linux. On Wednesday, March 12th, 2025 at 7:18 PM, Ihor Radchenko wrote: > the_wurfkreuz via "General discussions about Org-mode." > emacs-orgmode@gnu.org writes: > >

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-12 Thread General discussions about Org-mode.
Le 11/03/25 à 18h41, Ihor Radchenko a écrit : > I believe that this has been fixed on main branch. Seems to work pretty well: many thanks! Do you know when it will become available by package-install? -- Denis

Re: One big file or multiple small ones

2025-03-12 Thread General discussions about Org-mode.
I had also been scrambling myself about this as well. I started out with denote (many files) since it was nice and I was using many packages. Later as I went on, started digging into org mode and wondered about managing notesin single file. As I searched across, many comments was a realizaton.

Re: Match any todo keyword

2025-03-12 Thread General discussions about Org-mode.
"Florian Lindner" writes: > I want to use consult-org-agenda which uses an MATCH argument like > org-map-entries. > > For that, how can I match any todo keyword, i.e., any state that is not > done? Without naming them explicitly. I'm not sure this is possible. From the documentation the MATCH s

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-11 Thread General discussions about Org-mode.
Le 06/03/25 à 09h05, Denis Bitouzé via "General discussions about Org-mode." a écrit : > With the cursor at the end of the 2nd line ("Exclusive or.") of: > > #+BEGIN_SRC emacs-lisp > (defun org-xor (a b) > "Exclusive or." > (if a (not

[BUG] org babel uses sh-mode with zsh indentation when i specify bash or bash-ts [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-10 Thread General discussions about Org-mode.
When i create a code block specifying bash or bash-ts mode, it uses sh-mode instead. Reproduction: 1. emacs -Q 2. In the scratch buffer: M-x org-mode 3. M-x treesit-install-language-grammar Write "bash" and choose interactive installation, then all the default options. 3. Paste this code: #+begi

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-06 Thread General discussions about Org-mode.
Le 05/03/25 à 21h49, David Masterson a écrit : > Denis Bitouzé via "General discussions about Org-mode." > writes: > >> Le 04/03/25 à 10h48, David Masterson a écrit : >> >>> 2. When you select the region, where is the cursor? >> >> Let me ans

Inline previewing of .rnote files

2025-03-05 Thread General discussions about Org-mode.
Hi all, I've spent the last days drafting a an Elisp script[1] that allows inline previewing of .rnote files in Org Mode buffers. Rnote is a sketching software much similar to Xournalpp, so we can say that this package is pretty similar to org-xournalpp[2] and org-xopp[3] in spirit, although it f

deltachat inbox bot

2025-03-04 Thread General discussions about Org-mode.
I would like to share a program I made recently. It’s a bot for the Deltachat instant messenger (https://delta.chat/) that interacts with an org-mode file. The bot basically just listens to incoming messages, and transfer the contents (as well as attachments) to a headline in a designated org-mode

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread General discussions about Org-mode.
Le 04/03/25 à 10h48, David Masterson a écrit : > 2. When you select the region, where is the cursor? Let me answer this question first: in my above experiment, the cursor is at the very beginning of the 4th line. > 1. What's the difference between comment-region and comment-line? - With the cu

Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread General discussions about Org-mode.
Hi, * Context - GNU Emacs 30.1 - Org mode version 9.7.11 * Problem Since Emacs 30.1, commenting lines in code blocs does not work correctly. As an example, run: emacs -Q test.org where test.org has the following content --8<---cut here---start->8--- #+BEGI

Re: [BUG] org headings markup works inside code blocks [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-02 Thread General discussions about Org-mode.
bug reports* On Sunday, March 2nd, 2025 at 7:41 PM, the_wurfkreuz wrote: > Oops, sorry, i've sent so many bug requests that repeated myself on this one. > > On Sunday, March 2nd, 2025 at 3:36 PM, the_wurfkreuz > wrote: > >> I use this setting: >> >> (setq org-edit-src-content-indentation 0) >

Re: [BUG] org headings markup works inside code blocks [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-02 Thread General discussions about Org-mode.
Oops, sorry, i've sent so many bug requests that repeated myself on this one. On Sunday, March 2nd, 2025 at 3:36 PM, the_wurfkreuz wrote: > I use this setting: > > (setq org-edit-src-content-indentation 0) > > Which might create a situation where i write an asterisk as the first > character in

[BUG] org headings markup works inside code blocks [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/31.0.50/lisp/org/)]

2025-03-02 Thread General discussions about Org-mode.
I use this setting: (setq org-edit-src-content-indentation 0) Which might create a situation where i write an asterisk as the first character in a line while in a code block. For instance, if i install a crontab mode and do this: #+begin_src crontab * * * * * command_to_execute #+end_src Doing

Re: Select a region and yank a URL to create a link

2025-03-02 Thread General discussions about Org-mode.
On 2/28/25 4:42 AM, jman wrote: > Just to be sure I understand: you are suggesting an alternate way to linkify > a selected region of > text, currently supported by the `*-insert-link` functions (bound to `C-c > C-l`), correct? That's correct. The org-insert-link command continues to be usefu

Select a region and yank a URL to create a link

2025-02-27 Thread General discussions about Org-mode.
Lately I've noticed more applications supporting a method of creating a link by pasting a URL. The flow works like this: 1. write some text 2. select the text you want to linkify 3. paste a URL to turn the selected text into a named link This feature is supported many places (including Matrix, Zu

[Feature Request] Adding custom indices for Texinfo export (and maybe unaffiliated dual-value keywords?)

2025-02-22 Thread General discussions about Org-mode.
Hello, Texinfo allows one to create new named indices using `@defindex NAME`, which can then be used via `@NAMEindex`. I have been experimenting with different ways of supporting this. I have learned how to add an option `TEXINFO_ADDITIONAL_INDEXES` that can be used to create multiple uses of

[BUG] 30.1; regression to 29.4 org-mode wrong-type-argument number-or-marker-p nil [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-02-20 Thread General discussions about Org-mode.
If I run "emacs -Q" and then eval such config: ``` (setq use-package-verbose t) (use-package org :commands (org-capture org-agenda) :hook (org-mode . flyspell-mode) :config (message "Running :config of org-mode") (setq org-startup-folded t) (setq org-edit-src-content-indentation 0)

problem in sorting headings that start with timestamps

2025-02-08 Thread General discussions about Org-mode.
Hi I am not sure this is a feature or a bug. Consider the following --8<---cut here---start->8--- * Test 1 ** <2025-02-08 09:46> First ** <2025-02-08 09:51> All --8<---cut here---end--->8--- If I run `org-sort` the head

Re: insert a header and automatically a timestamp with date/time

2025-02-03 Thread General discussions about Org-mode.
> On 2025-02-02 21:02, Uwe Brauer via General discussions about > Org-mode. wrote: > I'm glad it works for you :) > You need a parent entry (see how I added example). From that parent > entry, do M-x org-sort and select alphanumeric (a), and that sorts > fine the timest

Re: insert a header and automatically a timestamp with date/time

2025-02-02 Thread General discussions about Org-mode.
> On 2025-02-02 08:38, Uwe Brauer via General discussions about Org-mode. > wrote: > Yes :D >   but let's keep the discussion in the mailinglist in English so other > people can participate, or benefit from it Sure! > In fact you don't need ~my/get-inactive-t

Re: insert a header and automatically a timestamp with date/time

2025-02-01 Thread General discussions about Org-mode.
> On 2025-02-01 18:43, Uwe Brauer via General discussions about Org-mode. > wrote: > Yes, I speak Spanish :) Vale, entendido (supongo que eres español, porque usas la palabra movil, ¿correcto?) > To generate dates as you said, you can use the following code [0], on > ~ma

Re: insert a header and automatically a timestamp with date/time

2025-02-01 Thread General discussions about Org-mode.
>>> "GdaO" == General discussions about Org-mode writes: > On 2025-02-01 08:55, Uwe Brauer via General discussions about > Org-mode. wrote: >> Is there any way to insert a header and automatically a timestamp with >> date/time? >> >> I can wr

Re: insert a header and automatically a timestamp with date/time

2025-02-01 Thread General discussions about Org-mode.
On 2025-02-01 08:55, Uwe Brauer via General discussions about Org-mode. wrote: Is there any way to insert a header and automatically a timestamp with date/time? I can write me a small function doing this and bind it to some unused key, but is there a more general/elegant way I just miss? Hi

insert a header and automatically a timestamp with date/time

2025-02-01 Thread General discussions about Org-mode.
Hi Is there any way to insert a header and automatically a timestamp with date/time? I can write me a small function doing this and bind it to some unused key, but is there a more general/elegant way I just miss? Thanks Uwe Brauer

Problems using completion with group of tags and regexp

2025-01-31 Thread General discussions about Org-mode.
Hello, If I use a group of tags, like #+TAGS: [ ORG : {.+ORG} ], when I use C-c C-c for autocompletion, it gives me strange candidates. For example, it doesn't offer the tags I'm using in the buffer, and instead, it offers others like: :endgrouptag, :startgrouptag, :grouptags, :ORG, :{.+ORG}. V

Re: [BLOG] #15 [[bbb:OrgMeetup]] on Wed, Jan 8, 19:00 UTC+3

2025-01-30 Thread General discussions about Org-mode.
> - someone raised the eternal question on whether to use one big Org > file or many small ones > - there are pros and cons to both ways > - at the end, it is up to each user workflow > - common arguments are listed in a dedicated wiki page > https://orgmode.org/worg/org-tutorials/or

Re: ox-reveal

2025-01-22 Thread General discussions about Org-mode.
Sébastien Gendre writes: > Ihor Radchenko writes: >> It can be discussed, but you may get more answers at >> https://github.com/yjwen/org-reveal - that's where melpa points to (see >> https://melpa.org/#/ox-reveal) > > Ah, when I searched on DuckDuckGo for ox-reveal, I got another one with > no

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 3:45:05 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu writes: > >> I think being able to customise the run-haskell function and the haskell >> buffer name should be enough, since they both use comit > >No, it is not. >We use `haskell-mode', `run-haskell', `inferior-haskell-loa

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 3:32:33 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu writes: > >> Just uninstall haskell mode, restart emacs, execute babel haskell code block >> without session and see what happens. > >Ok. I see what happens. haskell-mode is not required only in a single >scenario - when :c

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 2:57:20 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu writes: > >>>AFAIU, it is not strictly required, unless you need session support. >>>If you do not use sessions, things should work without haskell-mode. >> >> When I tried to run code normally, without session, it still req

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 1:52:28 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu Sharma via "General discussions about Org-mode." > writes: > >> Can we also remove the requirment of haskell-mode to run code? > >AFAIU, it is not strictly required, unless you need sess

Re: The ob-R :results graphics file :dir "images" :file "plot.png" specified directory not working

2025-01-14 Thread General discussions about Org-mode.
On 2025-01-14 05:29, stardiviner wrote: I tested using org-mode's `make repro` clean Emacs & org-mode environment instance. It works fine. I double checked my Emacs init file about R settings. Have not found suspicious config. So to confirm, you *cannot* reproduce the error with a clean confi

Re: [BUG] Html making 'ltximg' directory in source folder, rather than out folder [9.7.11 (release_9.7.11 @ /home/pranshu/Documents/appsource/emacs/lisp/org/)]

2025-01-05 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ihor Radchenko writes: > >>> When doing: >>> (org-export-to-file 'html "~/new/path/thing.html") >>> and the file option has the path "~/other/path/file.org", the >>> 'ltximg' >>> directory is made in "~/other/path/", which is not intutive, or >>> useful >>> behaviour. >>

[BUG] Org-tempo doesn't respect indentation [9.7.11]

2025-01-03 Thread General discussions about Org-mode.
If i have some list: 1. oariseatnoarise ntoaris en 2. aoirsetnaorisetnoarisetn Then from the end of the second item use org-return, the pointer position is going to be indented like this: 1. oariseatnoarise ntoaris en 2. aoirsetnaorisetnoarisetn <--- pointer here Then if i try to expand an org

Re: [PATCH] ob-tangle: source blocks without language can be tangled

2025-01-02 Thread General discussions about Org-mode.
Ihor Radchenko writes: >>>> Why does the mailing list name me " via General discussions about >>>> Org-mode."? Is something not right with my subscription to the list? >>> >>> I suspect that it might be something to do with sending via n

[PATCH] ob-tangle: source blocks without language can be tangled

2025-01-01 Thread General discussions about Org-mode.
* lisp/ob-tangle.el: (org-babel-tangle-collect-blocks): source blocks without a language are not ignored anymore, if they inherit a src-tfile other than "yes" or "no". * lisp/ob-core.el: adapts the org-babel-src-block-regexp regular expression to make the language part of a source block optional. *

Re: [PATCH] ob-tangle: source blocks without language can be tangled

2025-01-01 Thread General discussions about Org-mode.
Ihor Radchenko writes: >> Also a tangential non-consequential question: >> Why does the mailing list name me " via General discussions about >> Org-mode."? Is something not right with my subscription to the list? > > I suspect that it might be something to do

Re: [PATCH] ob-tangle: source blocks without language can be tangled

2025-01-01 Thread General discussions about Org-mode.
Also a tangential non-consequential question: Why does the mailing list name me " via General discussions about Org-mode."? Is something not right with my subscription to the list?

Re: [PATCH] ob-tangle: source blocks without language can be tangled

2025-01-01 Thread General discussions about Org-mode.
Happy new year! Ihor Radchenko writes: > The patch looks good to me. Great to hear. > May I know if you have FSF copyright assignment? I don't have the FSF copyright assignment yet. I'll submit the form right away and keep you updated.

[PATCH] ob-tangle: source blocks without language can be tangled (was: [BUG] Inconsistent org-babel tangle behaviour)

2024-12-31 Thread General discussions about Org-mode.
* lisp/ob-tangle.el: (org-babel-tangle-collect-blocks): source blocks without a language are not not ignored anymore, if they inherit a src-tfile other than "yes" or "no". * lisp/ob-core.el: adapts the org-babel-src-block-regexp regular expression to make the language part of a source block optiona

[SOLVED] (was: org-capture-templates: how to automatically insert the mail body)

2024-12-28 Thread General discussions about Org-mode.
>>> "UB" == Uwe Brauer writes: > Hi > However the mail body is only included if I mark it before calling > org-capture. > Is there any function/variable I miss that would insert the body > automatically like > %:body I found a solution in https://orgmode.org/worg/org-contrib/org-mac-mail

[PATCH] doc/org-manual.org: Specify that tangling requires language identifier

2024-12-28 Thread General discussions about Org-mode.
TINYCHANGE --- See discussion "[BUG] Inconsistent org-babel tangle behaviour" doc/org-manual.org | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 2d5fd57b3..7710bfe7e 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@

Re: [BUG] Inconsistent org-babel tangle behaviour

2024-12-28 Thread General discussions about Org-mode.
> Here, a language is actually specified. The language is ":tangle" (there > is nothing stopping anyone from creating a language name starting from > colon). I see. I just assumed that header arguments and switches were "recognized" and not considered as the language if placed positionally first

Re: [BUG] yank-media doesn't work

2024-12-26 Thread General discussions about Org-mode.
It gives this: [TIMESTAMP TARGETS SAVE_TARGETS MULTIPLE STRING UTF8_STRING TEXT chromium/x-source-url text/html text/plain text/plain\;charset=utf-8] Also, it works correctly if i switch from wayland to X11. On Thursday, December 19th, 2024 at 8:24, Visuwesh wrote: > [Monday December 16, 20

Re: save email(gnus) in org format

2024-12-25 Thread General discussions about Org-mode.
> Even I'm interested, I have to craft a way of saving things with org. > I noticed during Orgmeetup, yantar92 (Ihor, the Org maintainer) does > org-capture on mail. > Related config I found in config > (https://github.com/yantar92/emacs-config/blob/master/config.org#capture-mail-to-org-task)

Re: save email(gnus) in org format

2024-12-24 Thread General discussions about Org-mode.
> * Uwe Brauer via "General discussions about Org-mode. > [2024-12-20 20:12]: >> >> Hi >> >> Vanilla gnus offers to save single messages in the following format >> >> --8<---cut here---start->8--- >

Form feed characters break odt export

2024-12-20 Thread General discussions about Org-mode.
Tested on GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Org mode version 9.7.6 (9.7.6-7a4527 @ /home/joseph/.emacs.d/elpa/org-9.7.6/) I can export the following Org content to a .odt file, but the exported file cannot be opened ("Read Error. Format erro

save email(gnus) in org format

2024-12-20 Thread General discussions about Org-mode.
Hi Vanilla gnus offers to save single messages in the following format --8<---cut here---start->8--- * gnus-summary-save-in-rmail (Rmail format) * gnus-summary-save-in-mail (Unix mail format) * gnus-summary-save-in-folder (MH folder) * gnus-summary-save-in-f

Re: Ignore Local Variables list in source blocks

2024-12-19 Thread General discussions about Org-mode.
Max Nikulin writes: > On 18/12/2024 11:13, Joseph Turner wrote: >> Is there a way to make Emacs ignore Local Variables lists which >> appear >> inside of source blocks? >> For example, is there a way to include the following content in an >> Org >> file without Emacs attempting to locally set foo

Re: [BUG] yank-media doesn't work

2024-12-16 Thread General discussions about Org-mode.
running emacs on wayland. > > > On Monday, December 16th, 2024 at 17:54, the_wurfkreuz > wrote: > > > > [திங்கள் டிசம்பர் 02, 2024] the_wurfkreuz via "General discussions about > Org-mode." wrote: > > > > > > > When using the yank-medi

Re: [BUG] yank-media doesn't work

2024-12-16 Thread General discussions about Org-mode.
17:54, the_wurfkreuz wrote: > > [திங்கள் டிசம்பர் 02, 2024] the_wurfkreuz via "General discussions about > > Org-mode." wrote: > > > > > When using the yank-media command to paste images, the results are > > > inconsistent. This issue persists

Re: [BUG] yank-media doesn't work

2024-12-16 Thread General discussions about Org-mode.
> [திங்கள் டிசம்பர் 02, 2024] the_wurfkreuz via "General discussions about > Org-mode." wrote: > > > When using the yank-media command to paste images, the results are > > inconsistent. This issue persists even when running Emacs with emacs > > -Q. &g

What's the proper way to define a recurring event

2024-12-14 Thread General discussions about Org-mode.
Hello, I've look around, and I haven't found a way to achieve the result I would like regarding recurring events (and not tasks) Let's say I want to insert my yoga class in my Agenda. This class starts on date X, it is planned to repeat every week, for 8 weeks. In my "agenda.org" file I would

[BUG] Inconsistent org-babel tangle behaviour

2024-12-11 Thread General discussions about Org-mode.
Hi everyone, setting a property in an org file like '#+PROPERTY: header-args:tangle "file.ext"' with a source block of the form: (note no language is specified for the block) #+begin_src <1: this block won't get tangled> #+end_src won't tangle the block Adding any string as a language to

Link preview: Applying color filter based on current theme

2024-12-10 Thread General discussions about Org-mode.
Hi! I use a lot of simple hand-drawn sketches in my notes. Ideally, I'd like a setup where I could take a quick photo of these, and the crop and adjust saturation and contrast to the point where they appear as black pen lines on a white or transparent background. It would be perfect if I cou

[BUG] yank-media doesn't work

2024-12-02 Thread General discussions about Org-mode.
When using the yank-media command to paste images, the results are inconsistent. This issue persists even when running Emacs with emacs -Q. In some instances, the command successfully pastes the image. At other times, it fails with the message: "yank-media: No handler in the current buffer for a

Re: Contributing org-menu (using transient) to Orgmode?

2024-11-18 Thread General discussions about Org-mode.
The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. > See https://github.com/sheijk/org-menu for some screen shots and > description. Hi! I'm just a casual user. This package seems amazing from initial usage, does improve org workflow well.

Re: Contributing org-menu (using transient) to Orgmode?

2024-11-18 Thread General discussions about Org-mode.
> See https://github.com/sheijk/org-menu for some screen shots and > description. Hi! I'm just a casual user. This package seems amazing from initial usage, does improve org workflow well. I'm excited to follow up on this inclusion. I'd like to just plug few lists related to this topic. 1. ht

[PATCH] Add alias for `org-insert-structure-template' using "block" term

2024-11-13 Thread General discussions about Org-mode.
Hello, Markup structures like "#+begin_src" and "#+being_quote" can be inserted using the command `org-insert-structure-template'. In much of the documentation, these structures are called "blocks", including the existing documentation for `org-insert-structure-template'. I personally found the n

ob-octave.el - org-babel-matlab-with-emacs-link

2024-10-24 Thread General discussions about Org-mode.
Hi The code related to org-babel-matlab-with-emacs-link in ob-octave.el can be removed because MATLAB no longer supports an external editor though the "link" method. Would you like me to send in a patch or something? I'm currently looking at improving the connection between matlab-mode, http

[BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading.

2024-10-18 Thread General discussions about Org-mode.
From: ap...@unix.mail-host-address-is-not-set To: emacs-orgmode@gnu.org Subject: [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading. [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] Date: Fri, 18 Oct 20

Re: Elecrtic-pair-mode works incorrectly in code blocks

2024-10-11 Thread General discussions about Org-mode.
Quoting the reply: >> I confirm that it did not insert the closing bracket near those comment >> blocks. > So this is a bug that needs to fixed, isn't it? I'm not sure if this is bug or intended near comment block or how org handles/preserves the src block editing (indentation, pairs, other pr

Re: Elecrtic-pair-mode works incorrectly in code blocks

2024-10-10 Thread General discussions about Org-mode.
Hi the_wurfkreuz, I tried with the code block. I confirm that it did not insert the closing bracket near those comment blocks. But it did create pair brackets when I inserted after those 4 lines. > #+begin_src emacs-lisp ( ### No closing bracket here > ;; (if (eq major-mode 'org-mode) > ;

Re: HELP: org-levels customization

2024-10-05 Thread General discussions about Org-mode.
> In Emacs -Q there is not this issue. This indicates the issue is with your config. I suspect it can be from theme. Are you sure there is no config editing org-level-* faces somewhere? > (set-face-attribute 'org-level-1 nil :inherit 'org-default :height 1.5) > (set-face-attribute 'org-level-2

[SOLVED] (was: what does (json-readtable-error 47) mean (python, jupyter, matlab))

2024-10-02 Thread General discussions about Org-mode.
>>> "UB" == Uwe Brauer writes: > Hi, > I am using ob-ipython (which is a bit outdated) and I already opened an > issue at https://github.com/gregsexton/ob-ipython/issues/226 > However if someone knows how to deal with the (json-readtable-error 47) > error type, I would appreciate it. A solut

Re: [PATCH] Re: Summation of effort estimates in columnview dblock

2024-08-30 Thread General discussions about Org-mode.
Ihor Radchenko writes: > [...] > I'd start from a simplified description of what is happening, followed > by the example, and then formal definition. > > Otherwise, reading from top to button is still difficult. > [...] Here is another take: instead of the lengthy explanations I had offered prev

Re: [PATCH] Re: Summation of effort estimates in columnview dblock

2024-08-26 Thread General discussions about Org-mode.
Ihor Radchenko writes: > [...] >> +When using summary types for non-special properties like the >> +=Time_Estimate= column in the example, the collection of data for the >> ... >> +The following example illustrates how special, > > I'd start from a simplified description of what is happening, fol

[PATCH] Re: Summation of effort estimates in columnview dblock

2024-08-23 Thread General discussions about Org-mode.
Ping? (NOTE: Updated documentation patch below has one very minor typo fixed. END NOTE) >From 1a862dd5af174af480cedf35fbed94a7e4dfb69b Mon Sep 17 00:00:00 2001 From: Alexander Adolf Date: Sat, 17 Aug 2024 18:29:51 +0200 Subject: [PATCH] doc/org-manual.org: better explain columnview column summa

Re: Org-mode element API: How to extract link description

2024-08-22 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Sébastien Gendre writes: > >> With the Org-mode element API, when I get an element of type "link", how >> do I extract the link description ? > [...] > Link description is considered to be link contents. > But do note that simple `org-element-at-point' does not compute >

Re: Summation of effort estimates in columnview dblock

2024-08-20 Thread General discussions about Org-mode.
Thanks for your comments! Ihor Radchenko writes: > [...] > Several comments: > > 1. Nitpick: siblings's (it is current Emacs grammar convention in the > manuals) Fixed. > 2. Please add some examples with illustration. Now, this description >feels too dense Having written International te

Re: Summation of effort estimates in columnview dblock

2024-08-17 Thread General discussions about Org-mode.
Ihor Radchenko writes: > [...] > I agree that the manual can be improved. It would be nice if someone > actively using column views contributed such an improvement ;) > [...] Ok, I've given it a try. >From 4bb89a24269ee2ef42ed2b1c5713faa37b33f72d Mon Sep 17 00:00:00 2001 From: Alexander Adolf

Re: Summation of effort estimates in columnview dblock

2024-08-16 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Alexander Adolf writes: > [...] >> Begin Quote - >> (54) >> If more than one summary type applies to the same property, the parent >> values are computed according to the first of them. >> -

BUG?: org-preview-latex-default-process: imagemagick: cannot use latexmk -f pdf

2024-08-15 Thread General discussions about Org-mode.
Hi I prefer to open a new thread for this. - I set org-preview-latex-default-process --8<---cut here---start->8--- org-preview-latex-default-process is a variable defined in ‘org.el’. Its value is ‘imagemagick’ --8<---cut here-

  1   2   3   4   >