From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#9560: An exact recipe Date: Wed, 19 Oct 2011 10:16:18 +0000 Message-ID: <20111019101617.GA2445@acm.acm> References: <87zkh54o3x.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1319019734 11967 80.91.229.12 (19 Oct 2011 10:22:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 10:22:14 +0000 (UTC) Cc: 9560@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 12:22:10 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 1RGTHl-0007m4-BS for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 12:22:09 +0200 Original-Received: from localhost ([::1]:59343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGTHk-0001S8-KQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 06:22:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGTHh-0001S3-GH for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 06:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGTHg-0004eK-2i for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 06:22:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGTHc-0004dp-7E; Wed, 19 Oct 2011 06:22:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGTIb-0003yN-Uh; Wed, 19 Oct 2011 06:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 19 Oct 2011 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9560 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 9560-submit@debbugs.gnu.org id=B9560.131901972615183 (code B ref 9560); Wed, 19 Oct 2011 10:23:01 +0000 Original-Received: (at 9560) by debbugs.gnu.org; 19 Oct 2011 10:22:06 +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 1RGTHh-0003wp-To for submit@debbugs.gnu.org; Wed, 19 Oct 2011 06:22:06 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGTHe-0003wI-Tf for 9560@debbugs.gnu.org; Wed, 19 Oct 2011 06:22:04 -0400 Original-Received: (qmail 30346 invoked by uid 3782); 19 Oct 2011 10:20:59 -0000 Original-Received: from acm.muc.de (pD951B17A.dip.t-dialin.net [217.81.177.122]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 19 Oct 2011 12:20:57 +0200 Original-Received: (qmail 2470 invoked by uid 1000); 19 Oct 2011 10:16:18 -0000 Content-Disposition: inline In-Reply-To: <87zkh54o3x.fsf@maru.md5i.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 06:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52846 Archived-At: Hi, Michael. On Wed, Oct 12, 2011 at 10:33:22PM -0400, Michael Welsh Duggan wrote: > >>>From emacs -Q: > Do NOT resize the frame. The recipe includes C-v, which depends on the > window (and hence frame) size. > Load the following file: [ .... ] > Type: > M-x edit-kbd-macro RET y C-x e C-x h C-w C-x i > When prompted, insert the following keyboard macro file: [ .... ] > Type: > C-c C-c > You should be back at rwsiteinfo-backup.c. Execute the macro using: > C-x e > Then type: > TAB OK, I've got about this far. I've been busy getting 5.32.2 into XEmacs. The first thing I'm going to do with this macro is replace the C-v's with an equivalent number of C-n's, because my frames on a tty are a fixed 65 lines (not including mode line and minibuffer) high. :-) Emacs's facilities for keyboard macros are not comfortable. > At this point, you should see the indentation move to just under the `o' > in "flowtype:list". This location is incorrect. If you then do the > following: > M-x set-variable RET c-echo-syntactic-information-p RET t RET TAB > you will see that c-mode believes the syntax at that point to be > topmost-intro-cont instead of the proper brace-list-entry. > When you have solved this bug, please let me know if the solution has a > reasonable chance of having solved the other problem that I have not > been able to recreate reliably, which is getting "topmost-intro indent > 0" instead of "statement indent 4" when in the middle of editing a > function. If these have little chance of being connected, I'll do my > best to try to create that scenario again (no promises). > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany).