Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
Hi Vladimir, Vladimir Nikishkin writes: > I used org 8 until recently, and it used to be that I could type "<" > at the beginning of a line, and it would be still a single "<" (thus > allowing the expansion of structured templates with TAB) This is still the case for me in latest Org mode version 9.3.4. Can you try again with Emacs -q and Org 9.3.4? Thanks, -- Bastien
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
On Tuesday, 29 Oct 2019 at 16:17, Nick Dokos wrote: > Not quite: there is still an emulation of the old mechanism if you > > (require 'org-tempo) Ah, thanks for clarifying. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
"Fraga, Eric" writes: > On Tuesday, 29 Oct 2019 at 16:50, Vladimir Nikishkin wrote: >> I think, these are two different mechanisms. C-c C-, works as expected. >> The "<" mechanism comes from org-tempo, and is faster, because you >> don't have to choose anything. > > I don't know anything about org-tempo but, just to be clear, the old < > at beginning of line mechanism that was available, by default, in org > 8.x is no longer available. It was replaced by C-c C-,. Not quite: there is still an emulation of the old mechanism if you (require 'org-tempo) which Vladimir probably does. That modifies the following hook: , | org-tab-before-tab-emulation-hook is a variable defined in ‘org.el’. | Its value is (org-tempo-complete-tag) ` The hook is run close to the end of org-cycle (which is bound to TAB). So when you type
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
On Tuesday, 29 Oct 2019 at 22:57, Vladimir Nikishkin wrote: > Please, consider visitiong M-x info-display-manual RET org RET section > 15.2, paragraph 4. You must have a different version of the manual than I have. For me, this section is on header arguments for working with source code and the 4th paragraph says nothing relevant as far as I can tell. Anyway, no worries. I hope you get what you want sorted. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
Am 29.10.19 um 16:08 schrieb Julius Müller: > Am 29.10.19 um 15:57 schrieb Vladimir Nikishkin: >> Please, consider visitiong M-x info-display-manual RET org RET section >> 15.2, paragraph 4. > > Well, there's at least something missing in that documentation. Without > any config file active, but with org mode loaded, those abbreviations > are not availlable to me (as I expected from discussions in this group). Oops, I mistyped. My fault. Sorry for the noise. Julius
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
Am 29.10.19 um 15:57 schrieb Vladimir Nikishkin: > Please, consider visitiong M-x info-display-manual RET org RET section > 15.2, paragraph 4. Well, there's at least something missing in that documentation. Without any config file active, but with org mode loaded, those abbreviations are not availlable to me (as I expected from discussions in this group). HTH, Julius
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
Please, consider visitiong M-x info-display-manual RET org RET section 15.2, paragraph 4. вт, 29 окт. 2019 г. в 18:08, Fraga, Eric : > > On Tuesday, 29 Oct 2019 at 17:06, Vladimir Nikishkin wrote: > > No it is not, please, don't disinform people. > > Not intending to do so but please clarify: in which way am I > misinforming people? > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3 -- Yours sincerely, Vladimir Nikishkin
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
On Tuesday, 29 Oct 2019 at 17:06, Vladimir Nikishkin wrote: > No it is not, please, don't disinform people. Not intending to do so but please clarify: in which way am I misinforming people? -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
And this question is _not_ about the template expansion, but about the electric-pair-mode. вт, 29 окт. 2019 г. в 17:06, Vladimir Nikishkin : > > No it is not, please, don't disinform people. > > вт, 29 окт. 2019 г. в 17:03, Fraga, Eric : > > > > On Tuesday, 29 Oct 2019 at 16:50, Vladimir Nikishkin wrote: > > > I think, these are two different mechanisms. C-c C-, works as expected. > > > The "<" mechanism comes from org-tempo, and is faster, because you > > > don't have to choose anything. > > > > I don't know anything about org-tempo but, just to be clear, the old < > > at beginning of line mechanism that was available, by default, in org > > 8.x is no longer available. It was replaced by C-c C-,. > > > > -- > > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78 > > > > -- > Yours sincerely, Vladimir Nikishkin -- Yours sincerely, Vladimir Nikishkin
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
No it is not, please, don't disinform people. вт, 29 окт. 2019 г. в 17:03, Fraga, Eric : > > On Tuesday, 29 Oct 2019 at 16:50, Vladimir Nikishkin wrote: > > I think, these are two different mechanisms. C-c C-, works as expected. > > The "<" mechanism comes from org-tempo, and is faster, because you > > don't have to choose anything. > > I don't know anything about org-tempo but, just to be clear, the old < > at beginning of line mechanism that was available, by default, in org > 8.x is no longer available. It was replaced by C-c C-,. > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78 -- Yours sincerely, Vladimir Nikishkin
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
On Tuesday, 29 Oct 2019 at 16:50, Vladimir Nikishkin wrote: > I think, these are two different mechanisms. C-c C-, works as expected. > The "<" mechanism comes from org-tempo, and is faster, because you > don't have to choose anything. I don't know anything about org-tempo but, just to be clear, the old < at beginning of line mechanism that was available, by default, in org 8.x is no longer available. It was replaced by C-c C-,. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
I think, these are two different mechanisms. C-c C-, works as expected. The "<" mechanism comes from org-tempo, and is faster, because you don't have to choose anything. вт, 29 окт. 2019 г. в 16:21, Fraga, Eric : > > On Tuesday, 29 Oct 2019 at 16:09, Vladimir Nikishkin wrote: > > I used org 8 until recently, and it used to be that I could type "<" > > at the beginning of a line, and it would be still a single "<" (thus > > allowing the expansion of structured templates with TAB) > > Expansion of structured templates is no longer done using < at the start > of a line. A more general approach is now available, > org-insert-structure-template which is bound to C-c C-, for me at > least. It prompts for what to insert and, most importantly, will wrap > the structure around any region that has been selected. > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78 -- Yours sincerely, Vladimir Nikishkin
Re: Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
On Tuesday, 29 Oct 2019 at 16:09, Vladimir Nikishkin wrote: > I used org 8 until recently, and it used to be that I could type "<" > at the beginning of a line, and it would be still a single "<" (thus > allowing the expansion of structured templates with TAB) Expansion of structured templates is no longer done using < at the start of a line. A more general approach is now available, org-insert-structure-template which is bound to C-c C-, for me at least. It prompts for what to insert and, most importantly, will wrap the structure around any region that has been selected. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Org 9.2 not inhibiting electric-pair-mode in the beginning of lines?
I used org 8 until recently, and it used to be that I could type "<" at the beginning of a line, and it would be still a single "<" (thus allowing the expansion of structured templates with TAB) In org 9.2 electric-pair-mode seems to be working all the time. What is the recommended way of making paired parentheses in org 9.2? Shall I inhibit electric-pair-mode somehow myself, and instead rely on org-cdlatex-mode? What would be the correct incantation to put in the .emacs file? Thanks! -- Yours sincerely, Vladimir Nikishkin