From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QHORJGCJgmLCIAAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 19:26:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2PZwJGCJgmIeCgAAauVa8A (envelope-from ) for ; Mon, 16 May 2022 19:26:56 +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 22A1A13303 for ; Mon, 16 May 2022 19:26:56 +0200 (CEST) Received: from localhost ([::1]:39324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqeUg-0002qF-TW for larch@yhetil.org; Mon, 16 May 2022 13:26:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqeTN-0002oT-Gv for emacs-orgmode@gnu.org; Mon, 16 May 2022 13:25:38 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:47012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqeTG-0002YU-5y for emacs-orgmode@gnu.org; Mon, 16 May 2022 13:25:27 -0400 Received: by mail-wr1-x433.google.com with SMTP id r30so3747586wra.13 for ; Mon, 16 May 2022 10:25:24 -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=FM1W7TbY+MChkB6chCQlZ92Y4FSonxXQtTKGK/BMeQE=; b=jgKjNdQaelF3Gy7JIaZwqosywg8ijpnFAC7b4l99d6ewezDCUJY55YBr3sH0/Z56p8 N3iDlnU21ZYZOWTYqCMgnZTtUMzJv8dyPHmaifE7Pwio7D33kv5jLp5DQ5Nk9aGrBDnn sw9TQKvynMZI8ga2EOWE25gGJRX3FDxJU4zlnFlyBWx1NpipBCjc4BOUUzeh30cpkyv+ yvJuRXOqf3RwWCC6CSxo5SzcpEnddd9iERvdr8xpAdCeP5V2V1OgIojBMQvMSbPduRze F+B/LbLfB/v6Ojisnbc3F6sD0uU6HgLeSL1JRkWE0Ej4uttNv0Ri9cp7vQf2wZRHiHl0 o/mQ== 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=FM1W7TbY+MChkB6chCQlZ92Y4FSonxXQtTKGK/BMeQE=; b=QQGtHY8b3jzNXf8S6CcOIWgPxbl+L9PSTj6NuHxLOSBCyVo14/sfqFp6IYmOhOKqH3 azCCfFCppGxycu5zo3Q0BSUbYx/szhpPebVp7lqJmGfV4/WGpG5qZFs/W9Qdk+xFXnne WijmaU0uUoFIqHPRltgGd3HtIfH4i3RjPV6YJ9UVpCt6KBOWLZ3oxXPG8kv5etxvRcNZ Tmva/nfCAd/XD77wzf0/g4Psj5irMJt5bSVd1mIZ9C3sq4ZNLlm4sq7FBdPfahHlK+Yc heRR+9B2UjyBDzlbem6Xzm6H3bKoxCID9KfcGjYp44arVkf9pRdNNuw3Ipd1oInJIhaJ tbIQ== X-Gm-Message-State: AOAM533Y4pAd25Iu3LKfRh2+qU+ahzM34IuqUUWe0Sjb/ku1+sk+cXNv H8B2xcwU287EE+9Px9stPDA= X-Google-Smtp-Source: ABdhPJwMz5IqR/WQpYVfPDV250qNwUzPHuBvdSkAFhE8Ni1USrbk6hl12/YK+5v7n1dZp6KVNjPpVA== X-Received: by 2002:a05:6000:1a89:b0:20c:613f:da94 with SMTP id f9-20020a0560001a8900b0020c613fda94mr14961181wry.356.1652721922801; Mon, 16 May 2022 10:25:22 -0700 (PDT) Received: from [192.168.0.97] ([5.225.20.86]) by smtp.gmail.com with ESMTPSA id t11-20020adfba4b000000b0020d0351dbb6sm5634772wrg.80.2022.05.16.10.25.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 10:25:22 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------g6lcYqoR3mrP1s00BgKL6FJD" Message-ID: Date: Mon, 16 May 2022 19:25:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 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=1652722016; 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=FM1W7TbY+MChkB6chCQlZ92Y4FSonxXQtTKGK/BMeQE=; b=iYcGohcMzUQzR/oefIviP9I/4OPA4nFgermcfX4OecJm5QAXqP9VmSqZeagoQaSf1jXdsT msCHLbeKFSz+HhgVgNFMQRBf+2ofc5SQ1ZFek0OOd+5oKnJVo7Ss5XQdFiM1SQvz3ktOmJ zreXhm5bFmctF50i9wCQqbmDTj6LYmC88VX4+L1teElXL6pFdLD3N8WLb9CbUUXi0u63bl iuXba4BgL5kGcI9h4Czj7wIJ1hv18RSW2lcZb4BR5ubjGDPAGD0feI7YUyoFVBqYx8+Y+B RkkRsNZKGcnfgARNnvQx2TNqmwf8bu6AqBihX7x5f2ASvOXk5KvbuYBZADgavQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652722016; a=rsa-sha256; cv=none; b=bo7VYBmqnXm5D+tgHNPDYHpj0ZYqQ3eIYw+ZJ1GpKX/lxnX/XyYtKKp5ZRrMe9tifXR4mu Ysl0OoIyYEpvaxk7ijEG3LbqXeexLm0ORDp8Tb6hNfqVSf/lBLaYDIPgUbbKbAeVMTgJzg 6qFY9zjpwJrQFAX5pM9C+k6aeQbqFDFw1AoZq56W3ImVlRktCe8/F4dhSi5gL+V97DI4g7 QE1JY41eJ7zhIGZAchpGHFh3CPVcQlbvVT+PsEOwDl4vxZPh2tDfOz0PPMqO4vaX8Bk3Zu 1Bozyuu5J+CP6QCcfoRCaOZat8W2IJ9yCBLO4elJB2dxm6ns0BN3exKF+nLc1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jgKjNdQa; 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: -5.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jgKjNdQa; 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: 22A1A13303 X-Spam-Score: -5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: y7y/j87JLGR5 This is a multi-part message in MIME format. --------------g6lcYqoR3mrP1s00BgKL6FJD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 >> > --------------g6lcYqoR3mrP1s00BgKL6FJD Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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


--------------g6lcYqoR3mrP1s00BgKL6FJD--