Re: BBEdit or BBEdit-Like Editor Running Directly in Terminal

2023-04-03 Thread Steve deRosier
Hi Rick,

I spend most of my time editing files that are on Linux boxes where I've
got ssh access only.  I add this to my .bashrc:

export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`

export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`


function bbedit {


# bbedit won't open a remote file via sftp if it doesn't exist. So, if it's
a new file

# create it, call bbedit to open, and then kill it.

FCREATED=0

if [ ! -e "$PWD/$1" ]

then

touch "$PWD/$1"

FCREATED=1

fi

ssh derosier@$REMOTEHOST /usr/local/bin/bbedit -c -u --front-window
"sftp://$USER@$HOSTIP/$PWD/$1;

# The above call will background and return immediately. The file will open
in bbedit

# but since we've created it, and we don't want to leave it around, we kill
it right away.

# If the user saves it, it gets recreated and content is saved. If not,
there's no file,

# so we're cool too. It's a bit odd, but it works.

if [ "$FCREATED" -eq "1" ]

then

rm "$PWD/$1"

fi

}

Then editing a file is as simple as `bbedit somefile.txt` It calls back to
my Mac and has bbedit open the file via sftp.  Edit, hit cmd-s and close
the file/window as desired. Easy. Obviously you need ssh server enabled and
your keys setup to avoid password prompts, but you can figure all that out.

Anyway, maybe that helps for you!

- Steve



On Mon, Apr 3, 2023 at 4:34 PM 'Gregory Shenaut' via BBEdit Talk <
bbedit@googlegroups.com> wrote:

> You could consider using sshfs.
>
> Greg Shenaut
>
> Sent from my iPhone
>
> > On Apr 3, 2023, at 14:21, Rick Gordon  wrote:
> >
> > Is there any way to get a subset of BBEdit-like functionality in a
> Terminal editor?
> >
> > I often use BBEdit as a means of editing in the Terminal on my own
> computer, but that doesn't work so easily with another computer that I
> access via ssh, where I can't really exit the Terminal to edit. though I
> could install a tool that I could run in the Terminal.
> >
> > I see that there are a number of mouse-aware Terminal editors that are
> available, and am just looking at ci-edit <
> https://github.com/google/ci_edit>, though it seems sluggish.
> >
> > I'd appreciate any suggestions here. Thanks.
> >
> > ___
> > RICK GORDON
> > EMERALD VALLEY GRAPHICS AND CONSULTING
> > ___
> > WWW: http://www.shelterpub.com
> >
> > --
> > This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> > --- You received this message because you are subscribed to the Google
> Groups "BBEdit Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to bbedit+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/642B4195.9010704%40rickgordon.com
> .
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/87C1D38D-8CAA-4EEA-8FF4-CF9E7CFF0D5E%40me.com
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbR%2BUtEN%3Da6POaYcuRMSf_49TEoEi%3Dyn5mL1JYWDSfYW64A%40mail.gmail.com.


Re: Copilot support?

2023-03-28 Thread Steve deRosier
I imagine it wouldn't be impossible, but barebones would be in the best
place to implement it. But maybe you could write a language module for it
or use the scripting capabilities? People have gotten it working well in
Emacs: https://robert.kra.hn/posts/2023-02-22-copilot-emacs-setup/

- Steve

On Tue, Mar 28, 2023 at 2:25 PM James Reynolds 
wrote:

> I'm trying GitHub Copilot. I don't want to use VSCode. I have no idea how
> hard it is to use with BBEdit. Does anyone know?
>
> James Reynolds
> magnusviri.com
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/CAHzDbtcg5ZKgETvrYu3G%3DWYvg62pTQDhFhGLZ1oqTyX6%2B%3DNdOw%40mail.gmail.com
> 
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbR%2Bgn6oH7-y29jrZFgVfjZ9RhRK87x58dc7K1SBCRWnvBw%40mail.gmail.com.


Re: Using BBEdit for markdown presentation?

2021-04-19 Thread Steve deRosier
I typically edit with BBEdit, but I view Markdown with Marked 2. I
highly recommend: https://marked2app.com/

Recently I decided to replace my Evernote with Joplin, so if your
primary use is to take notes, I suggest looking at
https://joplinapp.org/

- Steve

On Mon, Apr 19, 2021 at 9:02 AM Tibor Páli  wrote:
>
> Dear All,
>
> I am thinking of getting into markdown (for note management and interlinking, 
> maybe with some additional apps - currently I use huge plain text log files 
> and grep searches in BBEdit).
>
> It seems that .md files are automatically assigned to BBEdit (I haven’t done 
> it), and it has a nice .md language mode. The live link to the built-in 
> preview, even with full screen mode is also very nice. I am also testing 
> Obsidian (which works with plain text .md files), and if I use therein 
> relative links BBEdit can find the files: it opens the linked .md. Obsidian 
> has a presentation mode, but it does not follow links, shows just a single 
> document.
>
> I would like to be able to make a simple presentation using interlinked .md 
> files (following the links, stepping back to previous .md, and the like) and 
> staying in the BBEdit Preview window.
>
> However, when I click on a link (in the preview) to another .md file then it 
> opens a rendering in the selected (or unselected) browser (and not in its own 
> preview), and from Safari I can not follow additional link. Safari does not 
> even allows me to open .md files directly. Maybe BBEdit renders the .md into 
> html and calles the browser.
>
> Is it possible to have the BBEdit preview to open new .md files by clicking 
> to links and REMAIN WITHIN THE BBEdit Preview, preferably in full screen mode 
> (and opening the .md files in the background)?.
>
> I could achieve something similar with Devonthink using rtf files: created a 
> master document with links in it to other docs. Worked well, including the 
> navigation. So far I could not do it even in Devonthink with .md files.
>
> If this is not possible with BBEdit, what are the alternatives?
>
> With best wishes,
>
> Tibor
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/7B9B076D-6297-4EF1-8568-FFD70E56E6E5%40gmail.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRKNbrrh5BBPTrJVtVxLfY6yfyRYSz-KFca1k1S3fH%3DDFA%40mail.gmail.com.


Re: Dropbox Version Application Support in Big Sur

2021-03-08 Thread Steve deRosier
Maybe you have the new Smart Sync enabled and those folders/files
aren't actually local?

- Steve

On Mon, Mar 8, 2021 at 8:05 AM BeeRich33  wrote:
>
> I'm now getting an OS error as well:
>
> Operation not permitted by the OS (application error code: 11).
>
> Anybody else?
>
> Cheers
>
> On Thursday, March 4, 2021 at 10:23:53 PM UTC-5 BeeRich33 wrote:
>>
>> Hi folks.
>>
>> I have a "dev".project that has a folder in a Dropbox folder.  It has a 
>> bunch of documents inside it.
>>
>> It keeps disappearing when I restart the box.  It's like this project loads 
>> before Dropbox loads (which has a copy of this on the box as well).  The 
>> folder shows up in the sidebar, but it's empty.
>>
>> How can I fix this?  Any insight appreciated.
>>
>> Cheers
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/62e7ee46-1d7a-4a62-b8e8-ac7e5612e478n%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRJYckMru3Y3VSGMbtABCjhw%2BAxsN-jrtcV0EeuDpgTfXw%40mail.gmail.com.


Re: is beside the emacs mode also a vi/vim mode available ?

2020-11-08 Thread Steve deRosier
On Sun, Nov 8, 2020 at 3:06 PM Charlie Garrison
 wrote:
>
> Good morning,
>
> On 7 Nov 2020, at 3:24, Steve deRosier wrote:
>
> I probably would've used rbbedit if it had existed when I started
> doing this, but the above works well for me and I've never had a
> reason to change my method.
>
> Yep, that's what rbbedit does (minus new file creation; I'll have to add 
> that), but just abstracts away many of the finer details so it's easy to 
> install and use on lots of servers.
>
> I'm curious, how long have you been using your scripts? rbbedit is still 
> young compared to BBEdit, but it's far from being an infant:

Honestly, I can't even remember.  I've been using BBEdit in some form
for > 20 years.  Best guess, I started using the .bashrc function and
bbeditcscope script > 10-12 years ago. For a long time I was making
very heavy use of sshfs/fuse or nfs mounting also, so that my files
just looked like "local" files. Lately not so much, relying much more
heavily on the sftp functions of BBEdit, especially as I'm relying
more and more on VPN access to central development servers.

Primary development use case: embedded Linux, so lots of work on Linux
drivers (C, DTS), build systems like OpenWRT and Buildroot (make and
CMake files), WiFi firmware, Python utilities and frameworks. I tend
to dislike IDEs as embedded doesn't lend itself well to that model.

- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbR%2BRfmys_PF7mODV-FjMT97ak6Eh9WvZSEJMTFEvU%3DRTvA%40mail.gmail.com.


Re: is beside the emacs mode also a vi/vim mode available ?

2020-11-06 Thread Steve deRosier
I can't speak for rbbedit, but I do pretty much the same thing with a
simple set of lines in my .bashrc:

export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`
export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`

function bbedit {

# bbedit won't open a remote file via sftp if it doesn't
exist. So, if it's a new file
# create it, call bbedit to open, and then kill it.
FCREATED=0
if [ ! -e "$PWD/$1" ]
then
touch "$PWD/$1"
FCREATED=1
fi

ssh $USER@$REMOTEHOST /usr/local/bin/bbedit -c -u
--front-window "sftp://$USER@$HOSTIP/$PWD/$1;

# The above call will background and return immediately. The
file will open in bbedit
# but since we've created it, and we don't want to leave it
around, we kill it right away.
# If the user saves it, it gets recreated and content is
saved. If not, there's no file,
# so we're cool too. It's a bit odd, but it works.
if [ "$FCREATED" -eq "1" ]
then
rm "$PWD/$1"
fi
}

And then I just `bbedit file.txt` all day long. I spend all day ssh'd
into Linux boxes editing kernel code and embedded Linux systems.  I
expect there's many ways to do this and make it compatible with sudo
if you tinkered sufficiently.  Note for cscope to work, you actually
need a script. I have this and then I set my CSCOPE_EDITOR to the
path:
$ cat ~/bin/bbeditcscope
#!/bin/bash
# $1 : Line number from cscope in +## format
# $2 : File name, relative to cscope's location
ssh $USER@$REMOTEHOST /usr/local/bin/bbedit --front-window $1
"sftp://$USER@$HOSTIP/$PWD/$2;

I probably would've used rbbedit if it had existed when I started
doing this, but the above works well for me and I've never had a
reason to change my method.

- Steve


On Fri, Nov 6, 2020 at 5:43 AM Peace Keeper  wrote:
>
> Thanks Charlie,
>
> I have read some threads here in the forum about rbbedit. I just looked 
> through the code on github and it is a nice script. I think for me a 
> one-liner with scp might be enough. On the other side I think about changing 
> my workflow a bit. As I am using anyhow tmux from the macOS with bbedit 
> installed, Only challenge are files owned by root as I don't allow ssh 
> connection for root. But I could change my workflow to use first git and push 
> the file to my Mac as remote, then make changes with bbedit on my private 
> "github" on my make includeing a checkin, then initate a git pull from 
> remote. This workflow would bring me some additional improvments: all files 
> are versioned, all files are backuped, a centralized repository for 
> distributing the changes to all other server would be available.
>
> As I understand that BareBones is focusing on the macOS, a bbedit-daemon on  
> remote systems would be  a nice feature and might be needed anyhow in the 
> future: if people switch from laptop to tablets only , they will program/work 
> directly on the remote machines using the tablet only as a front-end ( 
> Something like a dump terminal with some local features)  In this case. In a 
> CI and CD environment that would be a nice feature.
>
> Charlie Garrison schrieb am Donnerstag, 5. November 2020 um 23:38:18 UTC+1:
>>
>> On 6 Nov 2020, at 8:30, Peace Keeper wrote:
>>
>> Too bad, that I can't use bbedit from a remote tmux session to initiate an 
>> edit of a local file on a remote server. Seems I still have to initiate that 
>> from macOS
>>
>> It's not the actual editor, but rbbedit will help with editing files using 
>> BBEdit, that you have on remote servers.
>>
>> https://github.com/cngarrison/rbbedit
>>
>> Edit local (server) files on remote (users) workstation using BBEdit.
>>
>> -cng
>>
>> --
>>
>> Charlie Garrison   
>> Garrison Computer Services  
>> PO Box 380
>> Tumbarumba NSW 2653  Australia
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/4ae46a8d-38c4-4388-8d78-76963208c6bfn%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: debugger and module docs on from remote machine

2020-10-06 Thread Steve deRosier
I'm going to suggest you email supp...@barebones.com with a feature request.

In my thoughts on this: I don't know how BBEdit would know how to find the
remote documentation, unless embedded in the open python document, in which
case it probably would be showing that anyway.

As for running the python program, I never run from BBEdit, I've always
found that a terminal window ssh'd into the remote machine (or locally), is
both more flexible as well as more reliable (ie I know exactly what is
running, where and how).  Honestly, I didn't even know "Run in Debugger"
was an option as I've never thought to run it from BBEdit.

- Steve



On Tue, Oct 6, 2020 at 9:43 AM Munroe Sollog  wrote:

> I'm primarily using python.  I was just trying to use the "#!" menu
> (pictured below) to show the module documentation.  It seems to try to show
> the module documentation from the local machine which doesn't work well
> when I am developing on a remote machine.
>
> [image: image.png]
>
> On Tue, Oct 6, 2020 at 11:57 AM Steve deRosier  wrote:
>
>> As BBEdit doesn't have an integrated debugger (as it's not an IDE), I
>> expect you're talking about an external program. BBEdit is very
>> flexible and can do many things both with running external programs
>> and apple scripts, so anything is _possible_. Perhaps if you explained
>> what you're doing more specifically, including languages and program
>> names, we might be able to answer more specifically.
>>
>> - Steve
>>
>>
>> On Tue, Oct 6, 2020 at 5:56 AM Munroe Sollog  wrote:
>> >
>> > Is it possible to configure Bbedit to run the debugger and display
>> module documentation from the machine that code lives on?  I often develop
>> on a remote machine using the FTP browser which means many of the
>> dependencies and modules don't exist on my local computer.
>> >
>> > --
>> > This is the BBEdit Talk public discussion group. If you have a feature
>> request or need technical support, please email "supp...@barebones.com"
>> rather than posting here. Follow @bbedit on Twitter: <
>> https://twitter.com/bbedit>
>> > ---
>> > You received this message because you are subscribed to the Google
>> Groups "BBEdit Talk" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to bbedit+unsubscr...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bbedit/ada8bd2b-5a6c-460e-a0fa-dc59ab84d901n%40googlegroups.com
>> .
>>
>> --
>> This is the BBEdit Talk public discussion group. If you have a feature
>> request or need technical support, please email "supp...@barebones.com"
>> rather than posting here. Follow @bbedit on Twitter: <
>> https://twitter.com/bbedit>
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BBEdit Talk" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/bbedit/DPcV3v1cBOk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> bbedit+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bbedit/CALLGbRLfn0SgDSbLE%2B%3DsH9gYfa51ngRK74jXQC09-ktH10RWsQ%40mail.gmail.com
>> .
>>
>
>
> --
> Munroe Sollog (He/Him/His)
> Senior Network Engineer
> mun...@lehigh.edu
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/CAN3u969MC72SZCqmsb8C5sCBpu47_Vm3OyU9ddhxSXrnobE5%3DQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/bbedit/CAN3u969MC72SZCqmsb8C5sCBpu47_Vm3OyU9ddhxSXrnobE5%3DQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRKMY-2W9nWfq55pO2heNtwyacZOY-WyEjVi%3D%2B6N5-v-3A%40mail.gmail.com.


Re: debugger and module docs on from remote machine

2020-10-06 Thread Steve deRosier
As BBEdit doesn't have an integrated debugger (as it's not an IDE), I
expect you're talking about an external program. BBEdit is very
flexible and can do many things both with running external programs
and apple scripts, so anything is _possible_. Perhaps if you explained
what you're doing more specifically, including languages and program
names, we might be able to answer more specifically.

- Steve


On Tue, Oct 6, 2020 at 5:56 AM Munroe Sollog  wrote:
>
> Is it possible to configure Bbedit to run the debugger and display module 
> documentation from the machine that code lives on?  I often develop on a 
> remote machine using the FTP browser which means many of the dependencies and 
> modules don't exist on my local computer.
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/ada8bd2b-5a6c-460e-a0fa-dc59ab84d901n%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRLfn0SgDSbLE%2B%3DsH9gYfa51ngRK74jXQC09-ktH10RWsQ%40mail.gmail.com.


Re: Can BBEdit format code like it formats HTML?

2020-09-18 Thread Steve deRosier
Well, it does automatically handle indentation depending on your settings,
and you can setup clippings if that's your jam. It also does a lot of
coloring, especially nice when setup via ctags.

For more hardcore reformatting, you can always setup to trigger external
commands, like `astyle` for C/C++/Java, or one of the many python PEP8
formatters.  The flexibility in this regard is one of the things I like
about BBEdit. Though personally I usually restrict such options to doing
manually on the commandline; for python projects I use pylint triggered
from a Makefile to enforce style guidelines that I choose to enable.

