From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Tappin Newsgroups: gmane.emacs.bugs Subject: bug#8691: 23.2; In fortran 90 mode, f90-indent-subprogram gets confused by bind(c) type definitions Date: Wed, 18 May 2011 15:38:07 -0600 Message-ID: References: <19924.14431.48973.151809@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1305754752 13853 80.91.229.12 (18 May 2011 21:39:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 May 2011 21:39:12 +0000 (UTC) Cc: 8691@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 23:39:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QMoSR-0003T1-Fl for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2011 23:39:07 +0200 Original-Received: from localhost ([::1]:58769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMoSR-0008Dk-1E for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2011 17:39:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMoSO-0008De-ET for bug-gnu-emacs@gnu.org; Wed, 18 May 2011 17:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMoSN-0002j0-HR for bug-gnu-emacs@gnu.org; Wed, 18 May 2011 17:39:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMoSN-0002iu-Bo for bug-gnu-emacs@gnu.org; Wed, 18 May 2011 17:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QMoSM-0004nI-Ea; Wed, 18 May 2011 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Tappin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2011 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8691 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8691-submit@debbugs.gnu.org id=B8691.130575469818373 (code B ref 8691); Wed, 18 May 2011 21:39:02 +0000 Original-Received: (at 8691) by debbugs.gnu.org; 18 May 2011 21:38:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMoRe-0004mI-7x for submit@debbugs.gnu.org; Wed, 18 May 2011 17:38:18 -0400 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMoRZ-0004m3-O4 for 8691@debbugs.gnu.org; Wed, 18 May 2011 17:38:17 -0400 Original-Received: by iyn15 with SMTP id 15so1698653iyn.3 for <8691@debbugs.gnu.org>; Wed, 18 May 2011 14:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1GWXSDOn6c41w4d+btGUuHj1UgmvbX1Ot3gmkXfVrn4=; b=gxfQqOAgN85QNVjqJ1kksmAVJNn3MNSKOvG5Nymx2tRViq75qCNobIVExqnuFjmAOL INtbECJthzV6XPGiOYaKz1HAEm2L7JRGx+z1egUN3A8DCWd1305p2E2HYY4wLw6u22YU 9FSwemQkEoDz1jJM/BWc6n/EVX3+Tgq1EvwlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Zvd9mJaPa8ApoVF3QebPxexm3kpEQ/VsKVOvcRf95mH2U0p3kKCC3kEY1O77Iv6V+Y p0GTz2MTiDrXrxc+hvJA7Bb3d4h/zsv01JcNW2Dj4DBhFv5hunSMJLtmpghf4lryg3XC 0TB5kTBF73UDML5caC1RrZw6+Vg9Jb75MhsJg= Original-Received: by 10.42.76.67 with SMTP id d3mr2796846ick.520.1305754687982; Wed, 18 May 2011 14:38:07 -0700 (PDT) Original-Received: by 10.231.17.66 with HTTP; Wed, 18 May 2011 14:38:07 -0700 (PDT) In-Reply-To: <19924.14431.48973.151809@fencepost.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 18 May 2011 17:39:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46569 Archived-At: On 18 May 2011 15:21, Glenn Morris wrote: > > (Please keep 8691@debbugs included) > > However, rather than patching, it's probably easier to add to your > .emacs: > > (eval-after-load "f90" > =A0'(setq f90-type-def-re "\\<\\(type\\)\\>\\(?:\\(?:[^()\n]*\\|\ > .*,[ \t]*bind[ \t]*([ \t]*c[ \t]*)[ \t]*\\)::\\)?[ \t]*\\(\\sw+\\)")) > > which should have the same effect. > Thanks Glenn, That works on the test file, and on the original "problem" file. James