Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread Frederic Santos
- Mail original -
> De: "Ihor Radchenko" 
> À: "William Denton" 
> Cc: "Frederic Santos" , "emacs-orgmode" 
> 
> Envoyé: Jeudi 1 Décembre 2022 02:48:22
> Objet: Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 
> [9.6 ( @
> /home/fsantos/.emacs.d/elpa/org-9.6/)]

> It looks like there is something wrong with comint-prompt-regexp in R
> buffers. It somehow does not match the prompt.

I'm not sure it's the explanation either, since external (i.e., non-session) 
evaluation works as expected. (Just remove the ":session *R*" part of the 
header, and you'll see everything is okay.) Thus, I guess this implies that R 
prompts are correctly recognized (?).
Also, an important difference between external and session eval is that session 
eval uses ESS, and external eval does not. So it *might* be an ESS-related 
issue, but since everything works fine with Org 9.5.5 and the latest ESS 
version, I wouldn't bet on that.



[PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2022-11-30 Thread Bastien
Some users reported an (invalid-function org-assert-version) error
when installing Org from ELPA:

https://lists.sr.ht/~bzg/emacsfr/%3Cd091463e1615422eb00070727d6a094ec0ae3c73.camel%40adocentyn.io%3E
https://www.reddit.com/r/emacs/comments/z7qulo/comment/iyd9vam/?context=3

This patch autoloads `org-assert-version'.

It also removes the ;; generated-autoload-file: "org-loaddefs.el"
footer in all files and let Make create org-autoloads.el instead.

Before the patch, installing from ELPA creates both org-loaddefs.el
and org-autoloads.el, which is confusing.

Unless anyone objects, I'll install this patch in the bugfix branch
tomorrow and release 9.6.1.

-- 
 Bastien
>From dab5768422ba1c3cf66cad5d2708d390be87e3d0 Mon Sep 17 00:00:00 2001
From: Bastien 
Date: Thu, 1 Dec 2022 08:16:13 +0100
Subject: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

`org-assert-version' macro needs to be autoloaded for Org to be
correctly initialized.

Also, don't create a specific org-loaddefs.el file along the expected
org-autoloads.el.
---
 Makefile |  2 +-
 doc/org-manual.org   |  3 +--
 lisp/Makefile|  4 ++--
 lisp/ob-core.el  |  4 
 lisp/ob-lob.el   |  4 
 lisp/ob-tangle.el|  4 
 lisp/ob.el   |  4 
 lisp/ol-bbdb.el  |  4 
 lisp/ol-irc.el   |  4 
 lisp/ol.el   |  4 
 lisp/org-archive.el  |  4 
 lisp/org-attach.el   |  4 
 lisp/org-clock.el|  1 -
 lisp/org-colview.el  |  5 -
 lisp/org-compat.el   |  5 +
 lisp/org-datetree.el |  4 
 lisp/org-duration.el |  4 
 lisp/org-element.el  |  4 
 lisp/org-feed.el |  4 
 lisp/org-footnote.el |  5 -
 lisp/org-goto.el |  4 
 lisp/org-id.el   |  4 
 lisp/org-indent.el   |  4 
 lisp/org-keys.el |  4 
 lisp/org-lint.el |  4 
 lisp/org-list.el |  4 
 lisp/org-macs.el |  5 +
 lisp/org-mobile.el   |  4 
 lisp/org-num.el  |  4 
 lisp/org-plot.el |  4 
 lisp/org-refile.el   |  4 
 lisp/org-table.el|  4 
 lisp/org-timer.el|  4 
 lisp/org.el  | 10 +-
 lisp/ox-ascii.el |  2 --
 lisp/ox-beamer.el|  4 
 lisp/ox-html.el  |  5 -
 lisp/ox-icalendar.el |  5 -
 lisp/ox-latex.el |  5 -
 lisp/ox-md.el|  4 
 lisp/ox-odt.el   |  4 
 lisp/ox-org.el   |  5 -
 lisp/ox-publish.el   |  4 
 lisp/ox-texinfo.el   |  4 
 lisp/ox.el   |  6 --
 mk/default.mk|  6 +++---
 mk/org-fixup.el  | 16 
 47 files changed, 22 insertions(+), 188 deletions(-)

diff --git a/Makefile b/Makefile
index f476a3ea7..601f691eb 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ help helpall::
 	$(info make all- ditto)
 	$(info make compile- build Org ELisp files)
 	$(info make single - build Org ELisp files, single Emacs per source)
-	$(info make autoloads  - create org-loaddefs.el to load Org in-place)
+	$(info make autoloads  - create org-autoloads.el to load Org in-place)
 	$(info make test   - build Org ELisp files and run test suite)
 	$(info make vanilla- run Emacs with this Org-mode and no personal config)
 helpall::
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 67b8b4dee..4041c7253 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -3,7 +3,6 @@
 #+author:The Org Mode Developers
 #+language:  en
 
-
 #+texinfo: @insertcopying
 
 * Introduction
@@ -128,7 +127,7 @@ $ make autoloads
 
 Note that in this case, =make autoloads= is mandatory: it defines
 Org's version in =org-version.el= and Org's autoloads in
-=org-loaddefs.el=.
+=org-autoloads.el=.
 
 Make sure you set the load path correctly in your Emacs init file:
 
diff --git a/lisp/Makefile b/lisp/Makefile
index f2a14b5d5..0bf4e3ddb 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -15,7 +15,7 @@ ifneq ($(ORG_ADD_CONTRIB),)
 endif
 
 LISPV 	:= org-version.el
-LISPI 	:= org-loaddefs.el
+LISPI 	:= org-autoloads.el
 LISPA 	:= $(LISPV) $(LISPI)
 LISPB 	:= $(LISPA:%el=%elc) org-install.elc
 LISPF 	:= $(filter-out $(LISPA),$(sort $(wildcard *.el) $(_ORG_ADD_EL_)))
@@ -72,7 +72,7 @@ $(LISPV):	$(LISPF)
 	@$(MAKE_ORG_VERSION)
 
 $(LISPI):	$(LISPV) $(LISPF)
-	@echo "org-loaddefs: $(ORGVERSION) ($(GITVERSION))"
+	@echo "org-autoloads: $(ORGVERSION) ($(GITVERSION))"
 	@$(RM) $(@)
 	@$(MAKE_ORG_INSTALL)
 
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 5b78ee946..7bc3fbf59 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -3467,8 +3467,4 @@ Callers of this function will probably want to add an entry to
 
 (provide 'ob-core)
 
-;; Local variables:
-;; generated-autoload-file: "org-loaddefs.el"
-;; End:
-
 ;;; ob-core.el ends here
diff --git a/lisp/ob-lob.el b/lisp/ob-lob.el
index fb2799755..ecbbe4fe3 100644
--- a/lisp/ob-lob.el
+++ b/lisp/ob-lob.el
@@ -167,8 +167,4 @@ see."
 
 (provide 'ob-lob)
 
-;; Local variables:
-;; generated-autoload-file: 

Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread Ihor Radchenko
William Denton  writes:

> I tried that, but it didn't fix it. :(

Ok. I was able to reproduce on my side.

> With a minimal setup, running the R block with a :session makes it ask where 
> the 
> working directory should be (the default in the prompt is the directory the 
> test 
> Org file is in).  Setting ess-startup-directory to 'default-directory doesn't 
> change that, or the output problem.

It looks like there is something wrong with comint-prompt-regexp in R
buffers. It somehow does not match the prompt.

I will need to look further.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-11-30 Thread Pedro Andres Aranda Gutierrez
Max Nikulin  writes:
>On 27/11/2022 07:06, Ihor Radchenko wrote:
>>
>> (defcustom org-clock-clocktable-language-setup
>>'(("en" "File" "L"  "Timestamp"  "Headline" "Time"  "ALL"
 "Total time"   "File time" "Clock summary at")
>>  ("es" "Archivo"  "N"  "Fecha y hora" "Tarea" "Tiempo" "TODO"
"Tiempo total" "Tiempo archivo" "Clock summary at")
>>  ("fr" "Fichier"  "N"  "Horodatage" "En-tête"  "Durée" "TOUT"
"Durée totale" "Durée fichier" "Horodatage sommaire à")
>>  ("nl" "Bestand"  "N"  "Tijdstip"   "Hoofding" "Duur"  "ALLES"
"Totale duur"  "Bestandstijd" "Clock summary at")
>>  ("de" "Datei""E"  "Zeitstempel" "Kopfzeile" "Dauer" "GESAMT"
"Gesamtdauer"  "Dateizeit" "Erstellt am"))
>>"Terms used in clocktable, translated to different languages."
>>...)

I'd rather go for

 ("es" "Archivo"  "N"  "Fecha y hora" "Tarea" "Duración" "TODO" "Duración
total" "Tiempo archivo" "Generado el")

To be in line with the ("de" ...) line

My .02c,
/PA
-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet


Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread William Denton

On 1 December 2022, Ihor Radchenko wrote:


With Org 9.6 released yesterday, I noticed a bug with ob-R: all R code
blocks with ":results output :session *R*" in the header will return no
output at all (although the code is correctly processed in the inferior
ESS buffer).


May it be a duplicate of
https://orgmode.org/list/87bkoxj50h.fsf@localhost?

I did not test this report itself, but if my guess is correct, setting
`ess-startup-directory' to 'default-directory might be a temporary
workaround until we find the fix to this breaking change in ESS.


I tried that, but it didn't fix it. :(

With a minimal setup, running the R block with a :session makes it ask where the 
working directory should be (the default in the prompt is the directory the test 
Org file is in).  Setting ess-startup-directory to 'default-directory doesn't 
change that, or the output problem.


Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada



Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread Ihor Radchenko
Frédéric Santos  writes:

> Hi everyone,
>
> With Org 9.6 released yesterday, I noticed a bug with ob-R: all R code
> blocks with ":results output :session *R*" in the header will return no
> output at all (although the code is correctly processed in the inferior
> ESS buffer).

May it be a duplicate of
https://orgmode.org/list/87bkoxj50h.fsf@localhost?

I did not test this report itself, but if my guess is correct, setting
`ess-startup-directory' to 'default-directory might be a temporary
workaround until we find the fix to this breaking change in ESS.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-3-ga4d38e @ share/emacs/29.0.60/lisp/org/)]

2022-11-30 Thread Ihor Radchenko
Lin Sun  writes:

> The emacs builtin org-mode will stuck after try to expand the table with Tab 
> on a  table column.
> After investigate, I found the function org-table-clean-line will run into 
> dead loop for a simply call:
>
> (org-table-clean-line "|a|b|")
>
> Please help to fix this function. Thanks.

I cannot reproduce.
Can you please provide detailed steps starting from emacs -Q?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Problems getting org-macs.el macros to be loaded

2022-11-30 Thread Bram Adams

Hi,

I updated to a newer 29 release branch commit, and now things work, must 
have been a glitch.


Kind regards,

Bram Adams



On 30-11-22 2:07 p.m., Bram Adams wrote:

Hi,

I just built the latest Emacs 29 version from the upstream release 
branch, which comes with org 9.6-3-ga4d38e (no other org version 
installed).


Overall, it seems like org-macs.el is not loaded properly, since I get 
issues with invalid function errors for "org-assert-version" and 
"org-current-text-indentation", even though those are actually macros. 
The "org-assert-version" issue caused org to misbehave entirely, until 
I added an empty function definition for "org-assert-version" (native 
compilation still chokes on this). I could not find a workaround for 
the "org-current-text-indentation" case, which is used when narrowing 
code blocks.


Adding "(require 'org-macs)" early in my init file did not resolve 
anything.


FWIW, here's how I've been loading org mode since Emacs 26:
==
(use-package org
  :commands (org-heading-components org-read-date)
  :diminish org-indent-mode
  :mode (("\\.org$" . org-mode))
  :init
  (add-hook 'org-load-hook
    #'+org-init-babel-lazy-loader-h)
  :config
  [...]
  )
==

Any ideas what could go wrong?

Kind regards,

Bram Adams








Re: Supress title on html export

2022-11-30 Thread Rudolf Adamkovič
Galaxy Being  writes:

> Yes, leaving it blank suppresses it, but then my browser needs a page
> title for searching. I'm trying to have and not display a title.

Using CSS, for example:

#+html_head_extra:  .title { display: none; } 

Rudy
-- 
"Genius is 1% inspiration and 99% perspiration."
-- Thomas Alva Edison, 1932

Rudolf Adamkovič  [he/him]
Studenohorská 25
84103 Bratislava
Slovakia



[PATCH] Make broken link markers customizable

2022-11-30 Thread Rudolf Adamkovič
Hello there!

Org provides no good way to ignore broken links when exporting subtrees
with lots of links.  With `org-export-with-broken-links' set to `nil',
the exporter aborts.  When set to `t', the exporter removes the linked
words altogether, breaking the sentences.  Lastly, when set to `mark',
the sentences become unreadable due to the million [BROKEN LINK: ...]
fragments everywhere.

What do you folks think about the WIP patch below?  It allows the user
to customize the broken link marker the Org exporter will use.  A user
like me, one who works in a large Org file and often exports only its
parts, can use a more gentle marker or even no marker at all.

>From 545b71606609a76be78ddff8d5fe36259a3d8353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= 
Date: Thu, 1 Dec 2022 00:59:39 +0100
Subject: [PATCH] org-export: Make broken link markers customizable [WIP]

---
 lisp/ox.el | 23 ---
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index 5c0a8f242..5f653698c 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -856,13 +856,9 @@ is nil.  You can also allow them through local buffer variables."
 
 When this variable is non-nil, broken links are ignored, without
 stopping the export process.  If it is set to `mark', broken
-links are marked as such in the output, with a string like
+links are marked with `org-export-broken-link-marker'.
 
-  [BROKEN LINK: path]
-
-where PATH is the un-resolvable reference.
-
-This option can also be set with the OPTIONS keyword, e.g.,
+This variable can also be set with the OPTIONS keyword, e.g.,
 \"broken-links:mark\"."
   :group 'org-export-general
   :version "26.1"
@@ -872,6 +868,18 @@ This option can also be set with the OPTIONS keyword, e.g.,
 	  (const :tag "Mark broken links in output" mark)
 	  (const :tag "Raise an error" nil)))
 
