Re: S-RET not incrementing table cell with emacs -nw

2022-12-01 Thread tomas
On Thu, Dec 01, 2022 at 04:50:48PM +0100, Loris Bennett wrote: > Hi, > > If I run emacs or emacsclient with the option -nw or -t, the chord S-RET > in a table cell does not create a new cell below with the incremented > value. It just creates a new empty cell. When running Ema

S-RET not incrementing table cell with emacs -nw

2022-12-01 Thread Loris Bennett
Hi, If I run emacs or emacsclient with the option -nw or -t, the chord S-RET in a table cell does not create a new cell below with the incremented value. It just creates a new empty cell. When running Emacs with a GUI, the incrementation works. Is this a known problem? If so, is there a

Re: S-RET

2020-11-16 Thread John Kitchin
d make sense to bring scimax-execute-and-next-block > under the org-babel namespace as e.g. > org-babel-execute-src-block-and-next-block > in the upstream ob-core.el. Then S-RET will be available to other ob backends > (such as ob-ruby.el that I use often too.) I alot of these make sens

Re: S-RET

2020-11-16 Thread Juri Linkov
>> What I miss in Org Babel is an equivalent of 'S-RET' that in Jupyter >> creates a new code block relative to the current code block. > > 'C-c C-v C-d' (org-babel-demarcate-block) splits current code block into > two with the same settings. It might be w

Re: S-RET

2020-11-16 Thread Leo
Juri Linkov writes: > > What I miss in Org Babel is an equivalent of 'S-RET' that in Jupyter > creates a new code block relative to the current code block. 'C-c C-v C-d' (org-babel-demarcate-block) splits current code block into two with the same settings. It might b

Re: S-RET

2020-11-15 Thread Juri Linkov
ock under the org-babel namespace as e.g. org-babel-execute-src-block-and-next-block in the upstream ob-core.el. Then S-RET will be available to other ob backends (such as ob-ruby.el that I use often too.)

Re: S-RET

2020-11-14 Thread John Kitchin
aluate the code block there is 'C-c C-c' > (org-ctrl-c-ctrl-c). Thus the equivalent of 'C-RET' is 'C-c C-c'. > So far, so good. > > What I miss in Org Babel is an equivalent of 'S-RET' that in Jupyter > creates a new code block relative to the cur

S-RET

2020-11-14 Thread Juri Linkov
ET' is 'C-c C-c'. So far, so good. What I miss in Org Babel is an equivalent of 'S-RET' that in Jupyter creates a new code block relative to the current code block. Actually, in Org Babel such a command already exists and is bound to the needed key 'S-RET', but

Re: [O] M-S-RET doesn't work anymore?

2019-01-24 Thread Kévin Le Gouguec
you for catching this and again, sorry for the disruption. [1]: In fundamental-mode: C-h k ⇒ RET (translated from ) runs the command newline… [2]: In fundamental-mode: M-: (global-set-key (kbd "S-RET") (lambda () (interactive) (message "foo"))) C-h k S-

Re: [O] M-S-RET doesn't work anymore?

2019-01-24 Thread Bernt Hansen
Nicolas Goaziou writes: >> May be those keys should be bound to both RET and variants? > > This is what I just did in master. Thank you. Thanks!! It works great again :) I really like the pairing of C-RET, C-S-RET which creates a TODO and M-RET and M-S-RET which create

Re: [O] M-S-RET doesn't work anymore?

