From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6EvmK/TYgGK3dgEAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 12:41:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6IzwK/TYgGI5swAA9RJhRA (envelope-from ) for ; Sun, 15 May 2022 12:41: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 6FA851FF39 for ; Sun, 15 May 2022 12:41:56 +0200 (CEST) Received: from localhost ([::1]:34568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqBhC-0000Rp-SK for larch@yhetil.org; Sun, 15 May 2022 06:41:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqBgH-0000RP-34 for emacs-orgmode@gnu.org; Sun, 15 May 2022 06:40:57 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:53044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqBgF-00074h-1l for emacs-orgmode@gnu.org; Sun, 15 May 2022 06:40:56 -0400 Received: by mail-wm1-x332.google.com with SMTP id k126so7183777wme.2 for ; Sun, 15 May 2022 03:40:54 -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=/XqbyZCgXHzweCrhGfOObmpm/kr3iAIB3VIEDyZsgUI=; b=BnFOriD5Yl2ngpuvfro764FGvBlxYk9lxnfZyPqJz/uR5DoNHffFdKYgQvWALW8R6S xlhay6kVA1Tt9DSCPjdtc3VwQpLOTUzbymXuDEhUU1w69Tt/kJX6SKTAS4IBVG1IAd6e rzCjXndj5LnfaV4wHXQaZALiS2OS+GYMc6WDSY3c3NDLYT2WbyG6t/uGEWghkYmzTszX 7jnGEpdogexFqbnIztPvFLwqMMIALS4e679HrsIQOhtLNXpGw8FkvJAU6dYCzj/iyzI+ qpxBscUetQ5XsR44RtDKHpps1tt4uZjNTww+fC9YmrCHtWhubnecpiBshHerc29Ijncn OOxg== 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=/XqbyZCgXHzweCrhGfOObmpm/kr3iAIB3VIEDyZsgUI=; b=tjGA9NFnd28Twubavj2idtoZDXqJLkMPGnnYD/yFFf3nys+g2CQkMjRABZJ3Mp/T2J 0o1PJnm2t2jShZvr601Varb2cnpM8tCgSe5Ym/+9SBNMheJNueXuprADue6uRtK/LhiI 4CX1Kqd9cTbHW3ElAF4TziUvZEyQihbzDbP6nFO3keVa0y/cudemXLASn8Rf7fCnhRYZ VVwatlDaODC5/wmI99XnqjlbMpz32NEJBbCN8bnRk0JQjZ9FkGuKZsS+Wv9AVPoAlcXq kkAL7Gu14aAUpz8WBkt+cHTQtMzEK/2+ZKuqySxxGst4g10zY/8wy4c6IovxEnTEVVM9 W2CA== X-Gm-Message-State: AOAM5311DSSDFxBV+cY+9tDnQ6+b8O9Lix9hehOf3OnFEhx2HaAYsZNT Z1ODTjLzXhIsUQId9Fgv/hDYd9SLi7U= X-Google-Smtp-Source: ABdhPJztdWWBg+VQk1iLpm3ya5+gJhh4OKltnwo9F6PBKkRjYf3HhwMivMgjJfM4DXm35cWb8s+5+g== X-Received: by 2002:a05:600c:5112:b0:394:55bd:5f9d with SMTP id o18-20020a05600c511200b0039455bd5f9dmr23093491wms.188.1652611253503; Sun, 15 May 2022 03:40:53 -0700 (PDT) Received: from [192.168.0.97] ([94.248.92.1]) by smtp.gmail.com with ESMTPSA id e14-20020a05600c4e4e00b003942a244f3asm10324351wmq.19.2022.05.15.03.40.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 May 2022 03:40:52 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------3ZXN010WC6OYL3tYuQqHgjXE" Message-ID: Date: Sun, 15 May 2022 12:40:49 +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: =?UTF-8?Q?Juan_Manuel_Mac=c3=adas?= Cc: orgmode References: <11e85748-1162-c0f9-3d3d-2a2d9168b15e@gmail.com> <87v8u721ax.fsf@posteo.net> From: Ypo In-Reply-To: <87v8u721ax.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=ypuntot@gmail.com; helo=mail-wm1-x332.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=1652611316; 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=/XqbyZCgXHzweCrhGfOObmpm/kr3iAIB3VIEDyZsgUI=; b=AmmE4CMhjvwK3ovVu3hO4ZzlD66FPy1Xap52//aPCovgDqJ/WkdiGMQXuHv/a/BAPyVz5q 0CrrW6BGWhO8qXuGFkeEKhj1/csQWzNK2HAQUwtTYNMnbXWl0IY31P4zXobTHGUHAaVorW A/F40TEZU+8Aa6YCUp1oNWTocHXnx4FYsqlFwPrWoKVmKCnxlN7zrm+73lDU6bhkc4mUTY h8TMJdytw14mn8iG6QqfcyJ085ZU3juUACaB0su5NDHNUVeckuZT5tJSPiPTWxMDG+ZdEB dRVQuU7BiwVXfr8INAZM1v1wqTnca7BzLJnoCr8GVgi8DXzovKZXFKi7FkGm6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652611316; a=rsa-sha256; cv=none; b=HXS51CXPkKjXgL7LzyNPOGpbJDE7jYFrsBNVGDIPtirLQJuuQ78j7icofRnZQZSHnA9TRq 1WNUpcMX90Iw0EI9U4uPLJ5QQc/I/AG6iTtl60j/FBEb9pShm0WmrTwtdfCX2LJlEMlIXd LakgGVZx27Pdc4sJTxPAQceq1skhr/8R+5I0zWY8QGQXzLw5qHakv0UPL8I1oVx5HWfChI aDVDZfwegt8/8itSBn/NT3DusjAOEKeRLxw+ap4SDevhPauiFjGbfT5d87POIOnt5hNnAx PfBbnNb1X0mNLckAJZdbKTRncE9fQvgfrB5CE/h+T8sqkSJK2IuW8EPImAKVJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BnFOriD5; 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.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BnFOriD5; 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: 6FA851FF39 X-Spam-Score: -5.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: Pwi8XSrd5xr3 This is a multi-part message in MIME format. --------------3ZXN010WC6OYL3tYuQqHgjXE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks, Juan Manuel. These are my variables, it keeps changing what I have already written: '(case-replace nil)  '(dabbrev-case-distinction t)  '(dabbrev-case-fold-search t)  '(dabbrev-case-replace t)  '(dabbrev-upcase-means-case-search nil) Best regards, Ypo El 15/05/2022 a las 0:32, Juan Manuel Macías escribió: > Ypo writes: > >> 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 >> > Take a look at these variables. I have them configured as non-nil: > > (setq dabbrev-case-replace t) > > (setq dabbrev-case-fold-search t) > > Best regards, > > Juan Manuel --------------3ZXN010WC6OYL3tYuQqHgjXE Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Thanks, Juan Manuel.

These are my variables, it keeps changing what I have already written:

'(case-replace nil)

 '(dabbrev-case-distinction t)
 '(dabbrev-case-fold-search t)
 '(dabbrev-case-replace t)
 '(dabbrev-upcase-means-case-search nil)

Best regards,

Ypo

El 15/05/2022 a las 0:32, Juan Manuel Macías escribió:
Ypo writes:

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

Take a look at these variables. I have them configured as non-nil:

(setq dabbrev-case-replace t)

(setq dabbrev-case-fold-search t)

Best regards,

Juan Manuel 
--------------3ZXN010WC6OYL3tYuQqHgjXE--