Re: [BUG] No newline at end of exported HTML file [9.6.6 (release_9.6.6 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)]

2023-10-08 Thread YE
> >> Exporting HTML file from Org-mode, f.i. with `org-html-export-to-html', >> I expect to get a newline after the closing tag, but it's not >> added. I believe this used to work with previous versions of Org-mode. >> Am I missing something? > > `org-html-template' never ever had a newline at

Re: [the cryptic @@#$7]

2023-10-08 Thread Uwe Brauer
> Uwe Brauer writes: > The ref "remote(table1,@2$7..@>$7)" targets a range, containing all fields of > colum 7. So, for each field, you get the same value: an array > containing all the field values: [22, 19, 19]. > See (info "(org) References"), in the section: >

Re: equivalent of VLOOKUP (in ods) to org-table

2023-10-08 Thread Uwe Brauer
> Uwe Brauer writes: >#+TBLFM: $3='(org-lookup-first $1 '(remote(table1, @I$1..@II$1)) > '(remote(table1, @I$7..@II$7))) Oops no I tried $3='(org-lookup-first '(remote(table1, @1$7..@4$7))) And that gave error So thanks a lot >#+TBLFM: $5=vsum($2..$4) > IIUC, it seems to be the

Re: [the cryptic @@#$7] (was: equivalent of VLOOKUP (in ods) to org-table)

2023-10-08 Thread Bruno Barbier
Uwe Brauer writes: "UB" == Uwe Brauer writes: > "BB" == Bruno Barbier writes: >>> Hi Uwe, > >>> Uwe Brauer writes: so the question is what is equivalent of VLOOKUP in org. > >>> Did you check these lookup functions in the Org manual? > >>> (info "(org) Lookup functions") > > >

Re: equivalent of VLOOKUP (in ods) to org-table

2023-10-08 Thread Bruno Barbier
Uwe Brauer writes: "BB" == Bruno Barbier writes: >> Did you check these lookup functions in the Org manual? >>(info "(org) Lookup functions") > > > Yes of course, but I am unable to obtain the same result as I do using > the remote call. Did you try something like this ? #+NAME:

[the cryptic @@#$7] (was: equivalent of VLOOKUP (in ods) to org-table)

2023-10-08 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: >>> "BB" == Bruno Barbier writes: >> Hi Uwe, >> Uwe Brauer writes: >>> so the question is what is equivalent of VLOOKUP in org. >> Did you check these lookup functions in the Org manual? >> (info "(org) Lookup functions") I ask differently why does the

Re: equivalent of VLOOKUP (in ods) to org-table

2023-10-08 Thread Uwe Brauer
>>> "BB" == Bruno Barbier writes: > Hi Uwe, > Uwe Brauer writes: >> so the question is what is equivalent of VLOOKUP in org. > Did you check these lookup functions in the Org manual? >(info "(org) Lookup functions") Yes of course, but I am unable to obtain the same result as I do using

Re: equivalent of VLOOKUP (in ods) to org-table

2023-10-08 Thread Bruno Barbier
Hi Uwe, Uwe Brauer writes: > so the question is what is equivalent of VLOOKUP in org. Did you check these lookup functions in the Org manual? (info "(org) Lookup functions") Bruno. > > I came up with the remote command that results in a similar result, (I did > not want to use third

Re: A locale for Org?

2023-10-08 Thread Juergen Fenn
Am 08.10.23 um 17:16 Uhr schrieb Ihor Radchenko: >> Is there a locale for Org? > See "23.2 Language Environments" section of Emacs manual and > `org-export-default-language'. Ah, thanks, Ihor! It's anguage support vs. language environment in Emacs! I forgot about the latter term. For all the

Re: A locale for Org?

2023-10-08 Thread Ihor Radchenko
Juergen Fenn writes: > I wonder whether there is a variable you can configure globally in your > .emacs to make German the language of all documents Org will create, > export, etc.? > > My locale on macOS is de_DE.UTF-8. > > Is there a locale for Org? See "23.2 Language Environments" section of

A locale for Org?

2023-10-08 Thread Juergen Fenn
Hello, I wonder whether there is a variable you can configure globally in your .emacs to make German the language of all documents Org will create, export, etc.? My locale on macOS is de_DE.UTF-8. Is there a locale for Org? I have looked for language support in Org, but I only find support for

Re: [PATCH] Fix org-[beginning|end]-of-line with arguments

2023-10-08 Thread Tomohisa Kuranari
Hi, Ihor Thank you for your feedback. I found your guidance on writing a clearer message, quoting Elisp symbols, and the insights about indentation rules to be particularly valuable. Not using line-number-at-pos is truly a great suggestion. I've reworked the patch and also revised the commit

equivalent of VLOOKUP (in ods) to org-table

2023-10-08 Thread Uwe Brauer
Hi I have regularly to deal with large tables, that I split in smaller ones and then try to connect them. I have to export the resulting big table to ods, and in the ods case, I have several sheets and use the VLOOKUP command, like this #+begin_src #+Name: table1 | Name | Ex1 | Ex2 | Ex2

Re: [FR] A more general case than footnotes

2023-10-08 Thread Maske
Hi, Ihor I overlooked the aspect of exporting. I propose links to arbitrary points in different files. Furthermore, I think it would be a very nice new feature, probably more opinions than mine should be heard. Thanks On 08/10/2023 11:18, Ihor Radchenko wrote: Maske writes:

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-10-08 Thread Visuwesh
[ஞாயிறு அக்டோபர் 08, 2023] Ihor Radchenko wrote: > Visuwesh writes: > >> This was far easier than I initially thought. Patch attached. > > Thanks! > I tried to install the patch and I have two more comments. > >> +(defun org-yank-image-autogen-filename () >> + "Autogenerate filename for image

Re: Exporting elisp: and shell: links

2023-10-08 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> Still, it would be nice to have _a_ variant compared to the current >> state of affairs. > > Agreed. If the link has no description, we can do a great job on > exporting it. Half of the victory, right there! > > Also, how about the following /simple/ idea for the

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-10-08 Thread Ihor Radchenko
Visuwesh writes: > This was far easier than I initially thought. Patch attached. Thanks! I tried to install the patch and I have two more comments. > +(defun org-yank-image-autogen-filename () > + "Autogenerate filename for image in clipboard." > + (format-time-string

Re: [FR] A more general case than footnotes

2023-10-08 Thread Ihor Radchenko
Maske writes: >>> >>> *[n:102@978-84-362-7195-9]* The hash character is important in orgmode. >> May you explain the purpose of @978-84-... part? >> You seem to assume that a footnote always has a single reference, >> which may or may not be the case in practice. > > If there would be more than