+(defcustom org-export-broken-link-marker "[BROKEN LINK: %s]"
+  "The string used to mark broken links.
+
+This variable applies only when `org-export-with-broken-links' is
+set to `mark'.  If the value contains the %-sequence `%s', the
+exporter will replace it with the broken reference which it
+cannot resolve."
+  :group 'org-export-general
+  :package-version '(Org . "9.7")
+  :type 'string
+  :safe #'stringp)
+
 (defcustom org-export-snippet-translation-alist nil
   "Alist between export snippets back-ends and exporter back-ends.
 
@@ -1893,7 +1901,8 @@ Return a string."
 		(pcase (plist-get info :with-broken-links)
 		  (`nil (user-error "Unable to resolve link: %S" (nth 1 err)))
 		  (`mark (org-export-data
-			  (format "[BROKEN LINK: %s]" (nth 1 err)) info))
+			  (format org-export-broken-link-marker (nth 1 err))
+  info))
 		  (_ nil))
 	(let* ((type (org-element-type data))
 	   (parent (org-export-get-parent data))
-- 
2.38.1

--
"Be especially critical of any statement following the word
'obviously.'"
-- Anna Pell Wheeler, 1883-1966

Rudolf Adamkovič  [he/him]
Studenohorská 25
84103 Bratislava
Slovakia


RE: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread Cook, Malcolm


>Bug confirmed by other ESS users on the mailing list:
>https://stat.ethz.ch/pipermail/ess-help/2022-November/013162.html

FWIW: confirmed here too with

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 
1.15.12, Xaw3d scroll bars) of 2022-01-19
Org mode version 9.6-pre (release_9.5.5-1136-gf78dfe @ 
/home/mec/.emacs.d/org-mode/lisp/)
ess-version: 18.10.3snapshot [elpa: 20221124.756] (loaded from 
/home/mec/.emacs.d/elpa/ess-20221124.756/)

~ malcolm_c...@stowers.org




Re: Problems getting org-macs.el macros to be loaded

2022-11-30 Thread Kyle Meyer
Bram Adams writes:

> Hi,
>
> I just built the latest Emacs 29 version from the upstream release 
> branch, which comes with org 9.6-3-ga4d38e (no other org version installed).
>
> Overall, it seems like org-macs.el is not loaded properly, since I get 
> issues with invalid function errors for "org-assert-version" and 
> "org-current-text-indentation", even though those are actually macros. 
> The "org-assert-version" issue caused org to misbehave entirely, [...]

Thanks for reporting.  I haven't been able to trigger any issues loading
and using Org from the emacs-29 branch.  (This is with ./src/emacs -Q
after a clean build on Debian stable configured with native
compilation.)

It sounds like you're confident that are no other Org versions on your
load-path, but, just in case, did you check list-load-path-shadows for
anything suspicious?



[BUG] dead loop on (org-table-clean-line "|a|b|") [9.6 (release_9.6-3-ga4d38e @ share/emacs/29.0.60/lisp/org/)]

2022-11-30 Thread Lin Sun
Hi,

The emacs builtin org-mode will stuck after try to expand the table with Tab on 
a  table column.
After investigate, I found the function org-table-clean-line will run into dead 
loop for a simply call:

(org-table-clean-line "|a|b|")

Please help to fix this function. Thanks.

Best,
Lin


Re: Org and Multimedia..?

2022-11-30 Thread David Masterson
Marcin Borkowski  writes:

> On 2022-11-30, at 20:35, David Masterson  wrote:
>
>> Is it possible to attach (say) an image to a task?
>>
>> I'd like to use images to help explain tasks better (or just remind me
>> what my intention was).  I imagine you could do something with file
>> links, but is there a defined method?  Issues:
>>
>> 1. Directory structure containing Org / Media files
>> 2. Syncing images with Org files to other systems
>> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
>> 4. Any add-on packages that would help
>
> More like a PoC and/or potential source of inspiration than something
> genuinely useful, but let me plug this:
> https://mbork.pl/2018-08-18_Embedding_files_in_Org-mode_revisited

