Change to Open Hidden?!?!

2010-03-25 Thread fritz
Okay, seriously, this is asinine.

I just upgraded to the latest 9.3.1 and I went to edit my hosts
file.  I hit File-Open Hidden and ... hey, wait, NO hidden files
are showing!

I'm like, WTF, why aren't you showing my hidden files?!?

I cancel out and hit File-Open to see if, on the off chance, that
it might show my hidden files there.  Nope, not there either.

So, I have to go back to the finder and nav to the etc folder manually
so I can drag my hosts file onto BBEdit.

When I'm done, I check the internets to find out that you've added a
checkbox to Show Hidden Files.  WTF!??!?!

I never even bothered to look for a checkbox because, why should I
have to hit a checkbox to get it to show hidden files when I've
already hit a menu command that CLEARLY tells it to do that?!?!

And now, you have TWO menu options with DIFFERENT titles that do
EXACTLY THE SAME THING.

Also, hitting the checkbox in one open dialog also changes the setting
of the checkbox in the other open dialog.  What?!?!  NOO!

This UI change was clearly not thought out well.  From a programming
perspective, I can totally appreciate wanting to consolidate things.
From a usability standpoint, you're not making things easier, you've
actually managed to add a click to the workflow.  Having an extra
checkbox there is like popping up an alert box that says I know you
already told me to show you the hidden files, but are you really sure
you want to see the hidden files?  If a user hits a menu option that
says Open Hidden you better doggone well show a list of hidden
files!

And making the setting persist now adds another click when I hit File-
Open to turn off hidden files.  God, this is so annoying now.  Just
because I'm opening a hidden file this time doesn't mean the next time
it's going to be another hidden file.  The ratio of non-hidden to
hidden files I open is like 100 to 1.  Menu options should do what
they advertise.

Please, please, please fix this, I beg of you!

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: Change to Open Hidden?!?!

2010-03-25 Thread Carlton Gibson
Sounds like one for supp...@barebones.com

On 25 Mar 2010, at 08:40, fritz wrote:

 Okay, seriously, this is asinine.
 
 I just upgraded to the latest 9.3.1 and I went to edit my hosts
 file.  I hit File-Open Hidden and ... hey, wait, NO hidden files
 are showing!
 
 I'm like, WTF, why aren't you showing my hidden files?!?
 
 I cancel out and hit File-Open to see if, on the off chance, that
 it might show my hidden files there.  Nope, not there either.
 
 So, I have to go back to the finder and nav to the etc folder manually
 so I can drag my hosts file onto BBEdit.
 
 When I'm done, I check the internets to find out that you've added a
 checkbox to Show Hidden Files.  WTF!??!?!
 
 I never even bothered to look for a checkbox because, why should I
 have to hit a checkbox to get it to show hidden files when I've
 already hit a menu command that CLEARLY tells it to do that?!?!
 
 And now, you have TWO menu options with DIFFERENT titles that do
 EXACTLY THE SAME THING.
 
 Also, hitting the checkbox in one open dialog also changes the setting
 of the checkbox in the other open dialog.  What?!?!  NOO!
 
 This UI change was clearly not thought out well.  From a programming
 perspective, I can totally appreciate wanting to consolidate things.
 From a usability standpoint, you're not making things easier, you've
 actually managed to add a click to the workflow.  Having an extra
 checkbox there is like popping up an alert box that says I know you
 already told me to show you the hidden files, but are you really sure
 you want to see the hidden files?  If a user hits a menu option that
 says Open Hidden you better doggone well show a list of hidden
 files!
 
 And making the setting persist now adds another click when I hit File-
 Open to turn off hidden files.  God, this is so annoying now.  Just
 because I'm opening a hidden file this time doesn't mean the next time
 it's going to be another hidden file.  The ratio of non-hidden to
 hidden files I open is like 100 to 1.  Menu options should do what
 they advertise.
 
 Please, please, please fix this, I beg of you!
 
 -- 
 You received this message because you are subscribed to the 
 BBEdit Talk discussion group on Google Groups.
 To post to this group, send email to bbedit@googlegroups.com
 To unsubscribe from this group, send email to
 bbedit+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/bbedit?hl=en
 If you have a feature request or would like to report a problem, 
 please email supp...@barebones.com rather than posting to the group.
 
 To unsubscribe from this group, send email to 
 bbedit+unsubscribegooglegroups.com or reply to this email with the words 
 REMOVE ME as the subject.

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: BBEdit git/mercurial

