From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.help Subject: Re: C-q some-number Date: Wed, 22 Feb 2023 15:00:00 +0100 Message-ID: <539904a5-4f61-7ab1-4711-9512b2aae8ed@gmail.com> References: <28b3c7de-4079-4dc3-e3ba-37858e3eb811@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32189"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 To: =?UTF-8?Q?Andreas_R=c3=b6hler?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 22 15:02:01 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUph3-0008Fh-Gr for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Feb 2023 15:02:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUpgS-000803-HW; Wed, 22 Feb 2023 09:01:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUpgG-0007pv-Uz for help-gnu-emacs@gnu.org; Wed, 22 Feb 2023 09:01:22 -0500 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUpfA-0001Mg-IU for help-gnu-emacs@gnu.org; Wed, 22 Feb 2023 09:00:14 -0500 Original-Received: by mail-ed1-x536.google.com with SMTP id x10so29946450edd.13 for ; Wed, 22 Feb 2023 06:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Yi5PdkTIkJ7rVuqh0UBt7VPHFKj/9cF86xN5hBwo+4g=; b=dJxeDSC7lZy6Ls+pkYE6XtYIP5SF5HRy9IatY/k6U7nTvy15co6DP/oUJQkkwx0+Jq k5W/tAQ67lxqQPb8+tGvs5WuKXWPdLnteS+9LthOLfeRxDHpnUx68SUx0e4KZus0jWs2 /2GPsgxv1Rg8Sd8Bw9fhDwvnLmvUX11Ur0H9nEZAkNpVV3RDiITEo0/JinxirsMqKt/k 3wqJZPnY4XlNB24eRppvREuxWfyrERpGBBeXaXWuUggU0nYdHFFf6Ia5wy1lWkeGLVn2 NkQ/M+j8xG46uBQ7g0jtOtopgtBvIWrxlhGkAysWJl0L/+rpynE4irpcegwq/Q6We+JE OFdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yi5PdkTIkJ7rVuqh0UBt7VPHFKj/9cF86xN5hBwo+4g=; b=ZRnrrAFg6v5GLIXykweBDO5VlVoeWle6/uTlSMNTTGz1my0U9/qgHP6EWkP/M7w1/r CC9iU30qystZJ/tTIAiZvkvOQm2Mwkfi/e+YMWW0akn/M7FZm8JB848jroTFVpoLwlqV 7ZYHo8vamMzL5eDE4hAuohKMIvXeGGsa4sPYe1nYBpGub0AZQXgoNCFeh+jROw5tomi1 zesm5LKzgeCuTV8dCUdRuShctYgW9tSl7eWMDulcGtTCJYGgfolnvTfXnE/mB2dGNX9u sEpa4Rf41CVXE++3LzRQvltCNNWbooKS1seCcKb1k4ZEz2KVbmvkWYmE+liiCsVB5n+T RiCQ== X-Gm-Message-State: AO0yUKWAZWr8xmUFhkshOplUuT/nxgIXQRCOtKVS+fGySVKrdImeNMz8 fsYA1E+2MER2KlUN4BuAlSQ= X-Google-Smtp-Source: AK7set8l3yvb7QOOrYoHXwr1vAKzC04j2gtpxM89MKYFbeqfODJ/t5jqalVqb82Y5pbFBfuF+6r8Bw== X-Received: by 2002:a17:907:2d89:b0:88c:780c:770e with SMTP id gt9-20020a1709072d8900b0088c780c770emr20586910ejc.32.1677074402192; Wed, 22 Feb 2023 06:00:02 -0800 (PST) Original-Received: from ?IPV6:2001:628:2010:4094:fa72:f601:dd03:4a26? ([2001:628:2010:4094:fa72:f601:dd03:4a26]) by smtp.gmail.com with ESMTPSA id a14-20020a170906684e00b008b1815e30e3sm7320741ejs.117.2023.02.22.06.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Feb 2023 06:00:01 -0800 (PST) Content-Language: en-US In-Reply-To: <28b3c7de-4079-4dc3-e3ba-37858e3eb811@easy-emacs.de> Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=thibaut.verron@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, NICE_REPLY_A=-0.102, 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142811 Archived-At: Hi, > while "C-q some-char" inserts that char as expected, not so when > typing any number from 0-9. That's actually inexact, the numbers 8 and 9 are inserted like other chars. :) Numbers below 8 are interpreted as the octal code of a character, terminated by the first non-digit character. This behavior is described in more details in the docstring of the bound function quoted-insert, accessible with C-h k C-q. Best wishes, Thibaut