Hmm. The problem mentioned previously, though, is that the Org files
could become exceedingly huge as you import photos for your tasks.
Although it solves the sync issue (just sync as you did previously), the
sync times could become quite big.

-- 
David Masterson



Re: Org and Multimedia..?

2022-11-30 Thread David Masterson
Mark Barton  writes:

>> On Nov 30, 2022, at 11:35 AM, David Masterson  wrote:
>> 
>> Is it possible to attach (say) an image to a task?
>> 
>> I'd like to use images to help explain tasks better (or just remind me
>> what my intention was).  I imagine you could do something with file
>> links, but is there a defined method?  Issues:
>> 
>> 1. Directory structure containing Org / Media files
>> 2. Syncing images with Org files to other systems
>> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
>> 4. Any add-on packages that would help
>> 
>> -- 
>> David Masterson
>> 
>
> I use a link in my tasks in Org mode that will open a DEVONthink
> object. Which could be an image, pdf, email, or DEVONthink group
> related to my task. In my case DEVONthink runs on my Mac and ios
> devices, so that link works from Emacs org mode on the Mac as well as
> from BeOrg on ios.

Hmm.  I'll have to think about that, but DEVONthink is rather expensive.

> You might be able to do something similar with other software you have
> running your devices that allows a single link to work on all the
> devices.

