Re: [ANN] The 2022 Emacs User Survey is now open!

2022-10-26 Thread Samuel Wales
done last time i only got the preliminary results but wow it looked like emacs was thriving. not that we did't already know that from all the blogs and sacha's list but still it was amazing. On 10/25/22, Christopher M. Miles wrote: > > Completed > > Timothy writes: > >> Hi All, >> >> I’m

Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-26 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I bellowing example: > > #+begin_src org > ,#+NAME: ob-clojure-table-test > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > > ,#+NAME: ob-clojure-table-test-2 > | a | b | c | > |---+---+---| > | 1 | 2 | 3 | > > ,#+begin_src clojure :var kk=ob-clojure-table-test

Re: Org Haskell code blocks

2022-10-26 Thread Dominik Schrempf
Dear Ihor, thank you, these are great news! Syntax highlighting is not working, for example, with the following snippet and code block: begin_snippet - An example of a function: #+begin_src haskell :exports code :results none f :: a -> b #+end_src end_snippet Note the indentation. The

Re: Org Haskell code blocks

2022-10-26 Thread Ihor Radchenko
Dominik Schrempf writes: > Syntax highlighting is not working, for example, with the following > snippet and code block: > > begin_snippet > > - An example of a function: > > #+begin_src haskell :exports code :results none > f :: a -> b > #+end_src > > end_snippet Works on my side (I

Re: [BUG] Fill-paragraph issue with hidden emphasis markers and composed characters

2022-10-26 Thread Ihor Radchenko
Lucas Viana writes: > Steps to reproduce: > 1. Start emacs -Q (no configuration) > 2. Set some variables: > > (setq org-pretty-entities t > org-hide-emphasis-markers t > fill-column 80) > > 3. Create an empty org-mode buffer with the following paragraph: > "" > This is a /italic

Re: ob-clojure eval error when has comment at end of code line

2022-10-26 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I have following Clojure source block: > > #+begin_src clojure > (re-find #"\d+" "I've just finished reading Fahrenheit 451");; => "451" > (re-find #"Bees" "Beads aren't cheap.");; => nil > #+end_src > > When I press =[C-c C-c]= to evaluate source block, got

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Max Nikulin
On 26/10/2022 13:22, Samuel Wales wrote: i have the daemon and the binary but notify-send "summary" "text" seems to do nothing obvious. called from shell mode. my emacs is maximized. so is firefox. Does notify-send complain (with some delay) concerning timeout during attempt to connect to

Re: [ANN] The 2022 Emacs User Survey is now open!

2022-10-26 Thread Christopher M. Miles
Completed Timothy writes: > Hi All, > > I’m thrilled to announce that the Emacs User Survey 2022 is now open to > responses. It is my hope that this may help emacs-devel, Emacs package > maintainers, and the wider Emacs community develop a better understanding of > how people experience Emacs

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Samuel Wales
i have the daemon and the binary but notify-send "summary" "text" seems to do nothing obvious. called from shell mode. my emacs is maximized. so is firefox. On 10/25/22, Max Nikulin wrote: > On 26/10/2022 12:05, Samuel Wales wrote: >> >>> You may hook notifications-notify to

Re: Where does CDATA come from?

2022-10-26 Thread Ihor Radchenko
Diego Rodriguez writes: > Hello, > > I am customizing my org-mode installation but there is something that I > don't understand. > > When I execute the following statement: > > ``` > (setq org-html-mathjax-template > > " >

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Ihor Radchenko
Stefan Kangas writes: > Ihor Radchenko writes: > >> The "problem" with shell links you are describing is a question of >> setting variables and is also disabled by default. >> >> eww-mode, when loading Org page, could simply set >> org-link-shell-confirm-function to its default value. > > Note

Re: org-datetree-insert-line and org-blank-before-new-entry