I also like the fact it doesn't autoformat for me... in other words it
doesn't get in my way or overrule me. Since for any given project I'm
working with 3-8 different languages, it staying out of my way and only
helping in the ways I want is critical. I also wouldn't ever want an editor
take in a project file and just reformat it for me because that breaks
revision control history for zero useful purpose; I've had IDEs do this to
me and dropped them immediately because of it.

Hope that helps!
- Steve


On Fri, Sep 18, 2020 at 10:49 AM James Reynolds <
james.biology.u...@gmail.com> wrote:

> I know BBEdit has an HTML formatter. Can it also format code? Like what
> https://beautifier.io/ does for JavaScript?
>
> James Reynolds
> Sr Systems Administrator
> School of Biological Sciences
> The University of Utah
> 801-585-3086
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/0F089104-5A7A-4BE0-A750-5B7965AE443B%40gmail.com
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRKuo271RRTuSHpy9wnpKuDy9O-WPNJcMtHLoCfB7wtsXQ%40mail.gmail.com.


Re: What preferences are in com.barebones.bbedit.plist

2020-04-06 Thread Steve deRosier
OK, thanks!

- Steve

On Mon, Apr 6, 2020 at 1:51 PM Rich Siegel  wrote:

> On 4/6/20 at 4:36 PM, deros...@gmail.com (Steve deRosier) wrote:
>
> >So the question is, what preferences are in this that won't be synced if I
> >do a dropbox sync?
>
> All of them. Every setting that is manipulated via the
> Preferences window, plus expert preferences, plus "invisible"
> settings that provide continuity of experience, like dialog box
> settings and window positions for "singleton" windows such as
> palettes, the Find window, and so forth.
>
> R.
> --
> Rich Siegel Bare Bones Software, Inc.
>   <https://www.barebones.com/>
>
> Someday I'll look back on all this and laugh... until they
> sedate me.
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/r480Ps-10146i-54514B7225194D21BBAA61F183CF59CF%40Stormwind.local
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbR%2BkBz3atTaqMr8y2Y8Rg_TnMOKo99S6UstfEqPO%2B%2BtyYw%40mail.gmail.com.


What preferences are in com.barebones.bbedit.plist

2020-04-06 Thread Steve deRosier
>From "BBEdit 13.0 User Manual":

Since the system does not support relocation of an application’s core
preferences data file
(/Users//Library/Preferences/com.barebones.bbedit.plist), you
cannot directly sync these settings.


So the question is, what preferences are in this that won't be synced if I
do a dropbox sync?

Trying to get an idea of what to sync between two Macs that I use both
daily.

Thanks,
- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRL%2BWNLQWWfYAz7bQMotWjhGORdRvHxyFyFW8tBUcnvdBA%40mail.gmail.com.


Re: Shebang Line Woes

2020-03-06 Thread Steve deRosier
On Fri, Mar 6, 2020 at 3:53 AM Paul Gobble  wrote:
>
> Steve,
>
> I took BBEdit out of the testing earlier this evening. I've been doing all my 
> editing with vim and attempting to run the script from the command line.  
> I've made the two test cases as similar as possible. Both env and Pyton3 
> reside in /usr/bin on both systems.  The PATH contains /usr/bin in both 
> systems.  the scripts on both systems have the same chmod 755 permissions.  
> The Raspberry Pi runs like you'd expect, the Mac just won't comprehend or 
> acknowledge the Shebang line.
>
> I'm at a loss.
>

Well, first off, you do realize you could still _edit_ with BBEdit and
run from the terminal, right?  BBEdit's an editor (a great and
powerful one), not an IDE.

In any case, the fact you can't run it from the command line tells me
there's nothing wrong with BBEdit, there's something wrong with your
python install. Sam's suggestion re: Catalina's quarantine is a good
one. Alternately, you might investigate how you have python installed.
I happen to prefer to utilize the project pyenv to setup my pythons on
both Mac and Linux so I can easily control my versions without
disturbing the system install and without system-dependant hacks:

https://github.com/pyenv/pyenv#readme

Good luck!
- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbR%2Bnd5_hP8T_4mOcEHywCfp%3DK6USpaKjzKvBoRVLq%2Bf2JQ%40mail.gmail.com.


Re: Shebang Line Woes

2020-03-05 Thread Steve deRosier
Did you try on your mac the exact same thing you did on Linux?  ie
chmod a+x and try to execute it from the command line?  My bet is it
works.  Personally, I don't think I've ever run a python script via
BBedit, I always use my terminal.  In any case, validate you can do it
from the terminal in a "normal" way first, and then I'd suggest
emailing support.

- Steve

On Thu, Mar 5, 2020 at 7:23 PM Paul Gobble  wrote:
>
> I keep banging my head against this problem.  To try something different, I 
> ssh over to my Raspberry Pi.  I check, and its got Python 3 right there in 
> /usr/bin/ . So I use vim to create same script on the Rasperrry Pi, chmod 
> 755, and I see "Hello World" the very first try.
>
> So to recap, both my PowerBook with macOS 10.15.3 and my Raspberry Pi running 
> Debian GNU/Linux have a version of Python3 installed in their /usr/bin 
> directories.  Both system have /usr/bin in their PATH.  They both have the 
> same two line script and both start with the same Shebang: 
> #!/usr/bin/python3.  The Raspberry Pi works perfect, the Mac can only muster 
> "#!/usr/bin/python3: No such file or directory".
>
> What is different between the two systems? Where should I look?
>
>
> On Thursday, March 5, 2020 at 7:06:11 AM UTC-5, Paul Gobble wrote:
>>
>> I'm using BBedit 13.0.5 on Mac Os 10.15.3 as my editor while I try to learn 
>> a bit of Python3.
>>
>> #!/usr/bin/env python3
>> print('Hello World')
>>
>> Baby steps.
>>
>> I try to execute this from the Run menu item in the #! menu and get
>>
>> /Users/.../Scripts/python_test-01.py: line 1: #!/usr/bin/env: No such file 
>> or directory
>>
>> Then I try to use the direct path in the shebang line
>>
>> #!/usr/bin/python3
>> print('Hello World')
>>
>> and get a very similar response
>>
>> /Users.../Scripts/python_test-01.py: line 1: #!/usr/bin/python3: No such 
>> file or directory
>>
>> So I go investigate in the Terminal app and look around.
>>
>> Emonda:bin paul$ pwd
>>
>> /usr/local/bin
>>
>> Emonda:bin paul$ whereis python3
>>
>> /usr/bin/python3
>>
>> Emonda:bin paul$ whereis env
>>
>> /usr/bin/env
>>
>> Emonda:bin paul$
>>
>>
>> Both env and python3 are right where I said they were in the shebang line, 
>> but interpreter can't find them!
>>
>> Can anyone help me out here?  What am I missing?
>>
>> Thanks,
>> Paul
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/f3a60234-2b25-44bc-8200-58c528dc8bca%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRKtbB5C1UtxEhV%2BgudsbBA5bij%3DXCG-JUP1b982oAe%2BBA%40mail.gmail.com.


Re: How to switch between files / to a certain file when open in a single window

2020-03-04 Thread Steve deRosier
View->Previous/Next Document

FWIW In my testing it seems to cycle through them in order used, not in
order listed.

- Steve


On Wed, Mar 4, 2020 at 3:30 PM Vlad Ghitulescu  wrote:

> Hey!
>
> I have currently 3 files open in the same window.
>
> Is there a way…
>
>1.
>
>… to cycle through the open files and / or
>2.
>
>… to jump to a specific files (like pressing CMD - 1 for the first,
>CMD - 2 for the second etc.)
>
> ?
>
> Thanks!
>
> Regards,
> Vlad
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/060D566A-0441-48F7-9278-B4752287FDD0%40Ghitulescu.de
> 
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRKEtds-WUP9A-suyYYAptg%2B_aUEa1W%3DGc7WTL0unVJYRQ%40mail.gmail.com.


Re: How to automate Zap Gremlins

2020-03-04 Thread Steve deRosier
A few hints:

1. You can open using the UTF-16 encoding and then use the little drop
down in the file's footer to change the encoding and resave it.
2. You can use the Find dialog (cmd-f, use the "Find All" button) to
bring up a results browser on "error" and then you can just jump from
one to the other, while retaining context.
3. You can use Text->Process Lines Containing... to either delete all
non "error" lines or create a new file just with the "error" lines.

- Steve

On Wed, Mar 4, 2020 at 2:36 PM 'Chad Baker' via BBEdit Talk
 wrote:
>
> The file opens fine without the ¿ gremlins in BBEdit without any intervention 
> on my part. And I can search it fine in BBEdit. What Console does differently 
> , that I like, is that when I search it will filter the file so that it only 
> shows log lines that have a matching word, and hides the rest. So when I 
> search "error" it will hide 10,000 lines of irrelevant log content and just 
> show me the 5 lines of errors. If BBEdit has a mode where it can hide lines 
> that don't contain a match, then that would work too. I could dump Console 
> and just use BBE for my log analysis tool.
> If I follow your suggestion and use Reopen Using Encoding Unicode (UTF-16, No 
> BOM) it looks fine in BBEdit, but it doesn't actually change the file so 
> Console will search it correctly. For that, I still have to do the steps I 
> mentioned and actually do a destructive edit that removes the ¿'s  then Save. 
> Unless I'm just being dense, which is a possibility that I apologize in 
> advance for.
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/4b43e52c-94a2-4b9d-9c8f-6b16782b343e%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRK7%2BVKrQkbJt02OQVZW%2BXtU-h_o0gNQGkidrQJ8b4uZtQ%40mail.gmail.com.


Re: Any plan to port a Linux (debian/Ubuntu) version

2020-03-02 Thread Steve deRosier
I do this too - using BBEdit to edit files on my Linux boxes.  There's
three primary methods I use:

1. I have an NFS export on my Linux box and mount it on my Mac. From
there, working with files is exactly the same as if they were local.
I've sort of fallen out of this practice however due to a nasty
shutdown bug in OSX as well as the fact I'm doing a lot of editing via
VPNs remotely now.

2. For simple one-offs, I have a script that I have on my Linux boxes
that lets me type `bbedit ` and then it ssh's back to my Mac
to issue the command to tell bbedit to open the relevant file via
ssh/sftp.

3. For long-term projects, I create a new project and open an SFTP
browser and then drag the "files" from the SFTP browser into the
project bar. For subdirectories, I create a collection (sometimes
nested) for each subdirectory I care about.  Depending on the size of
the project this can be time consuming, but for big projects I tend to
do such as I need pieces instead of the whole directory structure at
once.  One of these days I intend to write myself a script that will
let me import an entire remote file structure this way, but I've never
gotten around to it.

My use case - I'm primarily an embedded Linux developer, largely
focused on the Linux WiFi stack and kernel itself. Nearly 100% of my
work _must_ be done on Linux boxes.  However, I find OSX as a much
more stable and feature-rich day-to-day desktop environment and a
better environment for me to do my Linux work.

For my BBEdit command, you can add the following to your .bashrc on
each remote linux host:

export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`
export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`
function bbedit {
# bbedit won't open a remote file via sftp if it doesn't
exist. So, if it's a new file
# create it, call bbedit to open, and then kill it.
FCREATED=0
if [ ! -e "$PWD/$1" ]
then
touch "$PWD/$1"
FCREATED=1
fi

ssh derosier@$REMOTEHOST /usr/local/bin/bbedit -c -u
--front-window "sftp://$USER@$HOSTIP/$PWD/$1;

# The above call will background and return immediately. The
file will open in bbedit
# but since we've created it, and we don't want to leave it
around, we kill it right away.
# If the user saves it, it gets recreated and content is
saved. If not, there's no file,
# so we're cool too. It's a bit odd, but it works.
if [ "$FCREATED" -eq "1" ]
then
rm "$PWD/$1"
fi
}
function bbresults {
ssh derosier@$REMOTEHOST /usr/local/bin/bbresults
}


Obviously adjust to your own username, and it's helpful to be using
key-based auth and multi-master on both sides. I use the function
`bbresults` to pipe build results to in order to bring them up in a
bbedit results window. It depends on the situation if it works well.

For using cscope, you need a script:
https://bitbucket.org/derosier/home_bin/src/master/bbeditcscope
and thus in your .bashrc:

export CSCOPE_EDITOR=bbeditcscope

Hopefully that's of some usefulness to you. Good luck!

- Steve


On Mon, Mar 2, 2020 at 7:41 AM Stephane Gauvin  wrote:
>
> Interesting -- you mean from a Mac running BBedit, right?
>
> Care to elaborate a bit more? My (extermely limited) experience with ssh is 
> to run mySQL queries via CLI. had no idea that BBedit could be used.
>
> I was planning to : (a) sync files between a day-to-day mac and Ubuntu server 
> via Dropbox (I do the same between my d2d and a remote MacPro server; or (b) 
> learn how to rsync via ssh.
>
>
> On Mon., Mar. 2, 2020, 16:06 Marshall Clow,  wrote:
>>
>> On Mar 1, 2020, at 6:36 PM, Gauvins  wrote:
>> >
>> > I am in the process of building a Linux workstation but will most likely 
>> > keep several macs as well. I like BBedit very much but will be vulnerable 
>> > to a multi-platform equivalent.
>> >
>> > Any plan to port BBedit?
>>
>> I use BBEdit to edit files on a Ubuntu system every day. (over ssh)
>>
>> — Marshall
>>
>> --
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "supp...@barebones.com" 
>> rather than posting here. Follow @bbedit on Twitter: 
>> 
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to bbedit+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/7D4836E9-88DB-48E8-9AA5-09D4EF6D80EA%40gmail.com.
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> 

Re: C grunt work - how to automate with BBEdit?

2020-01-28 Thread Steve deRosier
For the include file guards, I'd suggest either looking at the
Stationary or Clippings features. Both should easily do what you want
to varying degrees.

- Steve

On Tue, Jan 28, 2020 at 12:45 PM Sam Hathaway  wrote:
>
> There are two tasks I end up doing manually in C a lot and I’d like to not.
>
> Thing one: putting guards around header files.
>
> Any module.h should start with:
>
> #ifndef MODULE_H
> #define MODULE_H
>
> and end with:
>
> #endif /* !MODULE_H */
>
> I usually get a few minutes into writing the header file and then remember 
> that I need have an include guard. I’d like to be able to hit a key or select 
> a menu item in order to add it. The name of the guard should be derived from 
> the file name.
>
> Thing two: maintaining function prototypes in header files.
>
> Given a file.c, prototypes for all non-static functions should exist in the 
> counterpart file.h.
>
> So given file.c:
>
> void file_init(int a, int b)
> {
> /* stuff here */
> }
>
> static void helper(void)
> {
> /* more stuff */
> }
>
> void file_scan(int a, int c)
> {
> /* and again */
> }
>
> The corresponding file.h should look contain:
>
> void file_init(int a, int b);
> void file_scan(int a, int c);
>
> Again, I’d like to, from a C source file, hit a key or select a menu item to 
> add prototypes in the corresponding C header file. Bonus points if the 
> command creates the header file if it doesn’t exist yet, and adds the 
> appropriate include guard. More bonus points if it can update existing 
> prototypes if I change the return type or parameter list.
>
> Does that all make sense?
>
> I imagine AppleScript would be involved.
>
> Don’t feel like you have to write this for me, but if you already have tools 
> to do this (or part of this) please point me in their direction.
>
> Thanks for any ideas!
> -sam
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/75A92463-3871-4AD6-8546-F8DEFF1DCA2B%40munkynet.org.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRJ%2BjgSta3xk%3DwcAZW8McZS6QYEH-u29TKc3ToXKxTQmAw%40mail.gmail.com.


Re: Synchronising location in md file with preview?

2020-01-16 Thread Steve deRosier
Personally, I prefer using Marked 2 as my previewer. It can handle a wider
variety of MD dialects. And while it can't synchronize the cursor, it does
annotate the changed spot every time you save.

If you want to send in a feature request, the support email is at the
bottom of this email.

- Steve


On Thu, Jan 16, 2020 at 4:10 AM Rainer Krug  wrote:

> Hi
>
> until recently, I used Atom which has a great feature: it synchronises the
> location of the cursor in the md file with the location shown in the
> preview of the md file.
>
> Is this also possible in BBEdit?
>
> Thanks,
>
> Rainer
>
> PS: I moved towards BBEdit, because the startup of Atom was taking ages,
> because I always added new plugins, which I used once a month... In other
> words, I was fiddling with it in the same way I did with Emacs before that.
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/829af20e-88e2-4045-89fe-e573fdbf%40googlegroups.com
> 
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRLg9vbcog%2BKzvy3EHG7O-JQn%3DvZnO%2BiTdubqipOKEwdRQ%40mail.gmail.com.


Re: Live Search is not persistent

2019-12-13 Thread Steve deRosier
On Fri, Dec 13, 2019 at 5:53 AM Hephaestus  wrote:
>
> 2) Live Search only shows one item.
>  When I search for a term (say, "WARNING") in a large log production 
> file, I often have to scan through hundreds of hits.  But live search only 
> shows one.
>  Why can't I see all of them?  If I'm scrolling through thousands of 
> lines, its not reasonable to have to click the arrow button to see all the 
> hits.  Just show them!

