Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31767
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Recommendation for a good Android programming book? |
| Date | 2015-06-04 21:00 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <mkqe9c$bi5$1@dont-email.me> (permalink) |
| References | (5 earlier) <7c1d9qow7tvt.1hllzvzp9zig2.dlg@40tude.net> <mk2iup$m42$1@dont-email.me> <mk2o2o$ldm$1@dont-email.me> <mk2shj$5i4$1@dont-email.me> <556fa92c$0$295$14726298@news.sunsite.dk> |
On Wed, 03 Jun 2015 21:26:04 -0400, Arne Vajhøj wrote: > [sorry if duplicate post] > > On 5/26/2015 6:36 PM, Martin Gregorie wrote: > > On Tue, 26 May 2015 17:21:32 -0400, Eric Sosman wrote: > >> This is a more precise operation than a global search-and-replace, > >> because the IDE can distinguish one `x' from another: If I rename > >> one of my instance fields from `x' to `columnIndex', the IDE won't > >> mess up the references to `x' in some other class like > >> java.awt.Point. > >> > > I normally use microEmacs, which can do almost that: > > > > me org/gregorie/newproject/*.java > > > > Then tell it once only what I want it to replace and what with just > > once and it works through all the files. I've never discovered a > > limit to the number of files it can load. As a bonus the search term > > can be a regex. > > Yes. But can it distinguish between different x's based on the meaning > of the code within the files being edited? > No, unlike vi, where once you start an "s/x/y/" request running you can't interfere, microEmacs approach is to ask what you want to do at each match. The options are do it, skip this one, abandon (and it has an undo facility) or to get on and do the lot. This lets you pick and choose which matches to replace if you know that not all hits need replacing (your 'x' case), or if you know that all should be replaced, to check that the first one or two are working as expected and then let it do the rest without asking. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Recommendation for a good Android programming book? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-20 15:16 -0700
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-05-21 20:30 -0400
Re: Recommendation for a good Android programming book? e.d.programmer@gmail.com - 2015-05-22 08:16 -0700
Re: Recommendation for a good Android programming book? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-25 20:40 -0700
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-05-26 10:15 +0000
Re: Recommendation for a good Android programming book? Joerg Meier <joergmmeier@arcor.de> - 2015-05-26 13:27 +0200
Re: Recommendation for a good Android programming book? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-26 07:33 -0700
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-05-26 19:52 +0000
Re: Recommendation for a good Android programming book? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-05-26 17:21 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-05-26 22:36 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-03 21:26 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-04 21:00 +0000
Re: Recommendation for a good Android programming book? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-06-05 08:06 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-05 17:30 +0000
Re: Recommendation for a good Android programming book? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-06-05 13:59 -0400
Re: Recommendation for a good Android programming book? e.d.programmer@gmail.com - 2015-06-05 05:50 -0700
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-05 17:35 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-06 23:50 -0400
Re: Recommendation for a good Android programming book? e.d.programmer@gmail.com - 2015-06-08 07:39 -0700
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-28 21:42 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-29 08:20 +0000
Re: Recommendation for a good Android programming book? Jeff Higgins <jeff@invalid.invalid> - 2015-06-29 05:49 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 07:37 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 07:35 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-29 15:01 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 14:08 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 14:18 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-29 21:00 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-07-27 22:22 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-06 23:48 -0400
csiph-web