2022-10-26 Thread Ihor Radchenko
Richard Walker writes: > A follow-up to the changes made to org-datetree-insert-line > in September 2020. > > The definition now begins: > > (defun org-datetree-insert-line (year month day text) > (delete-region (save-excursion (skip-chars-backward " \t\n") (point)) > (point)) > (when

Re: when exporting to odt or html, latex equations are not exported when in soure block: BUG?

2022-10-26 Thread Ihor Radchenko
Uwe Brauer writes: > Hi > > I run a relative recent GNU Emacs and org master, however please > consider the following example: > > When exporting to html or odt (using dvipng in both cases) the first set > of equations in the source block are ignored. > > Can somebody please confirm this, and

desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Max Nikulin
On 26/10/2022 12:05, Samuel Wales wrote: You may hook notifications-notify to org-capture-after-finalize-hook to see notification when the capture is successful. sounds like it could be reassuring if it is not obtrusive. Try the following command to get impression notify-send

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Stefan Kangas
Ihor Radchenko writes: > The "problem" with shell links you are describing is a question of > setting variables and is also disabled by default. > > eww-mode, when loading Org page, could simply set > org-link-shell-confirm-function to its default value. Note that with the suggested feature,

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
Forgot this attached file, so you can see how easy it is to customize Iceweasel to open Org files, it works well. Org files are native to Emacs, I wish to open Org files by using EWW. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of

Re: [BUG] Emacs tries to recenter / rescroll when it hits hidden org emphasis [9.4.6 (9.4.6-798-g738759.dirty-elpaplus @ .emacs.d/elpa/develop/org-plus-contrib-20210929/)]

2022-10-26 Thread Ihor Radchenko
Chris Findeisen writes: > To reproduce this: > 1. Load the repro emacs settings. > 2. Scroll down in a buffer, such that top of buffer is not visible on > screen. > 3. Create an emphasized word at the beginning of the 2nd visual-line in a > visually-wrapped line. > 4. Move your point to the

Re: Org Haskell code blocks

2022-10-26 Thread Dominik Schrempf
Ihor Radchenko writes: > Dominik Schrempf writes: > >> Syntax highlighting is not working, for example, with the following >> snippet and code block: >> >> begin_snippet >> >> - An example of a function: >> >> #+begin_src haskell :exports code :results none >> f :: a -> b >> #+end_src >>

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Samuel Wales
i called notify-send from the cli in emacs shell mode running bash, with emacs maximized as most of my apps are. in fluxbox terminology at least, maximized means takes up the whole screen. fullscreen would mean occupies the top. no text result and no gui result from notify-send. can dunst go

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Dr. Arne Babenhauserheide [2022-10-26 01:02]: > All of the Emacs packages have some amount of implicit trust. Users are unaware what package may do, and packages are everywhere on Internet. That is not a problem that I wish to solve. > If you ask me whether I can make this work safely: This

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Stefan Kangas [2022-10-26 09:08]: > Ihor Radchenko writes: > > > The "problem" with shell links you are describing is a question of > > setting variables and is also disabled by default. > > > > eww-mode, when loading Org page, could simply set > > org-link-shell-confirm-function to its

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Ag Ibragimov [2022-10-26 01:13]: > Can't you just use one of hooks (e.g., eww-after-render-hook) where you > inspect the URL and if it's .org, just change the mode? > > This should be trivial to do, I think. I need to inspect content type. Not extension. My WWW file may be of HTML content

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Ihor Radchenko [2022-10-26 09:52]: > Strictly speaking, even eww-mode may run arbitrary code given that user > puts something into eww-mode-hook. eww-mode-hook is a variable defined in ‘eww.el’. Its value is (org-eww-extend-eww-keymap) Please help me recognize content type by using

Tikz ugly hack

2022-10-26 Thread edgar
Dear Org users, I just want to share a way to combine Tikz (LaTeX) with figures (svg, png...). This may be needed to add elements (e.g. annotations) to your figure. The figure may still be exported with other back-ends (without annotations). If you know of a better way of doing this, please,

Re: Org 9.6-pre and Bash sessions

2022-10-26 Thread Rudolf Adamkovič
Ihor, Thank you for investigating, explaining, and also fixing the problem! I pulled the latest 'main' and everything works a bit, it seems. Then, to avoid walking in circles, I decided to write some tests, for I think shell blocks should never, never, never break in such basic ways, let alone

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Max Nikulin
On 26/10/2022 15:07, Samuel Wales wrote: can dunst go away after a short period? I have never tried it. Unsure if it has enough configuration options. Does it mean that you get notification displayed? Have you tried? notify-send --expire-time 2000 ... i launch dbus manually as fluxbox

Re: Org babel and Guile/Scheme: noise from... Geiser?

2022-10-26 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Can someone with scheme installed try to reproduce on the latest main? With - GNU Emacs 29 (Git 55eabe96c9) - Org 9.6-pre (Git 2f5e7103e) - Geiser 20221016.2109 - Geiser Guile 20220922.52 given #+name: mklst/define #+begin_src scheme

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Dr. Arne Babenhauserheide
Ihor Radchenko writes: > If necessary, we can introduce a special variable in Org mode that will > disable all the potential third-party code evaluation, even if user has > customized Org to execute code without prompt. If that would be part of org-mode, this would be close to a safe-org-mode.

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Dr. Arne Babenhauserheide
Jean Louis writes: >> If you ask me whether I can make this work safely: This would first >> require the introduction of a safe-org-mode which strictly disables all >> features that can execute remote code or disguise unsafe operations as >> safe ones. If a user then decides to explicitly call

Re: Tikz ugly hack

2022-10-26 Thread Fraga, Eric
On Wednesday, 26 Oct 2022 at 08:52, edgar wrote: > I just want to share a way to combine Tikz (LaTeX) with figures (svg, > png...). I wonder if, instead of a new LaTeX command you create a new environment which you can then invoke using org special blocks? For instance, #+begin_BoundingBox

Re: Org 9.6-pre and Bash sessions

2022-10-26 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > I pulled the latest 'main' and everything works a bit, it seems. I meant to say "a bit better" not "a bit". :) Rudy -- "It is no paradox to say that in our most theoretical moods we may be nearest to our most practical applications." -- Alfred North Whitehead,

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Andreas Schwab
On Okt 26 2022, Jean Louis wrote: > * Andreas Schwab [2022-10-26 15:48]: >> On Okt 26 2022, Jean Louis wrote: >> >> > If there is way to extend EWW and Emacs in such way that I can tell >> > EWW what to do on certain content type, just as I do with other >> > browsers, that would solve the

[PATCH v2 2/2] doc/org-manual.org: Document org-clock-{in,out}-switch-to-state

2022-10-26 Thread Samuel W. Flint
* doc/org-manual.org (Clocking commands): Document operation of org-clock-{in,out}-switch-to-state. --- doc/org-manual.org | 25 + 1 file changed, 25 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index ad584d7a5..95acf9170 100644 ---

Re: [off-topic] E-readers and Org-Mode

2022-10-26 Thread L.C. Karssen
On 25-10-2022 15:55, Juan Manuel Macías wrote: Fraga, Eric writes: I wonder if these devices are capable of exporting normal annotations in plain text or xml? The annotations are not text: they are vector data corresponding to the movement of the stylus. You can extract that information (I

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Rudolf Adamkovič via "Bug reports for GNU Emacs, the Swiss army knife of text editors [2022-10-26 16:10]: > So, I evaluated > > (add-to-list 'mailcap-mime-data >(list "org" > (cons 'viewer 'org-mode) > (cons 'type "text/x-org"))) > > but it

Re: [PATCH] ox.el: Refactor variable org-html--id-attr-prefix, ox-html.el: Add support for the ID property to org-html--reference

2022-10-26 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: >> I have already signed the copyright assignment. (Though I used my >> other email rudiwillalwayslove...@gmail.com when signing it.) > > Bastien, could you kindly check the FSF records? Yes, I confirm the FSF record is here. -- Bastien

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Andreas Schwab
On Okt 26 2022, Jean Louis wrote: > If there is way to extend EWW and Emacs in such way that I can tell > EWW what to do on certain content type, just as I do with other > browsers, that would solve the problem. This is what browse-url-handlers is for. -- Andreas Schwab, SUSE Labs,

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Rudolf Adamkovič
Jean Louis writes: >> This should be trivial to do, I think. +1 and I say: consider contributing to EWW! I noticed that the EWW manual says PDFs are viewed inline, by default, with doc-view-mode, but this can be customized by using the mailcap (see mailcap in Emacs MIME Manual)

[PATCH v2 1/2] lisp/org-clock.el: Make switching states on clock-in/-out easier

2022-10-26 Thread Samuel W. Flint
* lisp/org-clock.el (org-clock-in-switch-to-state, org-clock-out-switch-to-state): Allow `org-clock-{in,out}-switch-to-state` to be an alist of current/next-state pairs. (org-clock-in, org-clock-out): Add logic to handle `org-clock-{in,out}-switch-to-state` as alists. --- lisp/org-clock.el | 60

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Dr. Arne Babenhauserheide [2022-10-26 14:58]: > I may have misunderstood what you want. > > Do you want eww to open text/x-org files in org-mode by default, or do > you search for a way how you can modify your local eww to open > text/x-org files with org-mode? > > My worries apply to the

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Stefan Kangas
Ihor Radchenko writes: >> Note that with the suggested feature, any link you follow risks being >> loaded in Org mode, before the user even has a chance to inspect the >> file. Which Org features, currently existing or introduced in the >> future, would EWW have to add workarounds for? > >

[PATCH][oc-csl] Improve reference parsing

2022-10-26 Thread András Simonyi
Dear All, the attached patch improves the parsing and exporting of cite prefixes, suffixes and locators -- the most noticeable change is probably the support for formatted locators and of underlining in general. Comments are welcome. best wishes, András From

[BUG] cant normally edit tables created with table-insert [9.5.2 (release_9.5.2-25-gaf6f12 @ c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/org/)]

2022-10-26 Thread ELECTRUM BIKES
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: [off-topic] E-readers and Org-Mode

2022-10-26 Thread Quiliro Ordóñez
El 2022-10-26 08:31, L.C. Karssen escribió: > https://support.remarkable.com/s/article/Software-release-3-0-beta No remarkable.com or support.remarkable.com web page is viewable without activating Javascript.

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Andreas Schwab [2022-10-26 15:48]: > On Okt 26 2022, Jean Louis wrote: > > > If there is way to extend EWW and Emacs in such way that I can tell > > EWW what to do on certain content type, just as I do with other > > browsers, that would solve the problem. > > This is what browse-url-handlers

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread indieterminacy
On 26-10-2022 10:24, Jean Louis wrote: * Ihor Radchenko [2022-10-26 09:52]: Strictly speaking, even eww-mode may run arbitrary code given that user puts something into eww-mode-hook. eww-mode-hook is a variable defined in ‘eww.el’. Its value is (org-eww-extend-eww-keymap) Please help me

[PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle noweb option

2022-10-26 Thread dziltener
From: Daniel Ziltener * ob-tangle.el, ob-core.el, test-ob-tangle.el, org-manual.org: Add a "strip-tangle" noweb option to strip the noweb tags when tangling, but keep and expand them otherwise. --- doc/org-manual.org | 6 ++ lisp/ob-core.el| 6 +++---

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Dr. Arne Babenhauserheide
Jean Louis writes: > Browser like EWW, being able to accept content types, should give to > user the option to decide if to open PDF file by integrated PDF viewer > or any external PDF viewer, or to download the file, or to open the > file by user's customized function, mode or program. I’m not

Re: Request for feedback: ox-linuxmag

2022-10-26 Thread Damien Cassou
Hi Ihor, Ihor Radchenko writes: > I think :filter-final-output in :filters-alist will be more suitable. > It is called at the very end and may set some let-bound value to be > used in the ox-linuxmag-export-to-odt. I'm not really sure what you mean with the last sentence. In my last commit, I

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Tim Cross
Stefan Kangas writes: > Ihor Radchenko writes: > >> The "problem" with shell links you are describing is a question of >> setting variables and is also disabled by default. >> >> eww-mode, when loading Org page, could simply set >> org-link-shell-confirm-function to its default value. > >

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread indieterminacy
On 26-10-2022 20:37, Jean Louis wrote: I do not have special opinion of "publishing Org files" for unknown people, if such people are not member of the group. That would require training them to know what is Org mode, and finally why? Emacs is poor general browser tool. Greatest benefit of Org

Re: Formatting in citation locator

2022-10-26 Thread András Simonyi
Dear All, On Tue, 25 Oct 2022 at 13:16, Ihor Radchenko wrote: > Maybe file a bug report to citeproc repo? I've ended up making the necessary changes in citeproc and also posted a patch here which should enable formatting in locators. Marvin, I'd appreciate it if you could test it. best wishes,

Re: [off-topic] E-readers and Org-Mode

2022-10-26 Thread Fraga, Eric
On Wednesday, 26 Oct 2022 at 16:31, L.C. Karssen wrote: > Another happy reMarkable user here. It looks like the upcoming v3.0 of > the software will allow entering text via the on-screen keyboard. Interesting. Thanks for the heads up on this. Some interesting updates. -- : Eric S Fraga, with

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Max Nikulin
On 26/10/2022 15:21, Jean Louis wrote: (defun browse-safe-url (url arg) "Browse URL with b" (let ((username "joedoe")) ;; different username than my own ;; Insecurity settings for personal DISPLAY only (shell-command "xhost +") ;; Browse URL with

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Andreas Schwab [2022-10-26 16:58]: > On Okt 26 2022, Jean Louis wrote: > > > * Andreas Schwab [2022-10-26 15:48]: > >> On Okt 26 2022, Jean Louis wrote: > >> > >> > If there is way to extend EWW and Emacs in such way that I can tell > >> > EWW what to do on certain content type, just as I do

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Max Nikulin [2022-10-26 20:10]: > If you were just requested mapping of Content-Type to some mode in > eww, perhaps it would pass. That is exactly what I need, thanks > You demanded Org mode configured by default. Hmm, that could be some misunderstanding. I have .mailcap file and I know I

Re: [BUG] cant normally edit tables created with table-insert [9.5.2 (release_9.5.2-25-gaf6f12 @ c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/org/)]

2022-10-26 Thread Ihor Radchenko
ELECTRUM BIKES writes: > Hi. Tables created in org-mode by inserting manually | works fine, but > if I use table-insert I can't manipulate table, I get "use C-c `" > notification in minibuffer when I click to move to next cell. "C-c '", not C-c `. > If I click C-c `, I get "not a table"

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Tim Cross
"Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:Undecided]] > > Ihor Radchenko writes: > >> If necessary, we can introduce a special variable in Org mode that will >> disable all the potential third-party code evaluation, even if user has >> customized Org to execute code without

Re: org-datetree-insert-line and org-blank-before-new-entry

2022-10-26 Thread Richard Walker
On Wed, 26 Oct 2022 at 18:28, Ihor Radchenko wrote: > Richard Walker writes: > ... > > Change (assq 'heading org-blank-before-new-entry) > > to (org--blank-before-heading-p) here? > > You are indeed right. > Fixed on main now. >

Re: Org Haskell code blocks

2022-10-26 Thread Ihor Radchenko
Dominik Schrempf writes: > This is interesting. For me, syntax highlighting works partially. For > example, keywords are highlighted, but function names are not. See below. I confirm the issue with your example. It is a known problem with indentation-sensitive languages. The problem is that

[BUG][Security] begin_src :var evaluated before the prompt to confirm execution

2022-10-26 Thread Max Nikulin
Hi, At first I am apologizing. I believed that a dedicated report raising this issue was posted to this mailing list by somebody. I can not find such message and in my notes the heading is linked to a quite general discussion related to source blocks. Consider the following source block

Re: Org 9.6-pre and Bash sessions

2022-10-26 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Thank you for investigating, explaining, and also fixing the problem! I > pulled the latest 'main' and everything works a bit, it seems. > > Then, to avoid walking in circles, I decided to write some tests, for I > think shell blocks should never, never, never break

[PATCH] org-manual: Suggest to wait for one month and followup when reporting bugs (was: org-datetree-insert-line and org-blank-before-new-entry)

2022-10-26 Thread Ihor Radchenko
Richard Walker writes: > Thank you so much. (I did wonder if anyone had seen my report.) Actually, your report did slip through the cracks. I just happened to go through some old mailing list threads without replies. I think we can expose our mailing list policy a bit more in the manual. We

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

2022-10-26 Thread Ihor Radchenko
András Simonyi writes: > the attached patch improves the parsing and exporting of cite > prefixes, suffixes and locators -- the most noticeable change is > probably the support for formatted locators and of underlining in > general. Comments are welcome. Thanks! > +(defconst

Re: [PATCH v2 1/2] lisp/org-clock.el: Make switching states on clock-in/-out easier

2022-10-26 Thread Max Nikulin
On 26/10/2022 21:53, Samuel W. Flint wrote: * lisp/org-clock.el (org-clock-in-switch-to-state, org-clock-out-switch-to-state): Allow `org-clock-{in,out}-switch-to-state` to be an alist of current/next-state pairs. Samuel, please, consider using --in-reply-to and perhaps --thread options of

Re: [BUG][Security] begin_src :var evaluated before the prompt to confirm execution

2022-10-26 Thread Jean Louis
* Max Nikulin [2022-10-27 06:21]: > Expected result: > No code from the Org buffer and linked files is executed prior to > confirmation from the user. Should that be or is it a general policy for Org mode? > Emacs-26.3, Org version is current main HEAD: > > 6bbd08f5a 2022-10-26 15:15:42 +0800

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread tomas
On Wed, Oct 26, 2022 at 11:16:15PM +0200, Dr. Arne Babenhauserheide wrote: [...] > > That is not business of web server, HTTP or browser. Those are > > delivery, retrieval and presentation tools > > Yet there is so such separation between eww and org-mode. I think this was a

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-26 Thread Jean Louis
* Jean Louis [2022-10-25 15:14]: > > This wish request is related to Emacs EWW and Org mode. > > Please make EWW recognize Org file when served by WWW server. Currently > it does not recognize the MIME type text/x-org and opens the file as > text, it does not invoke the org mode. In my opinion,

Re: [PATCH v2 1/2] lisp/org-clock.el: Make switching states on clock-in/-out easier

2022-10-26 Thread Ihor Radchenko
"Samuel W. Flint" writes: > * lisp/org-clock.el (org-clock-in-switch-to-state, > org-clock-out-switch-to-state): Allow > `org-clock-{in,out}-switch-to-state` to be an alist of > current/next-state pairs. > > (org-clock-in, org-clock-out): Add logic to handle >

Re: [BUG][Security] begin_src :var evaluated before the prompt to confirm execution

2022-10-26 Thread Max Nikulin
On 27/10/2022 11:22, Jean Louis wrote: * Max Nikulin [2022-10-27 06:21]: Expected result: No code from the Org buffer and linked files is executed prior to confirmation from the user. Should that be or is it a general policy for Org mode? I am afraid, it is unrealistic. Spreadsheet feature