I'll try to find simpler software that I can hook to Org / BeOrg.

> Mark

Thanks

-- 
David Masterson



Re: Org and Multimedia..?

2022-11-30 Thread Marcin Borkowski


On 2022-11-30, at 20:35, David Masterson  wrote:

> Is it possible to attach (say) an image to a task?
>
> I'd like to use images to help explain tasks better (or just remind me
> what my intention was).  I imagine you could do something with file
> links, but is there a defined method?  Issues:
>
> 1. Directory structure containing Org / Media files
> 2. Syncing images with Org files to other systems
> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
> 4. Any add-on packages that would help

More like a PoC and/or potential source of inspiration than something
genuinely useful, but let me plug this:
https://mbork.pl/2018-08-18_Embedding_files_in_Org-mode_revisited

Best,

-- 
Marcin Borkowski
http://mbork.pl



Re: Org and Multimedia..?

2022-11-30 Thread Mark Barton



> On Nov 30, 2022, at 11:35 AM, David Masterson  wrote:
> 
> Is it possible to attach (say) an image to a task?
> 
> I'd like to use images to help explain tasks better (or just remind me
> what my intention was).  I imagine you could do something with file
> links, but is there a defined method?  Issues:
> 
> 1. Directory structure containing Org / Media files
> 2. Syncing images with Org files to other systems
> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
> 4. Any add-on packages that would help
> 
> -- 
> David Masterson
> 

