I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
Frank Harrell
On 4 November 2013 02:28, Frank Harrell f.harrell@vanderbilt.edu wrote:
I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
You need to define "right", your right may be anothers "wrong".
Cheers Lex
Frank Harrell
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
By "right" I mean the Emacs ESS approach, e.g. if(TRUE) { x <- 1 # auto indented if(FALSE) { y <- 1 # auto indented } # auto de-indented } # auto de-indented
Frank
On 11/03/2013 04:34 PM, Lex Trotman wrote:
On 4 November 2013 02:28, Frank Harrell <f.harrell@vanderbilt.edu mailto:f.harrell@vanderbilt.edu> wrote:
I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
You need to define "right", your right may be anothers "wrong".
Cheers Lex
Frank Harrell _________________________________________________ Users mailing list Users@lists.geany.org <mailto:Users@lists.geany.org> https://lists.geany.org/cgi-__bin/mailman/listinfo/users <https://lists.geany.org/cgi-bin/mailman/listinfo/users>
Hi,
Le 03/11/2013 16:28, Frank Harrell a écrit :
I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
We currently miss configurable indentation settings [1], so deciding if indentation should be based on braces is something chosen in the code, and apparently it wasn't the case for R. It's now fixed, since all examples I could find showed that indeed the language syntax used braces for blocks just like many languages.
https://github.com/geany/geany/commit/5c22c9d73e14f77959d0de27c8363a1fe8fe89...
Regards, Colomban
[1] because its a lengthy and complex topic and we didn't yet get an implementation sufficiently good, simple and flexible for us to be happy with it. See the devel list archives for the discussions if you're interested.
Thank you very much Colomban. What is the release cycle for debian/ubuntu updates to geany?
Frank
On 11/04/2013 10:48 AM, Colomban Wendling wrote:
Hi,
Le 03/11/2013 16:28, Frank Harrell a écrit :
I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
We currently miss configurable indentation settings [1], so deciding if indentation should be based on braces is something chosen in the code, and apparently it wasn't the case for R. It's now fixed, since all examples I could find showed that indeed the language syntax used braces for blocks just like many languages.
https://github.com/geany/geany/commit/5c22c9d73e14f77959d0de27c8363a1fe8fe89...
Regards, Colomban
[1] because its a lengthy and complex topic and we didn't yet get an implementation sufficiently good, simple and flexible for us to be happy with it. See the devel list archives for the discussions if you're interested. _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Tue, Nov 5, 2013 at 12:52 AM, Frank Harrell f.harrell@vanderbilt.edu wrote:
Thank you very much Colomban. What is the release cycle for debian/ubuntu updates to geany?
For Ubuntu you have this up-to-date PPA: https://launchpad.net/~geany-dev/+archive/ppa . But the Geany release cycles are rather slow (~6-12 months), as far as I know.
Regards, Liviu
Frank
On 11/04/2013 10:48 AM, Colomban Wendling wrote:
Hi,
Le 03/11/2013 16:28, Frank Harrell a écrit :
I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
We currently miss configurable indentation settings [1], so deciding if indentation should be based on braces is something chosen in the code, and apparently it wasn't the case for R. It's now fixed, since all examples I could find showed that indeed the language syntax used braces for blocks just like many languages.
https://github.com/geany/geany/commit/5c22c9d73e14f77959d0de27c8363a1fe8fe89...
Regards, Colomban
[1] because its a lengthy and complex topic and we didn't yet get an implementation sufficiently good, simple and flexible for us to be happy with it. See the devel list archives for the discussions if you're interested. _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
-- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
I don't think there is a ppa for xubuntu saucy. I tried sudo touch /etc/apt/sources.list.d/geany-dev-ppa-raring.list then sudo apt-get-update but the system could then find no updates to geany.
Frank
On 11/06/2013 06:51 AM, Liviu Andronic wrote:
On Tue, Nov 5, 2013 at 12:52 AM, Frank Harrell f.harrell@vanderbilt.edu wrote:
Thank you very much Colomban. What is the release cycle for debian/ubuntu updates to geany?
For Ubuntu you have this up-to-date PPA: https://launchpad.net/~geany-dev/+archive/ppa . But the Geany release cycles are rather slow (~6-12 months), as far as I know.
Regards, Liviu
Frank
On 11/04/2013 10:48 AM, Colomban Wendling wrote:
Hi,
Le 03/11/2013 16:28, Frank Harrell a écrit :
I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated.
We currently miss configurable indentation settings [1], so deciding if indentation should be based on braces is something chosen in the code, and apparently it wasn't the case for R. It's now fixed, since all examples I could find showed that indeed the language syntax used braces for blocks just like many languages.
https://github.com/geany/geany/commit/5c22c9d73e14f77959d0de27c8363a1fe8fe89...
Regards, Colomban
[1] because its a lengthy and complex topic and we didn't yet get an implementation sufficiently good, simple and flexible for us to be happy with it. See the devel list archives for the discussions if you're interested. _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
-- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Frank, add the following to any file in /etc/apt/sources.list.d:
deb http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main deb-src http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main
I don’t think there are any problem dependencies that would prevent the raring package from installing on saucy. Usually (though certainly not always) installing a package built for an older distribution than you’re running is trouble-free. At least it has been for me in seven years using Debian-based operating systems, where third-party packages tend to be built for either the current stable release (Debian) or the current LTS release (Ubuntu).
James
On Wed, Nov 6, 2013 at 8:20 PM, James Brierley jmb8710@gmail.com wrote:
Frank, add the following to any file in /etc/apt/sources.list.d:
deb http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main deb-src http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main
I don’t think there are any problem dependencies that would prevent the raring package from installing on saucy. Usually (though certainly not always) installing a package built for an older distribution than you’re running is trouble-free. At least it has been for me in seven years using Debian-based operating systems, where third-party packages tend to be built for either the current stable release (Debian) or the current LTS release (Ubuntu).
To avoid testing binary-incompatibilities, a neater option in my opinion is to 'copy packages' from https://launchpad.net/~geany-dev/+archive/ppa/+packages to one of your personal PPAs on Launchpad (it's really just a click of a button!).
For fun I copied geany - 1.23+dfsg-1~hyper1+raring to https://launchpad.net/~landronimirc/+archive/collection/+packages , and while doing so asked to 'rebuild' for 'Saucy'.
But all this is a moot point. Ubuntu Saucy already ships geany-1.23.1. Frank, can you install that?
Regards, Liviu
On 11/06/2013 01:44 PM, Liviu Andronic wrote:
On Wed, Nov 6, 2013 at 8:20 PM, James Brierley jmb8710@gmail.com wrote:
Frank, add the following to any file in /etc/apt/sources.list.d:
deb http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main deb-src http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main
I don’t think there are any problem dependencies that would prevent the raring package from installing on saucy. Usually (though certainly not always) installing a package built for an older distribution than you’re running is trouble-free. At least it has been for me in seven years using Debian-based operating systems, where third-party packages tend to be built for either the current stable release (Debian) or the current LTS release (Ubuntu).
To avoid testing binary-incompatibilities, a neater option in my opinion is to 'copy packages' from https://launchpad.net/~geany-dev/+archive/ppa/+packages to one of your personal PPAs on Launchpad (it's really just a click of a button!).
For fun I copied geany - 1.23+dfsg-1~hyper1+raring to https://launchpad.net/~landronimirc/+archive/collection/+packages , and while doing so asked to 'rebuild' for 'Saucy'.
But all this is a moot point. Ubuntu Saucy already ships geany-1.23.1. Frank, can you install that?
My xubuntu system already installed that, but it apparently does not have the recent R indentation improvements.
Frank
Regards, Liviu _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 7 November 2013 09:23, Frank Harrell f.harrell@vanderbilt.edu wrote:
On 11/06/2013 01:44 PM, Liviu Andronic wrote:
On Wed, Nov 6, 2013 at 8:20 PM, James Brierley jmb8710@gmail.com wrote:
Frank, add the following to any file in /etc/apt/sources.list.d:
deb http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main deb-src http://ppa.launchpad.net/geany-dev/ppa/ubuntu raring main
I don’t think there are any problem dependencies that would prevent the raring package from installing on saucy. Usually (though certainly not always) installing a package built for an older distribution than you’re running is trouble-free. At least it has been for me in seven years using Debian-based operating systems, where third-party packages tend to be built for either the current stable release (Debian) or the current LTS release (Ubuntu).
To avoid testing binary-incompatibilities, a neater option in my
opinion is to 'copy packages' from https://launchpad.net/~geany-dev/+archive/ppa/+packages to one of your personal PPAs on Launchpad (it's really just a click of a button!).
For fun I copied geany - 1.23+dfsg-1~hyper1+raring to https://launchpad.net/~landronimirc/+archive/collection/+packages , and while doing so asked to 'rebuild' for 'Saucy'.
But all this is a moot point. Ubuntu Saucy already ships geany-1.23.1. Frank, can you install that?
My xubuntu system already installed that, but it apparently does not have the recent R indentation improvements.
Thats about 6 months old, but is the current release.
Changes made since then will only be available in Git or nightly builds ( http://nightly.geany.org/) until the next release which on past practice will be between 0 and 6 months, with a leaning towards sooner rather than later if a nasty bug in the Windows build gets fixed.
Cheers Lex
Frank
Regards, Liviu _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
-- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
I have tried and tried to install a nightly bill or using ppa. [ppa just keeps giving me 1.23.1; so does augmenting /etc/apt/sources.list with recommended deb commands]. When I get clone or download the git .zip file the install instructions say to run ./configure. But there is no configure file in what I download the files.
At one point I gut autoconf to create a configure file (maybe from configure.ac??) but when running it I get
No package 'gtk+-2.0' found [and there is no ubuntu package by that name anyway]
I have tried getting nightly builds of .deb files but have been unable to find them on the recommended sites and wonder anyway about compatibility with my xubuntu 13.10.
Frank
On 11/06/2013 04:40 PM, Lex Trotman wrote:
On 7 November 2013 09:23, Frank Harrell <f.harrell@vanderbilt.edu mailto:f.harrell@vanderbilt.edu> wrote:
On 11/06/2013 01:44 PM, Liviu Andronic wrote: On Wed, Nov 6, 2013 at 8:20 PM, James Brierley <jmb8710@gmail.com <mailto:jmb8710@gmail.com>> wrote: Frank, add the following to any file in /etc/apt/sources.list.d: deb http://ppa.launchpad.net/__geany-dev/ppa/ubuntu <http://ppa.launchpad.net/geany-dev/ppa/ubuntu> raring main deb-src http://ppa.launchpad.net/__geany-dev/ppa/ubuntu <http://ppa.launchpad.net/geany-dev/ppa/ubuntu> raring main I don’t think there are any problem dependencies that would prevent the raring package from installing on saucy. Usually (though certainly not always) installing a package built for an older distribution than you’re running is trouble-free. At least it has been for me in seven years using Debian-based operating systems, where third-party packages tend to be built for either the current stable release (Debian) or the current LTS release (Ubuntu). To avoid testing binary-incompatibilities, a neater option in my opinion is to 'copy packages' from https://launchpad.net/~geany-__dev/+archive/ppa/+packages <https://launchpad.net/~geany-dev/+archive/ppa/+packages> to one of your personal PPAs on Launchpad (it's really just a click of a button!). For fun I copied geany - 1.23+dfsg-1~hyper1+raring to https://launchpad.net/~__landronimirc/+archive/__collection/+packages <https://launchpad.net/~landronimirc/+archive/collection/+packages> , and while doing so asked to 'rebuild' for 'Saucy'. But all this is a moot point. Ubuntu Saucy already ships geany-1.23.1. Frank, can you install that? My xubuntu system already installed that, but it apparently does not have the recent R indentation improvements.
Thats about 6 months old, but is the current release.
Changes made since then will only be available in Git or nightly builds (http://nightly.geany.org/) until the next release which on past practice will be between 0 and 6 months, with a leaning towards sooner rather than later if a nasty bug in the Windows build gets fixed.
Cheers Lex
Frank Regards, Liviu _________________________________________________ Users mailing list Users@lists.geany.org <mailto:Users@lists.geany.org> https://lists.geany.org/cgi-__bin/mailman/listinfo/users <https://lists.geany.org/cgi-bin/mailman/listinfo/users> -- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University _________________________________________________ Users mailing list Users@lists.geany.org <mailto:Users@lists.geany.org> https://lists.geany.org/cgi-__bin/mailman/listinfo/users <https://lists.geany.org/cgi-bin/mailman/listinfo/users>
Le 10/11/2013 16:38, Frank Harrell a écrit :
I have tried and tried to install a nightly bill or using ppa. [ppa just keeps giving me 1.23.1; so does augmenting /etc/apt/sources.list with recommended deb commands]. When I get clone or download the git .zip file the install instructions say to run ./configure. But there is no configure file in what I download the files.
When you get a Git version (and not a release tarball) you need to run autogen first, see http://www.geany.org/Download/Git
No package 'gtk+-2.0' found [and there is no ubuntu package by that name anyway]
You need the GTK+ development files like noted in the README under the Requirements section, which is in the libgtk2.0-dev package on Debian-like distros. You'll also need automake and a C compiler (gcc).
Regards, Colomban
That worked like a charm. Thank you so much Colomban. Does the git .zip file for the current development version of geany contain all the latest plugins that are in the stable version of geany?
You are the rest of the team are doing wonderful work on geany. I'm recommending geany to several of my colleagues.
Best, Frank
On 11/10/2013 09:48 AM, Colomban Wendling wrote:
Le 10/11/2013 16:38, Frank Harrell a écrit :
I have tried and tried to install a nightly bill or using ppa. [ppa just keeps giving me 1.23.1; so does augmenting /etc/apt/sources.list with recommended deb commands]. When I get clone or download the git .zip file the install instructions say to run ./configure. But there is no configure file in what I download the files.
When you get a Git version (and not a release tarball) you need to run autogen first, see http://www.geany.org/Download/Git
No package 'gtk+-2.0' found [and there is no ubuntu package by that name anyway]
You need the GTK+ development files like noted in the README under the Requirements section, which is in the libgtk2.0-dev package on Debian-like distros. You'll also need automake and a C compiler (gcc).
Regards, Colomban _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 11 November 2013 03:02, Frank Harrell f.harrell@vanderbilt.edu wrote:
That worked like a charm. Thank you so much Colomban. Does the git .zip file for the current development version of geany contain all the latest plugins that are in the stable version of geany?
No, the geany-plugins is a separate project, downloads at http://plugins.geany.org/downloads.html
Cheers Lex
You are the rest of the team are doing wonderful work on geany. I'm recommending geany to several of my colleagues.
Best, Frank
On 11/10/2013 09:48 AM, Colomban Wendling wrote:
Le 10/11/2013 16:38, Frank Harrell a écrit :
I have tried and tried to install a nightly bill or using ppa. [ppa just keeps giving me 1.23.1; so does augmenting /etc/apt/sources.list with recommended deb commands]. When I get clone or download the git .zip file the install instructions say to run ./configure. But there is no configure file in what I download the files.
When you get a Git version (and not a release tarball) you need to run autogen first, see http://www.geany.org/Download/Git
No package 'gtk+-2.0' found [and there is no ubuntu package by that name
anyway]
You need the GTK+ development files like noted in the README under the Requirements section, which is in the libgtk2.0-dev package on Debian-like distros. You'll also need automake and a C compiler (gcc).
Regards, Colomban _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
-- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users