org-insert-item, indent causes a soft freeze or error message

2020-07-06 Thread Duianto -
Hello Depending on the indentation amount on the line following a list item, when (org-insert-item) is evaluated. Causes Emacs to soft freeze (can be canceled by pressing: C-g) or an error message is shown: (args-out-of-range 0 1) Reproduction Steps: Copy the following lines: 1. a b 2. c (

[BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread stardiviner
After recently (about weeks) update in Org Mode "master" branch. I found [M-q] org-fill-paragraph command not apply on the last paragraph of region select large part of text. I don't have this problem before. And I confirmed this problem with minimal Emacs config with latest "master" branch of o

Spurious comma after C-c '

2020-07-06 Thread Colin Baxter
1. Use `emacs -q' and open a new org file. 2. Enter #+begin_example #+end_example 3. Place cursor in the empty line of the example block and hit C-c ' 4. Enter #+STARTUP in the edit buffer and hit C-c ' to exit 5. A spurious comma appears at the beginning of #+STARTUP 6. The co

Re: org-insert-item, indent causes a soft freeze or error message

2020-07-06 Thread Nicolas Goaziou
Hello, Duianto - writes: > Reproduction Steps: > > Copy the following lines: > 1. a >b > 2. c > [...] > Move the cursor to the end of the first line, after the: a [...] > Evaluate the following command: S-M-; (org-insert-item) RET [...] > A Backtrace buffer opens with the message: > >

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread Nicolas Goaziou
Hello, stardiviner writes: > After recently (about weeks) update in Org Mode "master" branch. I found [M-q] > org-fill-paragraph command not apply on the last paragraph of region select > large part of text. I don't have this problem before. This is very vague. Do you have an ECM demonstrating

Re: [SOLVED] Q: placement of initialization for org-time-stamp-formats

2020-07-06 Thread hj-orgmode-1
On 7/3/20 3:51 PM, Robert Pluim wrote: On Fri, 3 Jul 2020 15:18:40 +0200, hj-orgmod...@hj.proberto.com said: hj-orgmode-1>  Hello again. hj-orgmode-1>  After a lot of searching and trying, I finally figured one thing that hj-orgmode-1> seems to work: ( I am no lisp programmer,

Re: Spurious comma after C-c '

2020-07-06 Thread Nicolas Goaziou
Hello, Colin Baxter writes: > 1. Use `emacs -q' and open a new org file. 2. Enter > > #+begin_example > > #+end_example > > 3. Place cursor in the empty line of the example block and hit C-c ' > 4. Enter #+STARTUP in the edit buffer and hit C-c ' to exit > 5. A spurious comma a

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> After recently (about weeks) update in Org Mode "master" branch. I found >> [M-q] >> org-fill-paragraph command not apply on the last paragraph of region select >> large part of text. I don't have this problem before. > > This is ve

Re: org-insert-item, indent causes a soft freeze or error message

2020-07-06 Thread Duianto -
I applied the fix manually and there are no more freezes or error messages. Thank you. On Mon, Jul 6, 2020 at 12:08 PM Nicolas Goaziou wrote: > > Hello, > > Duianto - writes: > > > Reproduction Steps: > > > > Copy the following lines: > > 1. a > >b > > 2. c > > > > [...] > > > Move the curs

Re: Spurious comma after C-c '

2020-07-06 Thread Colin Baxter
> Nicolas Goaziou writes: > Hello, Colin Baxter writes: >> 1. Use `emacs -q' and open a new org file. 2. Enter >> >> #+begin_example >> >> #+end_example >> >> 3. Place cursor in the empty line of the example block and hit >> C-c ' 4. Enter #+STARTUP in

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread tomas
On Mon, Jul 06, 2020 at 07:40:48PM +0800, stardiviner wrote: > > Nicolas Goaziou writes: > > > Hello, > > > > stardiviner writes: > > > >> After recently (about weeks) update in Org Mode "master" branch. I found > >> [M-q] > >> org-fill-paragraph command not apply on the last paragraph of regi

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread stardiviner
to...@tuxteam.de writes: > On Mon, Jul 06, 2020 at 07:40:48PM +0800, stardiviner wrote: >> >> Nicolas Goaziou writes: >> >> > Hello, >> > >> > stardiviner writes: >> > >> >> After recently (about weeks) update in Org Mode "master" branch. I found >> >> [M-q] >> >> org-fill-paragraph command

Re: Bug: org-babel python with :results value sends function definition with a statement after a for loop to the shell incorrectly [9.3.6 (9.3.6-elpa @ /home/username/.emacs.d/elpa/org-9.3.6/)]

2020-07-06 Thread ian martins
Hello Philip, I tested again and still can't reproduce the issue. ob-python doesn't change the indentation between individual lines of a code block, so this is strange. Do you have the same issue if you aren't using a session? Are you using tabs or spaces? (I tested with spaces) On Sun, Jul 5, 2

Re: Spurious comma after C-c '

2020-07-06 Thread Nicolas Goaziou
Colin Baxter writes: > Well, yes. But should it really be in an "example" source block? Are you asking if this comma character is needed? This particular comma is due to Org being over-cautious, and may be ignored. But you should simply ignore it. > If this is then exported and the author hasn

Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region

2020-07-06 Thread Gustavo Barros
Hi Nicolas, Hi All, On Sun, 05 Jul 2020 at 17:49, Gustavo Barros wrote: A fourth issue is point placement after the emphasis is added. `org-emphasis' takes a stance here and places point within the emphasis. I do agree with this option, but it is still true that sometimes, one might want or

Re: Spurious comma after C-c '

2020-07-06 Thread Colin Baxter
> Nicolas Goaziou writes: > When exported, Org mode removes automatically the > escape-comma. The author has nothing to do in this situation. I now understand. I assumed the comma would export and did not check - mea culpa. Colin Baxter URL: http://www.Colin-Baxter.com

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread tomas
On Mon, Jul 06, 2020 at 07:58:20PM +0800, stardiviner wrote: > > to...@tuxteam.de writes: [...] > > FWIW, it does for me. [...] > I'm sure I select everything. Are you using the latest commit in "master" > branch? If not, can you test with that? Hm. It's Org 9.3, which came with a fairly rece

Re: Bug: org-babel python with :results value sends function definition with a statement after a for loop to the shell incorrectly [9.3.6 (9.3.6-elpa @ /home/username/.emacs.d/elpa/org-9.3.6/)]

2020-07-06 Thread Philip Blagoveschensky
Hi Ian, >Do you have the same issue if you aren't using a session? If I run the following code block (this time I am using python 3, so there are parens in the print line) #+begin_src python def foobar(): for i in range(5): pass print("hello world") return 3 return foobar

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread Richard Kim
I see the problem as well using very latest org source code, i.e., this change * 2020-07-06 12:05:18 +0200 07a4a7286 Nicolas Goaziou list: Fix regression when inserting items I created two long lines separated by a blank line. Each long line was created by typing "0 1 2 3 4 5 6 7 8 9 " then

Re: Spreadsheet calc complex number display format

2020-07-06 Thread Rob Duncan
Russell Adams writes: > On Sun, Jul 05, 2020 at 04:00:47PM -0700, Rob Duncan wrote: >> Is there a way to specify the display format used for complex number >> calculations in the table spreadsheet? In particular I'd like to be >> able control whether a value is displayed in rectangular or polar

Re: [PATCH] Add support for trace and error output streams in Common Lisp

2020-07-06 Thread akater
Bastien writes: > Hi, > > akater writes: > >> This patch can't be merged right away: I need to sort out the exact >> SLIME version where the feature will be introduced. Some doc update is >> needed, too. > > did you finally managed to finalize this patch? > > If so, can you send it to the list a

Re: (almost a patch) Receiving more output from a Common Lisp evaluation in Org buffer

2020-07-06 Thread akater
stardiviner writes: > I have some considering. Multi-block return might will cause other options > hard > to handle the result block. For example ~:cache~, ~:results replace~, and use > result > as source block input data. WDYT? Probably. I'm not a user of either :cache or :results replace bu

Re: Spreadsheet calc complex number display format

2020-07-06 Thread Rob Duncan
Rob Duncan writes: > Is there a way to specify the display format used for complex number > calculations in the table spreadsheet? In particular I'd like to be > able control whether a value is displayed in rectangular or polar form. I ended up explicitly using the `polar(Z)' and `rect(Z)' func

[PATCH] org: add property names from #+PROPERTY keywords to completion list

2020-07-06 Thread Nick Dokos
Here's a patch to enhance the property name completion list with names from #+PROPERTY keyword lines: at the moment, only property names found in property drawers are used to populate the completion list. Keith Pinson posted the question on Emacs SE: https://emacs.stackexchange.com/questions/

Re: [PATCH] org: add property names from #+PROPERTY keywords to completion list

2020-07-06 Thread Nick Dokos
Adding a simple test to the previous patch: --8<---cut here---start->8--- >From cae6b5596f69968003c053f53cb45ffb4139a5ad Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Mon, 6 Jul 2020 21:07:01 -0400 Subject: [PATCH] org: add property names from #+PROPERTY keyw

Re: Spreadsheet calc complex number display format

2020-07-06 Thread Russell Adams
On Mon, Jul 06, 2020 at 05:59:18PM -0700, Rob Duncan wrote: > Rob Duncan writes: > > > Is there a way to specify the display format used for complex number > > calculations in the table spreadsheet? In particular I'd like to be > > able control whether a value is displayed in rectangular or polar

Re: [PATCH] org: add property names from #+PROPERTY keywords to completion list

2020-07-06 Thread Kyle Meyer
Nick Dokos writes: > Here's a patch to enhance the property name completion list with names from > #+PROPERTY keyword lines: at the moment, only property names found in property > drawers are used to populate the completion list. Thanks for the patch. > org: add property names from #+PROPERTY ke