I use a link in my tasks in Org mode that will open a DEVONthink object. Which 
could be an image, pdf, email, or DEVONthink group related to my task. In my 
case DEVONthink runs on my Mac and ios devices, so that link works from Emacs 
org mode on the Mac as well as from BeOrg on ios.

DEVONthink is not free though. I used to use Omnifocus and it supported media 
in the tasks, but that quickly presented a new problem with syncing such large 
volumes of data. I also found that I needed that media as reference after the 
task was done, so I would have to store it else where too. That is when I took 
the advice and separated the tasks from the reference material from a storage 
perspective and integrated them with links instead. When I migrated to Emacs 
and Org mode, I used the same strategy of links.

Below is an example of such a link where I reference the email I sent to 
Shannon that is associated with the task.

 DONE Shared a copy of the Directory Inventory spreadsheet with Shannon.
CLOSED: [2022-11-30 Wed 11:53]
[[x-devonthink-item://%3C8403DA9F-CDFB-4A6F-9CC5-C33D88290E42%40disney.com%3E][directory
 inventory.eml]]

You might be able to do something similar with other software you have running 
your devices that allows a single link to work on all the devices.

Mark




Re: [BUG] Clipboard text pasted in two windows with a cloned buffer [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)]

2022-11-30 Thread Nick Dokos
Alexandros Prekates  writes:

