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:40:10 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301260044 8902 80.91.229.12 (27 Mar 2011 21:07:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 21:07:24 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 23:07:20 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 1Q3xB8-0003Hs-4i for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 23:07:18 +0200 Original-Received: from localhost ([127.0.0.1]:34011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3xB7-0002lo-De for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 17:07:17 -0400 Original-Received: from [140.186.70.92] (port=54544 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3xB0-0002l7-Gw for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 17:07:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3xAz-0001fO-Mb for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 17:07:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3xAz-0001fJ-Jh for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 17:07:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q3wli-0005Y0-Bp; Sun, 27 Mar 2011 16:41:02 -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:41:02 +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 submit@debbugs.gnu.org id=B.130125842421277 (code B ref -1); Sun, 27 Mar 2011 20:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Mar 2011 20:40:24 +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 1Q3wl5-0005X8-Ml for submit@debbugs.gnu.org; Sun, 27 Mar 2011 16:40:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3wl3-0005Wx-0Z for submit@debbugs.gnu.org; Sun, 27 Mar 2011 16:40:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3wkw-0006OT-N8 for submit@debbugs.gnu.org; Sun, 27 Mar 2011 16:40:15 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:38245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3wkw-0006OP-Ic for submit@debbugs.gnu.org; Sun, 27 Mar 2011 16:40:14 -0400 Original-Received: from [140.186.70.92] (port=43367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3wkv-0006fO-G4 for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 16:40:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3wku-0006NU-Cv for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 16:40:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:15843 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3wku-0006NN-AP for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2011 16:40:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAI+fj01MCqRC/2dsb2JhbAClUHiIa7chhWkElgU X-IronPort-AV: E=Sophos;i="4.63,251,1299474000"; d="scan'208";a="98273374" 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:40:11 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DA9A558EBD; Sun, 27 Mar 2011 16:40:10 -0400 (EDT) In-Reply-To: (Leo's message of "Tue, 27 Apr 2010 11:32:33 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 27 Mar 2011 16:41:02 -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:45400 Archived-At: > C-x C-s usually means things have been saved and are safe unless > something happen to the harddisk. > In abbrevs it is not. And sometimes one doesn't get the chance to > actually save it because emacs crashes halfway. > I would propose separating C-x C-s and C-c C-c. C-x C-s should stay > close to the global key binding. You mean keep C-c C-c bound to edit-abbrevs-redefine, but change C-x C-s to call write-abbrev-file? Sounds good (tho it'll have to call edit-abbrevs-redefine before write-abbrev-file beforehand, of course). Oh and by the way: the abbrev.el file should be (slowly) fixed to use the "abbrev-" prefix for all functions and commands, so whenever you introduce a new function/command/variable please use this prefix rather than the previous style of -abbrev-. Stefan