If  you highlight a word (say, "WARNING") that will automatically be
highlighted everywhere in the file and you can just scroll down and it
will "Just show them!"  Granted, I've never done this on a file that's
constantly updating, so I guess I don't know what it will do in your
use case.

> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---

^  As it says, email supp...@barebones.com.  I've found them crazy
responsive about adding features and fixing bugs if you help them help
you.

IMHO, live viewing of a file that's constantly being appended to is a
pretty specialized use-case. With BBEdit having to constantly reload
and reparse the file, I'm not shocked it doesn't handle your very
specific case perfectly how you want it. It's like you're asking the
Ponies to jump through hoops.  There's also applications out there
that are specifically designed to work with log files, like the OSX
included Console.app.

- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CALLGbRL0WJB%2BXF9ciCbd_W5RvgPa8iubbR3OGTjfpTND7CB0qQ%40mail.gmail.com.


Re: Preserving Timestamps with SFTP deplyment.

2019-05-02 Thread Steve deRosier
Neil,

The point about the multi-file search is an excellent one. My work
around, since I'm using C or C++ with complicated projects, is to use
cscope on the remote server, with my CSCOPE_EDITOR=bbeditcscope, where
bbeditcscope is a script that looks like this:

#!/bin/bash

# $1 : Line number from cscope in +## format
# $2 : File name, relative to cscope's location
ssh derosier@$REMOTEHOST /usr/local/bin/bbedit --front-window $1
"sftp://$USER@$HOSTIP/$PWD/$2;

In my .bashrc, I set $REMOTEHOST and $HOSTIP:

export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`
export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`

Of course, while I call it a work around, I usually make heavy use of
cscope anyway as it's way easier to search giant codebases like the
Linux kernel with it.

@Mook - That should give you enough clues to figure out how to make a
bbedit command on the server.

- Steve

On Thu, May 2, 2019 at 4:52 AM Neil Faiman  wrote:
>
> I'll second Steve's recommended technique of creating a project and manually 
> loading it with remote files, which he describes clearly and completely. This 
> is how I do all my work, and it works seamlessly.
>
> One other limitation, though, beyond those that Steve mentioned: doing a 
> multi-file search (Cmd-Shift-F) on the project doesn't work when the files 
> are on a remote server. You can work around this with a command-line grep if 
> you have terminal access to the remote server, but it is a noticeable 
> limitation.
>
> Regards,
>
> Neil Faiman
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Preserving Timestamps with SFTP deplyment.

2019-05-01 Thread Steve deRosier
You can get the same use-case, using a different way of doing it. I do
the same thing - I use SFTP to edit C and C++ (and Makefiles, python,
really anything) code on a remote system where I build. I'd suggest a
different way than using 'Deploy Site', which was intended to deploy a
webserver's worth of HTML files - and as such I'd say the fact it
changes timestamps is both the expected and correct behavior.

Here's what I do:

1. Create a new bbedit project. Save it where you want depending on
how you want to use it.  I happen to usually put mine in a Dropbox
folder.
2. Open the SFTP browser to the remote computer where the source files
in question are.
3. Now, drag the files you want into your project.  I happen to like
to "Add Collection..." for each subfolder in the remote project.
Dragging the folder into your project is sometimes handy, but will
result in bringing up an SFTP window when you select it instead of
"navigating" into it in your project sidebar, hence why I like to
organize via collections.
4. When you pick a file in your project sidebar, it will SFTP open in
your BBEdit window.  When you save it, the _one_file_will_be_saved_.
And hence, only that one will get the timestamp mucked with.

There's a few downsides with this, but most are similar problems you'd
have with your current method. For example, if you happen to change
the file directly on the server, your local copy you might have open
won't be notified and thus a save there will overwrite your changes.
Easily dealt with by paying attention.

Also, if you're not doing it already, you should be using version
control (I recommend Git) on your checked out code on the server side.
My expectation is your 'Deploy Site' method would interfere with
in-tree version control. But as I've never tried it, I'm unsure if it
does.

Another way to do what you want is to use NTFS or another filesharing
method. I do mostly Linux driver work, so I work with Linux and NTFS
worked very well for me until I needed to access the same code space
via VPN when on the road.  Using NTFS it would effectively look the
same as if the code were on a local path.

Additionally, setting your server up so you can type `bbedit
` on it and have it contact your Mac to have BBEdit open the
file via SFTP is a handy tool that works very well with the above
method. I won't repeat myself, but you can find several postings in
the archives where I explain how I set that up.  With other methods of
doing the same from other people.

- Steve



On Wed, May 1, 2019 at 7:02 AM Mooki Moo  wrote:
>
> I am using BBEdit 12.6.3 64 bit on OSX Mojave v10.14.4 to locally edit a 
> Linux C++ project. However when I 'Deploy Site' this uploads all files and as 
> a consequence means that the timestamp on these change so full build is 
> required which is not always needed.
>
> Is there anyway I can preserve the timestamps from the local files or is 
> there any way to pass a -p to the SFTP used within BBEdit?
>
> --
> Mook
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Converting plaintext to Markdown in BBedit

2019-03-27 Thread Steve deRosier
Well, "in BBEdit", I'd use a keyboard and get typing. ;)

But, here's how I would do it:
https://pandoc.org/

I'm assuming that it's not required you do it by hand using BBEdit.

- Steve


