From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KK3KGck9g2K5YgAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 08:16:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KESdGck9g2LKYwAAauVa8A (envelope-from ) for ; Tue, 17 May 2022 08:16:41 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DD0552962B for ; Tue, 17 May 2022 08:16:40 +0200 (CEST) Received: from localhost ([::1]:39250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqqVb-0004uW-Q8 for larch@yhetil.org; Tue, 17 May 2022 02:16:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqqNt-0001dD-O8 for emacs-orgmode@gnu.org; Tue, 17 May 2022 02:08:41 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:34768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqqNr-0002eh-Gh for emacs-orgmode@gnu.org; Tue, 17 May 2022 02:08:41 -0400 Received: by mail-wr1-x433.google.com with SMTP id j24so7948616wrb.1 for ; Mon, 16 May 2022 23:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to; bh=82rVvrTpT7e6UAMo6pPKaNyDfMD9yyEqwHmc3e4tnPQ=; b=NlnrxO5meVTiFbymrjl5F8rJGhTJJ4qBPusX8Ybdp/3guk9b4BT5yzCt+oJd/TSKRx TGjmH7FurzIotBsJ+phH9KmK1ExggqjkKjNJgXDybAtzwnDFG3cYLoB//nMUZWyZ4Uc5 wpioH+da0vNGXqRGs+xgfKgkr4grYkNVmcyHT7a/lb59hJ2V5heXKHRemDbfOqcUGS8N VnJx3IVrEeBH+RmBebIqVXJFJZgGycX80GgwXDmu+OoLIOtymR/KIaU2RYpctm0gB509 9psf0SezEyZ+spREJrTIgYPeDTd3KgIgRVOslsGS0hVOfWXAkXRD5vkKDUQq3nbhWori JKpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to; bh=82rVvrTpT7e6UAMo6pPKaNyDfMD9yyEqwHmc3e4tnPQ=; b=jg3Ad9l2m/1xR34sDGgOxlkuwp3fUOngWTszEVhktEZpbIvCCjWuFwB6ELZRSmcWIh Z3ccU2O80wFfYtf2iKDAdyZH3rSvv8S9GTHhEw5HEnkrzvmzOfyAqlRzEeoK96r3KOG6 zR7O8jK1SJ/bsRYd7MfrMTAhwLnz6+XhN4LlYirXaJ+XpdlAhK6bEK1xrNwJiVLuSbq6 KH/T/VCW+1L3pOx/VBj/MJ6EPnvMPGK72aYMLdKs2ia+UrdATi3N3nMjYstwSPl9NmF1 yniMvEojIu5FLXnxkmmlEQuw2IJZrSKWlqAen6QRdTnY0cCbNfbNs8PxJLic7Nh/ecMq 5JTw== X-Gm-Message-State: AOAM530ccaM3zfJpQUrLNRvD8+eg/4606SakoONeob1f0QEp5cmBZcqG PyczpgmyUy6Ykeu9XNID5h4= X-Google-Smtp-Source: ABdhPJwBSzOJKKUSOeZnT1vXAfzt+79FyWhpomOPmeYmypB9te6uMv8pBuWQ9/1OLP3DLpzavjVknw== X-Received: by 2002:adf:ecc1:0:b0:20a:e019:e184 with SMTP id s1-20020adfecc1000000b0020ae019e184mr16870827wro.99.1652767717799; Mon, 16 May 2022 23:08:37 -0700 (PDT) Received: from [192.168.1.111] (18.red-81-42-219.staticip.rima-tde.net. [81.42.219.18]) by smtp.gmail.com with ESMTPSA id l11-20020adfbd8b000000b0020c5253d91esm11325412wrh.106.2022.05.16.23.08.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 23:08:37 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------c3Uwi8DAOUpx3gcH5I3ZmzXS" Message-ID: Date: Tue, 17 May 2022 08:11:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: I can't set dabbrev to respect the writen case Content-Language: en-GB To: Samuel Wales Cc: Org-mode References: <11e85748-1162-c0f9-3d3d-2a2d9168b15e@gmail.com> From: Ypo In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=ypuntot@gmail.com; helo=mail-wr1-x433.google.com 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652768201; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=82rVvrTpT7e6UAMo6pPKaNyDfMD9yyEqwHmc3e4tnPQ=; b=lQ+StNPCwqGiYCCoMxiLHBiN95GDeWLAZ+ew9CrfMeDZz0+tjamAyhvBa9DOBK5Uc6E2mh zC31dO0ko9BNavanqmQpz1u5iFpZ0B2n1ov1lae4Mj+oS5MANJfj5SECy2xJcUqQ74Pu1j YwF7oodTdtFRaHVv90CxxLKMJcT5c5e76hVgNkB/NQnptAvgTgjVcx7d2UQSkgpb/WW4l3 V9YZQMuPomzf8CaIsLc29fh3xMS1vnU9BuYsRIPeskNd+w47uZUgMbL6/nY+I7jaqToMwO yA8q6iO2RioLajXyQz9Fzmw4iipfQgsgZw4RBU6tbGdS2bBxKA5Sa7/4zkof3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652768201; a=rsa-sha256; cv=none; b=QcmI1rUPEHPigXR9HyhgPBFXfOs+Rzni/X4/5F1X1pIDRtUW8IFK4WSi+R5TQIUWFXqdX7 YKWGAUs8ktijWnmr+PfVhmQOyY82AulI5sLPL1jV10Ey4JODVqjI0CNd6RZt+7X3PzBuq6 jIdLWt/qVVXokm3qMvrDOMKD2CFTqqn2kXZ/d432kL232SyR7Sy3RvFuI1PdZiZhp7SDKw VvsjENN3ebnW8CGDedcq3C0uDURog8UlxxtQq7/ldy6yFwHIdaAseFqimumewhloZCdhyG 9fnjpPDunlev2nZR++Ay75kt2XrZFCAyLdZuyEzxj/SRKbCQPWx43kRPS4gLZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NlnrxO5m; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NlnrxO5m; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DD0552962B X-Spam-Score: -9.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: CW0JCqI3wU2I This is a multi-part message in MIME format. --------------c3Uwi8DAOUpx3gcH5I3ZmzXS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks, Samuel. I am trying Company. It works with dabbrev out of the box, and I understand its options for cases, so I get what I intended. Best regards, Ypo El 17/05/2022 a las 1:43, Samuel Wales escribió: > did you confirm that fancy-dabbrev is not setting a dabbrev setting? > > On 5/16/22, Samuel Wales wrote: >> by default hippie-expand cycles. to cycle backward you can undo. idk >> if it or dabbrev has a menu. >> >> idk if this is useful but there is at least one menu package and many >> completion packages at seemingly varying levels of interoperability. >> some things have menus built in. there is some degree of modularity >> in some packages, especially a set of minibuffer completion packages, >> which is not waht you are looking for. i am confused by the many >> options. so what i would start with is as an ignoramus [that's me] is >> trying to find an overview of what's out there, dabbrev settings or a >> hook for a menu, he settings, whether anything with a menu incluing a >> menu package is intended to fit modularly into dabbrev, whether >> dabbrev or he fit into some framework [company?] that has or can use a >> menu. possibly you already tried those things but in cas nobod >> anwers. >> >> >> On 5/16/22, Ypo wrote: >>> Thanks, Samuel >>> >>> I've uninstalled fancy-dabbrev, and it seems to work when I complete >>> using M-/. But, now I don't have candidates to choose the completion. >>> Any advice with this? >>> >>> Best regards, >>> Ypo >>> >>> El 16/05/2022 a las 0:15, Samuel Wales escribió: >>>> i do not use fancy-dabbrev, but i use dabbrev in hippie-expand. it >>>> seems to do as you want. >>>> >>>> it should be possible to run hippie-expand with just dabbrev. it >>>> might not be exactly the same because he might have its own version of >>>> dabbrev. which might be what you want in this case. >>>> >>>> note that you have control over where dabbrev gets its data. idk if >>>> that is a feature of vanilla dabbrev. >>>> >>>> i do not use any dabbrev settings or any he settings except the main >>>> one for he. it is set to >>>> >>>> '(try-expand-dabbrev-visible >>>> try-expand-dabbrev >>>> try-expand-dabbrev-all-buffers >>>> try-expand-dabbrev-from-kill >>>> >>>> try-complete-lisp-symbol >>>> ;;do i want this first? am i supposed to use another thing to >>>> ;;complete from that point? >>>> ;;try-complete-lisp-symbol-partially >>>> >>>> ;;try-expand-whole-kill >>>> try-complete-file-name-partially >>>> try-complete-file-name >>>> hoka-try-complete-with-calc-result) >>>> >>>> >>>> On 5/14/22, Ypo wrote: >>>>> Hi >>>>> >>>>> I find dabbrev and fancy-dabbrev very useful to typing fast. But there >>>>> is a problem I am not able to solve: When I apply an expansion while >>>>> writing, the case is always that of the expansion, I can't make it to >>>>> respect what I have written. An example: >>>>> >>>>> — (Typing) "Hel >>>>> >>>>> — (Offered expansion) "hello" >>>>> >>>>> — (What I get when accepting the expansion) "hello" >>>>> >>>>> — (What I wanted) "Hello" >>>>> >>>>> >>>>> Best regards, >>>>> >>>>> Ypo >>>>> >> >> -- >> The Kafka Pandemic >> >> A blog about science, health, human rights, and misopathy: >> https://thekafkapandemic.blogspot.com >> > --------------c3Uwi8DAOUpx3gcH5I3ZmzXS Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks, Samuel.

I am trying Company. It works with dabbrev out of the box, and I understand its options for cases, so I get what I intended.

Best regards,

Ypo

El 17/05/2022 a las 1:43, Samuel Wales escribió:
did you confirm that fancy-dabbrev is not setting a dabbrev setting?

On 5/16/22, Samuel Wales <samologist@gmail.com> wrote:
by default hippie-expand cycles.  to cycle backward you can undo.  idk
if it or dabbrev has a menu.

idk if this is useful but there is at least one menu package and many
completion packages at seemingly varying levels of interoperability.
some things have menus built in.  there is some degree of modularity
in some packages, especially a set of minibuffer completion packages,
which is not waht you are looking for.  i am confused by the many
options.  so what i would start with is as an ignoramus [that's me] is
trying to find an overview of what's out there, dabbrev settings or a
hook for a menu, he settings, whether anything with a menu incluing a
menu package is intended to fit modularly into dabbrev, whether
dabbrev or he fit into some framework [company?] that has or can use a
menu.  possibly you already tried those things but in cas nobod
anwers.


On 5/16/22, Ypo <ypuntot@gmail.com> wrote:
Thanks, Samuel

I've uninstalled fancy-dabbrev, and it seems to work when I complete
using M-/. But, now I don't have candidates to choose the completion.
Any advice with this?

Best regards,
Ypo

El 16/05/2022 a las 0:15, Samuel Wales escribió:
i do not use fancy-dabbrev, but i use dabbrev in hippie-expand.  it
seems to do as you want.

it should be possible to run hippie-expand with just dabbrev.  it
might not be exactly the same because he might have its own version of
dabbrev.  which might be what you want in this case.

note that you have control over where dabbrev gets its data.  idk if
that is a feature of vanilla dabbrev.

i do not use any dabbrev settings or any he settings except the main
one for he.  it is set to

       '(try-expand-dabbrev-visible
         try-expand-dabbrev
         try-expand-dabbrev-all-buffers
         try-expand-dabbrev-from-kill

         try-complete-lisp-symbol
         ;;do i want this first?  am i supposed to use another thing to
         ;;complete from that point?
         ;;try-complete-lisp-symbol-partially

         ;;try-expand-whole-kill
         try-complete-file-name-partially
         try-complete-file-name
         hoka-try-complete-with-calc-result)


On 5/14/22, Ypo<ypuntot@gmail.com>  wrote:
Hi

I find dabbrev and fancy-dabbrev very useful to typing fast. But there
is a problem I am not able to solve: When I apply an expansion while
writing, the case is always that of the expansion, I can't make it to
respect what I have written. An example:

— (Typing) "Hel

— (Offered expansion) "hello"

— (What I get when accepting the expansion) "hello"

— (What I wanted) "Hello"


Best regards,

Ypo


          

--
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


--------------c3Uwi8DAOUpx3gcH5I3ZmzXS--