From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5937: 23.1.95; why saving empty abbrev tables Date: Sun, 27 Mar 2011 16:35:38 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301258242 32239 80.91.229.12 (27 Mar 2011 20:37:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 20:37:22 +0000 (UTC) Cc: 5937@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 22:37:18 2011 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.69) (envelope-from ) id 1Q3wi4-0000Cz-Qt for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 22:37:16 +0200 Original-Received: from localhost ([127.0.0.1]:54774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3wi4-0005tK-9S for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 16:37:16 -0400 Original-Received: from [140.186.70.92] (port=42759 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3why-0005tD-9K for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 16:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3whx-00062x-8I for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 16:37:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3whx-00062s-4X for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 16:37:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q3wgr-0005Q2-V3; Sun, 27 Mar 2011 16:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Mar 2011 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5937 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5937-submit@debbugs.gnu.org id=B5937.130125814620810 (code B ref 5937); Sun, 27 Mar 2011 20:36:01 +0000 Original-Received: (at 5937) by debbugs.gnu.org; 27 Mar 2011 20:35:46 +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 1Q3wgc-0005Pb-HF for submit@debbugs.gnu.org; Sun, 27 Mar 2011 16:35:46 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3wgb-0005PP-5c for 5937@debbugs.gnu.org; Sun, 27 Mar 2011 16:35:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGSej01MCqRC/2dsb2JhbAClUHiIa7cahWkElgU X-IronPort-AV: E=Sophos;i="4.63,251,1299474000"; d="scan'208";a="98273008" Original-Received: from 76-10-164-66.dsl.teksavvy.com (HELO pastel.home) ([76.10.164.66]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Mar 2011 16:35:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E941058EBD; Sun, 27 Mar 2011 16:35:38 -0400 (EDT) In-Reply-To: (Leo's message of "Sun, 27 Mar 2011 13:09:42 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 27 Mar 2011 16:36:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:45398 Archived-At: >> Actually, having tried it now for a while I do have an objection: it >> makes it harder to add entries to an abbrev-table if that table >> is empty. >> >> So I think a better option is to sort the tables such that empty tables >> are pushed to the end. > I propose we allow C-u M-x edit-abbrevs to include all abbrev tables but > default to include only nonempty tables. I don't think we need such a thing. We just need to make it clear what those empty tables mean and keep them out of the way. I.e. move them to the end of the buffer and add a comment before them explaining that these are currently empty. Stefan