[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-05 Thread Drew Wilson
So I've officially switched to carbon emacs, and I'm loving it. Is there a
way to launch a second instance - double-clicking the executable seems to
just bring the original instance to the foreground. Feel free to tell me I'm
Doing It Wrong, but when working on two trees simultaneously I like to open
them in separate emacs instances so I don't accidentally make edits in the
wrong tree.

-atw

On Tue, Nov 3, 2009 at 10:16 AM, Kenneth Russell  wrote:

> There's a Carbon-based, non-Aquamacs Emacs available for Mac OS X.
> Recommended.
>
> http://www.emacswiki.org/emacs/EmacsForMacOS
> http://www.emacswiki.org/emacs/CarbonEmacsPackage
>
> -Ken
>
> On Tue, Nov 3, 2009 at 10:08 AM, Drew Wilson 
> wrote:
> > I've been using Aquamacs, although I don't like the fact that it has *so
> > many* modes built-in and turned-on by default, and I also don't like the
> > fact that it doesn't lend itself well to customization (it has its own
> set
> > of initialization files it keeps hidden off). It's decent, though (but
> > again, I've devolved over the years to using almost vanilla emacs
> bindings
> > to allow moving to new platforms easier).
> > I've also been known to use the built-in GNU emacs from a terminal shell
> > (especially when working remotely/SSH-ing). I see no reason why you can't
> > have the same experience that you do with your Linux box, although you'd
> > have to find a way to drag the google3 elisp over.
> > -atw
> >
> > On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr. <
> phajdan...@chromium.org>
> > wrote:
> >>
> >> Recently I started working more and more on Mac OS X, and I'm trying to
> >> find an editor that would work the best for me.
> >> On Linux I used GNU Emacs with many customizations. Some of the most
> handy
> >> ones for working on Chromium were Google Style script and launching the
> >> compilation from the editor. I also used Vim keybindings (Viper) a lot.
> >> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the
> >> Vim emulation seems to be only half-working (selecting text in Vim
> "visual"
> >> mode isn't working).
> >> I also tried Xcode, but it seems that the editor isn't powerful enough.
> I
> >> don't know how to quickly remove an entire line (2 keystrokes in Vim),
> or a
> >> few lines (3 keystrokes). However, the "Open Quickly" option
> (cmd-shift-d)
> >> is very nice. I also couldn't find an easy solution to automatically
> remove
> >> trailing whitespace in Xcode.
> >> Do you have any tips about effective editing on Mac? Which solution
> would
> >> you recommend?
> >>
> >
> >
> > > >
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-04 Thread Jens Alfke


On Nov 3, 2009, at 9:56 AM, Paweł Hajdan Jr. wrote:

> I also tried Xcode, but it seems that the editor isn't powerful  
> enough. I don't know how to quickly remove an entire line (2  
> keystrokes in Vim)

With the normal Mac key bindings it's Cmd-leftarrow, Shift-downarrow,  
delete. If you want to delete multiple lines repeat the Shift-downarrow.

Xcode has a whole UI in its prefs for editing the key bindings, and  
there are a bunch of 'secret' commands that aren't hooked up by  
default (or are bound to keystrokes so obscure you'd never discover  
them), such as cursor movement by sub-words (i.e. to the next capital  
letter.)

> I also couldn't find an easy solution to automatically remove  
> trailing whitespace in Xcode.

TextMate has a command for that, buried in the Plain Text bundle.

—Jens
--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-04 Thread Jian Li
Note that changing default keybindings will cause lots of false alarms when
you run WebKit layout tests :(


On Wed, Nov 4, 2009 at 9:02 AM, Nico Weber  wrote:

>
> > Thanks for all answers! I think I'll use CarbonEmacs for editing (it's
> great, my entire .emacs finally works) and Xcode for compiling. Aquamacs
> just landed in the trash.
> > It's nice that Xcode supports some Emacs keybindings - I didn't know
> that.
>
> That's a feature of OS X, these keybindings work in nearly all
> textboxes (even chrome's). It's configurable, too:
> http://www.hcs.harvard.edu/~jrus/Site/cocoa-text.html
>
> >
> > >
>
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-04 Thread Nico Weber

> Thanks for all answers! I think I'll use CarbonEmacs for editing (it's great, 
> my entire .emacs finally works) and Xcode for compiling. Aquamacs just landed 
> in the trash.
> It's nice that Xcode supports some Emacs keybindings - I didn't know that.

