Bug: org-shiftright etc. do not respect org-support-shift-select [9.3.6 (9.3.6-elpa @ /home/vladimir/.emacs.d/elpa/org-9.3.6/)]

2020-04-05 Thread Vladimir Panteleev
Hello, I have org-support-shift-select set to 'always. As such, when editing tables, I expect that Shift + arrow keys to enable Emacs shift selection. Instead, it moves table cells around. This behavior did not exist in Org 9.1.9. The documentation of org-support-shift-select should also be

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Vladimir Panteleev
On 2018-03-26 21:42, Nicolas Goaziou wrote: I'm talking about call_foo() syntax. I see no fundamental difference between (org-sbe-v2 "func" ...) and call_func(...). Sorry, how do you invoke call_func from lisp, or a table formula? -- Best regards, Vladimir

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Vladimir Panteleev
On 2018-03-26 20:16, Nicolas Goaziou wrote: Hello, Vladimir Panteleev <thecybersha...@gmail.com> writes: What about org-sbe is specific to tables? I'm thinking that the generic replacement could be used elsewhere, e.g.: (with-current-buffer some-org-mode-buffer (org-sbe-v2 "fu

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-25 Thread Vladimir Panteleev
Hi, On 2018-03-25 21:06, Nicolas Goaziou wrote: I agree "org-sbe" should be rewritten. However, it is specific to tables because it is meant to be used in a TBLFM line. Its replacement could live in "org-table.el", though. What about org-sbe is specific to tables? I'm thinking that the

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-25 Thread Vladimir Panteleev
On 2018-03-25 20:26, Nicolas Goaziou wrote: I think this has been applied to the maint branch, but I cannot find a mention of it in the ORG-NEWS file. Maybe it should be mentioned there as it is a breaking change. For instance,(I had to modify table formulas like Sorry, I did not intend this

[O] [PATCH v2 1/3] ob-table: Fix org-sbe's handling of quotes in cell values

2018-03-18 Thread Vladimir Panteleev
* ob-table.el (org-sbe): org-sbe did the wrong thing when given a reference to a cell containing quotes or backslashes, because it would simply wrap any $-prefixed value in quotes, without any escaping. Fix this by using "%S" (instead of "\"%s\""). * test-ob-table.el: Add test. ---

[O] [PATCH v2 2/3] ob-table: Fix org-sbe's handling of list arguments

2018-03-18 Thread Vladimir Panteleev
* ob-table.el (org-sbe): Add an explicit case for handling list arguments. This avoids doing the wrong thing (%s-formatting a list, thus losing syntax like double-quotes). This enables passing org-table ranges through org-sbe in a simple and correct manner. * test-ob-table.el: Add test. ---

[O] [PATCH v2 0/3] org-sbe fixes

2018-03-18 Thread Vladimir Panteleev
OK, here is v2 with table-based tests. Vladimir Panteleev (3): ob-table: Fix org-sbe's handling of quotes in cell values ob-table: Fix org-sbe's handling of list arguments ob-table: Mention passing ranges as lists in org-sbe's documentation lisp/ob-table.el | 21

[O] [PATCH v2 3/3] ob-table: Mention passing ranges as lists in org-sbe's documentation

2018-03-18 Thread Vladimir Panteleev
* ob-table.el (org-sbe): Add documentation note. --- lisp/ob-table.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ob-table.el b/lisp/ob-table.el index 17810dd74..d11df9abc 100644 --- a/lisp/ob-table.el +++ b/lisp/ob-table.el @@ -89,6 +89,8 @@ NOTE: By default, string variable names

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-18 Thread Vladimir Panteleev
Hi, On 2018-03-18 22:24, Nicolas Goaziou wrote: We're clearly mis-communicating. I know the difference between a symbol and a string, and how `read' operates. I think what puzzles me is some design choices made in `org-sbe', and the fact that the second note of its docstring is clear as mud.

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-14 Thread Vladimir Panteleev
On 2018-03-14 15:00, Nicolas Goaziou wrote: Vladimir Panteleev <thecybersha...@gmail.com> writes: I wrote about this in the cover letter too. $"foo" and $ "foo" are both the same thing. Just to make it clear: I read the cover letter. My confusion doesn't come from th

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-14 Thread Vladimir Panteleev
Hi, On 2018-03-14 13:49, Nicolas Goaziou wrote: Vladimir Panteleev <thecybersha...@gmail.com> writes: I agree that it is strange. I mentioned it (and its strangeness) in the cover-letter. The documentation of org-sbe describes it as well. AFAICT, it doesn't. "org-sbe" de

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-13 Thread Vladimir Panteleev
Hi, On 2018-03-12 23:15, Nicolas Goaziou wrote: The dollar character looks strange. What syntax is that? I agree that it is strange. I mentioned it (and its strangeness) in the cover-letter. The documentation of org-sbe describes it as well. +#+name: identity +#+begin_src emacs-lisp :eval

[O] [PATCH 2/3] ob-table: Fix org-sbe's handling of list arguments

2018-03-08 Thread Vladimir Panteleev
* ob-table.el (org-sbe): Add an explicit case for handling list arguments. This avoids doing the wrong thing (%s-formatting a list, thus losing syntax like double-quotes). This enables passing org-table ranges through org-sbe in a simple and correct manner. * test-ob-table.el: Add test. ---

[O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-08 Thread Vladimir Panteleev
* ob-table.el (org-sbe): (org-sbe func (x $ "a\"b\"c")) did the wrong thing because org-sbe would simply wrap any $-prefixed value in quotes, without any escaping. Fix this by using "%S" (instead of "\"%s\""). * test-ob-table.el: Add test. --- lisp/ob-table.el | 2 +-

[O] [PATCH 3/3] ob-table: Mention passing ranges as lists in org-sbe's documentation

2018-03-08 Thread Vladimir Panteleev
* ob-table.el (org-sbe): Add documentation note. --- lisp/ob-table.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ob-table.el b/lisp/ob-table.el index 17810dd74..d11df9abc 100644 --- a/lisp/ob-table.el +++ b/lisp/ob-table.el @@ -89,6 +89,8 @@ NOTE: By default, string variable names

[O] [PATCH 0/3] org-sbe fixes

2018-03-08 Thread Vladimir Panteleev
ribution from last year, so hopefully that applies here as well. Vladimir Panteleev (3): ob-table: Fix org-sbe's handling of quotes in arguments ob-table: Fix org-sbe's handling of list arguments ob-table: Mention passing ranges as lists in org-sbe's documentation lisp/ob-table.el

[O] Migrating to org-mode - question on lists

2017-05-14 Thread Vladimir Panteleev
Hello! A lot of thanks to all org-mode developers for their work. I've started using Emacs and org-mode last year, and have been steadily trying to migrate all of my notes from plain text to org-mode. I have run into some difficulties with porting over my project notes and to-do lists. For