2019-01-24 Thread Nicolas Goaziou
Helo, Kaushal Modi writes: > May be those keys should be bound to both RET and variants? This is what I just did in master. Thank you. Regards, -- Nicolas Goaziou

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Kaushal Modi
On Wed, Jan 23, 2019, 7:45 PM Amin Bandali > Also notice the left over greater sign ‘>’ on the fourth line. > Yeah, that was fixed in a later commit. I was surprised to see that too, but confirmed that the latest master doesn't have that. >

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Amin Bandali
> #+begin_src diff > -(org-defkey org-mode-map (kbd "S-") #'org-table-copy-down) > -(org-defkey org-mode-map (kbd "M-S-") #'org-insert-todo-heading) > -(org-defkey org-mode-map (kbd "ESC S-") #'org-insert-todo-heading) > +(org-defke

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Kaushal Modi
On Wed, Jan 23, 2019 at 3:54 PM Marco Wahl wrote: > As a workaround you can evaluate the lines (that were active before the > commit) > > (org-defkey org-mode-map (kbd "S-") #'org-table-copy-down) > (org-defkey org-mode-map (kbd "M-S-") #'org-insert-todo-heading) > (org-defkey org-mode-map (kbd "

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Marco Wahl
Hi! > I regularly create checkbox lists on the fly with > > 1. [ ] blah and M-S-RET to create the second entry > > 2. [ ] I can confirm this. > But the checkbox is missing today. Has this functionality changed? > > I am running the latest master from git on windows

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Kaushal Modi
On Wed, Jan 23, 2019 at 3:13 PM Bernt Hansen wrote: > Hi, > > I regularly create checkbox lists on the fly with > > 1. [ ] blah and M-S-RET to create the second entry > > 2. [ ] > > But the checkbox is missing today. Has this functionality changed? > > I am r

[O] M-S-RET doesn't work anymore?

2019-01-23 Thread Bernt Hansen
Hi, I regularly create checkbox lists on the fly with 1. [ ] blah and M-S-RET to create the second entry 2. [ ] But the checkbox is missing today. Has this functionality changed? I am running the latest master from git on windows emacs 25.1 Thanks, Bernt

Re: [O] Binding org-insert-todo-heading to M-S-RET

2019-01-12 Thread Nicolas Goaziou
Hello, Kévin Le Gouguec writes: > Here is a very minor gripe I have with org-mode: is there a reason why > org-insert-todo-heading should be bound to (kbd "M-S-"), rather > than (kbd "M-S-RET")? > > AFAIU, using "" limits the key binding to the actua

[O] Binding org-insert-todo-heading to M-S-RET

2019-01-11 Thread Kévin Le Gouguec
Hello! Here is a very minor gripe I have with org-mode: is there a reason why org-insert-todo-heading should be bound to (kbd "M-S-"), rather than (kbd "M-S-RET")? AFAIU, using "" limits the key binding to the actual "⏎" function key, while using

Re: [O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-10 Thread Nicolas Goaziou
Hello, Matt Lundin writes: > Attached please find a more limited patch that fixes the issue in the > GUI without affecting TTY use. I have only changed bindings for the > M-S-RET or S-RET combinations. These combinations cannot be used in the > TTY anyway and Org Mode alr

Re: [O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-09 Thread Allen Li
> > > >> The attached patch fixes this issue. > > > > I'm pretty sure your patch would break those binding in terminal Emacs > > completely, since cannot be typed in the terminal and Emacs > > does not remap these bindings. > > Attached please fin

Re: [O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-09 Thread Matt Lundin
t be typed in the terminal and Emacs > does not remap these bindings. Attached please find a more limited patch that fixes the issue in the GUI without affecting TTY use. I have only changed bindings for the M-S-RET or S-RET combinations. These combinations cannot be used in the TTY anyway

Re: [O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-08 Thread Matt Lundin
t. The elpa version you are using still uses old way of defining these keys: (org-defkey org-mode-map [(meta shift return)] 'org-insert-todo-heading) The problematic commit (6965098a5357b09575a1119074545eb708cf5944) changed that line to the following (along with several related changes): (or

Re: [O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-07 Thread Allen Li
On Wed, Feb 7, 2018 at 1:47 PM Matt Lundin wrote: > Matt Lundin writes: > > I discovered that when trying to insert a new item with a checkbox using > > M-S Return (org-insert-todo-heading), the keybinding is "translated" to > > M-Return (org-meta-return). As a result, all I get is simple list

Re: [O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-07 Thread Matt Lundin
a/lisp/org.el b/lisp/org.el index 688e48bcc..133bf038a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -18859,11 +18859,11 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names." (define-key org-mode-map (kbd "") #'org-shifttab) RET key with modifiers -(org-defkey

[O] [Bug] M-S Ret keybinding translated to M-Ret

2018-02-06 Thread Matt Lundin
I discovered that when trying to insert a new item with a checkbox using M-S Return (org-insert-todo-heading), the keybinding is "translated" to M-Return (org-meta-return). As a result, all I get is simple list item without a checkbox. M-x describe-key [Ret] M-S Ret ...shows the

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-23 Thread Mikhail Titov
Another issue I've noticed is that if I save a buffer, that was previously associated with R session, under different name in different folder, then that association is not getting reset and/or overridden by session property of Org buffer. Namely, I had dot R file that I saved in different folder a

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-17 Thread Eric Schulte
>> >> The `org-src-in-org-buffer' macro may be used from an edit buffer to run >> elisp inside the code block, in the org-mode buffer of the edit buffer. >> e.g., the following >> >> ;; -*- emacs-lisp -*- >> (org-src-in-org-buffer (message "-->%S" (org-babel-get-src-block-info))) > > Where

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-16 Thread Mikhail Titov
somewhat bugs me is that if R process quits (or probably dies as well) when editing source code block in a separate buffer, the subsequent S-RET will silently execute a line in a wrong buffer/process. If there are no buffers with R process, it will create the default *R* named buffer. It migh

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-14 Thread Bastien
Hi Mikhail, Mikhail Titov writes: > I would say that after applying changes to my-ess-eval and to > org-babel-edit-prep:R as suggested by Andrew, it looks like everything > is working right for me. I'v been bold and I pushed the change Andrew suggested. Thanks for reporting this and for testin

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-14 Thread Mikhail Titov
ly attach an >> ess process to the current src buffer by using the command: >> >> C-c C-s (ess-switch-process) >> >> You'll have to specify the process name, rather than the buffer name, >> and the session must have already been started. I would say that aft

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-14 Thread Eric Schulte
Andrew Young writes: > Hello All, > Hi Andrew, > > Well, despite being relatively new to elisp, I've decided to take a > crack at one of your problems. I'm not too sure what is causing the > strange behaviour of the session property, but I have some thoughts on > getting that one function worki

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-11 Thread Andrew Young
Hello All, Well, despite being relatively new to elisp, I've decided to take a crack at one of your problems. I'm not too sure what is causing the strange behaviour of the session property, but I have some thoughts on getting that one function working. Bear with me :-) It seems that for me, the

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-10 Thread Eric Schulte
;((:results . "output") (:session . "*R*"))) >>> ` >>> >> >> Given that (:session . "*R*") will be used by default you could simply >> remove it from your custom setting for org-babel-default-header-args. > > This made a tr

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-10 Thread Mikhail Titov
Eric Schulte writes: >> There is a wonderful post[1] on how to make S-RET to do handy things in >> ESS mode. However I often find myself working on several Org documents >> from different folders. >> >> It is quite inconvenient to change a directory in =*R*=

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-10 Thread Eric Schulte
Mikhail Titov writes: > Hello! > > There is a wonderful post[1] on how to make S-RET to do handy things in > ESS mode. However I often find myself working on several Org documents > from different folders. > > It is quite inconvenient to change a directory in =*R*= buffer

Re: [O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-09 Thread Achim Gratz
Mikhail Titov writes: > I'm running Org-mode version 7.8.10 (release_7.8.10-658-g451191.dirty) No you don't... please do git fetch --tags origin Can't help with your question, sorry. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implemen

[O] [babel, ess] How can I make S-RET to be multi-session friendly?

2012-08-09 Thread Mikhail Titov
Hello! There is a wonderful post[1] on how to make S-RET to do handy things in ESS mode. However I often find myself working on several Org documents from different folders. It is quite inconvenient to change a directory in =*R*= buffer each time I work on different document. Is there a neat

Re: [Orgmode] Bug? M-S-RET on a line

2009-03-10 Thread Carsten Dominik
Fixed, thanks. - Carsten On Mar 9, 2009, at 10:06 PM, Wanrong Lin wrote: Hi, Suppose I have an org file with following lines: * Test1 Test2 Now if I put the cursor at the beginning of the "Test2" line and press "M-S-RET" (Alt-Shift-Return on my machine), I

[Orgmode] Bug? M-S-RET on a line

2009-03-09 Thread Wanrong Lin
Hi, Suppose I have an org file with following lines: * Test1 Test2 Now if I put the cursor at the beginning of the "Test2" line and press "M-S-RET" (Alt-Shift-Return on my machine), I got this: * Test1 * Test2TODO The "TODO" keyword was inserted at the end in

Re: [Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-11-03 Thread Sergey A.
Hello. I verified. The latest org-mode from git doesn't contain this bug. Thanks a lot! 2008/11/2 Carsten Dominik <[EMAIL PROTECTED]>: > I believe this is fixed now, please verify. > > - Carsten > > On Nov 1, 2008, at 2:22 AM, Sergey A. wrote: > >> Hello. >> >> I didn't think that the bug will be

Re: [Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-11-02 Thread Carsten Dominik
I believe this is fixed now, please verify. - Carsten On Nov 1, 2008, at 2:22 AM, Sergey A. wrote: Hello. I didn't think that the bug will be so difficult to reproduce. In my case, the bug always happens with the following file: *** foo * bar Below is the steps to reproduce that 100% w

[Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-10-31 Thread Sergey A.
Hello. I didn't think that the bug will be so difficult to reproduce. In my case, the bug always happens with the following file: *** foo * bar Below is the steps to reproduce that 100% works to me: 1) File is opened, headline is folded, cursor is on the second asterisk: *[*]* foo... 2)

[Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-10-28 Thread Peter Jones
Carsten Dominik <[EMAIL PROTECTED]> writes: > I cannot reproduce this problem. Can anyone else? It happens to me sometimes. I'll see if I can come up with a test case that will reproduce this on demand. Then I can look into fixing it. -- Peter Jones, http://pmade.com pmade inc. Louisville, C

[Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-10-27 Thread Bernt Hansen
I can't reproduce this either. -Bernt Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi, > > I cannot reproduce this problem. Can anyone else? > > - Carsten > > On Oct 27, 2008, at 6:50 PM, Sergey A. wrote: > >> Hello. >> >> Firstly, thanks for org-mode! This mode is awesome! >> >> I think I've

Re: [Orgmode] Strange behavior of C-RET and C-S-RET

2008-10-27 Thread Carsten Dominik
Hi, I cannot reproduce this problem. Can anyone else? - Carsten On Oct 27, 2008, at 6:50 PM, Sergey A. wrote: Hello. Firstly, thanks for org-mode! This mode is awesome! I think I've found a bug (but this bug is of little importance). For example, I have the following folded headline: *[*

[Orgmode] Strange behavior of C-RET and C-S-RET

2008-10-27 Thread Sergey A.
Hello. Firstly, thanks for org-mode! This mode is awesome! I think I've found a bug (but this bug is of little importance). For example, I have the following folded headline: *[*]* Read books... where [] indicates where cursor is. In this case the cursor is over the second asterisk (this note