a note that on Windows Thunderbird should register itself as a
> handler of the mid: protocol.
>
> Thanks to Bruno Barbier for discussion on the emacs-orgmode
> mailing list.
> ---
> org-faq.org | 37 +
> 1 file changed, 29 insertions(+), 8
Hi Max,
Max Nikulin writes:
> I am trying to determine if it is difficult to get mid scheme working
> system-wide and emacs-wide on windows. If not, I would just add your
> example "[[mid:$msgid$][$author_name$: $subject$ ($date_iso$)]]" to the
> remark related to copying Message-ID in the
Max Nikulin writes:
> On 02/02/2023 13:04, Bruno Barbier wrote:
>> As it's still not clear to me how to configure browse-url, I'm still relying
>> on start-process.
>
> Bruno, it seems I completely confused you by my comments. I am sorry for
> that.
I was con
not clear to me how to configure browse-url, I'm still relying
on start-process.
See a new version of the patch.
Bruno
>From 89cef9d7acd85828ddfbb1375fac1e805bd03cea Mon Sep 17 00:00:00 2001
From: Bruno BARBIER
Date: Tue, 31 Jan 2023 20:33:22 +0100
Subject: [PATCH] org-faq: links with thunde
Max Nikulin writes:
> On 01/02/2023 02:56, Bruno Barbier wrote:
> Is it intentional that you and the linked page avoid cb_thunderlink page
> on the official add-on site?
> https://addons.thunderbird.net/en-us/thunderbird/addon/cb_thunderlink/
No. But visiting the author site bei
the other information about Thunderbird. And, I'm
not sure about how to properly format names, etc. for the wiki.
See the attached patch.
What do you think ?
Bruno
>From 4beb7ee307544be868a0d058763aa61558f0701b Mon Sep 17 00:00:00 2001
From: Bruno BARBIER
Date: Tue, 31 Jan 2023 20:33:22 +0
Max Nikulin writes:
> Notice that you can use mid:$msgid$ instead of email:$msgid$.
>
> thunderbird 'mid:tqr8et$mrc$1...@ciao.gmane.io'
Yes. I realized that from previous emails in this thread. I should be
using 'mid' from now on. Thanks.
> The main point
> of orco is opposite mapping.
Josep Jesus Bigorra Algaba writes:
> 1- Creating a line in an org document that contains more than 2 images
> causes Emacs to entirely crash (tested on Emacs 28 all the way to 30),
> e.g. [[./dist/example1.png]] [[./dist/example2.png]]
> [[./dist/example3.png]]
>
> I am pretty convinced that
Bruno Barbier writes:
> Max Nikulin writes:
>> If Message-ID still can be decoded from cb_thinderlink URIs than it
>> should be possible adapt orco to handle such links as well.
I'm using plain Message-IDs to identify my emails, and, when choosing an
email client, that's r
Jean Louis writes:
> And not to hard code it in Org.
>
> To circumvent hard coding in Org, one can always use elisp: type of links:
>
> (defun my-handler (mid)
> (message mid))
>
> [[elisp:(my-handler "I am ok here")][my handler]]
Org also allows the user to define his own link types:
(info
Max Nikulin writes:
> Thunderbird allows to save messages as an .eml file and to open it by
> thunderbird /tmp/test.eml
I'm using an extension for Thunderbird that allows to copy a direct link to a
message. I then paste it into a org file so that I can reopen the
message in one click:
Julien Palard writes:
> Hi,
>
> I was playing with the idea of calling subprocesses from TBLFM (good idea or
> not)...
>
> ...and found that:
>
> | |
> #+TBLFM: $1='(shell-command-to-string "echo 42")
>
> Tries to build an infinitly long table (I have to interrupt it with C-g).
...
Ihor Radchenko writes:
> The problem is that Bash can send incoming text like
>
> "prompt> " "prompt> " "prompt> output\n".
>
> "prompt> prompt> prompt> output\n".
Yes. And I've seen these "outputs" with ob-haskell too ...
>
> So, we cannot reliably distinguish your case from other possibly
Hi,
The function `org-babel-comint-with-output' (o-b-c-w-o) may not detect
prompts correctly.
The function o-b-c-w-o checks if the incoming arbitrary chunk of text
contains whole prompts, and replace them.
But the incoming text may contain an incomplete prompt at the
end. When this happens,
Ihor Radchenko writes:
> Then, it sounds like local.mk does not enable java tests.
>
> I fixed such scenario on main.
> Now, java tests will be skipped when ob-java testing is not requested.
That works for me now, with or without java in local.mk.
Thanks for the patch and the explanation!
Ihor Radchenko writes:
> Rudolf Adamkovič writes:
>
>> Overall, I now see the following failures on the main branch:
>>
>>FAILED ob-java/lint-header-args-block
>>FAILED ob-java/lint-header-args-buffer
>>FAILED ob-java/lint-header-args-heading
>
> AFAIK, Max is using Linux.
Ihor Radchenko writes:
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=620a96dd682191f49cbe83dee516bb566b9d0127
Thanks Ihor.
Ihor Radchenko writes:
> Bruno Barbier writes:
>
>> Here is a small patch for a corner case in `org-babel-insert-result'.
>
> Thanks, but could you please explain a bit more about this corner case?
> `end' must be always defined because
> (setq end (copy-m
:00 2001
From: Bruno BARBIER
Date: Tue, 8 Nov 2022 19:19:32 +0100
Subject: [PATCH] lisp/ob-haskell.el: Fix org-babel-script-escape expects a
string
* lisp/ob-haskell.el (org-babel-interpret-haskell): Don't call
`org-babel-script-escape' when the result is nil.
---
lisp/ob-haskell.el | 2 +-
1 f
Hi,
Here is a small patch for a corner case in `org-babel-insert-result'.
Bruno
>From 288e2631ef60eeaee32f1107754aeb521247d54b Mon Sep 17 00:00:00 2001
From: Bruno BARBIER
Date: Sun, 6 Nov 2022 13:57:40 +0100
Subject: [PATCH] org-babel-insert-result: Fix wrong-type-argument markerp nil
l
Ihor Radchenko writes:
> Applied onto main.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0de063a52181bd96ac9bf023454781f07c3353b3
Thanks Ihor.
Sorry, I'm still working on adding a 'test-ob-haskell.el', when I have
some spare time, but I'm unable so far to find tests that I
Ihor Radchenko writes:
> Thanks for reporting!
> Fixed on main.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=946abeb49a73d7d04233a53fbb7fd422c7e294b6
It now works.
Thanks Ihor!
Bruno
Hi,
The function `org-string-width' fails if the selected window is strongly
dedicated.
Here is a way to reproduce this error:
#+begin_src elisp
(let ((old-dedicated (window-dedicated-p)))
(unwind-protect
(progn
(set-window-dedicated-p nil t)
Hi Renato,
You'll have more chance to get help if you reply to the list, using the
same thread.
Renato Pontefice writes:
> When I start emacs, now I receive this messages:
>
> Warning (initialization): An error occurred while loading
>
Renato Pontefice writes:
>
> So, now I’m sure about what what file are executed. But unsure what could be
> the prob!
..
> What does they means?
Like Ihor told you in your other thread, you have a mistake in your
init.el.
Maybe somebody could help you if you show us your init.el.
The problem
Hi,
Dominik Schrempf writes:
> ...
> However, the result output is still scrambled (e.g., empty
> lines, unnecessary "ghci>" prompts in results)
>
For me, ghci is selected by default.
Here is the config I've used to test it:
| emacs-version |28.1 |
| org-version
rpreter'.
> May also test against empty parameters and space-only parameters.
I added more tests.
I also added a new independent patch, to fix a bug when interpreting a special
block that has no content, and some tests.
Let me know if I did miss something,
And thank you for the review!
Bruno
orld!
Another example that works too, with or without the patch:
#+begin_src haskell
concat ["Hello", ", ", "World", "!"]
#+end_src
#+RESULTS:
: Hello, World!
I've attached the patch that I've used to fix ob-haskell.
Should I submit a patch for ob-ha
ocks, storing the PARAMETERS line as a string. See attached
patch.
Could this be added to org ?
Bruno
>From a57412351a21cecf0a83264139cc99bcc77f1093 Mon Sep 17 00:00:00 2001
From: Bruno BARBIER
Date: Mon, 17 Oct 2022 20:19:02 +0200
Subject: [PATCH] lisp/org-element: Add a parameters-line prop
Ihor Radchenko writes:
> LGTM now. Thanks!
> Applied onto main with minor amendments in formatting.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8151d52574f525fd922aadc43544688004cb7d14
Thanks Ihor!
Bastien Guerry writes:
> I confirm Bruno is on the list of FSF-signed contributors,
> I updated the Worg page. Bruno, thanks in advance for your
> contributions!
Thanks Bastien.
I should be able to compile one, if you think
it's needed.
Thank you for spotting this and pointing me to `with-connection-local-profiles'.
Thank you again, Ihor, for the review and the testing.
Let me know if you see further improvements,
Bruno
>From 9ed2f6d9e2c8bd7dd219e98ff7983fa53fd06
ve added (require 'tramp) in the body; should I move it to the top
of the file ?
Thanks again for the review,
Bruno
>From d9abfb423bff620dee15d204f4bab48e2ec8dc4e Mon Sep 17 00:00:00 2001
From: Bruno BARBIER
Date: Sat, 18 Jun 2022 09:48:01 +0200
Subject: [PATCH] ob-shell: Use 'process-file'
Noel Errenil writes:
> Hello, org community
>
> I ran into the titled issue and haven't found any solution or explanation:
>
> First, I start Emacs and there are just a few buffers such as *scratch* and
> *Messages*.
>
> Then, I fire `org-capture', captur a note and `C-c C-c' to save the
Uwe Brauer writes:
>
> I am confused what is 02 supposed to mean?
That's a leading 0 digit, that can be ignored.
(string-to-number "02") => 2
Alphabetical sorting will see the "0" though and sorts differently.
Bruno
Uwe Brauer writes:
>
> I am confused:
>
> https://en.wikipedia.org/wiki/Natural_number
>
> States that Some definitions, including the standard ISO
> 8-2,[3][a] begin the natural numbers with 0, so I thought this is
> standard emacs/org uses.
I don't know, sorry.
> This seems not to be the
Uwe Brauer writes:
> Consider
>
> | 2 |
> | 1 |
> | 1 |
> | 0 |
> | |
> | |
>
> (org-table-sort-lines nil nil nil nil t) (numerically 'n' gives)
...
>
> So no empty lines, what the hell is going on here?
The reason is probably that the function 'string-to-number' return 0 for
anything
Naresh Gurbuxani writes:
> In my windows computer, R is installed at c:/Program Files/Microsoft/R
> Open/R-3.5.1/bin
>
> Notice two spaces: “Program Files” and “R Open”
>
> How can I set the variable org-babel-R-command?
>
> I tried
> (setq org-babel-R-command “c:/Progra~1/Microsoft/R
previous/next item in the current list, but only if
‘org-support-shift-select’ is off(6). If not, you can still use
paragraph jumping commands like ‘C-’ and ‘C-’ to quite
similar effect.
Bruno
>
>
> El 25/06/2022 a las 9:47, Bruno Barbier escribió:
>> Hi Ypo,
Hi Ypo,
Ypo writes:
> Hi, Bruno
>
> Yes, I tried your assertion for bug-hunter, but it didn't work.
>
> (unless (eq 'universal-argument (keymap-lookup global-map "C-u"))
> (error "C-u has been redefined"))
>
I'm not sure in what way it didn't work and I didn't try bug-hunter yet.
Ypo writes:
> C-h k C-u C-SPC returns:
>
> C-u C-SPC is undefined
In my emacs (28 and 29), with or without "-Q":
C-h k C-u
=>
(universal-argument)
My emacs doesn't let me query:
C-h k C-u C-SPC
What about your question about debugging in the other thread ? Did you
try what I
Ypo writes:
> I am trying to debug my init file: C-u prefix is not working.
>
> I am using the elisp-bug-hunter package that has saved me many times in
> the past. But it doesn't work fine this time though, so it seems I need
> an “assertion elisp” to debug my init file.
>
> What elisp
:
>
> After 0 kbd macro iterations: command-execute: Keyboard macro terminated
> by a command ringing the bell
>
> Best regards
>
> El 19/06/2022 a las 18:49, Bruno Barbier escribió:
>> Ypo writes:
>>
>>> Is it possible to use ARG when defining keybindings
Ypo writes:
> Is it possible to use ARG when defining keybindings?
>
> For the command (scroll-up-command ARG) I want to define this
> keybind:
>
>
> (define-key global-map (kbd "M-n") 'scroll-up-command 1)
>
>
> But:
>
> eval-region: Wrong number of arguments: define-key, 4
I don't think
gned the copyright papers.
Bruno
>From 9e8c114b738ddc633b50ca48e828676b92be784f Mon Sep 17 00:00:00 2001
From: Bruno BARBIER
Date: Sat, 18 Jun 2022 09:48:01 +0200
Subject: [PATCH] ob-shell: Use 'process-file' when stdin or cmdline
lib/ob-shell.el (org-babel-sh-evaluate): Use 'process-file' (instead
of 'call-process-s
Hi,
Daniel Fleischer writes:
> Hi, I want to add custom keywords to be highlighted. I used
> (font-lock-add-keywords nil '(("books" . org-level-4)) t)
>
> but nothing happens after I restart orgmode or call 'font-lock-update'.
The following works for me, in an org mode buffer:
,
|
Hi Mark,
Posting your message as text might increase your chance to get an
answer here.
"Mark E. Shoulson" writes:
[...]
> I don't know of any way that org-mode has to distinguish such things
> (apart from "name the headlines uniquely, moron," which to be sure is
> one way to do it),
[...]
Hi Shérab,
Shérab writes:
> Dear Bruno and Nick,
>
> Many thanks to both of you for having taken the time to respond to my
> question.
>
> Actually, my initial problem was in a larger document. There the links
> didn't work but I now think it was because I did something wrong. When
> writing
Hi Shérab,
Shérab writes:
> Dear all,
>
> Assume the following document:
>
> ===
>
> #+title: test1
>
> * Introduction
>
> Monads will be explained in chapter [[#monads]]
>
> * Monads
> :PROPERTIES:
> :CUSTOM_ID: monads
> :END:
>
> Welcome to the monads chapter.
>
> ===
>
> When I
Hi Gennady,
Gennady Uraltsev writes:
> Hyperlinking to a file in an org-mode file using tramp does not work as
> expected. Consider this file:
>
> **
>
> This link works
> [[/sudo:root@localhost:/etc/hosts]]
> this link doesn't
> [[/sudo::/etc/hosts]]
>
> *
>
Hi Lawrence,
Lawrence Bottorff writes:
> I've been trying to get Haskell to work in babel code blocks for a long
> time. A year or so ago I tried and eventually gave up. I tried again
> recently . . . same old problems, i.e., the code block is evaluated
> exclusively by the ghci REPL, which
Vlad Shcherbina writes:
> Steps to reproduce:
> 1. runemacs.exe -Q
> 2. In the scratch buffer, M-x org-mode
> 3. M-: (setq org-catch-invisible-edits 'show-and-error)
> (could be also reproduced with 'smart)
> 4. Replace the content of the scratch buffer with the following:
> * hello
> **
Hi Lawrence,
Lawrence Bottorff writes:
> Not sure what you mean. This is the problem, i.e., just this code
>
> #+begin_src emacs-lisp
> (> 1 2)
> #+end_src
>
> in an org file produces a parens mismatch, which, BTW, check-parens also
> flags. Anywhere else (e.g., *scratch*) in Emacs this
101 - 153 of 153 matches
Mail list logo