From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: renato.pontefice@gmail.com Newsgroups: gmane.emacs.help Subject: Re: regexp on emacs how to... Date: Wed, 3 Sep 2014 02:24:49 -0700 (PDT) Message-ID: References: <8761h764uv.fsf@geodiff-mac3.ulb.ac.be> <874mwrrudt.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409736340 5409 80.91.229.3 (3 Sep 2014 09:25:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2014 09:25:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 03 11:25:33 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XP6ok-0001R0-Aw for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Sep 2014 11:25:30 +0200 Original-Received: from localhost ([::1]:43420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP6oj-0007Xx-Rd for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Sep 2014 05:25:29 -0400 X-Received: by 10.182.47.136 with SMTP id d8mr21473896obn.10.1409736289374; Wed, 03 Sep 2014 02:24:49 -0700 (PDT) X-Received: by 10.140.91.105 with SMTP id y96mr20585qgd.16.1409736289344; Wed, 03 Sep 2014 02:24:49 -0700 (PDT) Original-Path: usenet.stanford.edu!news.glorb.com!uq10no8811561igb.0!news-out.google.com!q8ni10qal.1!nntp.google.com!m5no5403141qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2.118.42.225; posting-account=u2YPPQoAAAD4EIiLgz2UEPmFMncWw22R Original-NNTP-Posting-Host: 2.118.42.225 User-Agent: G2/1.0 Injection-Date: Wed, 03 Sep 2014 09:24:49 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:207341 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99618 Archived-At: Il giorno marted=EC 2 settembre 2014 13:03:23 UTC+2, Nicolas Richard ha scr= itto: > Le 02/09/2014 09:48, Renato Pontefice a =E9crit : >=20 > > wich coul be the elisp code, than check all the tags ([-.....-]), but, >=20 > > from the beginning ([-) to the end (-]) find some non capital letter >=20 > > (any one) >=20 >=20 >=20 > I did not give it much testing, but I think this should do it: >=20 >=20 >=20 > (while (and (not (eobp)) (search-forward "[-" nil t)) >=20 > (skip-chars-forward "A-Z") >=20 > (unless (looking-at "-]") >=20 > (message "Problem found, please fix and hit C-M-c to continue") >=20 > (recursive-edit))) >=20 >=20 >=20 > (I think my previous mail was sent twice, sorry about that.) >=20 >=20 >=20 > --=20 >=20 > Nicolas. (as rightly said Nicolas, I continue the post on the groups. My last two me= ssages:) Nicolas...I would not be too hasty..... but it seems to work!!!!!!!!!!!!! I thank you for your help, now Icontinue to try!!!!! Thanks again Renato