From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add abbrev suggestions Date: Fri, 25 Sep 2020 10:09:33 +0200 Message-ID: References: <83pn8rgwib.fsf@gnu.org> <83o8o4c8s4.fsf@gnu.org> <838seimytk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27691"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 25 10:11:38 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 1kLipO-00076l-6p for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Sep 2020 10:11:38 +0200 Original-Received: from localhost ([::1]:43006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLipN-0002c5-9R for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Sep 2020 04:11:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLind-0001ZB-2C for emacs-devel@gnu.org; Fri, 25 Sep 2020 04:09:49 -0400 Original-Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:38717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLinT-0008N3-Lm; Fri, 25 Sep 2020 04:09:45 -0400 Original-Received: by mail-wm1-x344.google.com with SMTP id v12so2237678wmh.3; Fri, 25 Sep 2020 01:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=QKjH5V857q6b1SmngDQl2JlHlCPhvK9L1v47pwCRk1A=; b=eyx1kL5C+h3b6SQWsrAI2BhKA5GWBRhdhQ/UzMsgJuNxKFOy4k7XiqJwKfqSGyKH4Q WJSrD6uqfoUr3tkoQb/uohu8ddRM1gfx2zMAssgqF4za5SAalrSSIfuXooyzOqVJUJUz YFt1yvAlbr263LVV8D6bEAR+PD78rxKAcpRjPcbRBrEnMB19mE3MTatrBe8H8yXaZd4+ Cd+O5gBgulHVO3sU4bERqLcOSGliUuy0mXskCmzOu/N2Dya9asSrJZDzNZB15wQDCIo2 QhDrCOrOkOFnu1HCpoeAg8VgC6VpW7x5FjtGtXuWI0QlZiC48PLYdknn+WK7VRtv/mZR PXRQ== 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:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=QKjH5V857q6b1SmngDQl2JlHlCPhvK9L1v47pwCRk1A=; b=nk41bk6SRxm+gvSgw3IiHysIQlXGEelgQj2kHeFsiEHPOaLFzRKtF45TMYuyIy/n4R sjK7hfQ6clK032/kbciQ02Slm09Pf66ujtRwobs3HZeVRGq5PwO4GPgzu6B5omG3ZweH sAIYyqLawKnNDs5lE6wgC7gd/NcYthqjPMyG9PioUNL+2So5SbhEgcnBdYtKNOTX+vC1 stn3cn63FKxZVXQXKPXEfrO/XBvp2u2t2vsE+POOnmtj/ogC9V9hXtLX1GHLab7yX0qq PA4L36rnr4qidVekNNipjWm67ZHROLvOpwoPFuafvcFI/MHF+thLbxdFbmLAD/qr1ewL PPig== X-Gm-Message-State: AOAM532pz12hwFMcdcx9/h9kKR1VEXX9jsXywYs3bddg9c+hY8qyW+Zo T7KHUbio0OYIideEf6VegGVqPL/aLic= X-Google-Smtp-Source: ABdhPJwn98DdUE5/3myMzweV4nV3noKBKqRfeUkzxDgxUd+QvE4nRjOiwELFCd3Pu3tnHBX0tXVEfw== X-Received: by 2002:a1c:e3c3:: with SMTP id a186mr1863521wmh.189.1601021375769; Fri, 25 Sep 2020 01:09:35 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:4dea:e838:932:4b32]) by smtp.gmail.com with ESMTPSA id l8sm1946370wrx.22.2020.09.25.01.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 01:09:34 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: (Mathias Dahl's message of "Thu, 24 Sep 2020 22:02:08 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=rpluim@gmail.com; helo=mail-wm1-x344.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:256412 Archived-At: >>>>> On Thu, 24 Sep 2020 22:02:08 +0200, Mathias Dahl said: Mathias> Okay, so I finally got around doing this. I incorporated some of the Mathias> changes but not others. Since it's mostly nitpicking, as you said Mathias> Robert, it should be fine I think. I have one more :-) Mathias> Eli, if this looks good, can we get this added to Emacs Git repo? If Mathias> we need small tweaks I would rather want to add those separately Mathias> instead of trying to get this first patch 100% correct. If you have push access you can commit these changes yourself. Mathias> +@node Abbrev Suggestions Mathias> +@section Abbrev Suggestions Mathias> + Mathias> + You can get abbrev suggestions when you manually type text for which Mathias> +there is currently an active defined abbrev. For example, if there is Mathias> +an abbrev @samp{foo} with the expansion @samp{find outer otter}, and Mathias> +you manually type @samp{find outer otter}, the abbrev suggestion Mathias> +feature will notice this and show a hint in the echo when you have "echo area" Robert