Re: problem with diary sexps

2022-04-07 Thread Ihor Radchenko
Eric S Fraga writes: > On Tuesday, 5 Apr 2022 at 19:22, Ihor Radchenko wrote: >> More accurate error can be found after setting calendar-debug-sexp to t. >> I got the following backtrace clearly indicating lexical scope issue: > > Which makes sense. The diary code does use entry and date as

[BUG] buffer displays incorrectly after capture

2022-04-07 Thread Skip Collins
I think this is a real bug. Am I wrong? Seems like it should be easy to fix. On Mon, Apr 4, 2022 at 11:25 AM Skip wrote: > On Fri, Apr 1, 2022 at 3:46 PM Skip wrote: > > Another manifestation of the problem shows up when using > > auto-revert-mode. Starting with the single headline in a folded

Re: How to handle strings with commas in macros?

2022-04-07 Thread William Denton
On 7 April 2022, Kaushal Modi wrote: The comma needs to be backslash escaped. {{{m(Denton\, William)}}} Ref: (org) Macro Replacement Aha! Thanks to you and Eric for pointing this out. I missed that footnote (and I should have tried escaping with a backslash anyway, since that's the

Re: Removing obsolete function `org-truely-invisible-p'.

2022-04-07 Thread Karl Fogel
On 07 Apr 2022, Ihor Radchenko wrote: Karl Fogel writes: Unfortunately, the 'CONTRIBUTE' file at the top level of the Org Mode source tree gives incomplete guidance on commit messages (it just says to follow what Emacs does, so I did that). I didn't realize that

Re: How to handle strings with commas in macros?

2022-04-07 Thread Eric S Fraga
On Thursday, 7 Apr 2022 at 12:29, William Denton wrote: > on export and LaTeX will format it. That works fine. But in an index of > names, > if I want > > {{{m(Denton, William)}}} You have to escape the , unfortunately: {{{m(Denton\, William)}}} -- : Eric S Fraga, with org

Re: How to handle strings with commas in macros?

2022-04-07 Thread Kaushal Modi
On Thu, Apr 7, 2022 at 12:30 PM William Denton wrote: > I'm using macros to format names in a LaTeX export, like so: > > on export and LaTeX will format it. That works fine. But in an index of > names, > if I want > > {{{m(Denton, William)}}} > > then Org takes that as two arguments to the

How to handle strings with commas in macros?

2022-04-07 Thread William Denton
I'm using macros to format names in a LaTeX export, like so: #+latex_header: \newcommand\m[1]{\textsc{#1}} #+macro: m \m{$1} Thus {{{m(William Denton)}}} becomes \m{William Denton} on export and LaTeX will format it. That works fine. But in an index of names, if I want {{{m(Denton,

Re: Drop defadvice from Org

2022-04-07 Thread Bastien
Hi Ihor, Ihor Radchenko writes: > The change in (eval ...) call inside org-diary-sexp-entry broke sexp > timestamps. See orgmode.org/list/875ynnojvf.fsf@localhost Fixed, thanks! -- Bastien

bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-07 Thread Max Nikulin
Consider the following change of `encode-time' calling convention: last 3 elements of the TIME argument as a list should be optional. I mean IGNORED, DST, and ZONE. (encode-time '(0 30 20 07 04 2022 nil -1 nil)) (encode-time '(0 30 20 07 04 2022)) ; currently causes an error Since

Re: org-cite styles don't allow * in them

2022-04-07 Thread John Kitchin
On Thu, Apr 7, 2022 at 12:17 AM Ihor Radchenko wrote: > "Bruce D'Arcus" writes: > > > On Sun, Apr 3, 2022 at 5:07 PM John Kitchin > wrote: > >> > >> I was looking into using latex commands as styles in org-cite, e.g. > >> > >> [cite/citet:@key]. That example works fine, but [cite/citet*:@key]

Re: Thanks for good docs

2022-04-07 Thread Eric S Fraga
I'm in total agreement. The indexing of the org info manual is excellent and generally gets me to what I want very quickly. -- : Eric S Fraga, with org release_9.5.2-424-g09575c in Emacs 29.0.50