From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#51040: No curved quotes in format-prompt and minibuffer-default-prompt-format Date: Tue, 12 Oct 2021 16:21:52 -0700 Message-ID: References: <87o883776l.fsf@gnus.org> <87fstefs2u.fsf@gnus.org> <83lf2yquan.fsf@gnu.org> <83r1cqp5l7.fsf@gnu.org> <83ily2ozhr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000005a271305ce301c9c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14302"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51040@debbugs.gnu.org, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 13 01:23:13 2021 Return-path: Envelope-to: geb-bug-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 1maR72-0003UG-Hi for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 01:23:12 +0200 Original-Received: from localhost ([::1]:48312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maR70-000372-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Oct 2021 19:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maR6s-00036l-0s for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2021 19:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44214) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maR6r-0008N1-OF for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2021 19:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maR6r-0006zg-LV for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2021 19:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Oct 2021 23:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51040 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51040-submit@debbugs.gnu.org id=B51040.163408092326743 (code B ref 51040); Tue, 12 Oct 2021 23:23:01 +0000 Original-Received: (at 51040) by debbugs.gnu.org; 12 Oct 2021 23:22:03 +0000 Original-Received: from localhost ([127.0.0.1]:55748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maR5u-0006xG-H0 for submit@debbugs.gnu.org; Tue, 12 Oct 2021 19:22:02 -0400 Original-Received: from mail-pl1-f177.google.com ([209.85.214.177]:39520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maR5q-0006wd-Pw for 51040@debbugs.gnu.org; Tue, 12 Oct 2021 19:22:01 -0400 Original-Received: by mail-pl1-f177.google.com with SMTP id c4so555221pls.6 for <51040@debbugs.gnu.org>; Tue, 12 Oct 2021 16:21:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=cVT8ynJm5jtDcfiBm9tfDAjQGYEDZwCnvQy2aV72XfA=; b=U5M9YRzz98W0xDncyCk9mq8jywiT7jTrm1r/AGyGVwE4rYWXdYQ7krZu9tdRSXcCVO lOcKOuGdr74wUHyUi5ij9Pikj08tZ8uAjZwRy0rplPsNxGEu0N7GtBZGq3s0yKsW4DTg lwSI67AWm3MrYnNEAozDf16S6o+8ngaCGHPeFSQL1olNQOey6U42fSrtj4F9qylBoLP1 l5XH4AjD3zEW+Fsl22LuZAiKWIMX6rRSb3F8Xs1+ujgpJPMEinht1VCZ58X7JkqZIkAz DEJ+3ZWJkgpXoejiwhIcJUARPTh2PlvrMhP7/fHr+nC0cMyszoEYXq1I3ruAFNoLgpEY elZg== X-Gm-Message-State: AOAM532gJJ/5zunsduGyBdKnq6ygjkZJ2wcrqegBnOzmVplCVpacGyXU zdfG9twIcF5ahI3lEDjv9WAJVwtFfkjqa5H6vnt1IKdI X-Google-Smtp-Source: ABdhPJyqPlD0xRbI+HJIBY2lvJlvS/rucbXXfggLvAqz8xm3m8jNRQU01j1AEWvzMCe1t99Vw8k9r35+vy3BbTFyMAk= X-Received: by 2002:a17:902:b691:b029:12d:2b6:d116 with SMTP id c17-20020a170902b691b029012d02b6d116mr32405812pls.71.1634080912969; Tue, 12 Oct 2021 16:21:52 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 12 Oct 2021 16:21:52 -0700 In-Reply-To: <83ily2ozhr.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217080 Archived-At: --0000000000005a271305ce301c9c Content-Type: text/plain; charset="UTF-8" Eli Zaretskii writes: > Ouch! what a mess do we have with this stuff! > > . the doc string of text-quoting-style the function doesn't document > its return values, but refers to the variable, so it's easy to > conclude that it also returns nil > . that doc string says "effective style", without explaining the > special processing of nil > . the function is not in the ELisp manual, but the variable is, > twice(!) Yeah, it's a mess. I suggest we address the documentation issues on emacs-28 with the attached patch. I compared the duplicate text, and the only thing that was different is that the word "variable" had been changed into "option". So I deleted the one in the wrong section and that incorrectly said "variable". --0000000000005a271305ce301c9c Content-Type: text/x-diff; charset="utf-8"; name="0001-Doc-fixes-for-text-quoting-style.patch" Content-Disposition: attachment; filename="0001-Doc-fixes-for-text-quoting-style.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 225062e724d03542_0.1 RnJvbSBjZWNjMmU5ZGMzMmVkYmE3NGQ4MTZjNGZhMzI3YTI4OGVkODYzMDA2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5AbWFyeGlzdC5zZT4KRGF0 ZTogV2VkLCAxMyBPY3QgMjAyMSAwMDo1NjozOSArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIERvYyBm aXhlcyBmb3IgJ3RleHQtcXVvdGluZy1zdHlsZScKCiogZG9jL2xpc3ByZWYvaGVscC50ZXhpIChL ZXlzIGluIERvY3VtZW50YXRpb24pOiBSZW1vdmUgZHVwbGljYXRlCmVudHJ5IGZvciAndGV4dC1x dW90aW5nLXN0eWxlJy4gIERvY3VtZW50IHRoZSBmdW5jdGlvbiB3aXRoIHRoZSBzYW1lCm5hbWUg aW5zdGVhZC4KKiBzcmMvZG9jLmMgKEZ0ZXh0X3F1b3Rpbmdfc3R5bGUpOiBEb2MgZml4OiBjbGFy aWZ5IHRoZSByZXR1cm4gdmFsdWVzLgooc3ltc19vZl9kb2MpIDxWdGV4dF9xdW90aW5nX3N0eWxl PjogRG9jIGZpeDogY2xhcmlmeSB0aGF0IHlvdSBzaG91bGQKbm90IHJlYWQgdGhlIHZhbHVlIG9m IHRoaXMgdmFyaWFibGUgZGlyZWN0bHk7IHVzZSBGdGV4dF9xdW90aW5nX3N0eWxlC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