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.devel Subject: Re: master 2a7488d: Add support for displaying short documentation for function groups Date: Fri, 30 Oct 2020 04:58:52 -0700 Message-ID: References: <20201011035127.7723.3256@vcs0.savannah.gnu.org> <20201011035128.E3FD320667@vcs0.savannah.gnu.org> <87blgknjze.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d86d1105b2e21eae" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 30 12:59:38 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kYT4E-0005qh-FZ for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Oct 2020 12:59:38 +0100 Original-Received: from localhost ([::1]:58868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYT4D-0005ry-I8 for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Oct 2020 07:59:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYT3Z-0005P6-Tm for emacs-devel@gnu.org; Fri, 30 Oct 2020 07:58:58 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:37818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYT3W-0000xr-Q0 for emacs-devel@gnu.org; Fri, 30 Oct 2020 07:58:56 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id o18so6368936edq.4 for ; Fri, 30 Oct 2020 04:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=NEu9YtqDwPMtzQ5jEi+4LCqsn+QOpYfW3jBCccain9k=; b=mxeS4iagEwwMWvo85fTX8q/rqc/HN9qete4PBUIeXuB+dvOINjN48QUT6cRcNMd+u+ /R4kvpLlJGWkP14lTfw+ZzXpXhXL7j+d0B/kHPcKE062ZzizSrPUUxNQKmQ24CNPG7oE KMvxquspkwm9fDJBPtoaRzAPChdrNdbClGeC8xuzi+HlsZ+MwNJnONYaTuYVN97Ps8Sv lZeqIPRzDTxyoHKoH89EV1bIGXE2OBsy2V1Ni36T2uBkvebt5VgtJ9uAd56HDEMfP/oi DO5qRzqqyMOPnxcqFIoKYPPfN1F2ECQnNJMIU8efndl5LX/KuQrUzfBc70MfvTyk+MgQ C+3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=NEu9YtqDwPMtzQ5jEi+4LCqsn+QOpYfW3jBCccain9k=; b=dvLE9FCo2o1so/D8/ewW/+lZR+oeOr161xt2UzGtyJeYE2WZgWkhmt1+X+03vdgGvg LHwH8JN46ygUNedOl/aJ+s9wgf6ew/V3cnNW93oNZtWFZoGTT9w2tYhcZkz4BJyv+9AK 7Q/IDlw3/c5jxBjQmUOGrvbDis7MaVggyx0tSV2OAf4tcw9vaOy6LuNp8ah7YxfWQz9D AS8MXQviRzqib2zDA5fmRBvT+v8FDuIVsldH61Nn1rztsJ9Kxo0NHSxCkYmuHsoXc7VB 3A6QFumLQvlSGHUJDVf5oisKPFuC08Ymm9fx9CVmjUoPTRRPvxRqgxUfM8C0V7Q5U2/v B3ow== X-Gm-Message-State: AOAM531LpWKoOeG4qez0B0vAkVVs37G4f/V3Zan0lzIHS0CRUZ41t1IN gosQ1+hQ0tUVP6oKVFbjM2xifYIuVsi3+y56N3M= X-Google-Smtp-Source: ABdhPJzY9Jp/i/j7xns4zNM1j3aLlXrZ9vaILEnMdrMnaMEVdUfkzzdcTyamWkGiHVGsSvnmNXTG3fn4PmUjhX4EBaQ= X-Received: by 2002:aa7:c694:: with SMTP id n20mr1974752edq.160.1604059133393; Fri, 30 Oct 2020 04:58:53 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 30 Oct 2020 04:58:52 -0700 In-Reply-To: <87blgknjze.fsf@gnus.org> Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x534.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258560 Archived-At: --000000000000d86d1105b2e21eae Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> I'm seeing some possibly incorrect behavior with >> `text-property-search-backward'. See the FIXMEs in my patch. The >> documentation says "if a matching region is found, moves point to its >> beginning", but in practice that doesn't happen (at least not in this >> case). Is this a bug or am I just missing something? > > I think it's probably a copy/paste error in the doc string? Or just > unclear. It seems to be behaving like it should -- which is to leave > point at the, er, end of the matching region (but it's the beginning if > you're counting from the end of the buffer :-) ). I tried clarifying this in the attached patch. WDYT? >> Subject: [PATCH] Add shortdoc navigation commands > > This look good to me. Thanks, pushed to master. --000000000000d86d1105b2e21eae Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Clarify-point-position-after-text-property-search.patch" Content-Disposition: attachment; filename="0001-Clarify-point-position-after-text-property-search.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 482306b99c44066a_0.1 RnJvbSA0MWVhOTgyODA2MWRhNmU2MGE5NTgxYzQ1OGMzYjQ3MDJkYmU1Njk3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5AbWFyeGlzdC5zZT4KRGF0 ZTogRnJpLCAzMCBPY3QgMjAyMCAxMjo0ODozMCArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIENsYXJp ZnkgcG9pbnQgcG9zaXRpb24gYWZ0ZXIgdGV4dC1wcm9wZXJ0eS1zZWFyY2gKCiogbGlzcC9lbWFj cy1saXNwL3RleHQtcHJvcGVydHktc2VhcmNoLmVsCih0ZXh0LXByb3BlcnR5LXNlYXJjaC1mb3J3 YXJkLCB0ZXh0LXByb3BlcnR5LXNlYXJjaC1iYWNrd2FyZCk6IERvYyBmaXgKdG8gY2xhcmlmeSBw bGFjZW1lbnQgb2YgcG9pbnQgYWZ0ZXIgc2VhcmNoLgoqIHRlc3QvbGlzcC9lbWFjcy1saXNwL3Rl eHQtcHJvcGVydHktc2VhcmNoLXRlc3RzLmVsCih0ZXh0LXByb3BlcnR5LXNlYXJjaC0tcG9zLXRl c3QpOiBOZXcgZGVmdW4uCih0ZXh0LXByb3BlcnR5LXNlYXJjaC1mb3J3YXJkLXBvaW50LWF0LWJ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