How to specify mode for .sql files?

2015-11-09 Thread Jeremy Cowgar
I know you can set ALL .sql files to be SQL (PostgreSQL) via Preferences, but I am trying to do it for a select few files. I tried using the Emacs mode line, without success: -- -*- mode: SQL (PostgreSQL); -*- on the first line I would have thought it would work. For example, I can do: -- -*-

Re: Convert Outlook Mac list to .CSV

2013-06-03 Thread Jeremy Cowgar
Possibly search for ;space .. ; That may not get the last occurrence, but should get the vast majority. Jeremy On Jun 3, 2013, at 2:50 PM, Diane Ross dianeofore...@live.com wrote: Outlook Mac 2011 groups can only be saved as a list separated by semicolon. Names are not saved.

Re: Convert Outlook Mac list to .CSV

2013-06-03 Thread Jeremy Cowgar
Oh, you can also use a regular expression if you wish to get fancy... ;\s* should do it. \s = whitespace (space, tab, newline) and * means zero or more occurrences. Be sure to enable Grep by ticking the checkbox. Jeremy On Jun 3, 2013, at 3:17 PM, Jeremy Cowgar jer...@cowgar.com wrote

Re: New Text Document… for project, keyboard shortcut?

2013-05-27 Thread Jeremy Cowgar
Thanks! I have a working solution now. Jeremy On May 24, 2013, at 4:37 PM, Christopher Stone listmeis...@suddenlink.net wrote: On May 23, 2013, at 10:18, Jeremy Cowgar jer...@cowgar.com wrote: When using the content menu on a given directory, it defaults to the selected directory

New Text Document… for project, keyboard shortcut?

2013-05-23 Thread Jeremy Cowgar
Is there a keyboard shortcut for the context menu item New Text Document... ? Jeremy smime.p7s Description: S/MIME cryptographic signature

Re: New Text Document… for project, keyboard shortcut?

2013-05-23 Thread Jeremy Cowgar
...@cowgar.com (Jeremy Cowgar) wrote: Is there a keyboard shortcut for the context menu item New Text Document... ? A simple AppleScript script with a keyboard shortcut would do it, but where do you want to save the file——in the .projectd or elsewhere? JD -- This is the BBEdit Talk

AppleScript: How to determine what programming language document is?

2013-05-15 Thread Jeremy Cowgar
Via AppleScript, can I ask BBEdit what the current document's programming language is? I know that I can look at the name of the current document and parse the extension of the file, but I was hoping for a more sure way, and easier way, to get the programming language. Jeremy Cowgar

Re: AppleScript: How to determine what programming language document is?

2013-05-15 Thread Jeremy Cowgar
Thanks! I see it now in the Library docs in AppleScript Editor. I was looking under the document type documentation. Jeremy Cowgar On May 15, 2013, at 5:27 PM, Patrick Woolsey pwool...@barebones.com wrote: At 13:48 -0700 05/15/2013, Jeremy Cowgar wrote: Via AppleScript, can I ask BBEdit what