You can subscribe to this list here.
2016 |
Jan
|
Feb
|
Mar
(12) |
Apr
(19) |
May
(60) |
Jun
(77) |
Jul
(23) |
Aug
(8) |
Sep
(28) |
Oct
(16) |
Nov
(95) |
Dec
(56) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2017 |
Jan
(127) |
Feb
(169) |
Mar
(59) |
Apr
(132) |
May
(27) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
(15) |
Oct
(12) |
Nov
(15) |
Dec
(17) |
2018 |
Jan
|
Feb
(2) |
Mar
(25) |
Apr
(19) |
May
(28) |
Jun
(75) |
Jul
(48) |
Aug
|
Sep
(31) |
Oct
(26) |
Nov
(51) |
Dec
(82) |
2019 |
Jan
(46) |
Feb
(7) |
Mar
(8) |
Apr
|
May
(9) |
Jun
(8) |
Jul
(21) |
Aug
(30) |
Sep
(9) |
Oct
(16) |
Nov
(14) |
Dec
(23) |
2020 |
Jan
|
Feb
(6) |
Mar
|
Apr
(7) |
May
(47) |
Jun
(12) |
Jul
(7) |
Aug
(5) |
Sep
(4) |
Oct
(24) |
Nov
(15) |
Dec
(14) |
2021 |
Jan
(6) |
Feb
(5) |
Mar
(20) |
Apr
(6) |
May
(46) |
Jun
(17) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
2023 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Dr E. W L. <el...@li...> - 2019-09-02 08:47:34
|
Bernard, I have turned off the Handoff Feature in System Preferences, which I don't use anyway and that seems to improve things. greetings, el On 27/08/2019 01:08, Dr Eberhard W Lisse wrote: > Bernard, > > I notice with some regularity that opening a file with alphax takes up > to 10 seconds unless I click on the alpha icon in the Dock. This > happens in particular when I use alphac -w as an external editor under > Thunderbird (using an XPI) which works otherwise marvelously. > > This is the same delay behavior which mate/TextMate displays and since > the below was found during debugging and the new TextMate test version > seems to cure it, I thought I mention it in case someone else has the > same issue and perhaps a solution can be found. > > greetings, el > > > On 2019-08-26 22:04 , Allan Odgaard wrote: >> On 26 Aug 2019, at 19:04, Jay Soffian wrote: >> >>> Here's another hang in the same place (between "Created >>> OakTabBarView instance" and "Created OakDocumentView instance") >>> according to the log, along with a five second sample started just >>> before I ran mate: >> >> Thanks, the sample makes it clear that the system is stalling while >> trying to talk to the shared clipboard server (daemon). >> >> As an attempted workaround I no longer have TextMate read from the >> clipboard, unless it is active [1]. >> >> Please upgrade to rc.31 and let me know if you still see the problem. >> >> [1] >> https://github.com/textmate/textmate/commit/7116dd777f07a65a675fe8944bc2fc2f05cada72 > [...] > > -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Dr E. W L. <el...@li...> - 2019-08-26 23:08:35
|
Bernard, I notice with some regularity that opening a file with alphax takes up to 10 seconds unless I click on the alpha icon in the Dock. This happens in particular when I use alphac -w as an external editor under Thunderbird (using an XPI) which works otherwise marvelously. This is the same delay behavior which mate/TextMate displays and since the below was found during debugging and the new TextMate test version seems to cure it, I thought I mention it in case someone else has the same issue and perhaps a solution can be found. greetings, el On 2019-08-26 22:04 , Allan Odgaard wrote: > On 26 Aug 2019, at 19:04, Jay Soffian wrote: > >> Here's another hang in the same place (between "Created OakTabBarView >> instance" and "Created OakDocumentView instance") according to the >> log, along with a five second sample started just before I ran mate: > > Thanks, the sample makes it clear that the system is stalling while > trying to talk to the shared clipboard server (daemon). > > As an attempted workaround I no longer have TextMate read from the > clipboard, unless it is active [1]. > > Please upgrade to rc.31 and let me know if you still see the problem. > > [1] > https://github.com/textmate/textmate/commit/7116dd777f07a65a675fe8944bc2fc2f05cada72 [...] -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Dr E. W L. <el...@li...> - 2019-08-26 07:04:37
|
Bernard, binding create {cs ')'} shiftRight binding create {cs '('} shiftLeft binding create {c '9'} shiftRight binding create {c '8'} shiftLeft binding create {c '+'} shiftRight binding create {c 'ü'} shiftLeft works for me. cmd-( is rather cmd-shift-8. {cs '8'} and {cs '9'} do not work, but that is transparent to the casual user. I hope I did't overwrite anything when I also tied it to cmd-8 and cmd-9 respectively so that it works if someone forgets to hit Shift :-)-O. The latter two are specifically for me as I am changing often between German and English keyboard and let the fingers do the walking. let me know if you have other functions that are 'missing' on the German keyboard. el On 25/08/2019 7:13 pm, Eberhard W Lisse wrote: [...] > On 25 Aug 2019, 18:27 +0200, Bernard Desgraupes <bde...@or...>, wrote: >> Hi Eberhard, [...] >> It's name is misleading but it concerns exactly this problem : some >> shortcuts are not appropriate for some keyboards. If you select the >> German keyboard then some bindings are redefined. I see that nothing >> has been specified for Shift Left and Shift Right in the case of the >> German keyboard. I'd like to fix that: do you suggest that cmd-( and >> cmd-) would be a good choice ? [...] -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Bernard D. <bde...@gm...> - 2019-08-25 20:55:26
|
Hi John, This is the right list. Sorry I must have missed the request for approval regarding your long message (I'm on vacation in the countryside with no internet connection). You could certainly enter a ticket and attach your crash log or send it to me directly. Bernard Envoyé de mon iPhone > Le 25 août 2019 à 19:43, John Morris <joh...@ed...> a écrit : > > Hi All, > I'm not sure what I have done wrong, but I am having trouble posting to this list. In the past, I have used the Alpha Users list for help, but that list seems to have petered out. Last week, I tried to post a plea for help with a crash using Alpha 9.0.7. It included a long crash log, so I received a message indicating that the message was awaiting moderation for length. I have seen nothing since and the message does not appear to have made it into the archive. Is there a different way I should ask for help? Is there a different mailing list I should be using? > > Thanks, > John > > > > _______________________________________________ > AlphaCocoa-devel mailing list > Alp...@li... > https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel |
From: John M. <joh...@ed...> - 2019-08-25 17:43:28
|
Hi All, I'm not sure what I have done wrong, but I am having trouble posting to this list. In the past, I have used the Alpha Users list for help, but that list seems to have petered out. Last week, I tried to post a plea for help with a crash using Alpha 9.0.7. It included a long crash log, so I received a message indicating that the message was awaiting moderation for length. I have seen nothing since and the message does not appear to have made it into the archive. Is there a different way I should ask for help? Is there a different mailing list I should be using? Thanks, John |
From: Eberhard W L. <el...@li...> - 2019-08-25 17:18:57
|
Bernard, this is rather cool. I will pull the list and have a look at useful ones which need different bindings on the German keyboard time permitting, but tomorrow is a holiday here... greetings, el , — Sent from Dr Lisse’s iPad Mini 5 On 25 Aug 2019, 18:35 +0200, Bernard Desgraupes <bde...@or...>, wrote: > > I have this little proc in my file prefs.tcl: > > namespace eval binding {} > proc binding::ls {args} { > return [join [eval binding list $args] "\n"] > } > > > It displays one binding per line. It supports some options to filter the bindings. In particular -key and -mod are very useful. > Examples: > If I'm looking for the bindings involving the letter C, I type: > binding::ls -key 'c' > > If I want the bindings corresponding to cmd-T, I type: > binding::ls -key 'T' -mod c > > For opt-cmd-R: > binding::ls-key 'R' -mod oc > > To find all the bindings defined in TeX mode (assuming it has been loaded already): > binding::ls -tag TeX > > Etcetera... > > Bernard > > > > > > Le 25 août 2019 à 09:13, Dr Eberhard W Lisse <el...@li...> a écrit : > > > > Unsurprisingly > > > > binding create {c '+'} shiftRight > > binding create {c 'ü'} shiftLeft > > > > work :-)-O so I now am really becoming interested in the list of > > possible bindings to rearrange. > > > > Unfortunately the Tcl Shell puts all bindings on one single line which > > makes this very difficult tpo read. > > > > greetings, el |
From: Eberhard W L. <el...@li...> - 2019-08-25 17:15:01
|
I shall peruse. I shall look at the German laptop (keyboard) tomorrow to llok exactly where ( and ) are located ( doe I need to hit the shift key.), but ü sits on the [ key and + on the ] key so I have chosen them for myself so I than can type blindly when switching laptops :-)-O. greetings, el — Sent from Dr Lisse’s iPad Mini 5 On 25 Aug 2019, 18:27 +0200, Bernard Desgraupes <bde...@or...>, wrote: > Hi Eberhard, > > Concerning the shortcuts for Shift Left and Shift Right, are you aware of the "keyboard" preference in the Alpha ↣ Preferences ↣ Global Preferences ↣ International. You should have a look at the doc: Help ↣ Features Help ↣ International Menus. > > It's name is misleading but it concerns exactly this problem : some shortcuts are not appropriate for some keyboards. If you select the German keyboard then some bindings are redefined. I see that nothing has been specified for Shift Left and Shift Right in the case of the German keyboard. I'd like to fix that: do you suggest that cmd-( and cmd-) would be a good choice ? > > Cheers, > Bernard |
From: Bernard D. <bde...@or...> - 2019-08-25 16:35:51
|
I have this little proc in my file prefs.tcl: namespace eval binding {} proc binding::ls {args} { return [join [eval binding list $args] "\n"] } It displays one binding per line. It supports some options to filter the bindings. In particular -key and -mod are very useful. Examples: If I'm looking for the bindings involving the letter C, I type: binding::ls -key 'c' If I want the bindings corresponding to cmd-T, I type: binding::ls -key 'T' -mod c For opt-cmd-R: binding::ls-key 'R' -mod oc To find all the bindings defined in TeX mode (assuming it has been loaded already): binding::ls -tag TeX Etcetera... Bernard > Le 25 août 2019 à 09:13, Dr Eberhard W Lisse <el...@li...> a écrit : > > Unsurprisingly > > binding create {c '+'} shiftRight > binding create {c 'ü'} shiftLeft > > work :-)-O so I now am really becoming interested in the list of > possible bindings to rearrange. > > Unfortunately the Tcl Shell puts all bindings on one single line which > makes this very difficult tpo read. > > greetings, el > > On 25/08/2019 8:30 am, Dr Eberhard W Lisse wrote: >> Bernard, >> >> didn't know that, actually, I am just an elderly Gynecologist, >> being able to follow simple cut and paste instructions :-)-O >> >> On the German keyboard the key for ']' is occupied by by '+' so >> >> binding create {zc '+'} centerRegion >> >> works and would be the candidate. >> >> That reminds me, since ']‘ on the german keyboard is on cmd-6 and I >> can't do a option-cmd-6 when I want to indent (Shift Right), which I can >> do on the US Keyboard with option-], I would like to tie that to cmd-+, >> but don't know the name of the function. Where can I find the name of >> the function or better even the names of all functions? >> >> Is there a way of TCL finding out which keyboard I am using and then do >> binding conditionally debending on whether it's the German or English one? >> >> >> >> >> I like your idea. >> >> greetings, el >> >> On 24/08/2019 6:20 pm, Bernard Desgraupes wrote: >>> Hi Eberhard, >>> >>> As you know one may define composite bindings in Alpha. What is the >>> binding you'd like to implement ? >>> >>> Regarding uncenterRegion as a matter of fact I'm going to also >>> implement a flushLeft and a flushRight proc and gather all of them in >>> a small package (textAlignment?) that will insert an Alignment >>> submenu in the Text menu. To be continued... >>> >>> Cheers, >>> Bernard > > -- > Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) > el...@li... / * | Telephone: +264 81 124 6733 (cell) > PO Box 8421 / > Bachbrecht, Namibia ;____/ |
From: Bernard D. <bde...@or...> - 2019-08-25 16:27:48
|
Hi Eberhard, Concerning the shortcuts for Shift Left and Shift Right, are you aware of the "keyboard" preference in the Alpha ↣ Preferences ↣ Global Preferences ↣ International. You should have a look at the doc: Help ↣ Features Help ↣ International Menus. It's name is misleading but it concerns exactly this problem : some shortcuts are not appropriate for some keyboards. If you select the German keyboard then some bindings are redefined. I see that nothing has been specified for Shift Left and Shift Right in the case of the German keyboard. I'd like to fix that: do you suggest that cmd-( and cmd-) would be a good choice ? Cheers, Bernard > Le 25 août 2019 à 08:30, Dr Eberhard W Lisse <el...@li...> a écrit : > > Bernard, > > didn't know that, actually, I am just an elderly Gynecologist, > being able to follow simple cut and paste instructions :-)-O > > On the German keyboard the key for ']' is occupied by by '+' so > > binding create {zc '+'} centerRegion > > works and would be the candidate. > > That reminds me, since ']‘ on the german keyboard is on cmd-6 and I > can't do a option-cmd-6 when I want to indent (Shift Right), which I can > do on the US Keyboard with option-], I would like to tie that to cmd-+, > but don't know the name of the function. Where can I find the name of > the function or better even the names of all functions? > > Is there a way of TCL finding out which keyboard I am using and then do > binding conditionally debending on whether it's the German or English one? > > > > > I like your idea. > > greetings, el > > On 24/08/2019 6:20 pm, Bernard Desgraupes wrote: >> Hi Eberhard, >> >> As you know one may define composite bindings in Alpha. What is the >> binding you'd like to implement ? >> >> Regarding uncenterRegion as a matter of fact I'm going to also >> implement a flushLeft and a flushRight proc and gather all of them in >> a small package (textAlignment?) that will insert an Alignment >> submenu in the Text menu. To be continued... >> >> Cheers, >> Bernard |
From: Dr E. W L. <el...@li...> - 2019-08-25 07:13:20
|
Unsurprisingly binding create {c '+'} shiftRight binding create {c 'ü'} shiftLeft work :-)-O so I now am really becoming interested in the list of possible bindings to rearrange. Unfortunately the Tcl Shell puts all bindings on one single line which makes this very difficult tpo read. greetings, el On 25/08/2019 8:30 am, Dr Eberhard W Lisse wrote: > Bernard, > > didn't know that, actually, I am just an elderly Gynecologist, > being able to follow simple cut and paste instructions :-)-O > > On the German keyboard the key for ']' is occupied by by '+' so > > binding create {zc '+'} centerRegion > > works and would be the candidate. > > That reminds me, since ']‘ on the german keyboard is on cmd-6 and I > can't do a option-cmd-6 when I want to indent (Shift Right), which I can > do on the US Keyboard with option-], I would like to tie that to cmd-+, > but don't know the name of the function. Where can I find the name of > the function or better even the names of all functions? > > Is there a way of TCL finding out which keyboard I am using and then do > binding conditionally debending on whether it's the German or English one? > > > > > I like your idea. > > greetings, el > > On 24/08/2019 6:20 pm, Bernard Desgraupes wrote: >> Hi Eberhard, >> >> As you know one may define composite bindings in Alpha. What is the >> binding you'd like to implement ? >> >> Regarding uncenterRegion as a matter of fact I'm going to also >> implement a flushLeft and a flushRight proc and gather all of them in >> a small package (textAlignment?) that will insert an Alignment >> submenu in the Text menu. To be continued... >> >> Cheers, >> Bernard -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Dr E. W L. <el...@li...> - 2019-08-25 06:30:50
|
Bernard, didn't know that, actually, I am just an elderly Gynecologist, being able to follow simple cut and paste instructions :-)-O On the German keyboard the key for ']' is occupied by by '+' so binding create {zc '+'} centerRegion works and would be the candidate. That reminds me, since ']‘ on the german keyboard is on cmd-6 and I can't do a option-cmd-6 when I want to indent (Shift Right), which I can do on the US Keyboard with option-], I would like to tie that to cmd-+, but don't know the name of the function. Where can I find the name of the function or better even the names of all functions? Is there a way of TCL finding out which keyboard I am using and then do binding conditionally debending on whether it's the German or English one? I like your idea. greetings, el On 24/08/2019 6:20 pm, Bernard Desgraupes wrote: > Hi Eberhard, > > As you know one may define composite bindings in Alpha. What is the > binding you'd like to implement ? > > Regarding uncenterRegion as a matter of fact I'm going to also > implement a flushLeft and a flushRight proc and gather all of them in > a small package (textAlignment?) that will insert an Alignment > submenu in the Text menu. To be continued... > > Cheers, > Bernard |
From: Fischlin A. <and...@en...> - 2019-08-25 05:09:07
|
Dear Bernhard, Excellent idea. Cheers, Andreas ETH Zurich, Prof. em. Dr. Andreas Fischlin, IPCC Vice-Chair WGII, Systems Ecology, CHN E 24, Universitaetstrasse 16, CH-8092 Zurich, SWITZERLAND Tel: +41 44 633-6090 Mobile: +41 79 595-4050 Mail: and...@en... www.sysecol.ethz.ch/people/andreas.fischlin.html > On 24 Aug 2019, at 18:21, Bernard Desgraupes <bde...@or...> wrote: > > Hi Eberhard, > > As you know one may define composite bindings in Alpha. What is the binding you'd like to implement ? > > Regarding uncenterRegion as a matter of fact I'm going to also implement a flushLeft and a flushRight proc and gather all of them in a small package (textAlignment?) that will insert an Alignment submenu in the Text menu. > To be continued... > > Cheers, > Bernard > > Envoyé de mon iPhone > >> Le 24 août 2019 à 16:03, Dr Eberhard W Lisse <el...@li...> a écrit : >> >> Wow! >> >> As 'C' is close to the Control and Command keys, and because cmd-] >> indents (tabs) alreay I have tied it to ctrl-cmd-]. >> >> binding create {zc ']'} centerRegion >> >> Is there a way of tieing it to more than one key? I sometimes use a >> German keyboard, and while I can of course have different prefs.tcl, I'd >> like normalization from a single source :-)-O >> >> And, of course this now asks for an uncenterRegion :-)-O >> >> greetings, el >> >>> On 2019-08-24 13:29 , Eberhard W Lisse wrote: >>> Bernard, >>> >>> as usual, very, very cool. >>> >>> I will this out as soon as I am back from ward rounds. >>> >>> el >>> >>> — >>> Sent from Dr Lisse’s iPad Mini 5 >>>> On 24 Aug 2019, 09:00 +0200, Bernard Desgraupes <bde...@or...>, wrote: >>>> Hi Eberhard, >>>> >>>> Here is a proc called centerRegion that centers a block of text. By >>>> default, it applies to the current window and takes the current value >>>> of the fillColumn preference (usually 75). You could copy this proc >>>> in your prefs.tcl file. >>>> >>>> If you want to bind it to ctrl-cmd-C for instance, add the following >>>> instruction: binding create {zc 'C'} centerRegion >> [...] >>>> Hope this helps, >>>> Bernard >> [...] >> >> -- >> Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) >> el...@li... / * | Telephone: +264 81 124 6733 (cell) >> PO Box 8421 / >> Bachbrecht, Namibia ;____/ > > > _______________________________________________ > AlphaCocoa-devel mailing list > Alp...@li... > https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel |
From: Bernard D. <bde...@or...> - 2019-08-24 16:20:46
|
Hi Eberhard, As you know one may define composite bindings in Alpha. What is the binding you'd like to implement ? Regarding uncenterRegion as a matter of fact I'm going to also implement a flushLeft and a flushRight proc and gather all of them in a small package (textAlignment?) that will insert an Alignment submenu in the Text menu. To be continued... Cheers, Bernard Envoyé de mon iPhone > Le 24 août 2019 à 16:03, Dr Eberhard W Lisse <el...@li...> a écrit : > > Wow! > > As 'C' is close to the Control and Command keys, and because cmd-] > indents (tabs) alreay I have tied it to ctrl-cmd-]. > > binding create {zc ']'} centerRegion > > Is there a way of tieing it to more than one key? I sometimes use a > German keyboard, and while I can of course have different prefs.tcl, I'd > like normalization from a single source :-)-O > > And, of course this now asks for an uncenterRegion :-)-O > > greetings, el > >> On 2019-08-24 13:29 , Eberhard W Lisse wrote: >> Bernard, >> >> as usual, very, very cool. >> >> I will this out as soon as I am back from ward rounds. >> >> el >> >> — >> Sent from Dr Lisse’s iPad Mini 5 >>> On 24 Aug 2019, 09:00 +0200, Bernard Desgraupes <bde...@or...>, wrote: >>> Hi Eberhard, >>> >>> Here is a proc called centerRegion that centers a block of text. By >>> default, it applies to the current window and takes the current value >>> of the fillColumn preference (usually 75). You could copy this proc >>> in your prefs.tcl file. >>> >>> If you want to bind it to ctrl-cmd-C for instance, add the following >>> instruction: binding create {zc 'C'} centerRegion > [...] >>> Hope this helps, >>> Bernard > [...] > > -- > Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) > el...@li... / * | Telephone: +264 81 124 6733 (cell) > PO Box 8421 / > Bachbrecht, Namibia ;____/ |
From: Dr E. W L. <el...@li...> - 2019-08-24 14:04:09
|
Wow! As 'C' is close to the Control and Command keys, and because cmd-] indents (tabs) alreay I have tied it to ctrl-cmd-]. binding create {zc ']'} centerRegion Is there a way of tieing it to more than one key? I sometimes use a German keyboard, and while I can of course have different prefs.tcl, I'd like normalization from a single source :-)-O And, of course this now asks for an uncenterRegion :-)-O greetings, el On 2019-08-24 13:29 , Eberhard W Lisse wrote: > Bernard, > > as usual, very, very cool. > > I will this out as soon as I am back from ward rounds. > > el > > — > Sent from Dr Lisse’s iPad Mini 5 > On 24 Aug 2019, 09:00 +0200, Bernard Desgraupes <bde...@or...>, wrote: >> Hi Eberhard, >> >> Here is a proc called centerRegion that centers a block of text. By >> default, it applies to the current window and takes the current value >> of the fillColumn preference (usually 75). You could copy this proc >> in your prefs.tcl file. >> >> If you want to bind it to ctrl-cmd-C for instance, add the following >> instruction: binding create {zc 'C'} centerRegion [...] >> Hope this helps, >> Bernard [...] -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Eberhard W L. <el...@li...> - 2019-08-24 11:30:38
|
Bernard, as usual, very, very cool. I will this out as soon as I am back from ward rounds. el — Sent from Dr Lisse’s iPad Mini 5 On 24 Aug 2019, 09:00 +0200, Bernard Desgraupes <bde...@or...>, wrote: > Hi Eberhard, > > Here is a proc called centerRegion that centers a block of text. By default, it applies to the current window and takes the current value of the fillColumn preference (usually 75). > You could copy this proc in your prefs.tcl file. > > If you want to bind it to ctrl-cmd-C for instance, add the following instruction: > binding create {zc 'C'} centerRegion > > > ### START OF CODE ### > > ## > # ------------------------------------------------------------------------ > # > # "centerRegion" -- > # > # Center a selected block of text. If no 'width' is specified, use the > # current 'fillColumn' value. If there is no selection, the proc applies > # to the line containing the insertion cursor. It converts all tabs to > # spaces and removes any leading or trailing spaces in each line before > # centering. > # > # ------------------------------------------------------------------------ > ## > proc centerRegion {args} { > win::parseArgs w {width ""} > if {$width eq ""} { > global fillColumn > set width $fillColumn > } > set pos [getPos -w $w] > set end [selEnd -w $w] > if {$pos == $end} { > # If no selection, apply to the current line > lassign [linePos all -w $w $pos] start end > } else { > set start [linePos start -w $w $pos] > } > # Convert all tabs to spaces in given range > if {![catch {tabsToSpaces -w $w $start $end} res]} { > # The cursor is now at the end of the region > set end [getPos -w $w] > set result [list] > set txt [text get -w $w $start $end] > regsub {\n$} $txt "" txt > foreach line [split $txt "\n\r"] { > set line [string trim $line " "] > set slen [string length $line] > if {$slen >= $width} { > lappend result $line > } else { > set wlen [expr ($width-$slen)/2] > lappend result "[string repeat " " $wlen]$line" > } > } > text replace -w $w $start $end "[join $result \n]\n" > } > } > > > ### END OF CODE ### > > > Hope this helps, > Bernard > > > > Le 22 août 2019 à 14:57, Dr Eberhard W Lisse <el...@li...> a écrit : > > > > > > > > Bernard, > > > > Perhaps something like if there is a wrap mode, such as 72 or 80 > > characters, take half of that, if not, maybe take half of the window > > width (if it can be measured in characters) > > > > el > > > > On 22/08/2019 14:23, Bernard Desgraupes wrote: > > > Oh I see, you want to center a selection. Right. > > > It should not be difficult to write a proc for this. The question is > > > "where is the center" ? > > > > > > Bernard |
From: Bernard D. <bde...@or...> - 2019-08-24 07:00:58
|
Hi Eberhard, Here is a proc called centerRegion that centers a block of text. By default, it applies to the current window and takes the current value of the fillColumn preference (usually 75). You could copy this proc in your prefs.tcl file. If you want to bind it to ctrl-cmd-C for instance, add the following instruction: binding create {zc 'C'} centerRegion ### START OF CODE ### ## # ------------------------------------------------------------------------ # # "centerRegion" -- # # Center a selected block of text. If no 'width' is specified, use the # current 'fillColumn' value. If there is no selection, the proc applies # to the line containing the insertion cursor. It converts all tabs to # spaces and removes any leading or trailing spaces in each line before # centering. # # ------------------------------------------------------------------------ ## proc centerRegion {args} { win::parseArgs w {width ""} if {$width eq ""} { global fillColumn set width $fillColumn } set pos [getPos -w $w] set end [selEnd -w $w] if {$pos == $end} { # If no selection, apply to the current line lassign [linePos all -w $w $pos] start end } else { set start [linePos start -w $w $pos] } # Convert all tabs to spaces in given range if {![catch {tabsToSpaces -w $w $start $end} res]} { # The cursor is now at the end of the region set end [getPos -w $w] set result [list] set txt [text get -w $w $start $end] regsub {\n$} $txt "" txt foreach line [split $txt "\n\r"] { set line [string trim $line " "] set slen [string length $line] if {$slen >= $width} { lappend result $line } else { set wlen [expr ($width-$slen)/2] lappend result "[string repeat " " $wlen]$line" } } text replace -w $w $start $end "[join $result \n]\n" } } ### END OF CODE ### Hope this helps, Bernard > Le 22 août 2019 à 14:57, Dr Eberhard W Lisse <el...@li...> a écrit : > > > > Bernard, > > Perhaps something like if there is a wrap mode, such as 72 or 80 > characters, take half of that, if not, maybe take half of the window > width (if it can be measured in characters) > > el > > On 22/08/2019 14:23, Bernard Desgraupes wrote: >> Oh I see, you want to center a selection. Right. >> It should not be difficult to write a proc for this. The question is >> "where is the center" ? >> >> Bernard |
From: Dr E. W L. <el...@li...> - 2019-08-22 12:58:16
|
Bernard, Perhaps something like if there is a wrap mode, such as 72 or 80 characters, take half of that, if not, maybe take half of the window width (if it can be measured in characters) el On 22/08/2019 14:23, Bernard Desgraupes wrote: > Oh I see, you want to center a selection. Right. > It should not be difficult to write a proc for this. The question is > "where is the center" ? > > Bernard |
From: Bernard D. <bde...@or...> - 2019-08-22 12:23:30
|
Oh I see, you want to center a selection. Right. It should not be difficult to write a proc for this. The question is "where is the center" ? Bernard Envoyé de mon iPhone > Le 22 août 2019 à 13:52, Dr Eberhard W Lisse <el...@li...> a écrit : > > Bernard, > > dragging the mouse over text, which then gets a blue background :-)-O > > > el > >> On 22/08/2019 13:44, Bernard Desgraupes wrote: >> Hi Eberhard, >> >> I'm not sure I understand what you want to achieve. What do you mean >> by "marked text" ? >> >> Bernard >> >> >> >>> Le 21 août 2019 à 12:01, Dr Eberhard W Lisse <el...@li...> a écrit : >>> >>> Bernard, >>> >>> is there a way of centering some text, preferrably marked text? > > -- > Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) > el...@li... / * | Telephone: +264 81 124 6733 (cell) > PO Box 8421 / > Bachbrecht, Namibia ;____/ |
From: Dr E. W L. <el...@li...> - 2019-08-22 11:52:37
|
Bernard, dragging the mouse over text, which then gets a blue background :-)-O el On 22/08/2019 13:44, Bernard Desgraupes wrote: > Hi Eberhard, > > I'm not sure I understand what you want to achieve. What do you mean > by "marked text" ? > > Bernard > > > >> Le 21 août 2019 à 12:01, Dr Eberhard W Lisse <el...@li...> a écrit : >> >> Bernard, >> >> is there a way of centering some text, preferrably marked text? -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Bernard D. <bde...@or...> - 2019-08-22 11:44:30
|
Hi Eberhard, I'm not sure I understand what you want to achieve. What do you mean by "marked text" ? Bernard > Le 21 août 2019 à 12:01, Dr Eberhard W Lisse <el...@li...> a écrit : > > Bernard, > > is there a way of centering some text, preferrably marked text? > > > -- > Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) > el...@li... / * | Telephone: +264 81 124 6733 (cell) > PO Box 8421 / > Bachbrecht, Namibia ;____/ |
From: Dr E. W L. <el...@li...> - 2019-08-21 10:01:41
|
Bernard, is there a way of centering some text, preferrably marked text? -- Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar) el...@li... / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 / Bachbrecht, Namibia ;____/ |
From: Greg D. <gre...@in...> - 2019-08-18 19:16:00
|
I was pretty sure I'd restarted the computer since installing 9.0.7 (monthly security rollups etc.) but I logged out/in again, and lo! the problem is gone. It didn't even require a restart. Thanks for that! On 8/18/19 4:51 AM, Bernard Desgraupes wrote: > Hi Greg, > > Did you try to close and restart your session (log out, in) ? Sometimes Cocoa itself needs some refreshing. > Concerning the dynamic menus issue, I'm currently investigating to find how I can fix it. > Cheers, > Bernard. > > Envoyé de mon iPhone > >> Le 17 août 2019 à 23:44, Greg Dunn <gre...@in...> a écrit : >> >> I'm beginning to wonder whether something has gotten corrupt on my installation. I suddenly noticed that drag and drop is no longer working with Alpha 9.0.7, whereas text in the same file, when opened in 9.0.4, can be manipulated as usual with the drag/arrow cursor. I am running both on the same new 10.13.6 install. >> >> I assume that the location of preferences is the same between these two versions; nonetheless, I don't routinely do clean installs when working with new versions of Alpha so perhaps something left over from the non-Sierra compatible version might be breaking the behavior? The option-menu select issue I reported previously exists on both versions. >> >> -- >> | Greg Dunn | People are so conditioned to take | >> | gre...@in... | sides that a balanced analysis | >> | The Sultan of Slack(tm) | looks to them like hatred. | >> | http://www.indy.net/~gregdunn/ | Scott Adams | >> >> >> _______________________________________________ >> AlphaCocoa-devel mailing list >> Alp...@li... >> https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel > -- | Greg Dunn | Using emacs as a text editor is | | gre...@in... | like using a car to listen to | | The Sultan of Slack(tm) | the radio. | | http://www.indy.net/~gregdunn/ | - Mike Campbell | |
From: Bernard D. <bde...@or...> - 2019-08-18 08:52:19
|
Hi Greg, Did you try to close and restart your session (log out, in) ? Sometimes Cocoa itself needs some refreshing. Concerning the dynamic menus issue, I'm currently investigating to find how I can fix it. Cheers, Bernard. Envoyé de mon iPhone > Le 17 août 2019 à 23:44, Greg Dunn <gre...@in...> a écrit : > > I'm beginning to wonder whether something has gotten corrupt on my installation. I suddenly noticed that drag and drop is no longer working with Alpha 9.0.7, whereas text in the same file, when opened in 9.0.4, can be manipulated as usual with the drag/arrow cursor. I am running both on the same new 10.13.6 install. > > I assume that the location of preferences is the same between these two versions; nonetheless, I don't routinely do clean installs when working with new versions of Alpha so perhaps something left over from the non-Sierra compatible version might be breaking the behavior? The option-menu select issue I reported previously exists on both versions. > > -- > | Greg Dunn | People are so conditioned to take | > | gre...@in... | sides that a balanced analysis | > | The Sultan of Slack(tm) | looks to them like hatred. | > | http://www.indy.net/~gregdunn/ | Scott Adams | > > > _______________________________________________ > AlphaCocoa-devel mailing list > Alp...@li... > https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel |
From: Greg D. <gre...@in...> - 2019-08-17 22:03:05
|
I'm beginning to wonder whether something has gotten corrupt on my installation. I suddenly noticed that drag and drop is no longer working with Alpha 9.0.7, whereas text in the same file, when opened in 9.0.4, can be manipulated as usual with the drag/arrow cursor. I am running both on the same new 10.13.6 install. I assume that the location of preferences is the same between these two versions; nonetheless, I don't routinely do clean installs when working with new versions of Alpha so perhaps something left over from the non-Sierra compatible version might be breaking the behavior? The option-menu select issue I reported previously exists on both versions. -- | Greg Dunn | People are so conditioned to take | | gre...@in... | sides that a balanced analysis | | The Sultan of Slack(tm) | looks to them like hatred. | | http://www.indy.net/~gregdunn/ | Scott Adams | |
From: Greg D. <gre...@in...> - 2019-08-15 17:29:31
|
I'm running 9.0.7 on two machines, each having OS X 10.13.6 installed. One of the things I do periodically is convert documents with hard CR or LF line endings to wrappable paragraphs using Alpha's "text wrapping" option. It works great, particularly after some tweaks were made in earlier releases to save wrapping and document status consistently. The issue I'm seeing is that placing the cursor within a paragraph which I want to convert to a single line and pressing the key combo assigned to it (I think it's control-shift-P) works fine. However, if I want to use the menu option "paragraph to line" which requires the option key and selection of the menu item, I find that I need to select the menu option and, while holding the mouse button down, press the option key. The menu item then changes name/function. If I press option first, it seems to have no effect on the menu item names when I choose the menu; but if I press option after selecting the menu, it will toggle the menu item names as I depress and release the option key. I'm pretty sure that it used to work the other way, i.e., the option key could be depressed before selecting the menu and the menu items would be changed when the menu was pulled down. It definitely works this way on the apps I have which use option to change the menu names: Preview, Quicktime Player and Lightroom are ones I have running at the moment. I just checked, and I have one instance of AlphaX (9.0.3) running on a machine with OS X 10.10.5; it exhibits the same behavior, so clearly it's not a recent change (if indeed it ever worked the other way and isn't just my faulty memory). -- | Greg Dunn | | | gre...@in... | "Talking about music is like | | The Sultan of Slack(tm) | dancing about architecture." | | http://www.indy.net/~gregdunn/ | Frank Zappa | |