From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oE4yKtLXfmBRRgEAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 15:32:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YAn9JdLXfmDeAgAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 13:32:02 +0000 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 E23271D4F1 for ; Tue, 20 Apr 2021 15:32:01 +0200 (CEST) Received: from localhost ([::1]:57722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYqTw-0000p7-An for larch@yhetil.org; Tue, 20 Apr 2021 09:32:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYqT0-0000ok-NY for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 09:31:02 -0400 Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:34343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYqSw-0004MC-UH for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 09:31:02 -0400 Received: by mail-vs1-xe34.google.com with SMTP id d25so12725576vsp.1 for ; Tue, 20 Apr 2021 06:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DJpgBbS11WcARUyF849y9360m8d5d9nqZ6Tkngffsow=; b=o1v8zh4F6eMIXv9LMm9CtabtM5orvE2+aeS8bTx7VmaES/ksrCvBeg+pKoEEEHq2W2 jcStydcmDLivTABvMUHBMWLKAPYPMhbuoErioukRknU5pZhXGgk93Y5H7CbBexuFEMMG sPNXlPkPUnMOzrmptbUjaCCo2zdxakSmWBX3vB/ZA+vFiWaqnlGeOVTVp3KmqPoaOP/0 qwawtYRltKBd11pigPUyFQvaJIz0PczZj8E36eJ3lOqAbV37zX8RfQ34MsA/xDmroGbu VNlsJSx2iWVOAhpaXW17201RLLyYuGKSIWukukE/o2jfCqZk3niWSNZzL7c97M0hnrbh AStg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DJpgBbS11WcARUyF849y9360m8d5d9nqZ6Tkngffsow=; b=NQDu/lb/EiRRlqEToVxBgdvs1DAHbkapuGIRm7dcFvqKE1iDpd9e5mL245fUxcHdRy R6tm44qcUcGP6jrUuGqNc43SmSH0cQV7NVdtJ9x6MXvA8sQQwNQtOS2gCxoKVp8hxNba lLlhcQBr3v3oOapmxdQdUgl5u74sWFzDOEW5+UrECaxN0dC6U7Jp17Rl1upkO7bCrhJf rorByEuop+LY0XAtNymRrk6o88A71bh0DKrpWEbS7jIbgmsHlxxKnk4EF5oUVe/1RHDQ 0qv/av6UxlRQ9xOGdlJCQdTT+rgyBegNPOnzVW+IRlFvvq+WQA4h9r6evUhkyZEw70Ja aFqg== X-Gm-Message-State: AOAM533RZRBqatgFMKfuH7SG4PQ2DkWllYR4u/3kyUrxmh/Ewwq4xSF0 Ae800tLMvF0z0TYKhw1bEluHzz5+qKMJ38BLUW8= X-Google-Smtp-Source: ABdhPJynLlhPyP+wELW9kivC9fhKf/oqA//PzSbi4wSsWQiFyqgC6ZPcGSpAbGg2DaH3zK5/RCh2Qtrq/fTAe4xQC/Y= X-Received: by 2002:a67:d512:: with SMTP id l18mr8172451vsj.33.1618925457016; Tue, 20 Apr 2021 06:30:57 -0700 (PDT) MIME-Version: 1.0 References: <877dlnf7vw.fsf@gmail.com> In-Reply-To: <877dlnf7vw.fsf@gmail.com> From: Matt Price Date: Tue, 20 Apr 2021 09:30:44 -0400 Message-ID: Subject: Re: Using backticks for the inline code delimeter? To: Timothy Content-Type: multipart/alternative; boundary="000000000000c889fa05c067744d" Received-SPF: pass client-ip=2607:f8b0:4864:20::e34; envelope-from=moptop99@gmail.com; helo=mail-vs1-xe34.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: autofrettage , Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618925522; 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=DJpgBbS11WcARUyF849y9360m8d5d9nqZ6Tkngffsow=; b=YhlcEoI2kNa/WncazJXvFU2jUnhkwqcRNUkIHyAKEUFz6fn48XqvqszAufnPxRwtheBbdM LQRP9SQ1IpHbEkVhBZM0AR/RIXL+5OHMRiLEgZMyOW5V3anpvNAm1YC/sDe6Wgzf+vpY59 MRKt4+ObMJYDdjSy0+zyqEZKMWz7Z+ITH7s6nZluKWY9jFySq9/0u7EjeJ8pWdWFSUSGOX YM4o6Xh/axWi9u4zoy5h7nWvfz3F0EchFwDz/6oTC3Kks9x7i8bgBSevpCkVxdJEAsu76i H0XXQqtYI+/ZRAMY7YHmOimMTfs7zzoLjoV+aFkV9QnmfaS81P1iRxYasKy/2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618925522; a=rsa-sha256; cv=none; b=hzJtw7aDgj6nAOlbW4oj/Uoh/vQRORC9fcTFGK092VSKfwDHAtUWi0Au1cC7sBOoxWeIzi lmPR3wzwid79OuS+uP21EtiZTsdFTXE6pgk/n0G6ANMhi6b9+HtC5py72M3NUCsV/B6syx mWX73XjRetwDTpD0MMQoIM8qUYKYLvGaDdf2kKzUiPQ3BkcjIMwkqUESzGS6ZKAnUPPSiy 1Q0hU5Ie+0y3iybx4CK+KJZiajfyedt+D10jGSjg1guX3J3/zNIOYtH/8L9I75vqNaa12i aIGnCE+n4inwR0mrMwFlGD2wkYixuOK63UBh85xHyGB2RkkG16VkMZMR4y0CUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=o1v8zh4F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=o1v8zh4F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E23271D4F1 X-Spam-Score: -2.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8O3qUMZtbfB+ --000000000000c889fa05c067744d Content-Type: text/plain; charset="UTF-8" On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, wrote: > > autofrettage writes: > > > Quick and Dirty: Bind key '`' to ~ in Emacs? > > > > (I guess it is clear I haven't thought about the consequences.) > > You can add that just to the Org-mode map. That wouldn't be too bad, > there's always C-q. > Is it possible to bind a key in org-mode but bind it back to another character if you're in a special environment, eg a code block? That would probably be my preference. So "`" inserts "~" when you're writing text but "`" in an elisp or markdown SRC block, for instance. I guess just write a function that checks context? Presumably all the overloaded keybindings do this already but I guess I don't really know how they do so. I do in general wish it were easier to switch between writing markdown and writing org, since I often have to write markdown for work. > > -- > Timothy > > --000000000000c889fa05c067744d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, <tecosaur@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
autofrettage <autofrettage@protonmail.ch> writes:

> Quick and Dirty: Bind key '`' to ~ in Emacs?
>
> (I guess it is clear I haven't thought about the consequences.)
You can add that just to the Org-mode map. That wouldn't be too bad, there's always C-q.

<= /div>
Is it possible to bind a key in org-mode but bind it= back to another character if you're in a special environment, eg a cod= e block? That would probably be my preference. So "`" inserts &qu= ot;~" when you're writing text but "`" in an elisp or ma= rkdown SRC block, for instance.=C2=A0

I guess just write a function that checks context? Presumably= all the overloaded keybindings do this already but I guess I don't rea= lly know how they do so.=C2=A0

I do in general wish it were easier to switch between writing markdo= wn and writing org, since I often have to write markdown for work.=C2=A0

--
Timothy

--000000000000c889fa05c067744d--