From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#33443: 26; Doc of Edit Abbrevs mode Date: Tue, 20 Nov 2018 08:54:08 -0800 (PST) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542732793 19271 195.159.176.226 (20 Nov 2018 16:53:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 16:53:13 +0000 (UTC) To: 33443@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 17:53:09 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 1gP9Gr-0004lB-8M for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 17:53:05 +0100 Original-Received: from localhost ([::1]:34680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9Ix-0004dM-Op for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 11:55:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9Ir-0004ab-37 for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:55:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9In-00021Q-Sz for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:55:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP9In-00020o-IX for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:55:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gP9In-0000eS-Cp for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:55:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Nov 2018 16:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33443 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15427328671991 (code B ref -1); Tue, 20 Nov 2018 16:55:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Nov 2018 16:54:27 +0000 Original-Received: from localhost ([127.0.0.1]:35442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP9I9-0000Vp-VC for submit@debbugs.gnu.org; Tue, 20 Nov 2018 11:54:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP9I7-0000U8-F6 for submit@debbugs.gnu.org; Tue, 20 Nov 2018 11:54:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9I0-0001K4-UJ for submit@debbugs.gnu.org; Tue, 20 Nov 2018 11:54:18 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gP9Hz-0001JN-T8 for submit@debbugs.gnu.org; Tue, 20 Nov 2018 11:54:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9Hz-0004ZF-0y for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:54:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9Hv-0001Fu-Ql for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:54:14 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:46392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gP9Hv-0001Eo-FN for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 11:54:11 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wAKGs4mA076785 for ; Tue, 20 Nov 2018 16:54:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=UqpsgTToci2fxCx/C4+lqQRfZhOaYZV08YT3mydygCI=; b=sKtcbvQkZwu/CMysO/gzKX6UAiO1brQNIUJSDgqyQG7U7+svNTeAUoTdoDrZ2SLz+PsR 3PelKSZT71NDnDEZpR7TMFKOZA71tcmvsQ0Si97ys9bUrnDp2QJGdNJAvRIvn71y3KGr 5WJf+kf2zykAE75g/jF1L2NAf1Vr4l+2fOH5sMk/8i3yW6Otx69oKQ5i/TZb6u81eddP iihutbzFgW1Lya5B0sL+QSdjNCYS4OoS3GnVTYP88lSpzBZQvpm7YWmriQRHoITn/A9E 77Y8S2pdeqRxQk+KnwF6T3R4cXciTo79M70b8+EtT3JAUMXFxngT+uNNo8mxk29l+NDc Nw== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2ntbmqn0p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 20 Nov 2018 16:54:10 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id wAKGs9LJ009521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 20 Nov 2018 16:54:09 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wAKGs9vm022697 for ; Tue, 20 Nov 2018 16:54:09 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4771.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9082 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811200150 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:152573 Archived-At: In `edit-abbrevs-mode' I hit `C-h m' to find out about the mode, what I'm seeing in the buffer, and what I can do with it. This is all I get, which I feel is not very useful: 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 penultim= ate 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.] 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... a buffer containing a list of abbrev definitions with point located in the abbrev table of current buffer. You can edit them and type C-c C-c to redefine abbrevs according to your editing. Buffer contains a header line for each abbrev table, which is the abbrev table name in parentheses. This is followed by one line per abbrev in that table: NAME USECOUNT EXPANSION HOOK where NAME and EXPANSION are strings with quotes, USECOUNT is an integer, and HOOK is any valid function or may be omitted (it is usually omitted). This description is pretty summary, lacking explanation about abbrevs, but it is certainly better than what `edit-abbrevs-mode' tells you. ("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*.) You can get to an Edit-Abbrev mode buffer in several ways. Once you are there `C-h m' should tell you what it is and what you can do with it. 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. In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 10.0.16299 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3''