all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuchen Pei <id@ypei.org>
To: Emacs Devel mailing list <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: luwak
Date: Fri, 21 Oct 2022 23:50:38 +1100	[thread overview]
Message-ID: <87h6zx7335.fsf@ypei.org> (raw)
In-Reply-To: <Y1J6fxSXQru9PvuT@protected.localdomain> (Jean Louis's message of "Fri, 21 Oct 2022 13:54:55 +0300")

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: #<buffer *luwak*>, 0, 71
> error in process sentinel: Args out of range: #<buffer *luwak*>, 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: #<buffer *luwak*>, 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
          <https://ypei.org/assets/ypei-pubkey.txt>



  reply	other threads:[~2022-10-21 12:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-21  1:05 [ELPA] New package: luwak Yuchen Pei
2022-10-21  3:26 ` Jean Louis
2022-10-21  3:44   ` Yuchen Pei
2022-10-21  7:03     ` Jean Louis
2022-10-21  9:53       ` Yuchen Pei
2022-10-21 10:54         ` Jean Louis
2022-10-21 12:50           ` Yuchen Pei [this message]
2022-10-21 10:55         ` Jean Louis
2022-10-21 12:51           ` Yuchen Pei
2022-10-25 19:09 ` Stefan Monnier
2022-10-26  1:53   ` T.V Raman
2022-10-26  5:52     ` Stefan Kangas
2022-10-30 11:16   ` Yuchen Pei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6zx7335.fsf@ypei.org \
    --to=id@ypei.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.