[OS X Emacs] Re: MacOSX-Emacs Digest, Vol 40, Issue 3

Marinos K marinos at agxivatein.com
Fri Feb 11 01:01:17 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OH,

I am not good with regexps
I didn' t knew it stands for every opening parenthesis.. and it would
work anyway..

thx for making this clear !

m


On 11/02/2011 12:26 ?.?., Marc Shapiro -- at work wrote:
>> From: Marinos K <marinos at agxivatein.com>
>> Subject: Re: [OS X Emacs] Re: delete parantheses pair
>>
>> [...]
>>  (cond ((or (looking-at "\\s(") (looking-at "\\s[") (looking-at "\\s{")
> 
> This doesn't make sense.  The regexp "\\s(" stands for "any opening parenthesis, as defined by the current syntax", so it would usually include all of ([{.
> 
> The regexps "\\s[" ans "\\s{" don't mean anything AFAIK.
> 
> See here for a concise explanation of Emacs regexps: http://www.emacswiki.org/emacs/RegularExpression
> 
> And BTW the error message is wrong, it should be "Not looking at open parenthesis nor quote"
> 
> 					Marc
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNVNCnAAoJEHtg0hV818BQSREH/RKGX5IDvaIlQ2YLSeZT4yGm
WJWRSKFzVCLzpaLFg05oakv1EQL2lzEEVoeDCYbGS1j3NzMEiy2ygIDEuGMT6oMY
qWg8KCDdnGq5LkYFBWd3JgpFjXHPoaAsl+Q2hG6J+OcEbIfZYAgWYq5r03on5xCz
tykJy5Osk3ZH+eQkyFwJk8K5kl4mgnAihK5wVMcvQvJocsRLG/YITsgAh/wg/r+4
lb1JKj29i+nleG1aSVkVJbyayCFN0qrlsDl4LAnzSIKrNubsTbI6mn8J1iVWvzlI
gkfwdk+uWImPyG3jVjDQwjpSf9PV7mSaeexmkR/9KLEN8CjU7SV7tqx219lMkpk=
=ro4c
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x7CD7C050.asc
Type: application/pgp-keys
Size: 4258 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110211/277b7eb9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x7CD7C050.asc.sig
Type: application/octet-stream
Size: 287 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110211/277b7eb9/attachment.obj>


More information about the MacOSX-Emacs mailing list