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 +DdCBrZ7gWKaIAAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 00:16:22 +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 aGQABrZ7gWJQSAEAauVa8A (envelope-from ) for ; Mon, 16 May 2022 00:16:22 +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 A773BE202 for ; Mon, 16 May 2022 00:16:21 +0200 (CEST) Received: from localhost ([::1]:58446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqMXE-0003Jn-KL for larch@yhetil.org; Sun, 15 May 2022 18:16:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqMWB-0003JL-EY for emacs-orgmode@gnu.org; Sun, 15 May 2022 18:15:15 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:33482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqMW9-00021T-OT for emacs-orgmode@gnu.org; Sun, 15 May 2022 18:15:15 -0400 Received: by mail-ed1-x52c.google.com with SMTP id n23so1187141edy.0 for ; Sun, 15 May 2022 15:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jHl4eyD+tlTDJtV6mtQE3vS2He4hGEo8BmjsPnISClA=; b=CqjlQpKnzG3aefs73DKtccT2haLGsxkMBI4oRQYyM9qCFB96WkZOv1qMjcN6knhuIo qSDqPbVgN76s82zgcFfmZmXM0V5wUH5ToQg70wvA0L9zvcXjKBFJZVhFS55S2bIbRAnH mkshqyrXL5vBiTNLJ2NkWj4T7YEhFdafQucikIlbRMLlhv+wdwSr7yCKnMBs1GEBpFSy bMtR1L9oBEWmvTGaBa7V/qKoZcLZeufsClgGRN9xSOY4t1Y8G030ae7EjrJJQwzDbAuv sIE9s15iz7FIEa0SjNdiLAmbS3kEtfhlFhIXCDQOqLGnRILuW13sd6yOb96eZim1KkiV Hbsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jHl4eyD+tlTDJtV6mtQE3vS2He4hGEo8BmjsPnISClA=; b=mxX9M6InXr2z+Ey72zStOpDM0jEYe2R1JUiZUQcGaO9QjwsbQenHSt8olyLQKK4ePu VoHBdUYcZvgeBj/u4q7p6X4GR6yZBOeaT8vg07IqakBnnNsCqXWPjDjcTLU/gSO0mr39 OU3z6zPdzHDlHL14UBASlqXRpW4MfqufoQUBmhG0jZv3iNgJfWDuSEx86nJA+Cc3ZLQm WEsHwMz76XQf9HjFaweJvFVGWd6b+TFMBnHstBQRrksyTzEFrEfkc9uKQ4BtumQVbw4q TQGl5dySGCHrTfLYPVPObWKoqmQtCbBMxNzyHU3/kofqiJ51LeFB9HL6CUmUlbubE0qJ KoIg== X-Gm-Message-State: AOAM531xorkYhM402vuP3urTJZo9df6UhIXBoDIggjrp4wkrfWjBlu1r PqPgetw1odkRadsAAnU+gHE6uTLQjX4syTzznYk= X-Google-Smtp-Source: ABdhPJxTv5eiXUwaN8MPNXn383a0cMnxzBGLIuXxm7wPwtCYosShHKNJ/OLpxlwLB32zLwWxinZDaZaMizSMeWpQJSU= X-Received: by 2002:aa7:d619:0:b0:42a:af7b:eda7 with SMTP id c25-20020aa7d619000000b0042aaf7beda7mr3037110edr.235.1652652911166; Sun, 15 May 2022 15:15:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:906:4788:b0:6f4:32ab:bc2b with HTTP; Sun, 15 May 2022 15:15:10 -0700 (PDT) In-Reply-To: <11e85748-1162-c0f9-3d3d-2a2d9168b15e@gmail.com> References: <11e85748-1162-c0f9-3d3d-2a2d9168b15e@gmail.com> From: Samuel Wales Date: Sun, 15 May 2022 15:15:10 -0700 Message-ID: Subject: Re: I can't set dabbrev to respect the writen case To: Ypo Cc: Org-mode Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=samologist@gmail.com; helo=mail-ed1-x52c.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, 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=1652652981; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jHl4eyD+tlTDJtV6mtQE3vS2He4hGEo8BmjsPnISClA=; b=hu612j6SWDFEp8mRSeAweqeSLY3H7NBxPZGKZ/p6016wj0XcNjg5ti3CAy82WKYQPvx8hY fPlH7pghWKoqmW1Y2VFdAtMAav8s3BNHloNEgvwI//wVDPI3COUyRncyWueU31fL/8drzs N/p8R+Ta914O8SRZTQpXnqhH20VkK2hjNtEZA6mTU4tFCXbCmEMd8kl9+9YvGqWBwSa7WD VLv4XAfkqhTeNq6yi6VgF/LVILhkYFWhhyU/vwJ+imJSsStK9sIa0rfcerK/Dxz2p2LcuC /xLfxBq/5IZ2ONLP5LS0SjBqRA0ekc07nu6e4+Q7dPIQ8YNkcoXWjak0HCoEDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652652981; a=rsa-sha256; cv=none; b=BR2NucDpvGFpa6somqr4jyANoeNgbfQF8m7A8KeCGEjy7BxC24QYz+7tvfnr5gLmCBRGFL 2KvpvPjMOWEvahavr4/3CvmQgj9GSo2upHOypP4jTFKhU9fLzv2EGVaqbpdriPgVxmtJd/ YlCnxgKRrmQsxD+uxsAmdvxCTDEzeIBcnCy/iTkkcAs+KQ/0o125Lg3VHdJYbr9jbNzpnB ITbIERKPTdqambAOx7v/Rp17Cqtg7cSmr9JIWvAXk878RsOayLP8w79VFGdvv0evvpq6fA 0hjtjModMc16HxK0A07ZvCCOBqN2dcQFZm3LE74JS+ukUNUlsHMhP6qd/opTLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CqjlQpKn; 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: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CqjlQpKn; 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: A773BE202 X-Spam-Score: -4.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: p8PvBLiOSDek 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: > > =E2=80=94 (Typing) "Hel > > =E2=80=94 (Offered expansion) "hello" > > =E2=80=94 (What I get when accepting the expansion) "hello" > > =E2=80=94 (What I wanted) "Hello" > > > Best regards, > > Ypo > --=20 The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com