From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33443: 26; Doc of Edit Abbrevs mode Date: Fri, 23 Nov 2018 12:20:59 +0200 Message-ID: <83y39kf62c.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542968411 1935 195.159.176.226 (23 Nov 2018 10:20:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 10:20:11 +0000 (UTC) Cc: 33443-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 23 11:20:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQ8ZC-0000Mw-La for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Nov 2018 11:20:06 +0100 Original-Received: from localhost ([::1]:51466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQ8bJ-0007oS-Co for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Nov 2018 05:22:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQ8b8-0007nr-NS for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 05:22:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQ8b4-0005mM-OM for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 05:22:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38767) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQ8b4-0005mC-Ko for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 05:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gQ8b4-0005s5-Ee for bug-gnu-emacs@gnu.org; Fri, 23 Nov 2018 05:22:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Nov 2018 10:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33443 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 33443@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 33443-done@debbugs.gnu.org id=D33443.154296848122517 (code D ref 33443); Fri, 23 Nov 2018 10:22:02 +0000 Original-Received: (at 33443-done) by debbugs.gnu.org; 23 Nov 2018 10:21:21 +0000 Original-Received: from localhost ([127.0.0.1]:43024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQ8aO-0005r7-Vz for submit@debbugs.gnu.org; Fri, 23 Nov 2018 05:21:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQ8aO-0005qw-2o for 33443-done@debbugs.gnu.org; Fri, 23 Nov 2018 05:21:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQ8a7-00040t-QV for 33443-done@debbugs.gnu.org; Fri, 23 Nov 2018 05:21:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQ8a7-00040T-ND; Fri, 23 Nov 2018 05:21:03 -0500 Original-Received: from [176.228.60.248] (port=3330 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gQ8a7-0006gj-1B; Fri, 23 Nov 2018 05:21:03 -0500 In-reply-to: (message from Drew Adams on Tue, 20 Nov 2018 08:54:08 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152708 Archived-At: > Date: Tue, 20 Nov 2018 08:54:08 -0800 (PST) > From: Drew Adams > > Edit-Abbrevs mode defined in `abbrev.el' (`edit-abbrevs-mode'): > Major mode for editing the list of abbrev definitions. > > This mode runs the hook `edit-abbrevs-mode-hook', as the final or penultimate step > during initialization. > > key binding > --- ------- > > C-c Prefix Command > C-x Prefix Command > > C-c C-c edit-abbrevs-redefine > > C-x C-s abbrev-edit-save-buffer > C-x C-w abbrev-edit-save-to-file > > [One of those help lines is 82 chars long, BTW.] Yes. > You have to roam around in the source file a bit to find out what you're > looking at and what you can do with it. In particular, the doc of > `edit-abbrevs' tells you what you're looking at and what you can do with > what you're looking at. It is... I added to the doc string of 'edit-abbrevs-mode' a reference to 'edit-abbrevs', where this stuff is described. This mode is specifically designed for editing in such a buffer, so I see no need to repeat the documentation there, as users are unlikely to turn that mode by themselves. > ("Current buffer" is wrong here, BTW, as what is meant > by it is not the buffer of buffer *Abbrevs* but the > buffer that you came from to create buffer *Abbrevs*.) No, "current buffer" is not wrong, since the editing buffer is prepared for editing abbrevs of the buffer that is current when the function is invoked. > Similarly, the doc in the Emacs manual (node `Abbrev Concepts' is not > very helpful. It tells you how you can use (expand) an existing abbrev, > but it says nothing about how to create an abbrev, for instance. "Abbrev Concepts" is not where this is described. Please read the following sections. Thanks.