List Info

Thread: automate typing for programming




automate typing for programming
user name
2006-11-29 00:34:12
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.
         
http://bug
s.kde.org/show_bug.cgi?id=101213         




------- Additional Comments From somekool somekool net 
2006-11-29 01:34 -------
ok, there is a problem with my patch here for C++. 
I've been writing ruby almost exclusively since, and had no
problem. but in languages like C++ that "overuses"
parenthesis, it is sightly of a pain.

the problem happens when writing this

if (x == f())

it won't complete the inner () because of the following line
in the patch

|| (nextChar == end_ch && prevChar != ch) ) 

and you will only get

if (x == f()

it's not too big of a deal maybe, I just type another ending
parathesis in this specific case. 

but I wonder what smarter check could we do here. I guess
the best would be to use a syntax parser to know if I am
inside an incomplete block. but I'm afraid it might be slow.
i don't know though.

another idea, would be to consider all blocks are closed.
since the completion option is enabled. thus as a quick fix.

you could simply remove that check

|| (nextChar == end_ch && prevChar != ch)

and things should be better. it might even fix other
problems mentioned earlier.

thanks
_______________________________________________
KWrite-Devel mailing list
KWrite-Develkde.org
ht
tps://mail.kde.org/mailman/listinfo/kwrite-devel
usb/91546: Nokia 6630 mobile phone does not work
user name
2006-12-15 04:20:07
The following reply was made to PR usb/91546; it has been
noted by GNATS.

From: Alexey Illarionov <littlesavageorionet.ru>
To: bug-followupFreeBSD.org,  littlesavagerambler.ru
Cc:  
Subject: Re: usb/91546: [umodem] [patch] Nokia 6630 mobile
phone does not
 work
Date: Fri, 15 Dec 2006 07:13:01 +0300

 Much better patch that fix similar problem was commited
into NetBSD kernel some time ago.
 
 http://www.netbsd.org/cgi-bin/query-pr-single.pl?nu
mber=29754
_______________________________________________
freebsd-usbfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to
"freebsd-usb-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )