[nfbcs] Counting parentheses

Jude DaShiell jdashiel at panix.com
Tue Oct 27 03:18:15 UTC 2015


If you code with emacs and finish a line with one or more missing 
parentheses, you'll hear about it through your screen reader and that's 
default behavior in emacs too.

On Mon, 26 Oct 2015, Gary Wunder via nfbcs wrote:

> Date: Mon, 26 Oct 2015 16:25:16
> From: Gary Wunder via nfbcs <nfbcs at nfbnet.org>
> To: 'NFB in Computer Science Mailing List' <nfbcs at nfbnet.org>
> Cc: Gary Wunder <gwunder at earthlink.net>
> Subject: Re: [nfbcs] Counting parentheses
> 
> If I had only known while I still had hair@!
>
>
>
> -----Original Message-----
> From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Brian Buhrow via
> nfbcs
> Sent: Monday, October 26, 2015 12:51 PM
> To: NFB in Computer Science Mailing List
> Cc: Brian Buhrow; Tracy Carcione
> Subject: Re: [nfbcs] Counting parentheses
>
> 	hello.  If you use an editor like vim, vi, or one of the other vi
> clones for editing your source files, the % command, when in command mode,
> will help you keep track of parenthesis, braces, brackets and anything else
> that has a left side and a right side.  What you do is put your cursor on a
> parenthesis, bracket, brace or what ever it is you want to check and, while
> in command mode, press the % key.  (That's shift 5 on most modern
> keyboards.).  The editor will then move your cursor to the matching opposite
> symbol.  If there is no matching symbol, because they're out of balance,
> your cursor won't move and you'll get a beep.  This feature has saved me
> countless hours, and, I dare say, has preserved much of my hair.
>
> -thanks
> -Brian
> On Oct 26,  1:01pm, Tracy Carcione via nfbcs wrote:
> } Subject: [nfbcs] Counting parentheses
> } I am having trouble keeping track of parentheses in complicated SQL }
> statements.  Perhaps when I know SQL better, it will be less confusing.
> } Sometimes I have an abacus handy to keep track of counts, but not always.
> } What methods do people use to make sure there is a ) for each (?
> } Thanks.
> } Tracy
> }
> }
> }
> } _______________________________________________
> } nfbcs mailing list
> } nfbcs at nfbnet.org
> } http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> } To unsubscribe, change your list options or get your account info for
> nfbcs:
> } http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/buhrow%40nfbcal.org
>> -- End of excerpt from Tracy Carcione via nfbcs
>
>
>
> _______________________________________________
> nfbcs mailing list
> nfbcs at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for nfbcs:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/gwunder%40earthlink.net
>
>
> _______________________________________________
> nfbcs mailing list
> nfbcs at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for nfbcs:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jdashiel%40panix.com
>

-- 





More information about the NFBCS mailing list