> On Mon, 28 Nov 2022 10:28:41 +
> Alexandros Prekates  wrote:
>
> I come across another case :
>
>
> WINDOW A --  WINDOW B -
> * FOO1   * FOO1
> ** goo2  ** goo2
> ** zoo2  ** zoo2
> bla
> [[   <--- starting a link
> bla
>
>
> WINDOW A --  WINDOW B -
> * FOO1   * FOO1
> ** goo2  ** goo2
> ** zoo2  ** zoo2...http://foo 
> bla
> [[http://foo  <--- pasting a url
> bla
>

I can confirm the behavior on GNU Emacs 29.0.50 (build 1,
x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of
2022-02-02

Although it is confusing and unfortunate, it is "just" a display
error: if you switch to B and press TAB, the URL is in the right
place, and pressing TAB again folds the heading correctly, producing
what you expect.

I suspect that it's not just an Org problem: it is probably caused
when you paste into the middle of text that is invisible in the cloned
buffer. I have not tried it out however.

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler




Org and Multimedia..?

2022-11-30 Thread David Masterson
Is it possible to attach (say) an image to a task?

I'd like to use images to help explain tasks better (or just remind me
what my intention was).  I imagine you could do something with file
links, but is there a defined method?  Issues:

1. Directory structure containing Org / Media files
2. Syncing images with Org files to other systems
3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
4. Any add-on packages that would help

-- 
David Masterson



Supress title on html export

2022-11-30 Thread Galaxy Being
I found this
,
but apparently it no longer applies. Any ideas how to not display a title
-- besides leaving #+TITLE: blank? Yes, leaving it blank suppresses it, but
then my browser needs a page title for searching. I'm trying to have and
not display a title.

-- 
⨽
Lawrence Bottorff
Grand Marais, MN, USA
borg...@gmail.com


Problems getting org-macs.el macros to be loaded

2022-11-30 Thread Bram Adams

Hi,

I just built the latest Emacs 29 version from the upstream release 
branch, which comes with org 9.6-3-ga4d38e (no other org version installed).


Overall, it seems like org-macs.el is not loaded properly, since I get 
issues with invalid function errors for "org-assert-version" and 
"org-current-text-indentation", even though those are actually macros. 
The "org-assert-version" issue caused org to misbehave entirely, until I 
added an empty function definition for "org-assert-version" (native 
compilation still chokes on this). I could not find a workaround for the 
"org-current-text-indentation" case, which is used when narrowing code 
blocks.


Adding "(require 'org-macs)" early in my init file did not resolve anything.

FWIW, here's how I've been loading org mode since Emacs 26:
==
(use-package org
  :commands (org-heading-components org-read-date)
  :diminish org-indent-mode
  :mode (("\\.org$" . org-mode))
  :init
  (add-hook 'org-load-hook
    #'+org-init-babel-lazy-loader-h)
  :config
  [...]
  )
==

Any ideas what could go wrong?

Kind regards,

Bram Adams






Re: Release 9.6

2022-11-30 Thread Thomas S. Dye



Max Nikulin  writes:


On 29/11/2022 13:58, Bastien wrote:

Last but not least: thanks to Ihor his
truly amazing work and for being the de facto maintainer.


I think, Ihor's role in this release is crucial. He spent a lot 
of time fixing
bugs and reviewing patches, not to mention the org-fold 
framework to overcome
performance limitation of overlays (the latter has been recently 
addressed in

Emacs though).


+1

--
Thomas S. Dye
https://tsdye.online/tsdye



Re: Release 9.6

2022-11-30 Thread Max Nikulin

On 29/11/2022 13:58, Bastien wrote:


Last but not least: thanks to Ihor his
truly amazing work and for being the de facto maintainer.


I think, Ihor's role in this release is crucial. He spent a lot of time 
fixing bugs and reviewing patches, not to mention the org-fold framework 
to overcome performance limitation of overlays (the latter has been 
recently addressed in Emacs though).






Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-11-30 Thread Max Nikulin

On 27/11/2022 07:06, Ihor Radchenko wrote:


(defcustom org-clock-clocktable-language-setup
   '(("en" "File" "L"  "Timestamp"  "Headline" "Time"  "ALL"   "Total time"   "File 
time" "Clock summary at")
 ("es" "Archivo"  "N"  "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo 
archivo" "Clock summary at")
 ("fr" "Fichier"  "N"  "Horodatage" "En-tête"  "Durée" "TOUT"  "Durée totale" "Durée 
fichier" "Horodatage sommaire à")
 ("nl" "Bestand"  "N"  "Tijdstip"   "Hoofding" "Duur"  "ALLES" "Totale duur"  
"Bestandstijd" "Clock summary at")
 ("de" "Datei""E"  "Zeitstempel" "Kopfzeile" "Dauer" "GESAMT" "Gesamtdauer"  
"Dateizeit" "Erstellt am"))
   "Terms used in clocktable, translated to different languages."
   ...)


For some reason I believed that gettext was available in Emacs. Actually 
only a rudimentary variant of `ngettext' (for plurals) was added in 
2019. I was going to ask why .po files are not used in Org for 
translations. Perhaps I confused it with old versions of TeXmacs that 
sometimes tried to translate each component of file paths.






[BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread Frédéric Santos
Hi everyone,

With Org 9.6 released yesterday, I noticed a bug with ob-R: all R code
blocks with ":results output :session *R*" in the header will return no
output at all (although the code is correctly processed in the inferior
ESS buffer).

Steps to follow to reproduce the issue:

1. Create a minimal init.el file with this content (adapting paths if needed):

(add-to-list 'load-path "~/.emacs.d/elpa/org-9.6/")
(require 'org)
(add-to-list 'load-path "~/.emacs.d/elpa/ess-20221124.756/")
(require 'ess-site)
(org-babel-do-load-languages
 'org-babel-load-languages
 '((org . t)
   (R . t)))

2. Open emacs -Q -l init.el

3. Create an Org document with this content:

#+begin_src R :results output :session *R*
x <- 2:4
print(x)
#+end_src

4. Try to evaluate the R code block: you'll only get an empty output.

Note that external eval (i.e., without the :session arg) still works as
expected, and that other results types (e.g., :results value) still work
as well.

Bug confirmed by other ESS users on the mailing list:
https://stat.ethz.ch/pipermail/ess-help/2022-November/013162.html

Version info:

Emacs  : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, 
cairo version 1.17.6) of 2022-09-12
Org: Org mode version 9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)
ESS: ess-version: 18.10.3snapshot [elpa: 20221124.756]