From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: Re: proposed patch to expand-abbrev in abbrev.c Date: Wed, 12 Feb 2003 00:08:52 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <15946.276.108284.215768@hkn.eecs.berkeley.edu> References: <15938.8815.95606.22282@hkn.eecs.berkeley.edu> <15939.60900.653741.78870@hkn.eecs.berkeley.edu> Reply-To: quarl@quarl.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045037256 13138 80.91.224.249 (12 Feb 2003 08:07:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 08:07:36 +0000 (UTC) Cc: Emacs Developement List Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18irvZ-0003PU-00 for ; Wed, 12 Feb 2003 09:07:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18is7S-0004Vs-00 for ; Wed, 12 Feb 2003 09:19:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18irx9-00042z-03 for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 03:09:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18irws-00042i-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 03:08:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18irwr-00042W-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 03:08:54 -0500 Original-Received: from hkn.eecs.berkeley.edu ([128.32.47.228]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18irwq-00042F-00; Wed, 12 Feb 2003 03:08:52 -0500 Original-Received: from quarl by hkn.eecs.berkeley.edu with local id 18irwq-0002eI-00; Wed, 12 Feb 2003 00:08:52 -0800 Original-To: rms@gnu.org In-Reply-To: X-Mailer: VM 7.07.q1 under Emacs 21.3.50.19 X-Attribution: quarl X-Quack-Archive: 1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11580 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11580 My previous suggestion was that save-abbrevs's options not change, and abbrevs-changed would be set to 'trivially if abbrevs had changed trivially only (only the use count). this would require a lot of options for saving abbrevs however. I think you mean to have save-abbrevs have an extra option of 'trivially but this is ambiguous as to whether it's silent or not. How about a new variable save-abbrevs-trivially which would affect the behavior of updating the abbrevs-changed value. >>>>> "rms" == Richard Stallman writes: rms> I think `expand-abbrev', should modify abbrevs-changed if it increments the rms> usage counter of an abbrev. Maybe a better solution would be to set it to rms> "'trivially" or use a secondary variable if this would be annoying to people rms> that don't have (setq save-abbrevs 'quietly). rms> I think that additional change is important--could you add that part? rms> Which one? rms> Using the value `trivally' for save-abbrevs to enable this. -- Karl Chen / quarl@quarl.org