unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kelly Dean <kellydeanch@yahoo.com>
To: 13199@debbugs.gnu.org
Subject: bug#13199: Cleanly rebuild once != cleanly rebuild twice
Date: Sun, 16 Dec 2012 03:52:30 -0800 (PST)	[thread overview]
Message-ID: <1355658750.56816.YahooMailClassic@web141102.mail.bf1.yahoo.com> (raw)

With the Emacs 24.2 source code and GNU Make 3.81, "make clean; make" does not give the same result as "make clean; make; make clean; make". This failure is user unfriendly; it leads to confusion when you're trying to debug, if you only do "make clean; make" after editing the source code.

Steps to reproduce the bug/feature:

tar Jxf emacs-24.2.tar.xz
cd emacs-24.2
./configure  --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no
mv lisp/help-macro.el lisp/help-macro.el.old
sed -e "s/\*Help\*/\*Foo\*/g" < lisp/help-macro.el.old > lisp/help-macro.el
make clean; make; make clean; make
src/emacs -Q
C-h C-h

You get "*Foo*", as expected. But now

C-g C-x C-c
sed -e "s/\*Help\*/\*Bar\*/g" < lisp/help-macro.el.old > lisp/help-macro.el
make clean; make
src/emacs -Q
C-h C-h

You still get "*Foo*", but you should get "*Bar*". Now again do

C-g C-x C-c
make clean; make
src/emacs -Q
C-h C-h

Now you get "*Bar*" as expected.






             reply	other threads:[~2012-12-16 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16 11:52 Kelly Dean [this message]
2012-12-16 20:04 ` bug#13199: Cleanly rebuild once != cleanly rebuild twice Glenn Morris

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=1355658750.56816.YahooMailClassic@web141102.mail.bf1.yahoo.com \
    --to=kellydeanch@yahoo.com \
    --cc=13199@debbugs.gnu.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).