2010-03-25 Thread Roddie Grant
Hi Jeet

I'm grateful for your help with this; I'm at the edge of my experience with
shells. We're a little off topic, so don't feel obliged to reply.

foo = !sh -c 'echo hello' 
works fine, but when I try various permutations of
foo = !sh -c 'echo $#' 
with git foo bar I get 0 returned. I can't work out if I'm doing
something wrong with the argument, or if something else is wrong.

Advice appreciated!

Roddie


On 23/3/10 23:05, jeetsukuma...@frogweb.org jeetsukuma...@gmail.com
wrote:

 It is in the '[alias]' section, exactly like yours.
 
 One difference I can see is that you have no space between the 0 and
 the escape character at the end of the line, but I don't think this is
 significant.
 
 Maybe you might want to experiment with a simpler construct, such as:
 
 [alias]
  foo = !sh -c 'echo hello' 
 
 and see if that works. Then slowly expand this to the full invocation
 by adding the bits and pieces one at time (e.g., the conditional, then
 the exit, etc.).
 
 -- jeet
 
 On Mar 23, 4:55 pm, Alex Satrapa gr...@goldweb.com.au wrote:
 On 23/03/2010, at 17:48 , jeetsukuma...@frogweb.org wrote:
 
 See my reply to Roddie above. What shell are you using?
 
 I'm using ZSH, the only shell!
 
 [alias]
    bbdiff = !sh -c \if [ -f '$1' ]  [ -f '$2' ]; then /usr/bin/bbdiff
 --wait --resume '$1' '$2'; fi; exit 0\
 
 What section is your bbdiff line in?


-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


syntax recognition for PowerShell

2010-03-25 Thread ceeblet
I have to do some PowerShell scripting (Microsoft Windows) and would
love to use my BBEdit. Does anyone know of a way I can get BBEdit to
recognize PowerShell syntax?
Thanks much.

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


OT: terminal settings

2010-03-25 Thread Steve deRosier
Sorry for the OT post, but this was the best place I could think of
that would have some terminal gurus.

I use my Mac and BBEdit primarily for embedded and linux programming.
As such, I spend much of my time in terminal, sshed into various
machines.  As I'm sshed into many different machines at once, I
typically use different terminal settings (via the inspector) to color
the background in order to keep my windows visually distinct.  It's
painful to open up several windows (sometimes I have 6 or more open
per machine) and change the profile via inspector for each one.

So the question: does anyone know a way to automatically have terminal
switch to a different profile?

Ideally, I'd love it to automatically notice from the command-line I
enter.  For example, if I enter
`ssh foxtrot.local`
it switches to profile 1
and if I enter
`ssh marvin.local`
it switches to profile 2

Is there a way to tell terminal on the command-line to switch?

I'd be willing to setup aliases that run a command-line program to do
it for me if that's necessary (though prefered is the auto-sniff of my
command-line).
alias ssh-marvin= switch-profile 1; ssh marvin.local

Does anyone have any ideas about this?

Thanks,
- Steve

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: Change to Open Hidden?!?!

2010-03-25 Thread Robert A. Rosenberg

At 01:40 -0700 on 03/25/2010, fritz wrote about Change to Open Hidden?!?!:


Okay, seriously, this is asinine.

I just upgraded to the latest 9.3.1 and I went to edit my hosts
file.  I hit File-Open Hidden and ... hey, wait, NO hidden files
are showing!

I'm like, WTF, why aren't you showing my hidden files?!?

I cancel out and hit File-Open to see if, on the off chance, that
it might show my hidden files there.  Nope, not there either.

