From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: Abbrev suggestions - feedback appreciated Date: Thu, 4 Jun 2020 22:14:08 +0200 Message-ID: References: <871smeoalc.fsf@gnu.org> <87fuatmw71.fsf@gnu.org> <83mu66bm60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002f6ef705a747cae6" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38159"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 04 22:14:53 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jgwGL-0009og-Hp for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jun 2020 22:14:53 +0200 Original-Received: from localhost ([::1]:42438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgwGK-0000bl-Jm for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jun 2020 16:14:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgwFr-00006m-JW for emacs-devel@gnu.org; Thu, 04 Jun 2020 16:14:23 -0400 Original-Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]:35419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgwFq-0003EH-OF; Thu, 04 Jun 2020 16:14:23 -0400 Original-Received: by mail-vk1-xa2a.google.com with SMTP id m23so1690054vko.2; Thu, 04 Jun 2020 13:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WCzmZuBdZV34nlPJ6C/446p6eQWu2eFBcorF0xdZSoA=; b=QxgkgsmRPdkXlTlJME6Zm69I/A362PWMAHoqaEXqq8lwdEYa8Okv6ZKlQF1YHqCXpe lNoIs3vn8MO/fhR+1VTusdzueoSCJ57WUcVEfQmpqbnGdNTsSXct11mgdVMO8jzAPiMv nLcSL6pjRtoqkPX/okqJEacxnE9m4ZegmIwaxb0V9PYfPyn+WLTw4de6u/fzqnIw9Ebp DQxHNAOeBCowp4oTnWqN3JZuJIclmcSgyzvPN/zxFe+UaFIQriL8oteUM1cXcsNoLoyy Sm+N5bTeh9wG/gVblVyQrvUbamvW2EByNAPZeYh+Kpf2QGfZ+I+1DPY6OJwtdqmAUeYk XerQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WCzmZuBdZV34nlPJ6C/446p6eQWu2eFBcorF0xdZSoA=; b=MqrRWtxCJI6gdqDKD9hZhPNKPEl+H1SVB9a3Ssvhw8mlC1hfrcEbXXPkD4GuPgsPeD 9sLVLOrn+408KRG/mFgwiumOgmNGnD8Ww3n1coNYI01DJ0H4VXPrhK9vrknt8xOiqLpm KUdCsNHhxjfocfrAUEz1zbAt6oa8dMECDQK/1YaFdhKyjitftRpxzWYk+A7BBIo9sOLU ntUZIuadDBaQ6+9lIw/1TI6iqOoCz95/9p3jcss3nXHb6qKdQ/WmdmgBb00vRSJnNYsl 4PWzd8Kd2K0FOudE9iMdBRpzPwFzsCc/5elSxFUlox29Wgc8YTDldkD28IWXyBtBmees 6WoA== X-Gm-Message-State: AOAM530odc7X00ofSaehwpWvo8xsvyGShNWVvaJ6WBIpicwMrqXVxwLW m0pUdgQ2ugawKwrFt9sFGRGOP0+AXKm19JGYz8RYNP/+Wt2BTw== X-Google-Smtp-Source: ABdhPJwxLGIskmM2NhooRr0ub3so8bv/fFQKV2rFT0uhAPC7NMf7oWhSq2ijb/pN30pU2XBISqmGWDyBhIHX9prQDyM= X-Received: by 2002:a1f:430a:: with SMTP id q10mr4712760vka.4.1591301660174; Thu, 04 Jun 2020 13:14:20 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::a2a; envelope-from=mathias.dahl@gmail.com; helo=mail-vk1-xa2a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251860 Archived-At: --0000000000002f6ef705a747cae6 Content-Type: text/plain; charset="UTF-8" Since there were no more comments on my previous reply I will pick the option I like best :) The performance is anyway very good regardless which option I take. Now for another matter: documentation. I've been thinking about where to best describe this new feature. It does not need a very length description I think, but we should mention it in the manual. Here is the current "menu" for Abbrevs: * Abbrev Concepts Fundamentals of defined abbrevs. * Defining Abbrevs Defining an abbrev, so it will expand when typed. * Expanding Abbrevs Controlling expansion: prefixes, canceling expansion. * Editing Abbrevs Viewing or editing the entire list of defined abbrevs. * Saving Abbrevs Saving the entire list of abbrevs for another session. * Dynamic Abbrevs Abbreviations for words already in the buffer. * Dabbrev Customization What is a word, for dynamic abbrevs. Case handling. Any thoughts on this? Also, once the documentation is done, what would be the steps, in git, to get this into Emacs? Are we using feature branches? Do people commit to master? Or can I send a patch by e-mail? (less risk of me messing up...) Thanks! --0000000000002f6ef705a747cae6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Since there were no more c= omments on my previous reply I will pick the
option I like best :) The p= erformance is anyway very good regardless
which option I take.

No= w for another matter: documentation. I've been thinking about where to<= br>best describe this new feature. It does not need a very length
descri= ption I think, but we should mention it in the manual. Here is the
curre= nt "menu" for Abbrevs:

* Abbrev Concepts = =C2=A0 =C2=A0 =C2=A0 Fundamentals of defined abbrevs.
* Defining Abbrevs= =C2=A0 =C2=A0 =C2=A0Defining an abbrev, so it will expand when typed.
*= Expanding Abbrevs =C2=A0 =C2=A0 Controlling expansion: prefixes, canceling= expansion.
* Editing Abbrevs =C2=A0 =C2=A0 =C2=A0 Viewing or editing th= e entire list of defined abbrevs.
* Saving Abbrevs =C2=A0 =C2=A0 =C2=A0 = =C2=A0Saving the entire list of abbrevs for another session.
* Dynamic A= bbrevs =C2=A0 =C2=A0 =C2=A0 Abbreviations for words already in the buffer.<= br>* Dabbrev Customization =C2=A0What is a word, for dynamic abbrevs.=C2=A0= Case handling.

Any thoughts on this?

Also, = once the documentation is done, what would be the steps, in git,
to get = this into Emacs? Are we using feature branches? Do people commit
to mast= er? Or can I send a patch by e-mail? (less risk of me messing
up...)
=

Thanks!

--0000000000002f6ef705a747cae6--