From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#2355: 23.0.60; Enabling minor-mode disables major mode Date: Wed, 18 Feb 2009 09:56:42 +0100 Message-ID: References: <83vdr9b82w.fsf@cam.ac.uk> Reply-To: Juanma Barranquero , 2355@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234947898 6445 80.91.229.12 (18 Feb 2009 09:04:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 09:04:58 +0000 (UTC) Cc: 2355@emacsbugs.donarmstrong.com To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 10:06:14 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZiMr-00056T-E9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 10:05:54 +0100 Original-Received: from localhost ([127.0.0.1]:51254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZiLX-0000nG-Ce for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 04:03:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZiLH-0000e5-Bq for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 04:03:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZiLE-0000bl-VY for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 04:03:41 -0500 Original-Received: from [199.232.76.173] (port=39755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZiLE-0000bT-JL for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 04:03:40 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45535) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZiLD-0008KB-DA for bug-gnu-emacs@gnu.org; Wed, 18 Feb 2009 04:03:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I93ZpL013940; Wed, 18 Feb 2009 01:03:37 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1I9076O012731; Wed, 18 Feb 2009 01:00:07 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juanma Barranquero Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Feb 2009 09:00:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2355 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: notabug Original-Received: via spool by 2355-submit@emacsbugs.donarmstrong.com id=B2355.123494740712322 (code B ref 2355); Wed, 18 Feb 2009 09:00:07 +0000 Original-Received: (at 2355) by emacsbugs.donarmstrong.com; 18 Feb 2009 08:56:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I8ugiX012315 for <2355@emacsbugs.donarmstrong.com>; Wed, 18 Feb 2009 00:56:44 -0800 Original-Received: by ey-out-2122.google.com with SMTP id 25so263115eya.13 for <2355@emacsbugs.donarmstrong.com>; Wed, 18 Feb 2009 00:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nbVYnbU8oSKEgZ/mJVJClWPFGyNNwQUcEUbHQTsCAMk=; b=hSveep5WS+RTQySvZSVj9CtpxMA81OAcypNxt97hzcNkRuw1P2yDJZ0AVoOz4oZcCa 6cQBOJtVYq7UByH+BKtiq3ewB7TQJArppEHNyk512e5F4ikn86FMICpPIK86UYBgUOyj fVKNLLbY4+kwCdlEEkqTIY+TisPJDGTOQLoeU= 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=hWvy7Cnrvsl45oraMf5TbELCFCdx00y9GZiYKRMH0GNGGmGKB6j5Gez401z89MELaV DYHZcmuJ+yb7/0rc/cu+SWJKemrIGX6GBYWHPE90IYNTwQhEh5xdcPDpWeU0oKt/wOWn Xx0q01ylezd1wgJnvk/PoQz2lxVKECAixDnj8= Original-Received: by 10.210.65.17 with SMTP id n17mr3201364eba.147.1234947402202; Wed, 18 Feb 2009 00:56:42 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 18 Feb 2009 04:03:41 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25399 Archived-At: On Wed, Feb 18, 2009 at 08:42, Leo wrote: > When they contain the pseudo-variable mode specifying a minor mode, they > behave differently. > > The two behaviours are as follows. Yes, that was perfectly clear in the bug report. > 1. put file in fundamental mode and the minor mode (when in header) > 2. put file in a major mode by auto mode detection and the minor mode > (when at the end of file) > > This causes confusion. Do you think this is a bug? No. It is undefined, but harmless, behavior after a user error. > If not, I think at > least the manual can be improved. As I've said, I think the only way to improve the manual regarding this issue is to make clearer that "mode:" should *not* specify a minor mode, and that if you use it for that, you can get unexpected behavior. Juanma