Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda

2023-01-26 Thread Daryl Manning
Oh wow... this is a great idea. Good idea sending it round. Ought to make things a bit easier when discussing and avoiding misunderstandings. =] On Fri, Jan 27, 2023 at 1:06 PM Sterling Hooten wrote: > Hi all, > > Collaborating around the subject of "time" is difficult; there are > subtleties

Re: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda

2023-01-26 Thread Sterling Hooten
Hi all, Collaborating around the subject of "time" is difficult; there are subtleties abound in implementation, the perspectives people come from, and the language used in discussions. I'm going to provide a glossary to establish common terminology, use these terms to analyze our current state,

Re: [O] [PATCH] ob-eval: display error fix

2023-01-26 Thread General discussions about Org-mode.
Ping -- I don't think anyone else has replied / reviewed this patch yet, unless it has happened in a different thread. Best, RY Andreas Gerler writes: > [[PGP Signed Part:Undecided]] > > [2. text/x-patch; 0001-lisp-ob-eval.el-Display-error-fix.patch]... > > > > Hi Ruijie, > > thanks for

Re: Org mode timestamps on the Moon ;] (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-01-26 Thread Tom Gillespie
Oh boy. In short, I think we can only hope they come up with LTC and we already have a syntactic space to say whether our reference seconds are TAI/UTC/LTC/MTC/JTC etc. And being the privileged squats that we are if the time system is left out then it means UTC. The friendly thing to do would be

[PATCH] org-element-cache-map: Fix handling of continue-from

2023-01-26 Thread Matthieu Caneill
Hi, I'm hit by the following bug in `org-element-cache-map'. When I use `tags' or `tags-todo' in an agenda, with the option `(org-tags-match-list-sublevels nil)', all sub-elements of a matching item are correctly skipped except the last one. It can be reproduced with the following org file: *

Re: [ANN] orgtbl-fit

2023-01-26 Thread tbanelwebmin
On 1/26/23 11:35, Ihor Radchenko wrote: tbanelwebmin writes: Actually, orgtbl-fit is a bridge between Org Mode tables and Calc. By the way, Org Mode table spreadsheet capabilities are also a bridge with Calc. Examples & documentation can be read here:

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread AW
Am Donnerstag, 26. Januar 2023, 13:18:49 CET schrieb Jean Louis: > * AW [2023-01-26 13:00]: > > This is about a maildirs of kmail on my local machine. The E-Mails are > > being indexed by akonadi on the side of kde-pim. But referring to a > > certain E-Mail from orgmode with a kind of link fails,

Re: UTC or not UTC for timestamps in the past ([FEATURE REQUEST] Timezone support in org-mode)

2023-01-26 Thread Thomas S. Dye
Aloha Max, Max Nikulin writes: On 23/01/2023 23:04, Thomas S. Dye wrote: * Kinds of event - No-host event :: An event that takes place at an absolute time. Participants must know their local timezone offset from UTC. Example [2023-01-23 06:00@UTC]. - Situated event :: An event that takes

Re: This is out of thread subject

2023-01-26 Thread Jean Louis
* Ihor Radchenko [2023-01-25 21:01]: > Jean Louis writes: > > > Haven thanks Firefox developers did not complain on users setting > > their own content types. Firefox can open Org content type and launch > > Emacs on it, but Emacs "can't" as it is security risk. > > Well... >

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread Jean Louis
* AW [2023-01-26 13:00]: > This is about a maildirs of kmail on my local machine. The E-Mails are being > indexed by akonadi on the side of kde-pim. But referring to a certain E-Mail > from orgmode with a kind of link fails, because I'd need to got to the > maildir > and search for the

Re: Should Org provide commonly used link types?

2023-01-26 Thread Jean Louis
* Ihor Radchenko [2023-01-25 21:15]: > So, the suggested links are: > 1. pdf + page > 2. video/audio + timestamp > 3. epub/djvu/mibi + page > > Note that all these are basically file: links. While we can make users > say pdf:... or video:..., or would be more convenient to extend file: > link

Re: Should Org provide commonly used link types?

2023-01-26 Thread Jean Louis
* Ihor Radchenko [2023-01-25 21:15]: > Jean Louis writes: > > >> Suggestions welcome > > > > Main suggestion would be to make interface for users to easy setup > > those hyperlinks. > > > > If user is supposed to adapt mind to programmer by setting this horror: > > (info "(org) Adding Hyperlink

Re: Org mode timestamps on the Moon ;]

2023-01-26 Thread Thomas S. Dye
Aloha Eric, "Fraga, Eric" writes: On Thursday, 26 Jan 2023 at 15:24, Ihor Radchenko wrote: "The Moon’s gravitational pull is weaker than Earth’s, meaning that, to an observer on Earth, a lunar clock would run faster than an Earth one. Gramling estimates that a lunar clock would gain about

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread Max Nikulin
On 25/01/2023 00:49, Jean Louis wrote: When goto-mode works with mid: by me setting up browse-url-handlers, then I have expected Org to work as well. Do you mean `goto-address-mode'? Have you had a look into its implementation?

Re: Org mode timestamps on the Moon ;]

2023-01-26 Thread Fraga, Eric
On Thursday, 26 Jan 2023 at 15:24, Ihor Radchenko wrote: > "The Moon’s gravitational pull is weaker than Earth’s, meaning that, to > an observer on Earth, a lunar clock would run faster than an Earth one. > Gramling estimates that a lunar clock would gain about 56 microseconds > over 24 hours"

Re: [PATCH] Change default value of org-clock-x11-idle-program-name

2023-01-26 Thread Max Nikulin
On 24/01/2023 19:41, Ihor Radchenko wrote: What we can do is check if xprintidle executable is available and use it. Otherwise, fall back to x11idle to retain backwards compatibility on systems that do no have xprintidle installed. See the attached patch. I have not tested your patch,

Re: UTC or not UTC for timestamps in the past ([FEATURE REQUEST] Timezone support in org-mode)

2023-01-26 Thread Max Nikulin
On 23/01/2023 23:04, Thomas S. Dye wrote: * Kinds of event - No-host event :: An event that takes place at an absolute time. Participants must know their local timezone offset from UTC. Example [2023-01-23 06:00@UTC]. - Situated event :: An event that takes place at a time local to the event

Org mode timestamps on the Moon ;] (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-01-26 Thread Ihor Radchenko
Tom Gillespie writes: > ; given my objective to ensure that org documents can be interpreted > ; without having to stick stupid things like #+planet: mars in the > ; header or risk your earthling readers getting incorrect dates --- I > ; suggest that org switch to storing all dates and times in

[SOLVED] (was: how to export to latex with $ constructs rcsinfo)

2023-01-26 Thread Uwe Brauer
> Uwe Brauer writes: > Then just use #+begin_export latex construct Thanks! That solved the problem -- Warning: Content may be disturbing to some audiences I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the ban

Re: how to export to latex with $ constructs rcsinfo

2023-01-26 Thread Uwe Brauer
>>> "FE" == Fraga, Eric writes: > On Thursday, 26 Jan 2023 at 12:22, Uwe Brauer wrote: >> \rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $ > What if you protect this, as in > @@latex:\rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub > Exp oub $@@

Re: how to export to latex with $ constructs rcsinfo

2023-01-26 Thread Fraga, Eric
On Thursday, 26 Jan 2023 at 12:22, Uwe Brauer wrote: > \rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $ What if you protect this, as in @@latex:\rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $@@ ? (untested) -- : Eric S Fraga, with org

Re: how to export to latex with $ constructs rcsinfo

2023-01-26 Thread Ihor Radchenko
Uwe Brauer writes: >> IIUC, #+latex_header{,_extra} only handles the single line it is on. >> Therefore, you will have to prefix "#+latex_header_extra:" for each line >> you want to have in LaTeX verbatim. > > Thanks but this is a misunderstanding. I need that construct *after* >

Re: how to export to latex with $ constructs rcsinfo

2023-01-26 Thread Uwe Brauer
> Uwe Brauer writes: Hi > Hello, > IIUC, #+latex_header{,_extra} only handles the single line it is on. > Therefore, you will have to prefix "#+latex_header_extra:" for each line > you want to have in LaTeX verbatim. Thanks but this is a misunderstanding. I need that construct *after*

Re: Supporting non-free SQL clients in ob-sql

2023-01-26 Thread Heinz Tuechler
Ihor Radchenko wrote/hat geschrieben on/am 26.01.2023 12:14: Heinz Tuechler writes: Also, what about Emacs supporting MS DOS and old versions of Windows? Do they still qualify as popular software? Microsoft would probably appreciate, if only the latest version were supported by free

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread Max Nikulin
On 26/01/2023 16:58, AW wrote: This is about a maildirs of kmail on my local machine. The E-Mails are being indexed by akonadi on the side of kde-pim. Are you able to search messages through the KDE (global) dialog? Does it work if you try to find some Message-ID? Perhaps it is necessary to

Re: how to export to latex with $ constructs rcsinfo

2023-01-26 Thread General discussions about Org-mode.
Uwe Brauer writes: > Hi > > I have the following org file example > > #+LATEX_HEADER_EXTRA: \usepackage[scrpage2]{rcsinfo} > \makeatletter > \def\@rcsInfoFancyInfo{{\footnotesize% > \emph{\fcolorbox{black}{yellow}{Rev: \rcsInfoRevision,} > \rcsInfoOwner, > \rcsInfoLongDate, > \rcsInfoTime}}} >

how to export to latex with $ constructs rcsinfo

2023-01-26 Thread Uwe Brauer
Hi I have the following org file example #+LATEX_HEADER_EXTRA: \usepackage[scrpage2]{rcsinfo} \makeatletter \def\@rcsInfoFancyInfo{{\footnotesize% \emph{\fcolorbox{black}{yellow}{Rev: \rcsInfoRevision,} \rcsInfoOwner, \rcsInfoLongDate, \rcsInfoTime}}} \makeatother \rcsInfo $Id:

Re: Supporting non-free SQL clients in ob-sql

2023-01-26 Thread Ihor Radchenko
Heinz Tuechler writes: >> Also, what about Emacs supporting MS DOS and old versions of Windows? Do >> they still qualify as popular software? >> > Microsoft would probably appreciate, if only the latest version were > supported by free software. > best regards, Heinz Are you implying that

Re: Supporting non-free SQL clients in ob-sql

2023-01-26 Thread Heinz Tuechler
Ihor Radchenko wrote/hat geschrieben on/am 26.01.2023 11:22: Richard Stallman writes: Ihor Radchenko wrote: > It is hard to define "well known". For me, oracle and mssql databases > are well-known (just by company name), while saphana and vertica are > not. I have never heard of

Re: [BUG] ob-sql sql-connection-alist

2023-01-26 Thread Bastien Guerry
Hi, Ihor Radchenko writes: > Bastien, could you please confirm the copyright status of Andreas > Gerler? It was missing in the FSF copyright.list file, but it has been fixed and Andreas can be added as a regular contributor. Best, -- Bastien

Re: [PATCH] Fix one remaining emacs-30 byte-compile warning

2023-01-26 Thread Arash Esbati
Ihor Radchenko writes: > Thanks! > Applied, onto bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=65ca7bc6a Thanks! > You are also now listed as a contributor. > https://git.sr.ht/~bzg/worg/commit/36cbf082 Thanks for adding me. You have me now under this section:

Re: [ANN] orgtbl-fit

2023-01-26 Thread Ihor Radchenko
tbanelwebmin writes: > Actually, orgtbl-fit is a bridge between Org Mode tables and Calc. > > By the way, Org Mode table spreadsheet capabilities are also a bridge > with Calc. > > Examples & documentation can be read here: > https://github.com/tbanel/orgtblfit/blob/main/README.org

Re: Supporting non-free SQL clients in ob-sql (was: [PATCH] ob-sql: Add support for Athena)

2023-01-26 Thread Ihor Radchenko
Richard Stallman writes: > Ihor Radchenko wrote: > > > It is hard to define "well known". For me, oracle and mssql databases > > are well-known (just by company name), while saphana and vertica are > > not. > > I have never heard of saphana or vertica, which suggests that maybe > this is

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread Ihor Radchenko
AW writes: >> > Well, M-x (browse-url "mid:3218434.44cspzl...@linux.fritz.box") >> > produces [No match]. >> >> This is not a command. >> You need M-: (... > > Sorry, I'm a user, not much knowledge of elisp. However, the result now is > 'nil'. On my side, it returns nil and _also_ opens

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread AW
Am Dienstag, 24. Januar 2023, 11:42:01 CET schrieb Dirk-Jan C. Binnema: > Sorry if I'm repeating things earlier mentioned... > > mu4e supports message-id links through org-mode, and I *extensively* > use that my agenda / todo lists. E.g., >

Re: Link from orgmode file to E-Mail (using kmail or notmuch)

2023-01-26 Thread AW
Am Dienstag, 24. Januar 2023, 10:40:30 CET schrieb Ihor Radchenko: > AW writes: > >> It is not up to Org. Try > >> > >> (browse-url "mid:3218434.44cspzl...@linux.fritz.box") > >> > >> You will likely see nothing. > > > > Well, M-x (browse-url "mid:3218434.44cspzl...@linux.fritz.box") > >

Re: [BUG] ob-shell doesn't evaluate last line on Windows (cmd/cmdproxy) [9.6.1 ( @ c:/Users/Osher/AppData/Roaming/.emacs.d/elpa/org-9.6.1/)]

2023-01-26 Thread Ihor Radchenko
Matt writes: > > On Fri, 20 Jan 2023 04:27:18 -0500 Ihor Radchenko wrote --- > > I think `org-babel--shell-command-on-region' will be more appropriate. > > Because similar issues might appear when attempting to evaluate other > > code blocks on Windows, where `shell-file-name' is

Re: [PATCH][oc-csl] Improve reference parsing

2023-01-26 Thread Ihor Radchenko
[ Adding Org ML back to CC ] András Simonyi writes: > On Thu, 19 Jan 2023 at 10:56, Ihor Radchenko wrote: >> So, do I understand correctly that italics, bold, subscript, >> superscript, small-caps, and nocase must be passed to the CSL processor >> in a format understood by CSL? Everything else

Re: [PATCH] oc-natbib: Provide a fallback bibliography style

2023-01-26 Thread Ihor Radchenko
András Simonyi writes: >> Also, should we provide some commonly available natbib styles in the >> defcustom? > > What would this look like? `org-cite-natbib-options' has the following: :type '(set (const :tag "use round parentheses (default)" round) (const :tag "use square brackets"

Re: Org cite in SQLite?

2023-01-26 Thread Ihor Radchenko
"Thomas S. Dye" writes: > The @ character in an Org citation seems to block import to an > SQLite table. > > Has anyone successfully imported an Org citation to an SQLite > table? Could you please elaborate? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: [PATCH] Fix one remaining emacs-30 byte-compile warning

2023-01-26 Thread Ihor Radchenko
Arash Esbati writes: > Ihor Radchenko writes: > >> Could you please write a full patch with commit message? See >> https://orgmode.org/worg/org-contribute.html#first-patch > > Thanks for your response. I hope I've got it right. Thanks! Applied, onto bugfix.