On Wed, Mar 27, 2019 at 1:51 PM Mark C.  wrote:
>
> I have to reformat a bunch of texts into the Dokuwiki syntax, which is 
> basically a version of Markdown.  I'm wondering what the smartest way would 
> be to do that using BBedit.  Thanks for your suggestions.
>
> Here is a sample of the Dokuwiki syntax: https://www.dokuwiki.org/cheatsheet
>
> FORMATTING
> **bold**bold
> //italic//italic
> __underline__underline
> ''monospace'' (single quotes)monospace
> **//__''all together''__//**all together
> sup and subsup and sub
> delete textdelete text
> force\\ newlineforce
> newline
> LINKS
> [[http://www.google.com|Google]]Google
> [[mailto:f...@example.com|Mr. Foo]]Mr. Foo
> [[wiki:Syntax|Go to the syntax page]]Go to the syntax page
> [[wiki:Syntax#anchor|Link to anchor]]Link to anchor
> [[doku>interwiki|Interwiki link]]Interwiki link
>
>
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: How to keep Python active after running a script in BBedit?

2019-03-11 Thread Steve deRosier
I don't know the "BBEdit way" to do this, but here's a few
suggestions, which incidentally is how I run my python code:

* Run your python scripts from the commandline using Terminal.  Either
set them up as fully auto-run scripts (set executable and use the #!
line) or use `python `.
* Assuming you run via Terminal, you can run them interactively:
`python -i ` Basically, this means you finish your script
or hit ^c and it leaves you in the interpreter (which is what I think
you want).
* Finally, I happen to like using the pdb in my code for various
reasons. import pdb and then pdb.set_trace() will start the debugger.
In particular, I have a multi-threaded program that I actually need to
stop and run various analysis functions. I do this:
def main():
try:
run_server()
except KeyboardInterrupt:
helpme()
pdb.set_trace()

When I hit a ^c in my program, it drops me to the python debugger and
then I can use that or interactive mode to do analysis on the data
that run_server() collected.

Again, this all presumes a specific workflow - using BBEdit as an
editor only and running my programs via a terminal commandline.

Alternately, there might be a way to configure BBEdit to start your
script via `python -i` instead of just running it.

- Steve


On Mon, Mar 11, 2019 at 5:53 AM Skkippy  wrote:
>
> I can edit and run a Python script (module) in BBEdit, but BBEdit ends the 
> Python session as soon as the script completes.
>
> What I'd like is to run a script and leave the Python interpreter active, so 
> that I can fool around with the functions and variables the script has 
> defined.
>
> Is there a way to do this?
>
> Caveat: I am not a UNIX guy; I'm barely a BBEdit guy.  I have used IDLE which 
> can do this, but I much prefer the BBEdit editor.  My needs are lightweight - 
> I don't want to go to an IDE and have to learn that.
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


sync splits?

2019-03-01 Thread Steve deRosier
Does anyone know a way to sync up the top and bottom when you've split
the view?  Use-case:
I frequently split the view on a document to reference something while
working elsewhere. Fine.  But then I need to do some scrolling, etc...
now I'm working elsewhere, and I'd like to get the other viewport
quickly jumped to where I've found and go back to editing.

And in case it's not clear, I don't want both viewports synced up at
all times.  Just looking for a quick "jump the other viewport to here"
button.

I expect a single keystroke to do it. But I haven't found a relevant
BBEdit command. Does it exist?

Thanks,
- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: selected identifier highlight setting?

2019-02-06 Thread Steve deRosier
On Wed, Feb 6, 2019 at 12:45 PM Rich Siegel  wrote:
>
> On 2/6/19 at 2:56 PM, deros...@gmail.com (Steve deRosier) wrote:
>
> >I'm sure it's obvious but I can't seem to find the setting.
> >
> >If I have my cursor on an identifier, it underlines other occurrences
> >of that identifier. I want to make it more visible and would like to
> >add a highlight color, similar to how the live-search bar highlights.
> >Is there a setting, and then where is the setting to adjust this?
>
> The color isn't configurable; it will always be derived from the
> foreground text color ("Plain text"). However, in the Editing
> preferences, you can control whether it underlines, or
> highlights (the latter being rather less subtle).
>

Thanks Rich, that's good enough for me.  I knew there was an option
somewhere and I just was missing it.

- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


selected identifier highlight setting?

2019-02-06 Thread Steve deRosier
I'm sure it's obvious but I can't seem to find the setting.

If I have my cursor on an identifier, it underlines other occurrences
of that identifier. I want to make it more visible and would like to
add a highlight color, similar to how the live-search bar highlights.
Is there a setting, and then where is the setting to adjust this?

I don't always desire it, but I'm doing some heavy refactoring right
now and it'd be useful to change this setting for a few days.

If it matters, I'm using C and Python.

Thanks,
- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Osascript/tcsh Question

2018-12-16 Thread Steve deRosier
If I use your alias and just type

quit Microsoft Word

it works fine.  Only if I include the quotes like you have it does it
fail with your error message. Perhaps you're over thinking it?

- Steve

On Sat, Dec 15, 2018 at 2:17 PM Rick Gordon  wrote:
>
> Not specifically a BBEdit question, but I know that there are people on
> the list here that can clarify this for me; please excuse the post if
> it's not acceptable.
>
> Running a tcsh shell, I'm trying to set up an alias that will send an
> orderly Quit command to the application that is the argument of the command.
>
> I want it to work like this:
>
> quit "Microsoft Word"
>
> I've tried this:
>
> alias quit 'osascript -e '\''tell application "System Events" to quit
> application "\!*"'\'
>
> …and this:
>
> alias quit 'osascript -e '\''tell application "System Events" to quit
> application process "\!*"'\'
>
> But I get the error: syntax error: A identifier can’t go after this “"”.
> (-2740)
>
> Can someone please clarify. Thank you.
>
> ___
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___
> WWW: http://www.shelterpub.com
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: What about BBEdit attracts you to the program over others?

2018-11-27 Thread Steve deRosier
On Tue, Nov 27, 2018 at 6:02 AM Cerulean  wrote:
>
> I am just curious why someone may decide to choose BBEdit over other 
> programs, what draws does it have that others don't?
>
> Thanks for your answers!
>

The biggest reason I've used it and stuck with it for nearly 20 years
is it is technology agnostic. I've written production C, C++,
assembler, Bash and Ash scripts, Makefiles, Perl, Python, PHP, HTML,
CSS and more in it.  I primarily work on embedded systems and Linux
driver code. It does it all handily in one program and I don't have to
muck around with learning vendor specific IDEs constantly. It's highly
configurable, it has amazingly powerful + simple tools (I can't tell
you how often I reach for prefix/suffix lines in the Text menu) and
integrates very well and adapts to my workflows as necessary.

Second reason is BareBones' support is the best in the industry. Over
the years I've reported bugs and even asked for a few small
enhancements and they are responsive and often implement the requested
changes, often even better than what I asked for. You can tell The
BareBones team cares about their product and their users.

In a world of constantly churning technology, BBEdit is the one
product I don't have to worry about - it is reliable and works.

- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Bug or "Feature"?

2018-10-30 Thread Steve deRosier
BBEdit isn't checking the permissions at all. That's being handled by
the OS. Permission enforcement is almost always handled by the OS (or
filesystem driver, or similar), or at least OS-level stuff like the
shell.

- Steve

On Tue, Oct 30, 2018 at 12:31 PM Sam Hathaway  wrote:
>
> The /tmp symlink itself is 0755, but the directory it points to
> (/private/tmp) is 1777. I don’t understand why BBEdit needs to check
> the permissions on the symlink at all. Surely it should follow the
> symlink and then check the permissions on the link target.
>
> In summary, ¯\_(ツ)_/¯
> -sam
>
> On 30 Oct 2018, at 15:25, Rod Buchanan wrote:
>
> > /tmp is 755 and /private/tmp is 777 — where’s the logic in that?
> >
> > I guess it’s a "feature” of Mojave.  Maybe they’ll correct it in
> > an update.
> >
> > Thanks for the response.
> >
> >
> > --
> > Rod
> >
> >
> >> On Oct 30, 2018, at 11:59 AM, Patrick Woolsey
> >>  wrote:
> >>
> >> On 10/30/18 at 10:34 AM, rodb.li...@kdsi.com (Rod Buchanan) wrote:
> >>
> >>> If I use bbedit from the command line to create a file in /tmp, e.g.
> >>>
> >>> $ bbedit /tmp/temp.txt
> >>> When I do the initial file save I get a dialog box: [requesting
> >>> authentication]
> >>>
> >>> This doesn’t happen if I create a new document (Cmd-N) and save it
> >>> to /tmp.
> >>>
> >>> Is this a bug I should report, or a “feature” in OS X 10.14?
> >>>
> >>
> >> Neither :-) but instead, the permissions on '/tmp' (which is a
> >> symlink) are different than those on '/private/tmp' (the actual
> >> directory), where is where navigating to '/tmp' via the Save dialog
> >> lands you.
> >>
> >> (To see the difference, try 'bbedit /tmp/tempfoo.txt' versus 'bbedit
> >> /private/tmp/privatefoo.txt'.)
> >>
> >>
> >> Regards,
> >>
> >> Patrick Woolsey
> >> ==
> >> Bare Bones Software, Inc. 
> >>
> >> --
> >> This is the BBEdit Talk public discussion group. If you have a
> >> feature request or need technical support, please email
> >> "supp...@barebones.com" rather than posting to the group.
> >> Follow @bbedit on Twitter: 
> >> --- You received this message because you are subscribed to the
> >> Google Groups "BBEdit Talk" group.
> >> To unsubscribe from this group and stop receiving emails from it,
> >> send an email to bbedit+unsubscr...@googlegroups.com.
> >> To post to this group, send email to bbedit@googlegroups.com.
> >> Visit this group at https://groups.google.com/group/bbedit.
> >
> > --
> > This is the BBEdit Talk public discussion group. If you have a
> > feature request or need technical support, please email
> > "supp...@barebones.com" rather than posting to the group.
> > Follow @bbedit on Twitter: 
> > ---
> > You received this message because you are subscribed to the Google
> > Groups "BBEdit Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to bbedit+unsubscr...@googlegroups.com.
> > To post to this group, send email to bbedit@googlegroups.com.
> > Visit this group at https://groups.google.com/group/bbedit.
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Possibility of bbedit Terminal Command on SSH Connections

2018-07-11 Thread Steve deRosier
Well, first off, I am going from a Mac to Linux, where I have full control
over my ssh server configuration.  I don't off the top of my head know what
configurations on the Mac side would get in the way.

Second off, I use keys for all of my ssh sessions, not passwords. Perhaps
that's an issue here?

Finally, I did have wonky errors until I forced IPv4 in my ssh config:

Host XX.local
HostName XX.local
ForwardX11 yes
ForwardX11Trusted yes
TCPKeepAlive yes
ServerAliveInterval 60
*AddressFamily inet*


Granted, I'm sure I could debug and fix the IPv6 stuff, but it worked
before with IPv4 so forcing it back to that solved my issues.

Beyond that, I'm not sure what to suggest.

- Steve


On Wed, Jul 11, 2018 at 6:00 PM Rick Gordon  wrote:

> Steve, that's great!
>
> Not quite working for me though. I successfully get logged into my Mac,
> but get an error:
>
> error opening
> sftp://REDACTED_USER@REDACTED_IP//REDACTED_PATH/SOME_FILE.txt:
> This server operation couldn’t be completed because the connection was
> unexpectedly lost (application error code: 22807).
> bbedit: error: 22807
>
> This seems to relate to errors being discussed on this page:
>
> http://blog.kenweiner.com/2011/02/edit-remote-ec2-text-files-with.html
>
> …where a similar workflow for TextWrangler is being discussed.
>
> Running BBEdit 12.x on OS 10.11.6.
>
> Thanks in advance for any suggestions.
>
> Rick Gordon
>
> ----
> On July 11, 2018 at 5:54:03 PM [-0700],
> Steve Derosier wrote in an email entitled
> "Re: Possibility of bbedit Terminal Command on SSH Connections":
> >
> > export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`
> > export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`
> >
> > function bbedit {
> >
> > # bbedit won't open a remote file via sftp if it doesn't exist.
> > So, if it's a new file
> > # create it, call bbedit to open, and then kill it.
> > FCREATED=0
> > if [ ! -e "$PWD/$1" ]
> > then
> > touch "$PWD/$1"
> > FCREATED=1
> > fi
> > ssh derosier@$REMOTEHOST /usr/local/bin/bbedit -c -u
> > --front-window "sftp://$USER@$HOSTIP/$PWD/$1;
> > # The above call will background and return immediately. The file
> > will open in bbedit
> > # but since we've created it, and we don't want to leave it
> > around, we kill it right away.
> > # If the user saves it, it gets recreated and content is saved. If
> > not, there's no file,
> > # so we're cool too. It's a bit odd, but it works.
> > if [ "$FCREATED" -eq "1" ]
> > then
> > rm "$PWD/$1"
> > fi
> > }
> >
> >
> ___
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___
> WWW: http://www.shelterpub.com
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Possibility of bbedit Terminal Command on SSH Connections

2018-07-11 Thread Steve deRosier
Yup, this is exactly how I use it on my Linux systems.  I have a bash
function that exists in my .bashrc that ssh's back to my mac and starts
bbedit with a commandline to open the relevant file via sftp.

Here's the snipit from by .bashrc:

export REMOTEHOST=`echo $SSH_CLIENT | cut -d ' ' -f 1`
export HOSTIP=`echo $SSH_CONNECTION | cut -d ' ' -f 3`

function bbedit {

# bbedit won't open a remote file via sftp if it doesn't exist. So, if it's
a new file
# create it, call bbedit to open, and then kill it.
FCREATED=0
if [ ! -e "$PWD/$1" ]
then
touch "$PWD/$1"
FCREATED=1
fi
ssh derosier@$REMOTEHOST /usr/local/bin/bbedit -c -u --front-window
"sftp://$USER@$HOSTIP/$PWD/$1;
# The above call will background and return immediately. The file will open
in bbedit
# but since we've created it, and we don't want to leave it around, we kill
it right away.
# If the user saves it, it gets recreated and content is saved. If not,
there's no file,
# so we're cool too. It's a bit odd, but it works.
if [ "$FCREATED" -eq "1" ]
then
rm "$PWD/$1"
fi
}


The really important part is the ssh line.  The rest is just to
create/clear new files.  If you do `bbedit .` it will open an sftp browser
in that directory, and if you do `bbedit filename` it will open that file.

The other important thing to note is I have my .ssh/config file set to
always use IPv4 on these hosts.  I'm sure I could fix it but IPv6 screws it
up and I haven't bothered to figure out why.

Additionally, I have bbedit used as my CSCOPE_EDITOR.  This can't use
functions, so I have a little script, ~/bin/bbeditcscope that contains this
one line:

ssh derosier@$REMOTEHOST /usr/local/bin/bbedit --front-window $1
"sftp://$USER@$HOSTIP/$PWD/$2;


Note that this really only works properly with current versions of BBEdit
as they recently fixed a bug for me (talk about good customer service) that
relates to the line number syntax.

I hope that helps,
- Steve


On Wed, Jul 11, 2018 at 4:41 PM Rick Gordon  wrote:

> Is there any way that a bbedit command could be built to run in Terminal
> on a remote system? I realize that it would have to be a different
> creature, since that system would have no knowledge of BBEdit.
>
> But I wondered about something like a command which might cause a file
> to be delivered to the Mac via scp in to a watch folder on the Mac that
> BBEdit could monitor, open, edit, and return the edited file to the host
> system, with a result similar to opening a remote file via SSH on the Mac.
>
> The end result would be an executable that could be stored on the host
> system and run similar to the basic syntax for the command-line
> executable as used on the Mac, such as:
>
> bbedit path-to-file
>
> Does that even make any sense, in term of logistics?
>
> ___
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___
> WWW: http://www.shelterpub.com
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: How to Switch Different Python Versions while using BBEDIT

2018-05-24 Thread Steve deRosier
Personally I prefer to use Docker (or choose another container tech). Keeps
the default installs clean, allows me to commit the configuration and I can
work with different dependency tress for different applications quite
easily.

- Steve

--
Steve deRosier
Cal-Sierra Consulting
https://www.cal-sierra.com/
On Thu, May 24, 2018 at 8:44 AM 'Matthew Miller' via BBEdit Talk <
bbedit@googlegroups.com> wrote:

> Hello All,

> I'm fairly new to BBEDIT, and have recently installed two versions of
python on my Mac mini. The original version of python installed was 2.7,
however, I also wanted to work with python 3.0 for different projects. Now
my previous code that worked with Python 2.7 no longer works after I
installed a separate Python version 3.7.  Any recommendations on how to fix
this issue? My goal would be to set a default python version through BBEDIT
that way I can bounce between the two python versions.

> Best,

> Matt

> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Stupid question

2018-05-03 Thread Steve deRosier
ctrl-cmd-a

or from the menu Markup->Inline->Anchor

or type out an anchor link tag manually.

- Steve
On Thu, May 3, 2018 at 12:33 PM Seamus de Mora 
wrote:

> Maybe I'm just too stupid to use BBEdit. I'm trying to create a small
HTML block to go into an eBay ad. I selected HTML document, and all I need
to do really is create a link to a website. But after combing through the
confusing menu of choices, I see NOTHING that supports the butt-simple
creation of a hypertext link! Can anyone here thell me where it's hidden -
or if it exists?

> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Are there any special features about this code editor?

2017-11-27 Thread Steve deRosier
Throwing my thoughts in the ring, I use BBEdit extensively for nearly
everything I do. My primary activities are in the embedded programming
domain, and I use it heavily in Linux kernel driver programming. I
regard the Mac and BBEdit as a superior platform (for me) for Linux
kernel development than Linux itself; I know that would be considered
blasphemy by some of the community, but I care about effectiveness and
it works for me. Also, I do a fair amount of pure bare-metal coding
with it.  I do Python test frameworks for my work. And some standard
LAMP stack coding. And then there's documentation in Markdown and
reStructuredText.

In short, BBEdit is my swiss-army-knife for getting things done. It's
language and style agnostic. It's got a thin footprint. I can open
100s of files in dozens of document windows. It has a project
management structure that just works but doesn't give my computer fits
(I don't know if it is still an issue, but 10 years ago, trying to
open the Linux kernel as a project in Eclipse ment my computer would
grind for 40 minutes before I could touch a line of code). And it
works the way I do - centralized on my Mac but attached and working
with multiple computers and VMs.

Features I use most:
* Powerful searching - multiple files, projects, single file. Very
flexible to tell it what to search and in what files. And it remembers
your history.
* Command-line starting - I can ssh into my Linux development machine,
type "bbedit filename.c" and though some shell script magic it can ssh
back to my Mac and open the file remotely in BBEdit. Same deal with
using it as my CSCOPE_EDITOR.
* Projects
* Network - Editing works the same no matter if it's a local file, a
file over NFS or SFTP.
* Languages - A typical project for me includes C, C++, Python,
Makefiles, CMake, Bash or Ash scripts, ASM, Markdown, HTML, CSS, and
PHP. BBEdit lets me work seamlessly with all of it.
* And it's good at the small stuff - I use it often for processing log
files, or even silly things like reformatting emails with inserting
quote marks '> ' using the "Prefix/Suffix Lines..." feature in the
Text menu. It's easier than using awk/sed.

Use it or don't use it, doesn't matter to me. I will use it because
it's the best tool for the job.



On Mon, Nov 27, 2017 at 10:34 AM, François Schiettecatte
 wrote:
> Hi
>
> I code for a living and have been using BBEdit pretty much since it was ‘a 
> thing’, it runs on Macs only but all the work I do is on Linux. Everyone once 
> in a while I take a look around to see what else there is, mostly as an 
> insurance policy (the 90’s were a dark time for Macintosh), but for what I do 
> there is nothing that comes even close, and I use probably 60%-70% of the 
> features it offers. If I was going to put my finger on one feature it would 
> be Projects, they allow me to manage multiple code bases very easily 
> (combined line count is closing in on 7 digits).
>
> Ultimately it comes down to what you are looking for. If you want to edit a 
> few files there are a myriad of choices out there. If you make your living 
> coding then BBEdit is great and time put into learning it is well rewarded in 
> the long run.
>
> François
>
>> On Nov 27, 2017, at 8:51 AM, Madelyn Bingham  
>> wrote:
>>
>> Can someone tell me what makes BBEdit different or better than other code 
>> editors? I understand it is mostly geared towards Apple Products, but I 
>> could just as easily download Notepad++ or Brackets on my Macintosh, which 
>> seem to be more popular. Are there any special features about BBEdit that 
>> make it special or set it apart? What are some tips and tricks to using this 
>> code editor?
>>
>> --
>> This is the BBEdit Talk public discussion group. If you have a
>> feature request or would like to report a problem, please email
>> "supp...@barebones.com" rather than posting to the group.
>> Follow @bbedit on Twitter: 
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to bbedit+unsubscr...@googlegroups.com.
>> To post to this group, send email to bbedit@googlegroups.com.
>> Visit this group at https://groups.google.com/group/bbedit.
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To post to this group, send email to bbedit@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit 

Re: compare docx files?

2017-07-26 Thread Steve deRosier
On Jul 26, 2017, at 7:05 PM, Ken G. Brown  wrote:
>
>
> I’m trying to use BBedit 11.6.7 (397078)  (06/15/2017) to compare two docx
> files just to find if they are identical.

Hi Ken,

As already mentioned, BBEdit is not the right tool for comparing two
docx files. I'd suggest Araxis Merge. It is capable of comparing the
text contents of two documents if they're of common formats.

https://www.araxis.com/merge/index.en#OfficeFormats

I hope that helps.

- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: BBEdit and git and terminal

2016-06-23 Thread Steve deRosier
On Thu, Jun 23, 2016 at 7:03 PM, @lbutlr  wrote:
>
> Oh, yes, that makes sense in the cases that I am using BBEdit to edit the 
> files, but it doesn’t account for the times I am sshed in to the machine. I 
> guess I was thinking of something a bit lower-level that would simply do the 
> versioning and such behind the scenes regardless of the tool used to edit the 
> files.
>

Git is a source code revision control system. Just like CVS,
Subversion, Mercurial, Perforce, and so on, it won't do things
"automatically" behind the scenes. You most absolutely can use it to
version /etc and other directories, but you're still going to have to
stage your changes and make each commit. It would be editor-agnostic
as you're desiring, but it won't be transparent/hands off.

And it wouldn't be terribly valuable to version an area hands-off like
that - you'd not have any metadata giving you context to your changes.
The commit message you create for each commit give you context so you
can understand why you made a particular change.

If all you want is an automated backup, Timemachine, a cron-job'd
rsync or other backup solution could be made to do that. And you could
set them up to keep periodic snapshots (ie "versions").

Git is an excellent system for managing a directory of textual config
files like /etc. But you need to understand what the tool does and how
it works before embarking on such a use.

- Steve

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: BBedit's Creaky Use of Finder For Doc/File/Project Management

2015-02-11 Thread Steve deRosier
Jimmbo,

You might want to look at it from a different perspective: what is
the problem you're trying to solve?, not from the perspective of:
which file-management tool will do what I want?.

From what you describe, you've got a lot of different scraps in flight
and would like a safe place to put them that doesn't have to be well
organized, but can be searchable, taggable, and organized when/if you
need.

I'd suggest that Evernote solves your problem.  You can use BBEdit as
your primary editor still, cut and paste stuff to Evernote.  Have
stuff by default go into an INBOX and keep different notebooks for
categorization as you feel like and when you feel like organizing.
Simply copy/cut the text in question and then a ^-cmd-v shortcut (at
least in my configuration) will create a new Evernote note from what
you have in the clipboard.  It'll bring it right up, you can tag it,
close it and go right back to your editing in BBEdit.

Later you can organize your notes as you need.  You can search on the
text or the tags (or both) and so on...  Safe, but quick and as
organized or unorganized as you need.

Anyway, that's one solution to the problem you're describing.

- Steve


On Wed, Feb 11, 2015 at 7:54 AM, Jimmbo jimleff...@gmail.com wrote:
 --
 I don't understand why you have literally hundreds of untitled documents in 
 various stages of completion, and how that's somehow connected with BBEdit 
 auto-saving unnamed documents. 
 --

 It's gotta be titled and saved somewhere, right? I don't always know where a 
 given piece of writing fits into things, or what it should be titled, or 
 whether it's going to endure beyond the first few minutes. As I write, I 
 might strike a big block of text that doesn't seem belong, and throw it into 
 a new document. What am I going to title that, Text Split Off Which May Be 
 Recyclable Elsewhere, Feb-11-15?  And file it in a  folder called 
 Split-Offs? By the time I've done that, I've lost my flow in my original 
 document. No, it sits in an untitled window! Lots of stuff sits in untitled 
 windows!

 I often use BBedit as a scratchpad, and  scratches may develop into ideas, 
 and ideas into projects. A truly modern app would chaperone data through 
 these stages of evolution,  allowing me to re-categorize, re-organize, 
 re-tag, and re-file them on the fly, as I go. I would not mind TAGGING that 
 split-off within the app. That's quick. Or I could handle it via en-masse 
 categorization later, in periodic bouts of housekeeping. Managing this 
 housekeeping via tons of Finder dialog boxes  - determining arbitrary names 
 and file system locations for files of widely varying levels of evolution, 
 precision, and long term viability -  is ungainly and unfit to the task.

 Yes, there are times when I start working on String Bean Article, which 
 lives in the Newsweek Magazine folder. Nice! But more frequently something 
 I'm working on MAY be a blog posting, or MAY prove sellable, or may just be 
 posted to FB, or may be cannibalized into something else or emailed to 
 someone. The possible uses for and destinations of text are endless! How do I 
 title? Where do I save? Neither metaphor seems to apply!

 The classic incentive to title/save is so you don't lose your work in 
 crashes. But a recent BBedit version started auto-saving untitled docs. Since 
 I no longer have that concern, BBedit has turned into a mega-monstrous 
 scratchpad, utterly untamed and out of control.

 The formality of opening a new document and immediately naming it and 
 assigning it a nice crisp directory location (presumably with beautiful 
 posture and a steaming cup of java by my hand) is very 1993. That's not how 
 many of us use computers anymore. Especially not an app like BBedit,  a 
 utility designed to bulk handle that most granular and omnipresent of 
 commoditiestext.

 --
 This is the BBEdit Talk public discussion group. If you have a
 feature request or would like to report a problem, please email
 supp...@barebones.com rather than posting to the group.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

 ---
 You received this message because you are subscribed to the Google Groups 
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Tips for using BBEdit for Python?

2014-03-12 Thread Steve deRosier
I use BBEdit with Python (and C, and C++ and so on...).  I think you likely
didn't get an answer because everyones more or less happy with using BBEdit
with Python.  One thing I do recommend is using Dash.

Seems to be a lot of hype and noise around SublimeText.  I don't know,
never tried it myself.

The only thing I find missing from BBEdit is cscope integration. And that's
irrelevant for Python.

- Steve


On Wed, Mar 12, 2014 at 8:11 AM, Brian Christiansen bria...@gmail.comwrote:

 (bump)

 So no Python-writing BBEditors? Every pro I know is using something else
 (mostly SublimeText 2) and I'm trying to stay with BB for all the reasons
 we all like it. I'm hoping someone around here might be able to help me out?

 On Monday, March 3, 2014 2:16:26 PM UTC-5, Brian Christiansen wrote:

 Greetings,

 I've used BBEdit for several years for HTML, CSS, editing UNIXy files, a
 lot of plain text and Markdown, and the occasional PHP hack. I'm now
 starting an online course that uses Python to teach CS. I downloaded
 Pythonista for my iPad on account of it's stellar rep (read its reviews in
 the App Store, it's rare to see such gushing there), and I'll concur, it's
 a neat app. It's auto-fill features (et al) inspired me to wonder what tips
 and tricks, if any, BBEdit-using Pythoneers might suggest for working with
 Python within BBEdit? (within the context that I'm a newbie to Python)

 Thanks,
 ~b

 --

 @briandigital

  --
 This is the BBEdit Talk public discussion group. If you have a
 feature request or would like to report a problem, please email
 supp...@barebones.com rather than posting to the group.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

 ---
 You received this message because you are subscribed to the Google Groups
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Regaining mindshare for BBEdit

2013-03-19 Thread Steve deRosier
Not to mention that alt-cmd-f brings up the live search bar (or
whatever they call it).

BBones- please have cmd-e populate the live search text. It annoys me
(every day!!!) that cmd-e works just fine for the main search, but
doesn't work on live search.



On Tue, Mar 19, 2013 at 3:58 PM, Ted Burger t...@tobsupport.com wrote:
 Folks,

 I am still running 9.6.3 but I simply highlight a word then hit CMD-E, now
 each CMD-G finds the next occurrence of the word.
 Am I missing something???

 Thanks,
 Ted
 ***  Ted Burger  
 t...@tobsupport.com  * www.tobsupport.com



 On Mar 19, 2013, at 6:28 PM, Rob wrote:

  ** Incremental find
 I completely agree with this one. Incremental find that's good enough, and
 quick enough to use, for skipping around lighting-fast inside a paragraph is
 something I sorely miss from other editors. I've written my own scripts for
 this, but a built-in solution would be better.


 Does cmd-opt-f not do this?  (paired with cmd-g that iterates through all
 found pieces of text?)  Just curious, especially if there is a better
 solution scripted you've found.


 On Monday, March 18, 2013 9:41:08 PM UTC-7, Oliver Taylor wrote:

 I usually abstain from these things, but I'm a little bored, so why not...


 On Mar 18, 2013, at 11:27 AM, David Foster davi...@gmail.com wrote:

  Sublime Text and TextMate have all but supplanted BBEdit in terms of
  mindshare in the circles that I travel in.

 I would agree with that. There are a thousand reasons, but it ultimately
 comes down to the fact that bare bones has a vision for what BBEdit should
 be, and it's not anything like TextMate or Sublime, or any of their clones.
 The people on this list use BBEdit for their own reasons - and I would agree
 that those reasons are slowly being thinned down, but they are far from
 gone. Nothing else matches BBEdit's support, documentation, and ease of use
 - but not everyone priorities these things, a lot of people want (or think
 they want) raw power and flexibility - something TextMate and Sublime put
 front and center.

  However BBEdit is an extremely capable editor and it bothers me that new
  Mac users are either not finding it or not selecting it. More competition 
  is
  better.

 BBEdit has a widely-known reputation as an extremely stable and powerful
 editor. Perhaps for some people this doesn't matter as much as other
 things...

  ** Highly recommend adding videos for feature highlights and tutorials.
  People don't seem to read long bodies of copy these days.

 I agree with this. Bare Bone's website is decidedly old-school. I'd love
 to see someone like brett terpstra show-off how cool BBEdit is in some
 screencasts. I also think Bare Bones could to more to collect
 community-written packages (etc) that extend BBEdit in great ways - but this
 is a challenge all editors face.

  * Improve program aesthetics
  ** Good job with the retina display support, but there is still more
  work to do...

 I completely disagree. BBEdit is in a class by itself in this regard.
 While it may not be as flashy as something like Coda or Espresso, the
 consistency of the interface is peerless and delicate considerations abound.
 Take for example how far the first line of text is from the top of the
 window. Almost every editor I've ever used crams that first line up against
 the edge of the window, only BBEdit pads it by a few pixels. Or the subtle
 1px borders on the line-highlight - it's beautiful! Also consider the
 dialogue boxes, each is very fell thought-out and easy to understand - I've
 never come across an unintelligible alert while using BBEdit.

  ** Incremental find

 I completely agree with this one. Incremental find that's good enough, and
 quick enough to use, for skipping around lighting-fast inside a paragraph is
 something I sorely miss from other editors. I've written my own scripts for
 this, but a built-in solution would be better.

  ** The language-specific text snippets built-in to TextMate are quite
  useful. It is possible to create custom scripts in BBEdit that have similar
  functionality, but it is clumsy.

 I agree that more could be done there. BBEdit has clipping sets that
 change based on the language of the front-document, why not scripts or text
 filters? Binding something simple like return to different scripts based
 on language makes the editor feel better - the editor does the right thing
 regardless of the language.

 In particular I'm disappointed that text filters act on the selection or
 the entire document, more fine-grained control over what the filter should
 apply to when there is no selection would be nice.

 What makes TextMate (and clones like Sublime) so powerful and flexible is
 the user-accessable document-scoping system. This allows the same keybinding
 to behave in radically different ways depending on the language and the
 exact position of the insertion point in the document. In my opinion this 

Re: Save All command???

2013-01-28 Thread Steve deRosier
Also, many people are unaware: if you have the menu open (say File menu in
this case) and hold down a modifier key, the menu items will change to
reflect that additional modifier key.

- Steve


On Mon, Jan 28, 2013 at 5:18 PM, Charlie Garrison garri...@zeta.org.auwrote:

 Good afternoon,


 On 28/01/13 at 4:37 PM -0600, Christopher Stone 
 listmeis...@suddenlink.net wrote:

  Many people seem to be unaware of this feature of Mac OS X.


 Many people also seem to be unaware of the excellent BBEdit manual, also
 available under the Help menu. Although in this case, Christopher's
 suggestion is quicker solution.

 So if you can't find what you're looking for, try the help menu search,
 then try the BBEdit manual. Using those is generally much quicker than
 waiting on replies from the mailing list.


 Charlie

 --
Ꮚ Charlie Garrison ♊ garri...@zeta.org.au

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 〠  http://www.ietf.org/rfc/**rfc1855.txthttp://www.ietf.org/rfc/rfc1855.txt


 --
 --
 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+unsubscribe@**googlegroups.combbedit%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/bbedit?hl=enhttp://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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit**

 --- You received this message because you are subscribed to the Google
 Groups BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to 
 bbedit+unsubscribe@**googlegroups.combbedit%2bunsubscr...@googlegroups.com
 .

 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




-- 
-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Windows alternative to BBEdit

2012-12-22 Thread Steve deRosier
 On Tuesday, August 28, 2012 4:33:39 PM UTC-8, Robert Scott wrote:

 Hey all,
 I'm a BBEdit user, but I just got a job as a Developer at a Windows shop,
 They are using TextPad...  Can anyone recommend an alternative, something
 closer to BBEdit or Coda?


Depends on what you're doing. I write embedded C, C++ and Linux code,
and on Windows I prefer Visual SlickEdit.  Don't know how good it
would be for HTML stuff though. It's x-platform and runs on Linux and
Mac also, though I prefer and use BBEdit.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Mixed line endings problem

2012-12-14 Thread Steve deRosier
On Fri, Dec 14, 2012 at 5:35 AM, John Delacour johndelac...@gmail.com wrote:

 On the other hand I do think it is something that BBEdit should do
 automatically, because it makes no sense to convert \r\n to \n\n, as now can
 happen, under any circumstances.


And this is something it shouldn't do.  If it's going to convert the
endings, it _must_ do it correctly. Really, that it silently converts
line endings on opening is a problem. There needs to be some
notification, perhaps a yes/no dialog. That it does it when you switch
the line-end mode in the bottom drop-down is fine; that's the result
of an user-requested action. But actually mucking with the contents of
the file when it opens it (yes I know you still need to save it), in a
way that is silent and non-obvious is bad.

All that said, the real problem is the OP has inconsistant
line-endings in his source files. That's a problem that needs to be
fixed. BBEdit's handling of them is simply a side-show here.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Mixed line endings problem

2012-12-10 Thread Steve deRosier
This isn't a problem with BBEdit, it's a problem with your process.
Fix the process. You should be using consistent line endings.

Frankly I'm surprised that the various editors ignore the line
endings.  DOS endings are \r\n, UNIX is \n. BBEdit, if it doesn't
autodetect the DOS endings, it should only show a newline with the \r
set as an invisible at the end of the line, not a second newline
(IIRC, I could be wrong, I usually don't have to work with mixed line
ends). More likely: inconsistant line ends and improper editor and RCS
settings are causing duplicated new-lines and so on in your files. If
this is happening, it will propagate and get even worse.

Fix the process before it gets worse:
1. Choose a line-ending that everyone will use. Document it. Train new
guys on it.
2. Configure your editors for that ending by default. If you have any
editors in the mix that can't be configured, drop that one: it's not
worth using.
3. Configure your RCS to default to the ending. Bonus if you set it up
to detect and warn or reject commits that are screwed up.
4. Reformat all and commit all in one commit. There's about 1000
different automated scripts, programs (astyle), or awk/sed one-liners
and such that can do this all in one shot. Google it.
5. Smile because you _fixed_ the problem.

- Steve

On Mon, Dec 10, 2012 at 5:51 PM, Troy Gillette 633k...@gmail.com wrote:
 I work on a large cross-platform project for Mac and Windows. Every editor
 used on the Windows team treats UNIX and Windows style line endings as if it
 is simply a native carriage return. So if any mixed line endings end up in a
 file, it is completely transparent.

 Xcode, TextMate and even TextEdit on the Mac do the same thing.

 BBEdit on the other hand, looks at the first line of the file and assumes
 ALL other line endings in the file match that one. So, if you open a file
 with a UNIX line ending on the first line, any lines with Windows EOLs will
 end up with a second empty line after them and if the first line is Windows
 style, any UNIX lines will get mushed together into a single line.

 The only way I see to fix this is to make the entire file conform to one or
 the other. This can be a real pain, especially if only the first few lines
 are different because it will mess up everything after that (I see no way to
 force bbedit to load one way or the other, it always chooses for me). It
 also results in excessive/unnecessary changes in revision control.

 I understand there are times when you would want to be able to know there
 are differing line endings, but the current system makes life difficult for
 those of us who must cooperate with developers outside of the Mac world.

 Is there a chance that we could have a preferences option to make BBEdit
 behave like every other developers editor on the market?
 Is there already such an option that I just can't seem to find?

 Thank you in advance for any suggestions.

 --
 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit




-- 
-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Creating a stylesheet in BBEdit

2012-10-31 Thread Steve deRosier
Pretty simple:

1. Create a new file (cmd-N)
2. Save as with an extension of .css (cmd-shift-S), name foo.css (or whatever).

Or, without saving:

1. create a new file
2. use the little drop menu at the bottom of the frame that says
'(none)' and select CSS

Or, from terminal:

1. `touch foo.css`
2. `bbedit foo.css`

This of course applies to pretty much any file type.

There probably are even more ways, but these are the three I find the
most simple.

- Steve


On Wed, Oct 31, 2012 at 5:45 PM, Ted Haughawout tlamars...@gmail.com wrote:
 Hi:

 I'm trying out a Demo Version of BBEdit as I'm looking for a solid HTML/CSS
 Editor. Things look promising but I can't figure out how to create a new
 stylesheet. If I'm designing a website from scratch, what are the steps to
 begin a stylesheet that uses the line numbering and color coding, etc. Do I
 start with a text doc? An HTML doc? I don't see an option anywhere
 specifically for a .css document - do I have to set something up in
 preferences? I mean, I see the palette etc. but what is the procedure?

 Thanks!

 --
 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit




-- 
-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Where do you keep projects?

2012-10-01 Thread Steve deRosier
On Mon, Oct 1, 2012 at 12:18 PM, Oliver Taylor olivertay...@me.com wrote:

 Where do you save your projects? In the project's folder? In a projects
 folder?

 I know you can save them anywhere, I'm asking where the list prefers to
 keep their BBEdit Project Files. Just curious.


I'm usually working on open source projects or projects where I'm the only
BBEdit user, thus I usually work like:

homedir/projects/project-im-working-on/
homedir/projects/project-im-working-on.bbedit

So, the same directory my checkout out working tree is in.

Sometimes, if I choose, I might put it in the working tree directory and
then add it to version control. But generally only if I'm the only one
working on it, and it's not that good of an idea anyway because you end up
having to commit your .bbedit workspace all the time.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Windows alternative to BBEdit

2012-08-29 Thread Steve deRosier
When I was forced into the same situation, I found that SlickEdit
worked best for me. NP++ is fine for quick and dirty stuff, but for
real work, spend a little money.

I happen to use Araxis Merge because it's fully x-platform.

One key thing: If SlickEdit is being used by other people, you're best
off using it's key-bindings and rebinding your BBEdit to match.  That
way if someone sits at your computer and drives they're not flummoxed.
 Otherwise, just rebind the keys to what you're used to.

I usually prefer to work on a Mac with BBEdit and run Windows as a
VirtualMachine. The VM mounts my Mac workspace as a network drive and
I build there.

- Steve

On Wed, Aug 29, 2012 at 6:06 AM, François Schiettecatte
fschietteca...@gmail.com wrote:
 Just did a google search for Windows Text Editors:

 
 http://www.lifehack.org/articles/technology/6-powerful-text-editors-for-windows.html

 Looks like Notepad++ and UltraEdit are it.

 Best regards

 François

 On Aug 28, 2012, at 8:33 PM, Robert Scott scottr...@gmail.com wrote:

 Hey all,
 I'm a BBEdit user, but I just got a job as a Developer at a Windows shop,
 They are using TextPad...  Can anyone recommend an alternative, something
 closer to BBEdit or Coda?

 Thanks!

 --
 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit




 --
 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit




-- 
-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: SVN options no longer show up in BBEdit version 10

2012-08-09 Thread Steve deRosier
On Wed, Aug 8, 2012 at 6:48 PM, Dave dave.live...@gmail.com wrote:
 Nick,

 SmartSVN 7 uses SVNKit 1.7.5 for Java. It is a Subversion client written in
 Java. It is not a git client. The reason the local working copy metadata is

Opps, sorry, I miss-read. I was thinking of SmartGit's SVN mode.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: SVN options no longer show up in BBEdit version 10

2012-08-08 Thread Steve deRosier
Another thing to recognize: SmartSVN isn't SVN. It produces a Git repo
locally, thus your local meta-information is Git not SVN. It
essentially does this via doing an equivalent of `git svn clone` which
imports your SVN into a Git repo.  Thus it's not really surprising
that the SVN stuff doesn't show up in BBEdit.

You have three options from here ( + abandoning SmartSVN and just
using an SVN client):
1. Manage your checkout via SmartSVN like you started.
2. Manage your checkout via command-line Git.
3. Install the Git tools for BBEdit.  Do a quick search on BBEdit, Git
and Ruby (the bindings were done by the Ruby folks).

Personally, I prefer to use my native VCS tools, usually command-line
Git and Cornerstone for SVN. BBEdit's an awesome editor; while it has
VCS bindings, it's _an_editor_.

- Steve

PS - I think SmartSVN rocks.  Lets you have your organization on SVN
and give your users who insist on a graphical client have one, while
at the same time slowly migrating them to the benefits of a DVCS.

On Tue, Aug 7, 2012 at 10:59 PM, Eelco Deuling deulingee...@gmail.com wrote:
 Cornerstone and Versions both work great with BBEdit/SVN.
 Cornerstone is better configurable and has some options Versions does not
 have, so make sure to try them both, but for most tasks the BBEdit options
 for SVN are good enough.

 …I use Versions at work and Cornerstone at home: the repositories I use are
 all local and shared with Dropbox.

 Op woensdag 8 augustus 2012 07:49:26 UTC+2 schreef Charlie Garrison het
 volgende:

 Good afternoon,

 On 8/08/12 at 6:22 AM +0200, Terje Bless li...@pobox.com wrote:

 You might, incidentally, also want to have a look at
 http://http://versionsapp.com/ which has received a lot of praise
 from Mac developers since it was released.

 I hadn't seen Versions before, so can't really compare, but I
 like Cornerstone; makes working with subversion much easier. I
 actually use both BBEdit and Cornerstone for svn.

 http://www.zennaware.com/cornerstone/index.php



 Charlie

 --
 Ꮚ Charlie Garrison ♊ garr...@zeta.org.au

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 〠  http://www.ietf.org/rfc/rfc1855.txt

 --
 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit




-- 
-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: BBEdit, Preview PHP

2012-08-06 Thread Steve deRosier
On Mon, Aug 6, 2012 at 3:32 AM, Marin Knezović marin.knezo...@gmail.com wrote:
 awesome. But it seems to lack support from BBEdit developers, so I doubt
 I'll buy it :(


Seriously?!?! I've _NEVER_ seen an another company where the
developers work so hard to support the users as with BareBones. When
I've emailed support _within_business_hours_ I've gotten a response
within moments. Actual BB developers, and by that I mean people
writing the actual product, communicate on this list daily, sometimes
even outside their normal working hours.  Not to mention the several
other BB people including tech writers and support people.
Additionally, there are many community members here that try very hard
to help and answer questions.

Anyone who expects immediate turn-around to an email, especially one
outside of normal working hours, really needs to examine their own
expectations a little harder. Email is not an immediate
gratification, by definition it means that it's something that can
wait a few hours (look at the specifications for emails servers: they
have DAYS before they consider an email undeliverable).

Based on your comment, I wonder if you want help or if you only want
to complain.

I apologize for such a loud and strident email (and off-topic, sorry).
As a 10+ year BBEdit user and a long time member of this list, I've
seen how hard BB developers work to support their users. Nothing's
ever perfect, but they strive to make it so. Bravo! I also notice the
same BB names on this list year after year, while I've had many jobs
over the last several years. It's really nice to see a company taking
care of their employees.

I know this is off-topic, so I'll move on; don't expect me to give any
more replies on this thread.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit





Re: Change document window backgrounds or title bar based on file location?

2012-07-27 Thread Steve deRosier
Seems to me that direct editing of files on a production system is a
good way get yourself in trouble.  For just my own stuff, I typically
do things locally with some sort of development system to provide any
necessary infrastructure (using the web server built into OSX in my
home dir, or my linux server in my garage, or a linux VM as
examples). I use Git, do checkins, debug, etc... And when I'm 100%
sure and everything's in git, I run a deploy.sh script that will do
whatever's necessary to deploy it to wherever it's going.

In organizations, I've typically had to do something similar to get it
onto a QA staging machine that was nearly a clone of the live system,
and after all was tested then there was typically a script to move it
to production.

Having three stages is overkill for something personal, but when
downtime means you lose money you do things like that. But I think
it's suicide to work directly on files on a production machine, you're
just begging for trouble to come find you.

Sure, it takes a little time to setup the deploy system, but the
amount you save in reediting files, forgetting to upload something, or
otherwise making easy mistakes is gold. And if you need to work fast
with lots of repetitive deployments... Even fancier: hook your deploy
scripts into your code repo so that when you commit, it runs the
necessary tests and then deploys automatically.

- Steve



On Fri, Jul 27, 2012 at 1:27 PM, desertrat john...@pharmacy.arizona.edu wrote:
 I've no doubt that someone's run into this before...

 I'm working on a web application and now have a production system that I'm
 making changes on, and a development system that I'm making a lot more
 changes on. Both servers are mounted in the finder as sshfs volumes. Is
 there a way to have BBEdit change something like the window background color
 or title bar color based on where the currently opened file is located, or
 some other mechanism for immediately identifying very similar files in this
 sort of fashion? All I can think of is accidentally writing development
 changes to the production system with the not-so-hilarious results that
 would ensue.

 Alternatively how do other folks handle this?

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Return to previous place after jumping via Find Definition

2012-05-18 Thread Steve deRosier
Is there any menu item or keystroke that I can use that will return me
to my previous place and file when I jump to a different location (and
file) via the Find Definition function in the Search menu?  If it
matters, I'm using ctags functionality w/ C and C++ code.

Use case:
Reviewing code, and I come across a class or function definition that
I'm not familiar with.  I use the Find Definition, jump to a
different file, take a quick look and now I want to jump back to where
I was reading.  But now I've got to remember which file it was in, out
of the 25 files I've got open.  It's nice that going to the definition
is quick (especially mapped to a key), but unfortunate that I can't
find an equally easy way back.

In a similar vein, is there any equivalent to SlickEdit's find
references function (other than doing a multi-file search)?

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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Upgrade Subversion?

2012-03-31 Thread Steve deRosier
The biggest change between 1.6 and 1.7 is the new centralized working
directory.  Much like Git, SVN has now gone to a
one-meta-directory-per-workspace concept, instead of the old CVS style
.svn directories in each sub directory.

Generally speaking: you should be able to successfully upgrade without
much trouble.  To do it cleanly though:
1. Get all your working areas committed to your SVN server.
2. Remove your working areas
3. Backup your SVN server
4. Upgrade your SVN server (there should be appropriate steps in the SVN docs)
5. Upgrade your SVN client
6. Checkout new working areas

Obviously, non-dependent steps can be done in other orders.

Just my 2cp though.  Other people might do it differently.  Also,
unless there's a new feature you want, not doing anything is a
perfectly appropriate option, and the one I'd tend to advise.

- Steve



On Sat, Mar 31, 2012 at 8:45 PM, Bucky Junior
buckyjunior...@googlemail.com wrote:
 Slow on the uptake here. I find that I'm running version 1.6.17 of Subversion 
 (SVN) and notice that the current version is 1.7.4.

 I'm still on Snow Leopard (10.6.8) on an older Intel Mac Pro and I'm 
 wondering if there are any gotchas with doing the upgrade. The only thing I 
 use with SVN is BBEdit and I only use it to track my own versions of what I'm 
 writing. No one else is involved.

 Are there any hints and tips that I need to pay attention to while I'm 
 upgrading?

 Best to all. I'm not foolin'.

 Bucky

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: bbedit grey space

2012-03-22 Thread Steve deRosier
Text-Display-Hide Page Guide

You can change the width of that in Preferences
Text Status Display
  Show page guide at XX characters

- Steve

On Thu, Mar 22, 2012 at 6:00 AM, fint82 fintan.mce...@gmail.com wrote:
 I just downloaded bbedit tial. I'm using Lion. I used to use textedit
 or smultron for editing code but i find textedit lack of support for
 fullscreen annoying and smultron 4 - what is that new document window
 about - i just don't want it.

 I haven't tried bbedit before today. From a quick look i'm pretty
 impressed. There is just one big issue that is irritating me. In
 fullscreen more when I open a file, there is this big grey space.
 Pretty much what I think should be the editor space is half white and
 half grey and the code runs into the grey space. A screenshot would
 probably make more sense of this.

 Anyone know how to fix this?

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: sh script

2011-10-01 Thread Steve deRosier

 It's amusing to see what happens when bbedit or AppleScript creates an 
 instance of bash which then creates yet another instance of bash because of 
 the #! line. It makes one wonder just how smart the UNIX kernel is.
 --

That's not exactly a kernel responsibility.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: BBedit 10 project - git merge chokes on my bbprojectsettings file

2011-09-10 Thread Steve deRosier
I generally avoid saving project files in my git repositories, though
I suppose you could do so.  Is a BBEdit project file still an XML file
or is it a mac bundle of some sort?  If it's an XML file, then in
general it'll be plenty safe to store in git.

The big problem and the reason you got the error message from git is
simply that your BBEdit project file had changed.  It stores very
small changes in state of your editor, so nearly everything you do
would cause it to change.  Simply changing to a different document
would change it.

Here's what happened to cause the error message:
1. You added and committed your bbedit project file to git.
2. You did some work, perhaps added those changes and committed those.
3. You went to checkout a different branch...
4. git saw that your project file had changed (should be called out in
a `git status` command) and refused to do the checkout as you'd
overwrite something.

Your choices here:
A. Stash your changes using `git stash`, checkout the branch and then
pop your changes using `git stash pop` and continue your work
B. Commit your changes, and checkout the branch.  Be aware though of
course BBEdit's project file will change underneith it.
C. Stop storing your project file in your repo.  Add the glob to your
.gitignore file.  I even have it outside my source tree usually.

- Steve

On Sat, Sep 10, 2011 at 5:50 AM, Charlie Garrison garri...@zeta.org.au wrote:
 Good evening,

 On 9/09/11 at 11:54 PM -0700, Rick wrink...@gmail.com wrote:

 Always save your open files to disk before you run any git commands. And I
 see no reason to keep a bbprojectd in version control.

 Why not? What about using Scratchpad and Worksheet so that everyone on the
 team can have the same project notes and common commands. I find the
 worksheet in particular quite handy as a shared resource.

 Charlie

 --
   Ꮚ Charlie Garrison ♊ garri...@zeta.org.au

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 〠  http://www.ietf.org/rfc/rfc1855.txt

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: System resources

2011-08-12 Thread Steve deRosier
I haven't tried BBEdit 10 yet, nor have I done objective measurements,
but based on the load time, generally sluggishness of my entire system
and HDD trashing when running Eclipse, I'd say that BBEdit's use of
system resources are a very small fraction of Eclipse's.  Eclipse has
always been a pig when it comes to resources.  In part due to the Java
VM and general architecture of the system.





On Fri, Aug 12, 2011 at 2:48 AM, Peter Mount p.moun...@gmail.com wrote:
 Hi

 Does BBEdit 10 uses much less system resources than Aptana or Eclipse
 with phpeclipse?

 Thanks

 Peter Mount

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Mac App Store versus Direct Purchase

2011-07-19 Thread Steve deRosier
On Tue, Jul 19, 2011 at 10:24 AM, Robert Occhialini bump...@gmail.com wrote:

 For me personally, the ease of keeping everything up to date via the
 Mac App Store seems like a plus, but I also worry, as always, that I
 might have to wait extra time for releases/bug fixes due to the review
 window.


Robert,

I can't speak for BB, but I know that the one major difference between
the App Store vs native installer releases is the lack of the
commandline tools and features like allowing authenticated access to
files when you use the App Store version.  This is due to Apple
specific restrictions on App Store applications.  I for one will
continue to use the version direct from BB as the commandline tools
are useful to me.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Need Version Management System Recommendations

2011-07-13 Thread Steve deRosier
On Wed, Jul 13, 2011 at 5:36 AM, David Kelly dke...@hiwaay.net wrote:

 Wrong. Subversion's file:// access method goes straight to it. The worst of 
 this is the tendency of Windows people to put the repository on a shared 
 file server with multiple users using the file:// method on the same 
 repository at the same time.

 Not wrong at all.  CVS and RCS have the same thing, you can make your
 server be some directory somewhere else on your local disk.  Which I
 pointed out actually.

 You said to the effect one must set up a server no matter its only you and 
 your laptop. Suspect you are confused with the popularity of using WEBDAV 
 with svn. This is all it takes (without WEBDAV):


David, I'm not confused at all.  All I stated is is SVN requires a
server.  That server may indeed simply be a different directory on
your own machine, as your own sample command-line shows.  I've used
SVN extensively for my own projects, I've maintained and administered
SVN repos for development organizations, I'm more than a little
familiar with it's concepts and use. It is indeed CVS done right as
described by the creators (though listening to Linus's comments on
that particular concept in the Google talk where he introduces Git is
quite funny, no matter if you agree with him or not).  There is zero
confusion in my mind about the benefits and drawbacks, configuration
and use.


 Client-server is a *strength* not a weakness, it allows a surrogate process 
 to manage access rights between multiple users. But contrary to your claims 
 requires no additional effort for single-user use. A single user would never 
 know subversion spawned other processes without looking hard.


I don't see client-server as an absolute strength nor a weakness.  The
right tool depends on what you're trying to accomplish and, if given a
choice, your working style.  I think having a multitude of choices is
great.  I also think that it's very important to explore and learn all
the tools (or at least types of tools) available so you can make an
intelligent choice of what to use.  I read recently on a blog where a
Gnome developer was bemoaning the choice of Gnome's community to move
from SVN (I think it was SVN) to Git.  Something was said like: I’ll
have to waste more time learning something new to do essentially the
same thing with no new benefit. This statement says I don't want to
learn new tools or learn new and potentially valuable skill-sets.
That's a behavior that I wouldn't want in any co-worker.  Learning
behaviors are something I specifically screen for when I interview,
and this guy likely wouldn't make it even as far as a phone-screen.  I
like to try new tools. Sometimes those get dropped, and when a new
tool makes me more effective in what I do, I adopt it.

One thing that's important to _me_ as I often work very remotely from
my servers is being able to continue to use my SCM while on slow or
disconnected network interfaces.  Git fits that bill.  I work in a
company where a huge code-base is still on CVS.  Even from my home
office with a high-speed cable connection, it took my computer well
over 30 minutes to do a branch-tag on the repo, when all I wanted to
do was check some disruptive changes into a branch for review.  All in
all, it took well over 3 hours to make a branch, check it out, merge
my changes, and commit them.  Doing the same effort on Git would've
taken less than about 10 minutes.  And I still have the pain of
merging my branch into the CVS tip after review to look forward to.

I apologize for comments I've made that are unclear. I'm not bashing
SVN.  The OP is best served by having fair and reasoned information
from experienced sources.

David, if you've got further issues with what I've said, I invite you
to take this off-list and email me directly.  There is no benefit to
the OP seeing us argue over various esoteric points, especially since
I clearly can't convince you of anything as I'm not trying to do so.
My overall goal was to present an option that the OP can choose to
investigate and possibly be of use to him.

Sincerely,
- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Need Version Management System Recommendations

2011-07-12 Thread Steve deRosier
Funny, I never thought of myself as a youth kid.  And considering
that Linus Torvalds who wrote it is 41...

I've used CVS, SVN, Perforce and Git extensively.  Git is by far the
best one, especially since you're not interested in setting up and
running a server.  The other three require a server (even if that
server is actually the same laptop you're working on).  You can simply
initialize it directly in the directory you want to work in and your
repo is right there.  There's so many benefits of Git over the others
I can't even begin to describe it.

I even use Git to manage the CVS and SVN repositories I'm forced to work with.

http://git-scm.com/

http://book.git-scm.com/

If you want to know more, feel free to contact me off-list.

- Steve


On Tue, Jul 12, 2011 at 7:51 PM, Rich Siegel sie...@barebones.com wrote:
 On Tuesday, July 12, 2011, Jack Stewart ja...@amug.org wrote:

 I am a one person operation, don't contemplate multiple developers and
 simply want to keep good track of development evolution. All of these
 systems seem like overkill for me.

 Does anyone know of something simple that is robust and works well?

 I would cross CVS off the list unless you already have a heavy investment in
 it; it's been long surpassed by Subversion (svn). Perforce is a good SCM but
 probably requires more setup and management than would be appropriate for a
 one-person team.

 I've found svn pretty easy to set up and manage, and there's good client
 support - BBEdit works well with it, as does Cornerstone (a GUI client).

 Git is very popular with the youth kids, but I've never used it and thus
 have no opinion.

 Of the ones you've named, I'd lean toward Subversion.

 R.
 --
 Rich Siegel                                 Bare Bones Software, Inc.
 sie...@barebones.com                      http://www.barebones.com/

 Someday I'll look back on all this and laugh... until they sedate me.

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Need Version Management System Recommendations

2011-07-12 Thread Steve deRosier
On Tue, Jul 12, 2011 at 8:21 PM, David Kelly dke...@hiwaay.net wrote:

 On Jul 12, 2011, at 9:52 PM, LuKreme wrote:

 On Jul 12, 2011, at 20:34, Jack Stewart ja...@amug.org wrote:

 Does anyone know of something simple that is robust and works well?

 They all work well. I think for starting now, git is the best option. Not 
 only does it work well, in has a fairly simple and direct set of commands. 
 And it is quickly becoming the most popular VCS out there. If you're going 
 to do something, even for home use, you might as well use a tool that might 
 be useful other times.

 Popular is a terrible criteria for selection. Once Upon A Time one could 
 say the same thing for the disaster known as Microsoft Source Safe.


True.  And Popular is also a terrible criteria for exclusion.

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Need Version Management System Recommendations

2011-07-12 Thread Steve deRosier

 Wrong. Subversion's file:// access method goes straight to it. The worst of 
 this is the tendency of Windows people to put the repository on a shared file 
 server with multiple users using the file:// method on the same repository at 
 the same time.

Not wrong at all.  CVS and RCS have the same thing, you can make your
server be some directory somewhere else on your local disk.  Which I
pointed out actually.  It doesn't mater where the server is.  CVS,
SVN and Perforce are all client-server designs. Period. Which, if
you'll notice, you acknowledge the weakness of getting around the
client-server design of SVN by directly accessing via the file://
access method on shared Windows discs (CVS has a similar bad history
with people trying to put it on NFS mounts BTW).

Look, I'm not really interested in a religious debate of my VCS is
better than your VCS.  You like SVN.  Good for you. Enjoy.

I simply thought the original poster would like a pointer to an
excellent VCS that certainty makes sense for a single developer (heck,
I use it to version my Linux /etc config files, and I never expect
anyone else to look at those) to use in a local workspace, no external
server, be it a real server or a different directory, required. Git -
powerful, simple, and local.

Jack,

Do some research, try some out, kick a few tires and find the one that
works best with your workflow.  Each has pluses and minuses, but until
you try one for a while you won't know what works for you.  My
recommendation (other than try Git), is stay away from CVS, there's no
need for that pain.  Also, I wouldn't bother with any commercial
systems, the Open Source ones are all generally as good or better, and
for a single developer the commercial systems wouldn't make much sense
anyway.  A good start:
https://secure.wikimedia.org/wikipedia/en/wiki/List_of_revision_control_software

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Updating Website Content by Users - Slightly O.T

2011-06-22 Thread Steve deRosier
You're looking for a content management system, or CMS.  There's lots
out there.  I've used Drupal extensively and it's both easy and
powerful.  Joomla is another one I've used, more publishing oriented
if you will.  Then if you're looking blogish: wordpress has both
hosted and software options.

Your question is frankly too vauge to really give a good answer.  it
depends is the best anyone with any honesty and experience could give
you from what you ask.  Sometimes educating yourself a bit so you can
figure out what your needs are and what the right questions to ask in
your situation is the best plan.

A list of various CMSs:
https://secure.wikimedia.org/wikipedia/en/wiki/Cms_list

- Steve

On Wed, Jun 22, 2011 at 8:22 PM, Jack Stewart ja...@amug.org wrote:
 I would very much appreciate any thoughts I could get from this bastion of
 experience on the best approach to designing a website which includes
 permitting selected users to update/modify content only.

 I want a small handful of involved users to be able to update content only
 without disrupting site structure.

 Thank you very much -- Jack

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: GREP to change selected text to lower case-- without affecting URLs

2011-05-22 Thread Steve deRosier
Domain names are not case sensitive (ie the DNS system is not case
sensitive).  All the rest of the URL depends on the web-server, and
thus usually is considered case-sensitive as most webservers are
UNIX/Linux/BSD and their filesystems are case-sensitive.  Windows
servers are likely not sensitive to case, but I still would always
consider the path part of the URL case-sensitive even if working on
one of those.

- Steve

On Sun, May 22, 2011 at 12:14 AM, ChristianBoyce
mac...@christianboyce.com wrote:
 Thanks Maarten. I'm not positive that URLs are case-insensitive. I
 think my example was poor-- the domain name IS insensitive to case,
 but other files are not. For example:

 http://www.christianboyce.com/MAARTEN.png and
 http://www.christianboyce.com/maarten.png

 do not load the same picture. UNIX lets me put two files with the
 same names into the same directory as long as their capitalization
 is not the same as UNIX is sensitive to case.

 You may be right anyway. But, I'm still trying to pass over those URLs
 without touching them.

 This problem boils down to one of those I can find the stuff that I
 DON'T want to change (URLs)-- how do I say 'change everything that
 isn't that stuff' questions. It is easier to find what I don't want
 to change than what I do.

 Meanwhile I will see about finding out more regarding why the
 requirement is don't change the URLs.

 c

 On May 21, 11:40 pm, Maarten Sneep maarten.sn...@xs4all.nl wrote:
 Op 22 mei 2011 om 05:14 heeft ChristianBoyce mac...@christianboyce.com het 
 volgende geschreven:

  But, if I have something like this:

  IT WAS A LOW-BUDGET AFFAIR and their WEBSITE ADDRESS 
  washttp://www.LOW-BUDGET.com;
  I don't want to change the URL. Basically, I want to leave URLs
  untouched. It should look like this: it was a low-budget affair and
  their website address washttp://www.LOW-BUDGET.com;. (I want to do it
  all in one move-- select the entire chunk of text, apply the GREP
  command.)

  I am using GREP rather than just changing case in BBEdit because I
  want to protect the URLs. A given chunk of text will be a mixture of
  upper case text, lower case text, and URLS. I'm trying to select a
  bunch of text, apply my GREP command, and do a change case that
  ignores URLs.

 Rightly so, urls are care insensitive. Why bother keeping the original case 
 for exactly that part?

 Maarten

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Saving 2 copies, one with a tilde after the title

2011-05-04 Thread Steve deRosier
Um, no.  They are just backup files, it stores the last state.  As
someone else mentioned, it's pretty standard practice for most
editors, though different ones use different file name munging.

If you're looking for doing some SCM locally to store revisions, you
should check out Git.  No server required.  Just install the tools,
`git init` in the directory you're interested in and add your changes.
http://git-scm.com/

- Steve

On Wed, May 4, 2011 at 5:59 AM, Robert Huttinger
roberthuttin...@gmail.com wrote:
 I mustve checked that at some point.
 'incremental'.. will that save versions? As I am having a hard time getting
 subversion to work, this may be a simple answer!
 bo

 On Tue, May 3, 2011 at 5:59 PM, Patrick Woolsey pwool...@barebones.com
 wrote:

 Bo roberthuttin...@gmail.com sez:

 It doesnt always happen, but for a while now, when I save a file, it
 creates another copy, with a tilde after the name. Is there some
 setting that will alter this behavior?  Is this a bug?
 

 Those files are backup copies, and this behavior is controlled by the
 Make
 backup before saving option in the Text Files prefs panel.

 (For complete details, please see the section of the same name in Chapter
 10 of the PDF manual [choose Help - User Manual].)


 Regards,

  Patrick Woolsey
 ==
 Bare Bones Software, Inc.                      http://www.barebones.com
 P.O. Box 1048, Bedford, MA 01730-1048




 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Deliberately hijacked thread, Webmaster

2011-03-17 Thread Steve deRosier
Perhaps the orgional poster wasn't as mild as he could've been.  I'm
sure he was just trying to help out.  All that's being said is that
when starting a new topic, please create a new email instead of trying
to start it by hitting a reply button and wiping out the text/subject.
 If that's what you did, great, if not well you learned something new.

As for the instructions someone gave you.  One of the nice things
about the Mac is it comes from a Unix background and as such has all
the standard Unixy programs still there under the hood.  What you've
asked for is fairly basic stuff that is already provided.  If you open
a Terminal, you can get information on the commands as given.

1. Open Terminal.app
2. Type: `man fmt` (exclude the quotes):
FMT(1)BSD General Commands Manual   FMT(1)

NAME
 fmt -- simple text formatter

SYNOPSIS
 fmt [-cmnps] [-d chars] [-l num] [-t num] [goal [maximum] |
-width | -w width] [file ...]

DESCRIPTION
 The fmt utility is a simple text formatter which reads the
concatenation of input files (or stan-
 dard input if none are given) and produces on standard output a
version of its input with lines
 as close to the goal length as possible without exceeding the
maximum.  The goal length defaults
 to 65 and the maximum to 10 more than the goal length.
Alternatively, a single width parameter
 can be specified either by prepending a hyphen to it or by using
-w.  For example, ``fmt -w 72'',
 ``fmt -72'', and ``fmt 72 72'' all produce identical output.  The
spacing at the beginning of the
 input lines is preserved in the output, as are blank lines and
interword spacing.  Lines are
 joined or split only at white space; that is, words are never
joined or hyphenated.
...
3. Type: `man fold`
FOLD(1)   BSD General Commands Manual  FOLD(1)

NAME
 fold -- fold long lines for finite width output device

SYNOPSIS
 fold [-bs] [-w width] [file ...]

DESCRIPTION
 The fold utility is a filter which folds the contents of the
specified files, or the standard
 input if no files are specified, breaking the lines to have a
maximum of 80 columns.
...

Now, you can type the commands and make that work.  Once you know how
to do it from the commandline, you can always find a way to do it via
BBEdit.  Look in the manual for Run Unix Filter and Text Factory.
Of course, if you just have a directory full of files and it's a
one-off thing, just do it from the Terminal command line and call it
good.

You can gain huge power by learning to use your commandline tools.
It's one of the reasons I'm able to use my Mac when doing things like
writing Linux kernel code.

- Steve

On Thu, Mar 17, 2011 at 9:20 AM, Webmaster
webmas...@endtimeprophecy.net wrote:
 I'm sorry fellas, but this is all a bit confusing to me. Here
 is exactly what my original message looks like in my email
 client:

 --
 To: bbedit@googlegroups.com
 From: Webmaster webmas...@endtimeprophecy.net
 Subject: How To Rewrap Lines To Specified Length In Folder Of Files
 Cc:
 Bcc:

 Hello Again,

 Another question...

 I have a folder which presently contains several hundred
 BBEdit files. I want to rewrap the lines in each file at 76
 characters per line.

 Is there a way to do this globally, just as you would do on
 an individual file using command + backslash?

 If so, how would I accomplish this?

 Thanks so much!

 WW
 --

 That is exactly what is in my email client window for that
 message.

 If I somehow did something wrong, I apologize, but I also
 find it rather offensive that someone is now blowing this
 issue out of proportion, and accusing me of deliberately
 hijacking a thread. I am not a pirate or a hijacker, and I
 don't intentionally break any rules. I wouldn't know how to
 hijack something if I tried. My skills are limited to
 designing our website with basic HTML and some CSS, and
 working with images in Photoshop. That is about it. I am not
 a programmer or a hacker of any sort; the Terminal is for the
 most part foreign to me; and there are a lot of things
 discussed on this BBEdit support list that I am absolutely
 clueless about.

 Anyway, I rarely post on this list, because my needs aren't
 that great. Occasionally, there is just something that I
 don't know how to do in BBEdit, so I ask for help here.

 So far, only one person has responded on topic to my original
 request for information, and what he said is over my head. I
 would appreciate if someone here could please provide a
 simpler, clearer answer regarding how to rewrap lines to a
 specific length in a folder full of BBEdit files.

 Thanks,
 WW

 --
 
 EPN Website         : http://www.endtimeprophecy.net
 EPN Blog            : http://www.endtimeprophecy.net/Blog/
 EPN RSS Feed        : http://www.endtimeprophecy.net/EPN-RSS-Feed.xml
 Top Christian Sites : 

Re: Mac App Store for BBEdit?

2011-01-11 Thread Steve deRosier
On Tue, Jan 11, 2011 at 1:38 PM, Rich Siegel sie...@barebones.com wrote:

 the products are identical (with a specific nod made to the command-line
 tools/authenticated save issue, which we intend to be strictly temporary).


I hope that BB intends on keeping the command-line tools/authenticated
save as they're things many of us actually use!

- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: BBEdit crashes when checking out git branch via term

2010-12-30 Thread Steve deRosier
You know, this may be related as the effect seen in BBEdit is similar:

I use BBEdit to work on an Android tree that is on my Linux box and
shared over Samba. I usually like to leave BBEdit up and running
between work sessions, so I often just close the lid to my laptop,
unplug, take it with me and when I wake it up at home BBEdit will
promptly crash, even though I haven't touched it.

This only started happening with the last couple of releases (sorry, I
don't know exactly which one started this problem), and it only
happens when I happen to have files open that were on a disconnected
volume.  BTW, the BBEdit project file is on a local volume if it
matters.

I know it's rather rude of me to yank away the share, but BBEdit
shouldn't just segfault because of it.

Thanks,
- Steve

On Thu, Dec 30, 2010 at 4:37 PM, Carpii p.chapman...@gmail.com wrote:
 Recently BBEdit has been crashing quite often.
 I have a project which consists of one directory added to the project
 as the parent. I expand that directory and all my project files and
 folders are in there.

 This directory is a git working copy, and I often check out a
 different branch, by dropping to Terminal.app and using git checkout
 branch
 about 30% of the time now, this is causin BBEdit to crash. Im guessing
 its in the middle of refreshing its file list or something, but this
 has been my workflow for over a year now, and its only recently its
 started crashing because of it (maybe since last update)

 Ive also seen it crash when using git stash, so I think its anything
 which could cause a file to appear or disappear in the directory
 BBEdit has open. It doesnt seem to matter if BBEdit has any actual
 files open at the time

 Any ideas on what is causing this please?

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Getting started with Subversion

2010-12-09 Thread Steve deRosier
On Thu, Dec 9, 2010 at 11:00 AM, David Kelly dke...@hiwaay.net wrote:
 On Thu, Dec 09, 2010 at 09:34:56AM -0800, Steve deRosier wrote:

 My #1 reason to use Git is the fact that the repo is in your local
 workspace.  Every other system you have to be connected to the network
 in order to do simple things like reading the commit logs, diffing
 versions, etc.

 Wrong. Neither CVS nor SVN work that way. The repository can be local or
 remote. Locally one can access the repository files directly or

Double wrong.  Or more accurately, misleading.

True: you can use CVS or SVN locally.  However, now you can't really
use it with multiple people, removing at least one of the arguments
for using a VCS in the first place (though I recommend using a VCS
even if you're the only one on the project, even if it just for
tracking changes).

Now, if you put the {CVS|SVN} repo on your local machine, hence now
you have local access to it (just like git.  well not just like, but
close enough). You can take your laptop with you and you still view
logs, commit, etc.  But your coworkers can't use it until you open it
up and server it to them.

So, you can open it up and serve to your coworkers if you like:  You
have to give them access via ssh or http or some other relevant
transport, but it's easy enough to do.  Now, they take their laptops
to a park to work quietly, and they do an svn log... and they're
screwed because they need network access to your repo.  Or worse,
since you work on your laptop, you're on an airplane and five
developers at the office don't have access to the repo.

With SVN or CVS a server is required.  Period.  That server may be
on your local machine and may be accessed by direct file-system
methods, but still required.  And if that server is not accessible,
no reading logs, diffs, or commits for you.

 indirectly through a server app. Once you have defined the repository
 location (and method) for a project that information sticks in the
 project. One can freely jump between projects which use different
 repositories.

Yes, true.  But repo information is not stored in your local
workspace.  A 'svn log' still requires a trip to the real repo.  If
you've got that locally on your fs, great.  If not, you're
out-of-luck.


 One of the biggest mistakes made in Microsoft environments is to put the
 repository on a shared filesystem with multiple users accessing via
 direct file methods. With possibly different apps simultaneously
 modifying the repository one is asking for trouble, and will get it.


Same problem is frequent with CVS too.  Oh, and also never put the
server on an NFS mount and access it even via the server... eventually
it will corrupt.


- 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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: BBEdit 9.6

2010-10-27 Thread Steve deRosier
Yes, it's pulling your user name to populate it.  To test it, I have a
guest account on my laptop called Guest User, I logged in as Guest
User and started BBEdit.  The name Guest User showed up as the last
entry.

To BB: Nice touch!  :)

- Steve

On Wed, Oct 27, 2010 at 6:33 PM, Bill Rowe readli...@sbcglobal.net wrote:
 On 10/26/10 at 11:30 PM, rar...@banet.net (Robert A. Rosenberg)
 wrote:

 At 20:48 -0400 on 10/26/2010, Gabriel Roth wrote about Re: BBEdit
 9.6:

 I just noticed the dynamic credit for unindicted co-conspirators.

 Oh, my name's in there! I wonder what I did? Cool.

 Not to burst your bubble but this is something I have seen in other
 programs. The user's name is dynamically added to the About Menu - I
 forget where it finds the name to use (mine shows up as all caps of
 my First and Last name without my middle initial and it does not
 match the license for the program which has the initial and is Title
 Case).

 This appears to be what is going on with the unindicted co-conspirators
 list. That is I see my name as the last entry, but do not see names of other
 posters who indicated they were also unindicted co-conspirators. Now, I
 wonder if there is any significance to the 4 names I see ahead of my in this
 entry.

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Send Current file to PART of a web page

2010-10-09 Thread Steve deRosier
Well, forget applescript (which might work fine, BTW), but since you
already know how to get it to a terminal, you could just write a
little Perl script to take input from stdin and act as a web client to
post it to the form in question.

All that said, that's one of the most insane programming environments
I've ever heard of!  Talk about a productivity-sapper.

- Steve

On Sat, Oct 9, 2010 at 10:32 AM, leecreighton lee.creigh...@gmail.com wrote:
 Oh, please, please tell me I'm not over my head with this.

 I'm employed at a company where I have to spent all day, every day,
 programming inside a web form. Mostly it's perl, but it gets typed
 into a web page field. When I'm ready to test, I click a button on
 that page to process the perl and see the output. I've checked, and
 this seems to be my only option.

 What I'd like to do is write my code in BB Edit, then automatically
 send what's in my editor window to the appropriate textarea in the
 window. It'll be open in Safari, and I can get the name of the
 destination textarea. The button I click to start the preview process
 is rigged to a javascript. Any way I can also get the button to click,
 or somehow otherwise trip the javascript to start after it's received
 my textual goodness from BBEdit?

 Since this involved so many applications, maybe I need to write an
 applescript (?) that says Get the BBEdit Code, place it in the
 textarea called 'foo', then trigger the javascript called 'Go' . But
 I'm not sure if Applescript has that fine control. And I'd of course
 like to keep BBedit in control for some reason.

 I feel like this should be possible. I already can get my text out of
 BBEdit to the terminal, but to a specific form element on a page…
 that's tricky.

 Merci mille fois in advance.

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Can I use grep during file compares?

2010-09-28 Thread Steve deRosier
Nope, I didn't misunderstand your question at all.  You changed some
text files (presumably some CSS, HTML and/or PHP templates), and you
want to keep track of your changes. I'm not a carpenter, yet I know
how to use a hammer.  Perhaps you didn't fully understand the possible
scope of your own question?

Among other things, I use git to keep track of configuration changes
in my /etc directory, and config files in my home directory.  Very
useful, even if you're not a developer.
http://git-scm.com/documentation

As for the direct answer to your question, I think Rich took care of
that.  If that's enough good for you, then great.

- Steve

On Tue, Sep 28, 2010 at 4:33 AM, RobS rsteven...@accesscable.net wrote:
 I think you may have misunderstood my question. I'm an end user of Zen
 Cart, not one of its developers.

 Installing a new version of ZC is fairly straightforward, but my older
 version may have a few files in it which contain edits in the core
 code, for one reason or another. But a simple file compare flags
 thousands of files, almost all of which are irrelevant. The suggested
 (by a Zen Cart developer) GREP statements pare down the list of
 flagged files to ones that are relevant. So I was asking if it is
 possible to insert those regex lines somewhere in the compare flow in
 BBEdit.

 Rob

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Can I use grep during file compares?

2010-09-27 Thread Steve deRosier
Compares and regexes are fine and all, but sounds to me that you
really need the use of a proper revision control system and a proper
release management process.  You might want to look at git (which
works fantastically on the Mac, and it's great for a single-person
workflow).

- Steve

On Mon, Sep 27, 2010 at 7:38 AM, RobS rsteven...@accesscable.net wrote:
 Hi,
 I use Zen Cart for ecommerce. Upgrading always involves comparing
 files to see what I might have edited and then applying the edits to
 new files if necessary. The developers suggest using regex (in
 Winmerge) to fine tune the compare so it ignores files that are only
 different in their header material or in other non-essential ways.
 Here are the regex lines they suggest...

 //.*
 [/]{2}.*[\|\+]*
 [/]{2}\s*\$[\s]?Id: .*\$
 ^ \* @version \$Id:.*\$
 #\s*\$[\s]?Id: .*

 Is it possible to use these during file compares in BBEdit?

 Rob

 --
 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.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit


-- 
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.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Scrolling while selecting - very slow.

2010-08-11 Thread Steve deRosier
I don't know about adjusting, but:

1. Put the cursor at your start point.
2. Scroll with scrollbar or mouse-wheel.
3. Hold down shift and then click at the end point of your selection.

Same results, faster.

- Steve

On Wed, Aug 11, 2010 at 7:53 AM, tpneumat tpneu...@gmail.com wrote:
 I love BBEDIT but if u use the mouse or shift-arrow to select and then
 start scrolling over, say 1500 lines of code to select a large block,
 the scrolling speed is very slow, and you cannot use the mouse-wheel
 during select.  Any way to at least adjust the speed on that?

 --
 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.

-- 
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.


Re: Find Differences... for Projects?

2010-05-20 Thread Steve deRosier
I may be wrong, but I don't know of a way to do this with BBEdit.
You'll need a more sophisticated diff tool.  I've looked at many of
them, and I happen to prefer Araxis Merge.  You'll have the added
benefit that it can diff images too.

- Steve

On Tue, May 18, 2010 at 8:05 PM, cp21yos cp21...@gmail.com wrote:
 Maybe I'm missing something but, is there any way to get BBEdit to run
 the Find Differences… command on two projects?

 For example we have a component for a CMS in folder structure that
 reflects the final installer layout, this folder is under GIT control.

 We also have the the component installed our development webservers
 (localhost) where the files are spread out amongst various directories
 that don't have a one-to-one mapping with the installer layout.

 When working on the component I use a BBEdit project to manage all of
 the components and it works beautifully - similarly I have a project
 for the GIT managed component files as well. I realise that the
 biggest problem will be non- 1 to 1 relationship for file locations
 but I was hoping that a projects folders and collections could be
 mapped against each other... It's the optimist in me.

 Right now I'm using Find Differences… in a multi-step pass where I
 manually marry up the various files or folders to acheive what is
 effectively a comparison of two BBEdit projects.

 Suggestions welcome...

 --
 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.

-- 
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.


Re: Git Support ?

2010-05-14 Thread Steve deRosier
Matt,

There is a git integration.  The original:
http://www.idolhands.com/application-and-web-development/source-control/basic-git-integration-with-bbedit

As noted, the BBRails toolkit has the more modern one.

Note that I don't have personal experience with either of these.  I
find using the git command-line tools more powerful and easier to use,
especially since I spend so much of my time at the command-line
anyway.

- Steve

On Fri, May 14, 2010 at 12:27 PM, Matt Martini matt.mart...@gmail.com wrote:
 Bare Bones Support,

 Will you be adding GIT support to the source control options that BBEdit 
 understands?

 There are many source control systems out there, CVS and SVN cover a large 
 percentage
 of projects, however GIT is now the standard on many open source projects.  
 My vote is
 to add GIT support to the BBEdit roadmap.

 Thanks for listening,

 Matt

 --
 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.

-- 
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.


Re: OT - Recommendations for a C-compiler?

2010-05-12 Thread Steve deRosier
If you're going to do this stuff at an university, you'll likely be
using gcc anyway, so you might as well work with it.  I'm not
surprized that there's a fair amount of existing code in both C and
C++; I'd expect there might be some older code in Fortran or some
newer stuff in Python also.

You'll like Boost.  It's got classes especially for mathematical
computation, including matrix and complex number classes.  I've never
used them, most of my use was with the basics like smart pointers, or
advanced stuff like the Spirit parsing library, or specialty things
like the serial port lib.  Oh, there's a handy little rounding class
that I used.

You'll also want to learn to use revision control software like Git.
No matter what you have to use professionally, learning and using
Git is invaluable.  While it plays nice and integrates with SVN and
CVS (which you might have to use, learn those too), it is useful and
great for a solo developer.

Anyway, if you have anymore questions or comments, let's take them
off-list, you can email me directly.  I'm happy to help - I've been
backyard astronomer for 20 odd years.

- Steve

On Wed, May 12, 2010 at 5:49 AM, RobS rsteven...@accesscable.net wrote:
 Thanks for the tip about Boost, Steve. And don't worry, I won't be
 attaching a beautiful glossy interface to my code. ;-) (I wish.)

 I've just been looking at some samples of the sort of code that models
 astrophysical events. Some of it seems to be in C and some in C++.
 I've read that some of it actually runs in purpose-built machines with
 hard-wired sub-routines in custom chip sets, simply as a way to speed
 up computations over huge data sets and huge time scales. Sounds like
 I'll be having way too much fun once I start the courses in Sept. (I
 like to arrive prepared.)

 Rob

 --
 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.

-- 
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.


Re: OT - Recommendations for a C-compiler?

2010-05-11 Thread Steve deRosier
Rob,

While you do have to install the development tools to get Apples gcc,
you don't need to use xcode.  I primarily program linux console apps,
linux kernel drivers and embedded firmware.  BBEdit, terminal, gcc,
and make work much better than an IDE for me.  If you're primarily
doing astrophysics computation apps, the bulk of your work is under
the hood anyway.  People will thank you if you don't tie your program
to a particular OS and GUI toolset.   At least I will!

BTW, if you're working in C++, you'll also be interested in using
Boost.  http://www.boost.org/

- Steve

On Tue, May 11, 2010 at 4:42 PM, RobS rsteven...@accesscable.net wrote:
 Thanks Rich. Kind of what I expected. I used to have a developer's
 account and I have xcode around here somewhere, but I never used it
 and didn't stay current. I'll renew my acquaintance. (I can feel my
 head hurting already.)

 Rob

 --
 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.

-- 
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.


Re: Strange delete behavior w 9.5

2010-05-08 Thread Steve deRosier
Maybe...  though it doesn't behave as if option is down in any other
case.  It's possible that my hand was brushing the option key at the
time.

Anyway, if no one else has seen this, I'll chalk it up to operator
error.  Just wanted to see if anyone else was affected so I didn't
waste support's time looking for a bug that doesn't exist.

Thanks,
- Steve

On Thu, May 6, 2010 at 6:23 PM, Charlie Garrison garri...@zeta.org.au wrote:
 Good morning,

 On 6/05/10 at 10:02 AM -0700, Steve deRosier deros...@gmail.com wrote:

This might be user error, or even expected (expected to someone who
read the release notes perhaps) new behavior, hence why I'm asking on
the list instead of contacting support.  I am using a laptop (older
MBPro), so maybe my hand was dragging on the touchpad or something
when I was doing it.

 Could it be a sticky option key? Sounds like option-delete behaviour to me.


 Charlie

 --
   Ꮚ Charlie Garrison ♊ garri...@zeta.org.au

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 〠  http://www.ietf.org/rfc/rfc1855.txt

 --
 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.

-- 
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.


Strange delete behavior w 9.5

2010-05-06 Thread Steve deRosier
I'm wondering if anyone has seen this:

I was adjusting a cut-and-paste piece of code yesterday and I placed
my cursor via the arrow keys right after a character I wanted to
delete.  I pressed the backspace and instead of deleting one character
(the S in LBTF_DEB_SDIO), it deleted to the beginning of the symbol:
lbtf_deb_leave_args(LBS_DEB_SDIO, ret %d, ret);
lbtf_deb_leave_args(_DEB_SDIO, ret %d, ret);
final:
lbtf_deb_leave_args(LBTF_DEB_SDIO, ret %d, ret);

I've now seen this happen about 4-5 times.

This might be user error, or even expected (expected to someone who
read the release notes perhaps) new behavior, hence why I'm asking on
the list instead of contacting support.  I am using a laptop (older
MBPro), so maybe my hand was dragging on the touchpad or something
when I was doing it.

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.


Re: C++ plugin?

2010-04-02 Thread Steve deRosier
OK,
I'm answering my own question.  You just have to extern C the main
function call:
extern C pascal OSErr HelloWorld(BBXTCallbackBlock *callbacks,
WindowPtr w, long flags, AppleEvent* event, AppleEvent* reply)
{
...
}

That gets it to work.

So, now the follow up question: How the heck do you debug a plugin?
I'd love to run it in a debugger, but I don't really see how to do
that.  printf/cout tracing doesn't seem possible as there's no
terminal.

While I'm very experienced with C/C++ programming in a variety of
situations (embedded and Linux are my primary fields), I'm fairly new
to the Mac API and BBEdit plugins specifically.  All of this passing
around of opaque Handles and use of pascal-style strings has me fairly
confused.  So, is there a concise tutorial of what a Handle is, how to
copy the data to/from standard C or C++ strings, what the best
practices in this are?

Thanks,
- Steve


On Fri, Apr 2, 2010 at 4:03 PM, Steve deRosier deros...@gmail.com wrote:
 I'm trying to write a plugin for BBEdit.  The SDK sample is in C, but
 I'd like to use C++ as there's some existing higher-level
 functionality I'd like to connect with my plugin.  I see the Python
 language module is in C++ (or at least is contained in .cp files), so
 I assume it's possible, but if I compile my plugin as C++, when I use
 it in BBEdit, BBEdit segfaults.

 Does anyone know:

 1. Is it possible to write a BBEdit plugin in C++?
 2. If so, what's the proper incantation to make it work?  Best would
 be if someone could give me an idea of how to go from the HelloWorld
 plugin in the SDK to a version that compiles in C++.

 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, reply using 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: BBEdit git/mercurial

2010-03-19 Thread Steve deRosier
Hi Lorin,

There's a git integration for BBEdit.  For some reason it's now within
the Rails stuff.  The original is at:
http://www.idolhands.com/application-and-web-development/source-control/basic-git-integration-with-bbedit

That said, I've never used it.  I use BBedit extensively, but I prefer
to use git (and frankly CVS and SVN too) on the command-line.  git's
basic command-line tools are very powerful and easy to use, and I
haven't seen an advantageous GUI for it yet.

- Steve

On Fri, Mar 19, 2010 at 11:09 AM, Lorin Rivers lriv...@mosasaur.com wrote:
 I searched the google group, did some googling, and basically came up empty.

 I'm contemplating one of the DSVNs for a project and was wondering how people 
 who use those AND BBEdit handle their workflows.
 --
 Lorin Rivers
 Mosasaur: Killer Technical Marketing http://www.mosasaur.com
 mailto:lriv...@mosasaur.com
 512/203.3198 (m)


 --
 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.


cscope

2010-03-03 Thread Steve deRosier
All,

I've got a new boss who insists that I use cscope.  He of course is
Linux-only and isn't comfortable Mac BBEdit environment.  Does anyone
know of a way to integrate cscope with BBEdit?  Or a way to get
similar functionality yet retain my beloved BBEdit?  He hasn't
mandated cscope, just that I use a more advanced code-spelunking
technique than grep.  The last thing I want to do is have to use Vim
on Linux.

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.


Re: Folding for simple outlines?

2010-02-07 Thread Steve deRosier
There is an excellent outline specific application, that would likely
do what you want in a much easier and simpler way than using a
programmer's text editor:
http://www.omnigroup.com/applications/omnioutliner/

- Steve


On Sun, Feb 7, 2010 at 6:53 AM, Walter Overby spamwal...@yahoo.com wrote:
 Hello all,

 Sorry for the newbie post.

 I would like to use BBEdit for simple text-based outlines.  Each
 outline level is distinguished by indentation, in the spirit of
 Python.

 My goal is to use code folding to collapse and expand levels of this
 very simple format.

 So far, I've had very good luck using the Python language module.  The
 drawback is that the language module detects certain text as Python,
 when of course it isn't.  It colors keywords and text strings in ways
 that don't make sense for my almost-plain text input.

 BBEdit seems quite capable of doing what I need, and my instinct tells
 me that a Language Module based on the Python Language Module would do
 the trick.  Does such a thing exist already?  Or is there an example I
 could readily adapt?

 Note that I do not want to change my delimiters from indentation to
 something else.

 Thanks very much,

 Walter Overby.

 --
 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.

-- 
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.


Re: Files Not Always Saving

2009-04-01 Thread Steve deRosier
 server.  Far be it for me to disagree with the living legend
himself, but Linus is flat-out-wrong: It's not that git doesn't need a
central repository, it's that Linus can't see it because the central
authoritative repository that everyone pulls from is _his_ workspace.

Downsides: git's not easy to use, and the tools are still rather
primitive (for example Tortoise-git exists, but it isn't fully
implemented).  It's steeped directly in the OSS debate, and while the
other tools are also open-source, they're not as political as git.
git is also very Computer-Sciencey and is presented with a lot of
high-brow theoretical stuff; while interesting, it makes it more
difficult to wrap your head around and just use.

That said, there's a number of advantages that git has:
1. Merging of patches is powerful and swift.  Branches and merging of
them is also easy.
2. Comparing changes and getting changed-file status, etc, is very
quick due to the use of hashes.
3. git doesn't bog down on any size code-base.  CVS use of the Linux
kerenel is painful, but via git it's nice and smooth.
4. It co-exists nicely with other SCM tools, and can be used directly
in a checked-out SVN or CVS workspace (this is very notable: no other
SCM can do this AFAIK).
5. It's good for single-developers as it doesn't require a central
repository.  That said: there are advantages to having a repo on a
remote server and using that, be it CVS, SVN, or git.  The most
obvious and notable being the fact that you can work anywhere you have
internet access, simply by having the right tools and being able to
check out the code from your server.

Anyway, these are my opinions and experience with the three systems.
Other people may have other opinions, but I hope I've given enough of
a fair overview of them to be useful.  As I said: the most important
thing is to use a SCM system of some sort.  Learn one, and then
experiment with the others till you find one that works well with your
workflow.  Learning CVS is good, as it's marketable and experience
with it is immediately transferable to SVN.   Either CVS or SVN will
be useful and easy to learn.  git might be harder to learn (especially
getting through the theory, when what you want is practical
instruction for use), but it's possible that it might be better in the
long run for your specific use.

To make this relevant directly to this group: BBEdit nicely handles
both SVN and CVS, more or less directly, and at least as well as most
editors, but for real power you'll want to either learn the
commandline tools or get external tools.  I do recall a mention of a
git-plugin for BBEdit somewhere, but I can't seem to find a bookmark.
Do some searching and you might come up with it.

- Steve



On Wed, Apr 1, 2009 at 6:16 AM, Rod Buchanan rod_li...@kdsi.net wrote:

 On Apr 1, 2009, at 4:28 AM, steveax wrote:

 On Mar 31, 9:00 pm, Steve deRosier deros...@gmail.com wrote:
 For the single user, you might investigate git.  It's the scm used to
 maintain the Linux kernel.  There's a few issues, it's conceptually
 confusing and the tools are rather primitive, but it's powerful,
 unlike CVS and Subversion, it handles merges well (indeed--it was
 designed from the ground up to do merges well as that's what Linus
 does all day long), and most importantly for a single user, it
 doesn't
 need a remote server.

 Not sure what you mean by remote server, but subversion repositories
 reside on the local machine just fine.

 As can CVS repos.  I access local/remote repositories all day long.

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

 What's the sense of being an adult, if you can't be childish once in a
 while?
 -- Dr. Who


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
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 specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: BBedit and spaces

2009-01-18 Thread Steve deRosier

I see this all the time, and while it's fairly annoying, I've never
considered it big enough to complain about.  Actually, I thought it
was just me.

Usually what happens, is I have one project open in one window on
space 3, and open another project on space 2.  Then I might open a
file, put it in its own window and drag it from space 3 to 2.  At that
point, all BBEdit windows want to live in the same space, ie. the
origional window from space 3 comes along to space 2.  Moving it back
to space 3, _all_ BBEdit windows (including the one that was living on
space 2) move to space 3.  When in the spaces view, only the one
you're dragging looks like it's moving, but when you click over and
end up in a space, the rest of the windows move along.

I've also seen it happen with MS Office apps, but nothing else (I
often have different Firefox windows open on different Spaces).

I strongly suspect it's actually a Spaces bug, and a very rare
condition triggers it, hence why I only see it in those two apps.

- Steve

On Thu, Jan 15, 2009 at 10:20 PM, Paul Richardson li...@polar-beach.com wrote:


 On 2009-01-15, at 22:53, Thrakazog wrote:

 why I have I never seen this with textmate? Why
 have I never seen this with ANY other app, than the occasional office
 mishap?



 Why have I never seen it in BBEdit?

 BBEdit behaves for me quite well in space 2.


 Paul




 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
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 specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---