From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: ELisp: special read syntax for regular expressions? Date: Sun, 13 Apr 2008 01:12:47 +0200 Message-ID: <0374D881-08A7-4A73-AC26-376C5B83AE37@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208042002 23921 80.91.229.12 (12 Apr 2008 23:13:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2008 23:13:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Ilya Zakharevich Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 13 01:13:55 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jkoux-0006wC-6i for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2008 01:13:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkouJ-0001nq-15 for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Apr 2008 19:13:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jkou0-0001lb-VZ for help-gnu-emacs@gnu.org; Sat, 12 Apr 2008 19:12:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jkotv-0001fK-2S for help-gnu-emacs@gnu.org; Sat, 12 Apr 2008 19:12:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jkotu-0001f3-Rq for help-gnu-emacs@gnu.org; Sat, 12 Apr 2008 19:12:50 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jkotu-0004PL-Gp for help-gnu-emacs@gnu.org; Sat, 12 Apr 2008 19:12:50 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id B2353DB1B7E9; Sun, 13 Apr 2008 01:12:49 +0200 (CEST) Original-Received: from [195.4.205.17] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1Jkott-0002iP-00; Sun, 13 Apr 2008 01:12:49 +0200 In-Reply-To: X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/X2AiqVH/+Vs8vRKIHVecyqX1LwERk0ed7ICpF m89x/PtAE3Daakh7sv43X5ToCNgD+KDfRIJoTuSNR6ztxIlm1s tEVkIfpFPZQZq6oK2NxQ== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53259 Archived-At: Am 06.04.2008 um 23:38 schrieb Ilya Zakharevich: >> Too much, > > CPerl/Microdocs/Faces menu entry explaines which faces are used for > what (or see `cperl-tips-faces'). In your judgement, which constructs > should be "glued" together into one face? Separators (high-lighted? bold face?), parentheses used semantically =20 (not as element to be matched or found), "modifiers" like s or m =20 before and [egimosx] after the RegExp, referenced text (i.n., inside =20 "(" and ")"), back-references, class specifications ("[:alpha:]") if =20 not already referenced, other text. It might be desirable to use in the from part darker shades of the =20 colour than in the to part, i.e., 3 in from and 2 in =20 to section. Since GNU Emacs has a very good undo function it might be =20= better to emphasise on the from part, to think better about this, to =20 achieve on first try the desired change. (At least I have to try more =20= than once from time to time.) > >> too intense colours. Using a shy colour for [::] is a =3D20=3D >> good choice: this syntax is too easy. > > Thanks, but no thanks. Please keep your comments which colors look > good for you for your personal consumption (and/or your customization > file). There is good evidence found that different colours have different =20 effect on humans. Blueish and greenish colours have a relaxing effect =20= on the eye when used as a background colour on the computer screen =20 (more exert muscle activity is needed to perceive text in reddish =20 colour sharply). This also tells that text in blueish and greenish =20 colour is easier sharply perceived, i.e., more visible, lighter to =20 read as text with a certain meaning. Reddish colour does not seem to =20 need text to become evident as a warning. (At least I do not read red =20= text so often, for me it's OK that there is some, standing for "an =20 error just happened!") > >> =3D96 where is the RegExp > > Do not know what you mean here. There are so many and different colours in use that I hardly can =20 recognise any REs. I have the feeling that most lines of your =20 examples are faulty, but I confess that I do not know all Perl =20 RegExps by heart. -- Greetings Pete Imbecility, n.: A kind of divine inspiration, or sacred fire affecting censorious critics of this dictionary. =96 Ambrose Bierce: _The Devil's Dictionary_