From: Michael Olson <mwolson@gnu.org>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, Alan Mackenzie <acm@muc.de>,
636@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: bug#636: Please fix before the release of 23.1
Date: Mon, 11 Aug 2008 08:26:04 -0700 [thread overview]
Message-ID: <87d4kfy3n7.fsf__2504.05837218768$1218472212$gmane$org@grepfind.mwolson.org> (raw)
In-Reply-To: <18591.59359.40969.641357@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 11 Aug 2008 09:18:55 +0200")
Ulrich Mueller <ulm@gentoo.org> writes:
> Indeed. If we agree that the bug is in cc-defs.el, then the following
> patch should fix it:
>
> --- progmodes/cc-defs.el 27 Jun 2008 21:12:46 -0000 1.58
> +++ progmodes/cc-defs.el 11 Aug 2008 07:11:04 -0000
> @@ -1445,7 +1445,7 @@
> (let ((beginning-of-defun-function
> (lambda (&optional arg)
> (not (eq arg nil)))))
> - (if (beginning-of-defun 1)
> + (if (save-excursion (beginning-of-defun 1))
> (setq list (cons 'argumentative-bod-function list))))
>
> (let ((buf (generate-new-buffer " test"))
This patch fixes the problem for me as well. It's interesting that
evaluating a top-level defconst definition can screw up the
byte-compiler though ... would it make sense for the byte-compiler to
automatically do a save-excursion around the processing of each
top-level form in a given file?
--
| Michael Olson | FSF Associate Member #652 |
| http://mwolson.org/ | Hobbies: Lisp, HCoop |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'
next prev parent reply other threads:[~2008-08-11 15:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <877ibp4hh3.fsf@vorlon.ganneff.de>
[not found] ` <871w1xfmsb.fsf@grepfind.mwolson.org>
[not found] ` <87ljzj3oad.fsf_-_@grepfind.mwolson.org>
[not found] ` <mkiqu9g039.fsf@fencepost.gnu.org>
[not found] ` <18590.45488.891078.545308@a1ihome1.kph.uni-mainz.de>
[not found] ` <18590.47471.82980.734389@a1ihome1.kph.uni-mainz.de>
2008-08-10 18:55 ` bug#636: Please fix before the release of 23.1 Glenn Morris
2008-08-11 1:06 ` OFFICE ZERO
2008-08-10 22:15 ` Chong Yidong
[not found] ` <87ljz45xfj.fsf@stupidchicken.com>
2008-08-10 22:18 ` Chong Yidong
[not found] ` <87abfkv7ix.fsf@stupidchicken.com>
2008-08-11 0:50 ` OFFICE ZERO
[not found] ` <handler.636.B636.121841588021215.ackinfo@emacsbugs.donarmstrong.com>
2008-08-11 1:16 ` bug#636: Info received (bug#636: Please fix before the release of 23.1) OFFICE ZERO
2008-08-11 0:50 ` bug#636: Please fix before the release of 23.1 OFFICE ZERO
[not found] ` <handler.636.B636.121841588221220.ackinfo@emacsbugs.donarmstrong.com>
2008-08-11 1:16 ` bug#636: Info received (bug#636: Please fix before the release of 23.1) OFFICE ZERO
2008-08-11 7:18 ` bug#636: Please fix before the release of 23.1 Ulrich Mueller
[not found] ` <18591.59359.40969.641357@a1ihome1.kph.uni-mainz.de>
2008-08-11 8:47 ` Alan Mackenzie
[not found] ` <20080811084708.GA3219@muc.de>
2008-08-11 8:54 ` Andreas Schwab
[not found] ` <jed4kgc4nw.fsf@sykes.suse.de>
2008-08-11 18:50 ` Alan Mackenzie
2008-08-11 15:26 ` Michael Olson [this message]
2008-08-11 16:30 ` Chong Yidong
[not found] ` <87fxpb5xbn.fsf@stupidchicken.com>
2008-08-11 19:01 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='87d4kfy3n7.fsf__2504.05837218768$1218472212$gmane$org@grepfind.mwolson.org' \
--to=mwolson@gnu.org \
--cc=636@emacsbugs.donarmstrong.com \
--cc=acm@muc.de \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=ulm@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).