Re: [O] function for inserting a block

2017-11-08 Thread Carsten Dominik
On Thu, Nov 9, 2017 at 5:31 AM, Thomas S. Dye wrote: > Aloha Nicolas, > > Nicolas Goaziou writes: > > > Hello, > > > > Takaaki Ishikawa writes: > > > >> I also support the idea of keeping " >> Please give importance to the backward compatibility

Re: [O] function for inserting a block

2017-11-08 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > Takaaki Ishikawa writes: > >> I also support the idea of keeping "> Please give importance to the backward compatibility in this case. > > I explained why I thought it could be removed. I also suggested >

Re: [O] function for inserting a block

2017-11-08 Thread Nicolas Goaziou
Hello, Takaaki Ishikawa writes: > I also support the idea of keeping " Please give importance to the backward compatibility in this case. I explained why I thought it could be removed. I also suggested solutions to get an equivalent feature without implementing

Re: [O] function for inserting a block

2017-11-08 Thread Eric Abrahamsen
Perhaps what we can do is re-instate this functionality using the built-in Emacs mechanisms?

Re: [O] function for inserting a block

2017-11-08 Thread Takaaki Ishikawa
I also support the idea of keeping ": > > Berry, Charles writes: > >>> On Nov 8, 2017, at 6:07 AM, Rasmus

Re: [O] function for inserting a block

2017-11-08 Thread Thomas S. Dye
Berry, Charles writes: >> On Nov 8, 2017, at 6:07 AM, Rasmus wrote: >> >> I think the template expansion a la "> YASnippet installed for many years, and I never figured out how to use it >> properly. To me, it is a bit too complex a

Re: [O] function for inserting a block

2017-11-08 Thread Nicolas Goaziou
Hello, "Berry, Charles" writes: >> On Nov 8, 2017, at 6:07 AM, Rasmus wrote: >> >> I think the template expansion a la "> YASnippet installed for many years, and I never figured out how to use it >> properly. To me, it is a

Re: [O] function for inserting a block

2017-11-08 Thread Berry, Charles
> On Nov 8, 2017, at 6:07 AM, Rasmus wrote: > > I think the template expansion a la " YASnippet installed for many years, and I never figured out how to use it > properly. To me, it is a bit too complex a replacement. Me too. "

Re: [O] function for inserting a block

2017-11-08 Thread William Denton
On 8 November 2017, Bastien wrote: I'm aware of Yasnippet, but it is not in Emacs core and it can be daunting for newcomers to install, customize and use. The previous function was very straightforward and simple, the cost for losing it seems to high to me. I'd rather have 10 lines in Org

Re: [O] function for inserting a block

2017-11-08 Thread Eric Abrahamsen
Bastien Guerry writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> Bastien writes: >> >>> is there a simple mechanism in Emacs core to restore the same >>> functionnality? >> >> Of course, it is called Abbrev mode: (info "(emacs)Abbrev >>

Re: [O] function for inserting a block

2017-11-08 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > Bastien writes: > >> is there a simple mechanism in Emacs core to restore the same >> functionnality? > > Of course, it is called Abbrev mode: (info "(emacs)Abbrev > Concepts"). Abbrev only expands on words

Re: [O] Bug? org-clock-report options order sensitive? [9.1.2 (9.1.2-25-g2567fe-elpa @ emacs/.emacs.d/elpa/org-20171030/)]

2017-11-08 Thread Nicolas Goaziou
Hello, umberto boccioni writes: > #+BEGIN: clocktable :fileskip0 :scope agenda In this case, ":scope" is probably seen as the value of the property ":fileskip0". You may want to try #+BEGIN: clocktable :fileskip0 t :scope agenda Regards, -- Nicolas Goaziou

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-11-08 Thread Bastien Guerry
Hi Kaushal, Kaushal Modi writes: > I am suggesting to have a minor mode that simply binds "<" to do the > template insertion (only when that is typed at BOL with optional > leading whitespace, or if a region is selected). I think this is a great suggestion and brings

Re: [O] function for inserting a block

2017-11-08 Thread Rasmus
Hi, Thanks you, Eric, for providing this new functionality. Nicolas Goaziou writes: > Bastien writes: > >> Maybe I missed something in this thread, but what about making >> the change backward-compatible by allowing "> be expanded?

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-11-08 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > I just like the convenience of hitting " logic do its thing. > > Let me know what you think. There are many ways to get dumb template insertion. Org doesn't need to implement yet another one. Regards,

Re: [O] function for inserting a block

2017-11-08 Thread Nicolas Goaziou
Bastien writes: > is there a simple mechanism in Emacs core to restore the same > functionnality? Of course, it is called Abbrev mode: (info "(emacs)Abbrev Concepts"). You may also use (info "(autotype)Using Skeletons") for more advanced uses. Regards,

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-11-08 Thread Kaushal Modi
On Wed, Nov 8, 2017, 7:27 AM Kaushal Modi wrote: > On Wed, Nov 8, 2017, 7:16 AM Bastien wrote: > >> >> is there a simple mechanism in Emacs core to restore the same >> functionnality? >> > > +1 > To clarify, I am not suggesting to blindly restore the old

[O] Restore old easy template feature (Re: function for inserting a block)

2017-11-08 Thread Kaushal Modi
On Wed, Nov 8, 2017, 7:16 AM Bastien wrote: > > is there a simple mechanism in Emacs core to restore the same > functionnality? > +1 I'm aware of Yasnippet, but it is not in Emacs core and it can > be daunting for newcomers to install, customize and use. > I am aware of

Re: [O] function for inserting a block

2017-11-08 Thread Bastien
Hi Nicolas, > I suggested the idea to remove " many other template systems, e.g., YASnippet, already provides this. > I didn't want to re-implement the wheel and let, instead, various parts > of Emacs cooperate. is there a simple mechanism in Emacs core

Re: [O] function for inserting a block

2017-11-08 Thread Nicolas Goaziou
Hello, Bastien writes: > Maybe I missed something in this thread, but what about making > the change backward-compatible by allowing " be expanded? For me, I'd rather type

Re: [O] function for inserting a block

2017-11-08 Thread Bastien
Hi Eric, thanks *a lot* for implementing this change! Maybe I missed something in this thread, but what about making the change backward-compatible by allowing "