So, I have to go back to the finder and nav to the etc folder manually
so I can drag my hosts file onto BBEdit.

When I'm done, I check the internets to find out that you've added a
checkbox to Show Hidden Files.  WTF!??!?!
[snip]


The two options serve different purposes. The File-Open Hidden is 
designed to parse the directory and only show Hidden Files. The Check 
Box is to display hidden files in addition to the normal ones when 
you use Open. The problem is that the state of the check box should 
not be consulted when you do an Open Hidden only when you do an Open. 
When checked ALL files in the directory should be displayed while 
when unchecked only normal files should display. As noted, Open 
Hidden should ALWAYS display all the hidden files.


--
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.

To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.


To unsubscribe from this group, send email to bbedit+unsubscribegooglegroups.com or reply 
to this email with the words REMOVE ME as the subject.


Re: OT: terminal settings

2010-03-25 Thread Rod Buchanan
On Mar 25, 2010, at 1:49 PM, Steve deRosier wrote:

 I use my Mac and BBEdit primarily for embedded and linux programming.
 As such, I spend much of my time in terminal, sshed into various
 machines.  As I'm sshed into many different machines at once, I
 typically use different terminal settings (via the inspector) to color
 the background in order to keep my windows visually distinct.  It's
 painful to open up several windows (sometimes I have 6 or more open
 per machine) and change the profile via inspector for each one.
 
 So the question: does anyone know a way to automatically have terminal
 switch to a different profile?

Under Shell - New Window I have profiles for 45-50 different servers/logins 
defined.  They are created in Preferences on the Settings tab.  There you can 
define widow size, color, everything.  On the Shell tab I specify ssh 
x...@yyy.domain.com so the window opens to the server I want to go to.  They 
can also be accessed by right-clicking the Terminal Dock icon.

 Is there a way to tell terminal on the command-line to switch?

Not that I'm aware of.

-- 
Rod Buchanan
Kelly Supply / KDSI / ISCO
308 382-8764 x220

Here in America we are descended in blood and in spirit from revolutionists 
and rebels - men and women who dare to dissent from accepted doctrine. As their 
heirs, may we never confuse honest dissent with disloyal subversion.
-- Dwight D. Eisenhower

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: OT: terminal settings

2010-03-25 Thread John Delacour

At 11:49 -0700 25/3/10, Steve deRosier wrote:


It's painful to open up several windows (sometimes I have 6 or more open
per machine) and change the profile via inspector for each one.


Have you looked at Terminal's scripting dictionary?  For example you 
can do this from the command line:



$ osascript -e tell app \terminal\ to set background color of 
front window to {-1024, -3203, 1327}


--
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.

To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.


To unsubscribe from this group, send email to bbedit+unsubscribegooglegroups.com or reply 
to this email with the words REMOVE ME as the subject.


Re: BBEdit git/mercurial

2010-03-25 Thread J. Gregg Thomason
On Mar 20, 11:31 am, Jim Correia jim.corr...@pobox.com wrote:
 For git, I have a script named git-diff-driver.sh with the contents:

         #!/bin/sh

         if [ -f $1 ]  [ -f $2 ]; then
                 bbdiff --wait --resume $1 $2
         fi
         exit 0

 and then set GIT_EXTERNAL_DIFF to point at this script. `git diff` will 
 review the files one by one in BBEdit. You can specify —no-ext-diff to get 
 the built-in behavior.

I always end up with 'bbedit: Warning: no data available on standard
in' when using this to do git diff, eg
[gr...@tardis: Dir] (master)$ git diff bin/something.rb
bbedit: Warning: no data available on standard in
[gr...@tardis: Dir] (master)$

Hints?

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: OT: terminal settings

2010-03-25 Thread Alex Satrapa
On 26/03/2010, at 05:49 , Steve deRosier wrote:

 So the question: does anyone know a way to automatically have terminal
 switch to a different profile?

Not *quite* what you want:
http://int19h.wordpress.com/2010/03/25/54/

Uses a bastard mix of shell script and AppleScript to achieve something along 
the lines of what you want :)

Alex

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.