From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 2OFgCO+C42KkMAEAbAwnHQ (envelope-from ) for ; Fri, 29 Jul 2022 08:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qMVmCO+C42J/2gAAauVa8A (envelope-from ) for ; Fri, 29 Jul 2022 08:49:19 +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 AD84D21955 for ; Fri, 29 Jul 2022 08:49:18 +0200 (CEST) Received: from localhost ([::1]:47674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHJoD-0008CY-MW for larch@yhetil.org; Fri, 29 Jul 2022 02:49:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHJmi-0008BY-8F for emacs-orgmode@gnu.org; Fri, 29 Jul 2022 02:47:44 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:35580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHJmg-0000D5-4m for emacs-orgmode@gnu.org; Fri, 29 Jul 2022 02:47:43 -0400 Received: by mail-pf1-x42c.google.com with SMTP id c139so3860201pfc.2 for ; Thu, 28 Jul 2022 23:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=XgeX3XnT5WBpuEgZLX66z0I7CZiFg77ndnyMBXpoMFM=; b=L49tjlta5YcVdfglek6YbSPAKHao7wZuXpA/bF5ihPzcFby3Wg89z/G3DWRP3L2ErL UrMpcXRW/ZaWVKXERnixPAWU+TBDoLUAUzOgzr6QBovVglmD3/IYRz7cgAcxzx2Or+Iq 7//Z1lEclYT5NiD+svtmAHlnYeb09hrZTSnvqqPY1jh8Hk5laqTb+SfHGRoF0pWmrcs9 VIUtzReMwLvpkSHl6RpqdMkWdQ2rIxKGhR4sZr5vSscyoA5ssPMWEoXYUUR5TcP9TLdn rAABpCKNelCheuZo0OfAkaEToF8qg2mUwUFZ/y1jFWw6nT2S/uDdsE8A31z4r9yj4qMJ tRzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=XgeX3XnT5WBpuEgZLX66z0I7CZiFg77ndnyMBXpoMFM=; b=OG1ghoP/NJcWCTNFm/Vz6Zh43mUYGkjJ7HV/lMyV0TL1IIHMpnmgtCkowUTnZTVzZ0 WJc6Wzdpv5Y+vDyrRyPoEWTIT7iXVSPcQ3Ic7DioCkb5KqO2pgIYkJtB6urQYo2S+xy8 nDtlyZAtKq8ZvfH4VnfbpPYPNGCvfkYR3yib8kpezcMwAR5nETqxBEyfRjMGVJHgzfIl 2hn5hizw9cGcKhsO99nLjhLr8I4m2hKcaNgcASVbmMfj0iFBuBZjQc8jF/NYhxxZFLXB BGd/lP7NFz6Q1XPnJuqQMSk0lmSRwfy4sxj1Mq52tKD2uLYcoK5hRxWR3OIgBw7susny j+FA== X-Gm-Message-State: AJIora+F1/dnk/rqz2YrWDj9t0YOWoRV7adbKCzI3z7kLm5GnGeVwHAN qClSDZ/SL49ITzACT+ZlxDG7ENoNv7oEIlJetPROslrs X-Google-Smtp-Source: AGRyM1tqev0x0kyiKsKbcu6tfLNuYBEWyAfcgoT/oJGJ2iyleUkRk0Gb6bEu22YYpG6LqlTXRlmcSM3clZDmJGBxUig= X-Received: by 2002:a63:4d66:0:b0:419:8648:194c with SMTP id n38-20020a634d66000000b004198648194cmr1919823pgl.32.1659077259197; Thu, 28 Jul 2022 23:47:39 -0700 (PDT) MIME-Version: 1.0 From: Tom Gillespie Date: Thu, 28 Jul 2022 23:47:27 -0700 Message-ID: Subject: [PATCH] ol-man.el (org-man-open): Set window point not buffer point To: emacs-orgmode Content-Type: multipart/mixed; boundary="000000000000b09f7b05e4ec06a3" Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=tgbugs@gmail.com; helo=mail-pf1-x42c.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, 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=1659077359; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XgeX3XnT5WBpuEgZLX66z0I7CZiFg77ndnyMBXpoMFM=; b=XvF0bIZnC4cL9sZ8InUknZE4Xy+F8/9ZnM8FdW/CdiKLzlYL1zDnjtQwkqqCZJ8dc1zeAF 9WMzHCLkxp0WXkX0HOEwf6AvvbhgrDIBS33g2cQjfvj5JvmyjT5tTo/4UBcpZYSt3PC0AP xVU48qR57d6qnRAORFTG4oPz9jy00C1InbZhXEr4OOintPCccxKazzCSDYIYU5ufWBUq3n mBQaarzJd0UhM9nZOobYEq6rAnFCBS2o0kwnHdrJaU+RGjys/j3PZRfZAwRIHR+tx/vTMR pLdoz+B8wGgi8GTg/ECmV//l0Hu8q1VcLQI/LYV7Xi+vor7A9YxbW+eB+c90oA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659077359; a=rsa-sha256; cv=none; b=df3ZUmbSrIACB+GXaqyC+RV7+iBr4vW0WseVcJrtM9wLwg+kfSq+MU1g4oKZrrB9bg9/6Y YEGf0Qf78Y3FBXT4N67jFAjurpygIYy+p14aO0OYM9KLwwvIcnjTvGoBcX47Nqx9abnXy+ E8aF5Ig6zvsutyyWLtLQJRJIdPN9pKEHteVm4Fa1CVgOsOeVC5RQ7ZdEsqtaKc4T6rPhi7 bhiYFqBhhhfqFrV/YB4us68mBCnM8tFd4vo7eY2E/CucXOi2RGwyisbsXb4XVsA888bn76 QfaSuZ6Z4SpMy9lJB9QTUC2jFrUK9mxxS0lK4QPkXeQwTLZL+UDDtf0XOBlY7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=L49tjlta; 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: -6.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=L49tjlta; 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: AD84D21955 X-Spam-Score: -6.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: L4CYXUyxy+Po --000000000000b09f7b05e4ec06a3 Content-Type: text/plain; charset="UTF-8" Here's a patch to fix the follow behavior for ol-man links so that the ::SEARCH functionality will actually work. Best! Tom --000000000000b09f7b05e4ec06a3 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-ol-man.el-org-man-open-Set-window-point-not-buf.patch" Content-Disposition: attachment; filename="0001-lisp-ol-man.el-org-man-open-Set-window-point-not-buf.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l663oodu0 RnJvbSAyYzNlM2I5OTRmZDdiNDdhNmU5MWQxNDdkMmIxZjA4Y2Q5N2ExOTA4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUb20gR2lsbGVzcGllIDx0Z2J1Z3NAZ21haWwuY29tPgpEYXRl OiBUaHUsIDI4IEp1bCAyMDIyIDIzOjMzOjIyIC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gKiBsaXNw L29sLW1hbi5lbCAob3JnLW1hbi1vcGVuKTogU2V0IHdpbmRvdyBwb2ludCBub3QgYnVmZmVyCiBw b2ludAoKV2hlbiBwYXNzZWQgbWFuOnBhdGg6OlNFQVJDSCBvcmctbWFuLW9wZW4gdHJpZXMgdG8g dXNlIHNlYXJjaC1mb3J3YXJkCnRvIGp1bXAgdG8gdGhlIGxvY2F0aW9uIG9mIGUuZy4gYSBoZWFk aW5nLiBQcmlvciB0byB0aGlzIGZpeCBpdCBvbmx5CnVzZWQgc2VhcmNoLWZvcndhcmQsIHdoaWNo IHdpbGwgbm90IGNoYW5nZSB0aGUgcG9pbnQgb2YgdGhlIGN1cnNvciBpbgp0aGUgd2luZG93LCBt ZWFuaW5nIHRoYXQgZXZlb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XRoLWN1cnJlbnQtYnVmZmVyIChjb25jYXQgIipNYW4gIiBj b21tYW5kICIqIikKLQkoZ290by1jaGFyIChwb2ludC1taW4pKQotCShzZWFyY2gtZm9yd2FyZCBz ZWFyY2gpKSkpKQorICAgICAgKHdpdGgtY3VycmVudC1idWZmZXIgYnVmZmVyCisgICAgICAgIChn b3RvLWNoYXIgKHBvaW50LW1pbikpCisgICAgICAgICh1bmxlc3MgKHNlYXJjaC1mb3J3YXJkIHNl YXJjaCBuaWwgdCkKKyAgICAgICAgICAoc2xlZXAtZm9yIDAuNzUpIDsgYXN5bmMsIGNhbid0IGJs b2NrLCBubyBjYWxsYmFjaworICAgICAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1pbikpCisgICAg ICAgICAgKHNlYXJjaC1mb3J3YXJkIHNlYXJjaCkpCisgICAgICAgIChwcmV2aW91cy1saW5lKQor ICAgICAgICAobGV0ICgocG9pbnQgKHBvaW50KSkpCisgICAgICAgICAgKGxldCAoKHdpbmRvdyAo Z2V0LWJ1ZmZlci13aW5kb3cgYnVmZmVyKSkpCisgICAgICAgICAgICAoc2V0LXdpbmRvdy1wb2lu dCB3aW5kb3cgcG9pbnQpCisgICAgICAgICAgICAoc2V0LXdpbmRvdy1zdGFydCB3aW5kb3cgcG9p bnQpKSkpKSkpCiAKIChkZWZ1biBvcmctbWFuLXN0b3JlLWxpbmsgKCkKICAgIlN0b3JlIGEgbGlu ayB0byBhIFJFQURNRSBmaWxlLiIKLS0gCjIuMzUuMQoK --000000000000b09f7b05e4ec06a3--