Re: user-extensible special phrases

2012-09-15 Thread Richard Heck
On 09/15/2012 06:20 PM, Jean-Marc Lasgouttes wrote: There is no easier solution now. The last time there was a plan for these phrases, it was to remove them and introduce ad-hoc insets instead. If we do that we could 1/ introduce a way to define these forms easily (although then people will

Re: Closing views versus closing buffers

2012-09-15 Thread Tommaso Cucinotta
\bind "C-S-S" "buffer-write-as" \bind "C-p" "dialog-show print" diff --git a/src/FuncCode.h b/src/FuncCode.h index 4924ad2..0c097b1 100644 --- a/src/FuncCode.h +++ b/src/FuncCode.h @@ -456,6 +456,7 @@ enum FuncCode LFUN_IN_IPA,// sp

Re: #8330: If there is no key binding for close all, calling close will close all documents

2012-09-15 Thread Simon Brown
At Sat, 08 Sep 2012 09:25:00 -, LyX Ticket Tracker wrote: > > #8330: If there is no key binding for close all, calling close will close all > documents > --+- > Reporter: simbrown | Owner: younes > Type: defect| Statu

Re: user-extensible special phrases

2012-09-15 Thread Jean-Marc Lasgouttes
There is no easier solution now. The last time there was a plan for these phrases, it was to remove them and introduce ad-hoc insets instead. If we do that we could 1/ introduce a way to define these forms easily (although then people will be clamoring for real macros in text) 2/ extend the au

user-extensible special phrases

2012-09-15 Thread Scott Kostyshak
This topic came up twice in the last couple of days: http://tex.stackexchange.com/questions/71550/globally-set-a-word-in-small-caps-or-italics/71591 http://latex-community.org/forum/viewtopic.php?f=19&t=21427 I have two questions: (1) Is there an easier LyX-solution than recompiling or using a py

Re: [patch] constify

2012-09-15 Thread Scott Kostyshak
On Thu, Sep 13, 2012 at 5:57 AM, Pavel Sanda wrote: > Scott Kostyshak wrote: >> Is the patch (attached in the first email) OK to go in? > > As said I don't think there is any performance profit in those cases > so I would stick to the default style we use. > IIRC end iterators are generally const

Re: Re: Closing views versus closing buffers

2012-09-15 Thread Kornel Benko
Am Samstag, 15. September 2012 um 11:29:56, schrieb Tommaso Cucinotta > On 13/09/12 01:07, Pavel Sanda wrote: > > Richard Heck wrote: > >>> Shouldn't we close the view only, > > I thought thats why we have "hide" function distinguished from close. > > The problem with hiding is that the buffer i

Re: Closing views versus closing buffers

2012-09-15 Thread Tommaso Cucinotta
On 13/09/12 01:07, Pavel Sanda wrote: Richard Heck wrote: Shouldn't we close the view only, I thought thats why we have "hide" function distinguished from close. The problem with hiding is that the buffer is not automatically closed after the last view has been hidden. On the other hand, clo

Re: Closing views versus closing buffers

2012-09-15 Thread Tommaso Cucinotta
On 13/09/12 10:29, Rainer M Krug wrote: What about a popup box, asking: - Do you want to close All windows / views of this document or only this one? All / Only This / Cancel [ ] Do this from now on automatically - By doing this (if more then one window of a

Re: Closing views versus closing buffers

2012-09-15 Thread Tommaso Cucinotta
On 12/09/12 22:59, Richard Heck wrote: On 09/11/2012 03:42 PM, Tommaso Cucinotta wrote: I just noticed that when you type C-w, LyX closes the buffer, along with all views. Also, if you have a split window and multiple tabbed views on both splits, pushing the "X" button on one of the tabs trig