That's a feature of OS X, these keybindings work in nearly all
textboxes (even chrome's). It's configurable, too:
http://www.hcs.harvard.edu/~jrus/Site/cocoa-text.html

>
> >

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-04 Thread Paweł Hajdan Jr .
Thanks for all answers! I think I'll use CarbonEmacs for editing (it's
great, my entire .emacs finally works) and Xcode for compiling. Aquamacs
just landed in the trash.

It's nice that Xcode supports some Emacs keybindings - I didn't know that.

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Kenneth Russell

In Carbon emacs, the command key works as Meta, and copying/pasting is
integrated with the system clipboard. There are probably other
advantages.

-Ken

On Tue, Nov 3, 2009 at 1:21 PM, Drew Wilson  wrote:
> I've heard this suggested a few times (not just in this thread) - is there
> an advantage to running Carbon Emacs instead of
> plain-old-GNU-Emacs-in-a-terminal?
> -atw
>
> On Tue, Nov 3, 2009 at 1:14 PM, Scott Hess  wrote:
>>
>> +1.  I found Aquamacs weird/annoying.  Carbon Emacs seemed a lot
>> better.  [I come from a Linux background.]
>>
>> -scott
>>
>>
>> On Tue, Nov 3, 2009 at 11:16 AM, Kenneth Russell  wrote:
>> >
>> > There's a Carbon-based, non-Aquamacs Emacs available for Mac OS X.
>> > Recommended.
>> >
>> > http://www.emacswiki.org/emacs/EmacsForMacOS
>> > http://www.emacswiki.org/emacs/CarbonEmacsPackage
>> >
>> > -Ken
>> >
>> > On Tue, Nov 3, 2009 at 10:08 AM, Drew Wilson 
>> > wrote:
>> >> I've been using Aquamacs, although I don't like the fact that it has
>> >> *so
>> >> many* modes built-in and turned-on by default, and I also don't like
>> >> the
>> >> fact that it doesn't lend itself well to customization (it has its own
>> >> set
>> >> of initialization files it keeps hidden off). It's decent, though (but
>> >> again, I've devolved over the years to using almost vanilla emacs
>> >> bindings
>> >> to allow moving to new platforms easier).
>> >> I've also been known to use the built-in GNU emacs from a terminal
>> >> shell
>> >> (especially when working remotely/SSH-ing). I see no reason why you
>> >> can't
>> >> have the same experience that you do with your Linux box, although
>> >> you'd
>> >> have to find a way to drag the google3 elisp over.
>> >> -atw
>> >>
>> >> On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr.
>> >> 
>> >> wrote:
>> >>>
>> >>> Recently I started working more and more on Mac OS X, and I'm trying
>> >>> to
>> >>> find an editor that would work the best for me.
>> >>> On Linux I used GNU Emacs with many customizations. Some of the most
>> >>> handy
>> >>> ones for working on Chromium were Google Style script and launching
>> >>> the
>> >>> compilation from the editor. I also used Vim keybindings (Viper) a
>> >>> lot.
>> >>> On Mac, I tried Aquamacs, but some of my customizations broke. Also,
>> >>> the
>> >>> Vim emulation seems to be only half-working (selecting text in Vim
>> >>> "visual"
>> >>> mode isn't working).
>> >>> I also tried Xcode, but it seems that the editor isn't powerful
>> >>> enough. I
>> >>> don't know how to quickly remove an entire line (2 keystrokes in Vim),
>> >>> or a
>> >>> few lines (3 keystrokes). However, the "Open Quickly" option
>> >>> (cmd-shift-d)
>> >>> is very nice. I also couldn't find an easy solution to automatically
>> >>> remove
>> >>> trailing whitespace in Xcode.
>> >>> Do you have any tips about effective editing on Mac? Which solution
>> >>> would
>> >>> you recommend?
>> >>>
>> >>
>> >>
>> >> >
>> >>
>> >
>> > >> >
>> >
>
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Drew Wilson
I've heard this suggested a few times (not just in this thread) - is there
an advantage to running Carbon Emacs instead of
plain-old-GNU-Emacs-in-a-terminal?

-atw

On Tue, Nov 3, 2009 at 1:14 PM, Scott Hess  wrote:

> +1.  I found Aquamacs weird/annoying.  Carbon Emacs seemed a lot
> better.  [I come from a Linux background.]
>
> -scott
>
>
> On Tue, Nov 3, 2009 at 11:16 AM, Kenneth Russell  wrote:
> >
> > There's a Carbon-based, non-Aquamacs Emacs available for Mac OS X.
> Recommended.
> >
> > http://www.emacswiki.org/emacs/EmacsForMacOS
> > http://www.emacswiki.org/emacs/CarbonEmacsPackage
> >
> > -Ken
> >
> > On Tue, Nov 3, 2009 at 10:08 AM, Drew Wilson 
> wrote:
> >> I've been using Aquamacs, although I don't like the fact that it has *so
> >> many* modes built-in and turned-on by default, and I also don't like the
> >> fact that it doesn't lend itself well to customization (it has its own
> set
> >> of initialization files it keeps hidden off). It's decent, though (but
> >> again, I've devolved over the years to using almost vanilla emacs
> bindings
> >> to allow moving to new platforms easier).
> >> I've also been known to use the built-in GNU emacs from a terminal shell
> >> (especially when working remotely/SSH-ing). I see no reason why you
> can't
> >> have the same experience that you do with your Linux box, although you'd
> >> have to find a way to drag the google3 elisp over.
> >> -atw
> >>
> >> On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr. <
> phajdan...@chromium.org>
> >> wrote:
> >>>
> >>> Recently I started working more and more on Mac OS X, and I'm trying to
> >>> find an editor that would work the best for me.
> >>> On Linux I used GNU Emacs with many customizations. Some of the most
> handy
> >>> ones for working on Chromium were Google Style script and launching the
> >>> compilation from the editor. I also used Vim keybindings (Viper) a lot.
> >>> On Mac, I tried Aquamacs, but some of my customizations broke. Also,
> the
> >>> Vim emulation seems to be only half-working (selecting text in Vim
> "visual"
> >>> mode isn't working).
> >>> I also tried Xcode, but it seems that the editor isn't powerful enough.
> I
> >>> don't know how to quickly remove an entire line (2 keystrokes in Vim),
> or a
> >>> few lines (3 keystrokes). However, the "Open Quickly" option
> (cmd-shift-d)
> >>> is very nice. I also couldn't find an easy solution to automatically
> remove
> >>> trailing whitespace in Xcode.
> >>> Do you have any tips about effective editing on Mac? Which solution
> would
> >>> you recommend?
> >>>
> >>
> >>
> >> >
> >>
> >
> > > >
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Scott Hess

Carbon Emacs makes the Alt key work right, and copy/paste to the
system pasteboard works like I expect w/in emacs.  I find using emacs
w/in Terminal.app to be annoying enough that I use emacsclient to
throw edits out to Emacs.app.

-scott


On Tue, Nov 3, 2009 at 2:21 PM, Drew Wilson  wrote:
> I've heard this suggested a few times (not just in this thread) - is there
> an advantage to running Carbon Emacs instead of
> plain-old-GNU-Emacs-in-a-terminal?
> -atw
>
> On Tue, Nov 3, 2009 at 1:14 PM, Scott Hess  wrote:
>>
>> +1.  I found Aquamacs weird/annoying.  Carbon Emacs seemed a lot
>> better.  [I come from a Linux background.]
>>
>> -scott
>>
>>
>> On Tue, Nov 3, 2009 at 11:16 AM, Kenneth Russell  wrote:
>> >
>> > There's a Carbon-based, non-Aquamacs Emacs available for Mac OS X.
>> > Recommended.
>> >
>> > http://www.emacswiki.org/emacs/EmacsForMacOS
>> > http://www.emacswiki.org/emacs/CarbonEmacsPackage
>> >
>> > -Ken
>> >
>> > On Tue, Nov 3, 2009 at 10:08 AM, Drew Wilson 
>> > wrote:
>> >> I've been using Aquamacs, although I don't like the fact that it has
>> >> *so
>> >> many* modes built-in and turned-on by default, and I also don't like
>> >> the
>> >> fact that it doesn't lend itself well to customization (it has its own
>> >> set
>> >> of initialization files it keeps hidden off). It's decent, though (but
>> >> again, I've devolved over the years to using almost vanilla emacs
>> >> bindings
>> >> to allow moving to new platforms easier).
>> >> I've also been known to use the built-in GNU emacs from a terminal
>> >> shell
>> >> (especially when working remotely/SSH-ing). I see no reason why you
>> >> can't
>> >> have the same experience that you do with your Linux box, although
>> >> you'd
>> >> have to find a way to drag the google3 elisp over.
>> >> -atw
>> >>
>> >> On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr.
>> >> 
>> >> wrote:
>> >>>
>> >>> Recently I started working more and more on Mac OS X, and I'm trying
>> >>> to
>> >>> find an editor that would work the best for me.
>> >>> On Linux I used GNU Emacs with many customizations. Some of the most
>> >>> handy
>> >>> ones for working on Chromium were Google Style script and launching
>> >>> the
>> >>> compilation from the editor. I also used Vim keybindings (Viper) a
>> >>> lot.
>> >>> On Mac, I tried Aquamacs, but some of my customizations broke. Also,
>> >>> the
>> >>> Vim emulation seems to be only half-working (selecting text in Vim
>> >>> "visual"
>> >>> mode isn't working).
>> >>> I also tried Xcode, but it seems that the editor isn't powerful
>> >>> enough. I
>> >>> don't know how to quickly remove an entire line (2 keystrokes in Vim),
>> >>> or a
>> >>> few lines (3 keystrokes). However, the "Open Quickly" option
>> >>> (cmd-shift-d)
>> >>> is very nice. I also couldn't find an easy solution to automatically
>> >>> remove
>> >>> trailing whitespace in Xcode.
>> >>> Do you have any tips about effective editing on Mac? Which solution
>> >>> would
>> >>> you recommend?
>> >>>
>> >>
>> >>
>> >> >
>> >>
>> >
>> > >> >
>> >
>
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Scott Hess

+1.  I found Aquamacs weird/annoying.  Carbon Emacs seemed a lot
better.  [I come from a Linux background.]

-scott


On Tue, Nov 3, 2009 at 11:16 AM, Kenneth Russell  wrote:
>
> There's a Carbon-based, non-Aquamacs Emacs available for Mac OS X. 
> Recommended.
>
> http://www.emacswiki.org/emacs/EmacsForMacOS
> http://www.emacswiki.org/emacs/CarbonEmacsPackage
>
> -Ken
>
> On Tue, Nov 3, 2009 at 10:08 AM, Drew Wilson  wrote:
>> I've been using Aquamacs, although I don't like the fact that it has *so
>> many* modes built-in and turned-on by default, and I also don't like the
>> fact that it doesn't lend itself well to customization (it has its own set
>> of initialization files it keeps hidden off). It's decent, though (but
>> again, I've devolved over the years to using almost vanilla emacs bindings
>> to allow moving to new platforms easier).
>> I've also been known to use the built-in GNU emacs from a terminal shell
>> (especially when working remotely/SSH-ing). I see no reason why you can't
>> have the same experience that you do with your Linux box, although you'd
>> have to find a way to drag the google3 elisp over.
>> -atw
>>
>> On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr. 
>> wrote:
>>>
>>> Recently I started working more and more on Mac OS X, and I'm trying to
>>> find an editor that would work the best for me.
>>> On Linux I used GNU Emacs with many customizations. Some of the most handy
>>> ones for working on Chromium were Google Style script and launching the
>>> compilation from the editor. I also used Vim keybindings (Viper) a lot.
>>> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the
>>> Vim emulation seems to be only half-working (selecting text in Vim "visual"
>>> mode isn't working).
>>> I also tried Xcode, but it seems that the editor isn't powerful enough. I
>>> don't know how to quickly remove an entire line (2 keystrokes in Vim), or a
>>> few lines (3 keystrokes). However, the "Open Quickly" option (cmd-shift-d)
>>> is very nice. I also couldn't find an easy solution to automatically remove
>>> trailing whitespace in Xcode.
>>> Do you have any tips about effective editing on Mac? Which solution would
>>> you recommend?
>>>
>>
>>
>> >
>>
>
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Jeremy Orlow
On Tue, Nov 3, 2009 at 10:12 AM, Paweł Hajdan Jr.
wrote:

> On Tue, Nov 3, 2009 at 19:08, Drew Wilson  wrote:
>
>> I've also been known to use the built-in GNU emacs from a terminal shell
>> (especially when working remotely/SSH-ing). I see no reason why you can't
>> have the same experience that you do with your Linux box, although you'd
>> have to find a way to drag the google3 elisp over.
>>
>
> I have it working. For reference, the file can be downloaded from
> http://google-styleguide.googlecode.com/svn/trunk/google-c-style.el
>
> Maybe I should try the non-aqua Emacs, hm...
>
> How about building? Is using xcodebuild slower than running the build from
> Xcode? My simple testing shows that there is no big difference.
>

On both my MacBook Pro and Mac Pro, I found that there was a
fairly sizable difference doing incremental builds since XCode keeps track
of dependencies between builds.  When doing a full build, there's not much
difference though.

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Kenneth Russell

There's a Carbon-based, non-Aquamacs Emacs available for Mac OS X. Recommended.

http://www.emacswiki.org/emacs/EmacsForMacOS
http://www.emacswiki.org/emacs/CarbonEmacsPackage

-Ken

On Tue, Nov 3, 2009 at 10:08 AM, Drew Wilson  wrote:
> I've been using Aquamacs, although I don't like the fact that it has *so
> many* modes built-in and turned-on by default, and I also don't like the
> fact that it doesn't lend itself well to customization (it has its own set
> of initialization files it keeps hidden off). It's decent, though (but
> again, I've devolved over the years to using almost vanilla emacs bindings
> to allow moving to new platforms easier).
> I've also been known to use the built-in GNU emacs from a terminal shell
> (especially when working remotely/SSH-ing). I see no reason why you can't
> have the same experience that you do with your Linux box, although you'd
> have to find a way to drag the google3 elisp over.
> -atw
>
> On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr. 
> wrote:
>>
>> Recently I started working more and more on Mac OS X, and I'm trying to
>> find an editor that would work the best for me.
>> On Linux I used GNU Emacs with many customizations. Some of the most handy
>> ones for working on Chromium were Google Style script and launching the
>> compilation from the editor. I also used Vim keybindings (Viper) a lot.
>> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the
>> Vim emulation seems to be only half-working (selecting text in Vim "visual"
>> mode isn't working).
>> I also tried Xcode, but it seems that the editor isn't powerful enough. I
>> don't know how to quickly remove an entire line (2 keystrokes in Vim), or a
>> few lines (3 keystrokes). However, the "Open Quickly" option (cmd-shift-d)
>> is very nice. I also couldn't find an easy solution to automatically remove
>> trailing whitespace in Xcode.
>> Do you have any tips about effective editing on Mac? Which solution would
>> you recommend?
>>
>
>
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Erik Corry

2009/11/3 Paweł Hajdan Jr. :
> Recently I started working more and more on Mac OS X, and I'm trying to find
> an editor that would work the best for me.
> On Linux I used GNU Emacs with many customizations. Some of the most handy
> ones for working on Chromium were Google Style script and launching the
> compilation from the editor. I also used Vim keybindings (Viper) a lot.
> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the Vim
> emulation seems to be only half-working (selecting text in Vim "visual" mode
> isn't working).
> I also tried Xcode, but it seems that the editor isn't powerful enough. I
> don't know how to quickly remove an entire line (2 keystrokes in Vim), or a
> few lines (3 keystrokes). However, the "Open Quickly" option (cmd-shift-d)
> is very nice. I also couldn't find an easy solution to automatically remove
> trailing whitespace in Xcode.
> Do you have any tips about effective editing on Mac? Which solution would
> you recommend?

Vim?

> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Andrew Scherkus
TextMate is pretty solid and very customizable.  I wonder if we can get gyp
to generate .tmproj files :P

I also like it's "command line tool" mate for opening files from the
Terminal.

On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr. wrote:

> Recently I started working more and more on Mac OS X, and I'm trying to
> find an editor that would work the best for me.
>
> On Linux I used GNU Emacs with many customizations. Some of the most handy
> ones for working on Chromium were Google Style script and launching the
> compilation from the editor. I also used Vim keybindings (Viper) a lot.
>
> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the
> Vim emulation seems to be only half-working (selecting text in Vim "visual"
> mode isn't working).
>
> I also tried Xcode, but it seems that the editor isn't powerful enough. I
> don't know how to quickly remove an entire line (2 keystrokes in Vim), or a
> few lines (3 keystrokes). However, the "Open Quickly" option (cmd-shift-d)
> is very nice. I also couldn't find an easy solution to automatically remove
> trailing whitespace in Xcode.
>
> Do you have any tips about effective editing on Mac? Which solution would
> you recommend?
>
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Nico Weber

I heartily recommend MacVim ( http://code.google.com/p/macvim/ ). I
hear its fullscreen mode is pretty rad :-P

Having said that, XCode – like most OS X apps – support some emacs
keybindings. Your "Remove entire line" example is ctrl-a ctrl-k ctrl-k
in XCode.

I usually use some mix of MacVim and XCode.

On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr.
 wrote:
> Recently I started working more and more on Mac OS X, and I'm trying to find
> an editor that would work the best for me.
> On Linux I used GNU Emacs with many customizations. Some of the most handy
> ones for working on Chromium were Google Style script and launching the
> compilation from the editor. I also used Vim keybindings (Viper) a lot.
> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the Vim
> emulation seems to be only half-working (selecting text in Vim "visual" mode
> isn't working).
> I also tried Xcode, but it seems that the editor isn't powerful enough. I
> don't know how to quickly remove an entire line (2 keystrokes in Vim), or a
> few lines (3 keystrokes). However, the "Open Quickly" option (cmd-shift-d)
> is very nice. I also couldn't find an easy solution to automatically remove
> trailing whitespace in Xcode.
> Do you have any tips about effective editing on Mac? Which solution would
> you recommend?
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Drew Wilson
I've been using Aquamacs, although I don't like the fact that it has *so
many* modes built-in and turned-on by default, and I also don't like the
fact that it doesn't lend itself well to customization (it has its own set
of initialization files it keeps hidden off). It's decent, though (but
again, I've devolved over the years to using almost vanilla emacs bindings
to allow moving to new platforms easier).

I've also been known to use the built-in GNU emacs from a terminal shell
(especially when working remotely/SSH-ing). I see no reason why you can't
have the same experience that you do with your Linux box, although you'd
have to find a way to drag the google3 elisp over.

-atw

On Tue, Nov 3, 2009 at 9:56 AM, Paweł Hajdan Jr. wrote:

> Recently I started working more and more on Mac OS X, and I'm trying to
> find an editor that would work the best for me.
>
> On Linux I used GNU Emacs with many customizations. Some of the most handy
> ones for working on Chromium were Google Style script and launching the
> compilation from the editor. I also used Vim keybindings (Viper) a lot.
>
> On Mac, I tried Aquamacs, but some of my customizations broke. Also, the
> Vim emulation seems to be only half-working (selecting text in Vim "visual"
> mode isn't working).
>
> I also tried Xcode, but it seems that the editor isn't powerful enough. I
> don't know how to quickly remove an entire line (2 keystrokes in Vim), or a
> few lines (3 keystrokes). However, the "Open Quickly" option (cmd-shift-d)
> is very nice. I also couldn't find an easy solution to automatically remove
> trailing whitespace in Xcode.
>
> Do you have any tips about effective editing on Mac? Which solution would
> you recommend?
>
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Which editor do you recommend on Mac OS X?

2009-11-03 Thread Paweł Hajdan Jr .
On Tue, Nov 3, 2009 at 19:08, Drew Wilson  wrote:

> I've also been known to use the built-in GNU emacs from a terminal shell
> (especially when working remotely/SSH-ing). I see no reason why you can't
> have the same experience that you do with your Linux box, although you'd
> have to find a way to drag the google3 elisp over.
>

I have it working. For reference, the file can be downloaded from
http://google-styleguide.googlecode.com/svn/trunk/google-c-style.el

Maybe I should try the non-aqua Emacs, hm...

How about building? Is using xcodebuild slower than running the build from
Xcode? My simple testing shows that there is no big difference.

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---