From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: `smoothing_enabled' undeclared Date: Mon, 03 Jul 2006 08:33:24 +0900 Message-ID: <87bqs7shtn.fsf@catnip.gol.com> References: <17564.42388.601943.326474@kahikatea.snap.net.nz> <87wtawugw9.fsf-monnier+emacs@gnu.org> <17576.19960.559626.543027@kahikatea.snap.net.nz> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151883240 9985 80.91.229.2 (2 Jul 2006 23:34:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2006 23:34:00 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 03 01:33:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxBRs-0008Gb-G5 for ged-emacs-devel@m.gmane.org; Mon, 03 Jul 2006 01:33:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxBRr-0000Mz-MN for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2006 19:33:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxBRf-0000LW-4I for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:33:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxBRc-0000Km-5G for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:33:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxBRb-0000Kj-W4 for emacs-devel@gnu.org; Sun, 02 Jul 2006 19:33:40 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FxBep-0002DR-Su; Sun, 02 Jul 2006 19:47:20 -0400 Original-Received: from 203-216-98-193.dsl.gol.ne.jp ([203.216.98.193] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1FxBRP-0003O3-EX; Mon, 03 Jul 2006 08:33:27 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id C789F2F66; Mon, 3 Jul 2006 08:33:24 +0900 (JST) Original-To: Nick Roberts System-Type: i686-pc-linux-gnu In-Reply-To: <17576.19960.559626.543027@kahikatea.snap.net.nz> (Nick Roberts's message of "Mon, 3 Jul 2006 10:51:36 +1200") Original-Lines: 38 X-Abuse-Complaints: abuse@gol.com X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56396 Archived-At: Nick Roberts writes: > > Every branch has a "head". The main branch is called "the trunk". > > HEAD is a tag. Is it a tag for the head of the trunk or the head of the > branch which the working directory is in? The CVS docs are maddeningly vague about this... I thought it was the latter, but I just did a bit of testing, and the result of using -rHEAD is different depending on which command you use. E.g., if, in a working directory where everything has the sticky tag "emacs-unicode-2" (i.e., that's the current branch), then if I test on the file "src/xfaces.c", which is different in the trunk and on the branch, the following commands yield these results: * "cvs diff -rHEAD src/xfaces.c" produces no output -- so presumably it's diffing against the latest revision of _the current branch_. * "cvs update -rHEAD src/xfaces.c" _changes_ the sticky tag from the file to be "HEAD", and updates it to be the latest revision on _the trunk_. I don't know if I'm missing something, but this seems like pretty dumb behavior... no wonder people are confused about what HEAD means. [I suppose the reason it is this way is that they simply didn't special-case HEAD in places where they really should have, so the result is probably internally consistent but confusing for users...] So I think that you shouldn't use "-rHEAD" with any command that would set the sticky tag when given a real branch tag name, but it should be OK when used with commands like diff. -Miles -- `Cars give people wonderful freedom and increase their opportunities. But they also destroy the environment, to an extent so drastic that they kill all social life' (from _A Pattern Language_)