From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuchen Pei Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: luwak Date: Fri, 21 Oct 2022 23:50:38 +1100 Message-ID: <87h6zx7335.fsf@ypei.org> References: <877d0u7zqd.fsf@ypei.org> <871qr196ya.fsf@ypei.org> <87o7u57bad.fsf@ypei.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12348"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: Emacs Devel mailing list Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 21 14:54:51 2022 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 1olrY2-0002u5-3L for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Oct 2022 14:54:51 +0200 Original-Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olrY0-0000do-M7 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Oct 2022 08:54:48 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olrUH-0006Xb-5J for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Oct 2022 08:50:57 -0400 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 1olrUC-0006W8-8u for emacs-devel@gnu.org; Fri, 21 Oct 2022 08:50:52 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olrUA-0004f3-9F for emacs-devel@gnu.org; Fri, 21 Oct 2022 08:50:52 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0A9A95C0143 for ; Fri, 21 Oct 2022 08:50:47 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 21 Oct 2022 08:50:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ypei.org; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1666356647; x=1666443047; bh=WythM5LYYr wuUat9BMpt+Ab8q4eyciPa2ylHgfN1FgU=; b=xn9hmV2ftisynqrOlFXfP/sG9t Tr8H1+2VFexV/cbxfhRZjcpi7Cl2+xcB722eR6eBrKcXhYu03FPRVl77BltqMurb 5AfOHVjvAsdoo8BmhZhr2eGQk9aFYVR6NBjIlncrBL3nAKmxuch2aWiYyL6h4oLI 7/575EdgthMWY8U9fAC29Vxp9oXLnBQZn2lDDxUP7yyaphHY0un2QD6F8UqqGc68 YBjVK7XI//vJmYOjHjs8VtEsfJwRErKoNXH6IcPZ7Z1XJzesQQ7Mn1KG0preRtNT EqkYQrO94v6PLCIwo5+kItiuQFhp+INFN09ZC3CMBSX6o5974SMlOU2cmtcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1666356647; x=1666443047; bh=WythM5LYYrwuUat9BMpt+Ab8q4ey ciPa2ylHgfN1FgU=; b=WxnuWPaBTgVIOGybylP1SoF+qeSKcddYhk5mUod/3VFe /dKr2u3WtPPN0JM19Tbwei/pKJsYHq4PjmL/P6+LyXAl+Xc37yRr78QVwq+nlntq nkdG6ChvTOr6axh0EVeKIXyhCyFjEMgFzfcDOBzGG9PaiYgjx153D1BEM+N+FavV bMOPwj9yZXjo44lVa+VpFYt+9dzxROP9g2pqmu5OSXwxp9RtKaEfelNGd3If2dU7 z/KLL2TeOZmFJnSIfWxYIh/vsPn30OAGjT5Xsq5VmRZA9bkkoo4ECggbuPFeUtU7 2kvf2WQxCLkF4iRbB1sB6BBhh3HD2i2ua1eWQ8OJlA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeelkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpegjuhgthhgv nhcurfgvihcuoehiugeshihpvghirdhorhhgqeenucggtffrrghtthgvrhhnpeeiveffie efteegvefhgedvleefueejffduheffleeftdduveehhffhgfevjeffleenucffohhmrghi nheptgholhhoshhtrghtvgdrvgguuhdpughutghkughutghkghhordgtohhmpdihphgvih drohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehiugeshihpvghirdhorhhg X-ME-Proxy: Feedback-ID: i51b146f9:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 21 Oct 2022 08:50:44 -0400 (EDT) In-Reply-To: (Jean Louis's message of "Fri, 21 Oct 2022 13:54:55 +0300") Received-SPF: pass client-ip=66.111.4.29; envelope-from=id@ypei.org; helo=out5-smtp.messagingengine.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_DOTEDU=1.999 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:298217 Archived-At: Hello, Thanks a lot for the detailed instruction on how to reproduce the bug. On Fri 2022-10-21 13:54:55 +0300, Jean Louis wrote: > > [5]Basic Emacs Editor Commands - Colorado State University > > [6]www.cs.colostate.edu/helpdocs/emacs.html > [7]What is Emacs? Emacs is another editor available in UNIX. Like vi , > emacs is a screen editor. Unlike vi, emacs is not an insertion mode > editor, meaning that any character typed in emacs is automatically > inserted into the file, unless it includes a command prefix. > > Then I press enter on [5] > > Then I see: > > Loading https://duckduckgo.com/l/?uddg=https://www.cs.colostate.edu/helpdocs/emacs.html&rut=f525d859acb76aae4e7e78fd2958fbc0d33a10e5351f3a61f9e68a85f9c71a6d... Done. > error in process sentinel: save-excursion: Args out of range: #, 0, 71 > error in process sentinel: Args out of range: #, 0, 71 Good catch. It is a bug: luwak cannot guess the title as all lines were indented. I've pushed a fix. > > and then new buffer opens: > > REFRESH(0 sec): [1]https://www.cs.colostate.edu/helpdocs/emacs.html This is an example where a url rewrite function would be handy to save one click. I just added an example rewrite function that does exactly this (luwak-rewrite-ddg-result). You can do (setq luwak-url-rewrite-function 'luwak-rewrite-ddg-result) to have it in effect. > > and buffer is empty > > I need to wait, then something appears and I need to click on that > link, then I get: > > error in process sentinel: Args out of range: #, 0, 29 Same problem as the previous "error in proces sentinel" error. Best, Yuchen -- PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0