From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brett Randall Newsgroups: gmane.emacs.bugs Subject: bug#42611: 26.3; edit-abbrevs lets me type and commit, but doesn't store anywhere and abbrevs don't work Date: Tue, 27 Oct 2020 22:22:32 +0000 Message-ID: References: <3da1358deac58abf57e1bad05d7ba1b0@frontapp.com> <3da1358deac58abf57e1bad05d7ba1b0@frontapp.com> <(Brett> <"Thu,> <30> <2020> <04:01:05> <+0000")> <87pn5hutv5.fsf@gnus.org> <3261e63e8e567710ef8d60271704bfd2@frontapp.com> <04:01:05> <+0000")> <3261e63e8e567710ef8d60271704bfd2@frontapp.com> <(brett> <"Tue,> <27> <2020> <10:36:41> <+0000")> <873620c5ky.fsf@gnus.org> <10:36:41> <(Brett> <"Tue,> <27> <2020> <10:49:27> <+0000")> <87d014gc3h.fsf@gnus.org> <87d014gc3h.fsf@gnus.org> <(Lars> <"Tue,> <27> <2020> <12:08:50> <+0100")> <878sbrhq6o.fsf@gnus.org> <877drbhq6c.fsf@gnus.org> Reply-To: brett.randall@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----sinikael-?=_1-16038373520180.13003027109115806" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6703"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42611@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 27 23:51:24 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXXoJ-0001fJ-K4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 23:51:23 +0100 Original-Received: from localhost ([::1]:41462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXXoI-00030e-G2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 18:51:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXXn1-0002W8-Oc for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 18:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXXn1-0007jY-ER for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 18:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXXn1-0004CR-CF for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 18:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brett Randall Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2020 22:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo fixed Original-Received: via spool by 42611-submit@debbugs.gnu.org id=B42611.160383897516071 (code B ref 42611); Tue, 27 Oct 2020 22:50:03 +0000 Original-Received: (at 42611) by debbugs.gnu.org; 27 Oct 2020 22:49:35 +0000 Original-Received: from localhost ([127.0.0.1]:46331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXXmZ-0004B7-AQ for submit@debbugs.gnu.org; Tue, 27 Oct 2020 18:49:35 -0400 Original-Received: from mail-pl1-f177.google.com ([209.85.214.177]:37732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXXMV-0001RF-3F for 42611@debbugs.gnu.org; Tue, 27 Oct 2020 18:22:40 -0400 Original-Received: by mail-pl1-f177.google.com with SMTP id b12so1510757plr.4 for <42611@debbugs.gnu.org>; Tue, 27 Oct 2020 15:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:reply-to:in-reply-to:references:subject:message-id:date :mime-version; bh=KwK2p0pWF2sDEqrm5a042fY26OPjfQK5FTGcVDv8jX4=; b=RUoUOo6G/QGe9eIxdWiJHifCboSe5pJwTKqgpgRXgEFRXRQtFEd4B+5nT8afpye9wS CY9Ey2Sumgm8GBWdv3bjvwo2wKForMUUmYLvUa/ffzL6nJY1mQ/6emK+NGGOyYR31ueH pUAgW5P04tZZth0ZKoHj6NGvPZmogdxGgP8awXVuDt09uVNyZRAf/dQKxd0SkBD5bwdj yAnqs42r+ZLxwGeq1lDk+Y71oYACnrWqAuDCUwAZSZI/zkXjo91tx5hVcdW1yf2bJYOI W+tcuTrXXAhIJr9aDlS/2SymF680V+S6/uJBoc2Zk9fsWa2OTcLeQ+MMe8FOyyPblkg3 Z6jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:reply-to:in-reply-to:references :subject:message-id:date:mime-version; bh=KwK2p0pWF2sDEqrm5a042fY26OPjfQK5FTGcVDv8jX4=; b=uBqzKja4l2IMUymwWpQKL7CXUi9mC1q2K30Jqc2z5d7UYUQmObu11YW3slVaK2o8xR T/SDk4IyflXfy69e8AAHx5v3FF0J4FZg6p7hC9LiCMnFF0UtPgT+d/ofEU9U3Zu8LDFf /NBIlTQPwrzVX3diM2Z3Rcd8VoZLjgFQiIwrINgGwvFvBJWNXUwmU8W/tXGfCtCAKWxb fA5Pg+ejPxbd387tSvCfuCgGdKnBt3O58XPLkpkDoy3Zm0D9gH2AqPFTMpUV1Qj/diPU MxEiMtixDVmrL5TFe8LqTI2GE8LOBZ9f7BL7ImEfOWw0K4/ncP63Xfx4mG0kP6rz8jb3 13+Q== X-Gm-Message-State: AOAM530C9txWA0Cqq7jsaoAmPzxYDoK5AS1ydC0eC0r4GVMC12CUzwCZ 5PpxeX7RM0LTIdHJDM+odqQ9WSZitwE= X-Google-Smtp-Source: ABdhPJzSbegXbjvyBm2TqEoLI+0b/d1DTJpKm75L0Pr2ptxh2r1MT33aXmukeh++eqZZoy+XUymPHg== X-Received: by 2002:a17:902:b283:b029:d6:489c:647a with SMTP id u3-20020a170902b283b02900d6489c647amr4633196plr.44.1603837352978; Tue, 27 Oct 2020 15:22:32 -0700 (PDT) Original-Received: from out.frontapp.com (out-6.frontapp.com. [52.53.85.146]) by smtp.gmail.com with ESMTPSA id t11sm2952101pjs.8.2020.10.27.15.22.32 for <42611@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 15:22:32 -0700 (PDT) X-Front-ID: cae78cb79982d59b94d17218f2dff4d6@frontapp.com In-Reply-To: <87d014gc3h.fsf@gnus.org> X-Mailer: Front (1.0; +http://frontapp; +msgid=cae78cb79982d59b94d17218f2dff4d6@frontapp.com) X-Mailman-Approved-At: Tue, 27 Oct 2020 18:49:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191804 Archived-At: ------sinikael-?=_1-16038373520180.13003027109115806 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks Lars, it works now that I understand the formatting requirement. = Appreciate your help. Brett --- original message --- On October 27, 2020, 10:08 PM GMT+11 larsi@gnus.org wrote: Brett Randall writes: >> 1 emacs -Q >> 2 M-x edit-abbrevs >> 3 Scroll to last line - (global-abbrev-table) >> 4 Append: "dfn" 0 "definition" >> 5 C-c C-c (removes "modified" flag) >> 6 C-x k >> 7 M-x edit-abbrevs >> 8 Scroll down to last line - = abbreviation is not there > Thanks. > The format of that buffer is very= specific, though. The entries must be > on the format: > (global-abbrev-table) > "def" 0 "definition" > with one blank line = between the name of the section and the start of the > definitions; neither more nor less. If you do it that way, does the > mode work for you? > In any case, I don't quite see why it's that = strict about the format: It > should just grok all the lines between the = sections, I think? > --=20 > (domestic pets only, the antidote for = overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --- end of original message --- ------sinikael-?=_1-16038373520180.13003027109115806 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Thanks Lars, it works now = that I understand the formatting requirement. Appreciate your help.=

Brett

On October 27= , 2020, 10:08 PM GMT+11 larsi@gnus.org wrote:

Brett Randall <brett.= randall@gmail.com> writes:

> 1 emacs -Q
> 2 M-x = edit-abbrevs
> 3 Scroll to last line - (global-abbrev-table)
> 4 Append: "dfn" 0 "definition"
> 5 C-c C-c (removes = "modified" flag)
> 6 C-x k
> 7 M-x edit-abbrevs
>= 8 Scroll down to last line - abbreviation is not there

Thanks.=

The format of that buffer is very specific, though. The = entries must be
on the format:

(global-abbrev-table)

"def" 0 "definition"

with one blank line = between the name of the section and the start of the
definitions; = neither more nor less. If you do it that way, does the
mode work for = you?

In any case, I don't quite see why it's that strict about = the format: It
should just grok all the lines between the sections, I = think?

--
(domestic pets only, the antidote for overdose, = milk.)
bloggy blog: http://lars.= ingebrigtsen.no
------sinikael-?=_1-16038373520180.13003027109115806--