From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] EWW - use revert--buffer-function to reload, and allow reload in eww-list-buffer Date: Fri, 20 Sep 2024 10:43:03 -0700 Message-ID: <30fbc38f-2b86-55c2-a4f3-6c924d82aed8@gmail.com> References: <86jzgg5pgv.fsf@gnu.org> <86frqunwgu.fsf@gnu.org> <8d5956f2-545d-470d-8f61-59670570b868@app.fastmail.com> <86ikuyitc1.fsf@gnu.org> <86v7yq7sq9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?UTF-8?B?U2ViYXN0acOhbiBNb27DrWE=?= , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 20 19:43:27 2024 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 1srhfD-0006kZ-3F for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Sep 2024 19:43:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srheu-0003VS-8h; Fri, 20 Sep 2024 13:43:08 -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 1srhes-0003Uz-75 for emacs-devel@gnu.org; Fri, 20 Sep 2024 13:43:06 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srheq-0000Ib-Qk; Fri, 20 Sep 2024 13:43:05 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-206e614953aso24407865ad.1; Fri, 20 Sep 2024 10:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726854182; x=1727458982; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Sk96efcWFXr8oTYyD3r0zNd76HZJddQ/s30LvH6U+bQ=; b=M/41+2MaTXQjMHeD2+TfCygkNmef5JY80bZWfaDSgjd/iPKR5CSArOIfbLVy7N+45k kZtZcXhB1IgRqiIxy+AfOW71sUdbSR/TKTFRyU41rS5+zguz84WH7j42MM2QDY/v6Nqs Wh50+XNjZSVOGeI7A6sgWMhFYNCFM+4MqiUF2t546cQinXTw1FFFy0EV2DhqolFatmnA Dd99FQZPnUjnoiELkWCJnhNMBiuHUjmasbKnhURiENEsRzixRfUZ/LX3JTQNKR3CDdrL EEr2vPW6syUnU1JfvYYThUZX3mOG3wjxbGdMJML3bS2k5Kpb8ULaVV1hgg67WOpvEEtT waww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726854182; x=1727458982; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Sk96efcWFXr8oTYyD3r0zNd76HZJddQ/s30LvH6U+bQ=; b=XO0bY9t8fpAZJi4RZdgvUD3KoTLGPp7vdPfNXXaaI+dT6rHF9ELJ+D7yshiwJEi80d BijXgQby5WtlppIYBW3LUNtOw14LB+yQsROBrp1/OlKGGWIr4zKmcz7+dcBLSnKw4qEH pYKDxcuJalfXgiBtNHcl+NkDmk0gH93C0H2sGlxDmvuXrG0dDy9yatCcLEQU7xihRh3F j3XzC8yhZkUtl10r/um64cAY41oytrLC1EZKsmT4yO1e3pJfTXejC62uyFGzcsLIm8wh +b5aiZ4vcF0drDLv9xFeqExEIrnFvld1bxnzRACDqU+OzRQQ/aU3TRfvbjUMdlQS8PME HJqw== X-Forwarded-Encrypted: i=1; AJvYcCWSOv9OpCU80AGv5GtdDtSXqU9uJ+UzKclJ5QL10Oq3HoftMna57ohpGY+9PtbTggkPCjrK@gnu.org X-Gm-Message-State: AOJu0Yw2RxdhZj/0EyLYF+ErzLJPHVnYbbWuFT/MZd72HSG7SMILqlVd zYdZbpfqJ71m9tLKKelraKNLZLtgA32+MHLWEbWZhX5AWHV86+bn+DLlvA== X-Google-Smtp-Source: AGHT+IHkYwZSxWfdbw+h01rT+iYHuBycGcPZVeNCy1vfD9E2BufyIACtpQxb22L5cmLDb6BSwf8E3Q== X-Received: by 2002:a17:903:191:b0:207:1913:8bae with SMTP id d9443c01a7336-208d8397c1amr41046885ad.14.1726854182434; Fri, 20 Sep 2024 10:43:02 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-20794706f41sm97801205ad.215.2024.09.20.10.43.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Sep 2024 10:43:02 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x62a.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 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323855 Archived-At: On 9/20/2024 8:06 AM, Sebastián Monía wrote: > If not, I will convert it to tabulated-list (or vtable), only > disadvantage I see, is that it would change the internals of the buffer > list quite a bit. I don't expect anyone to rely on them, though. I think a tabulated list would be fine. Your other earlier suggestion of splitting 'eww-list-buffers' in three also makes sense to me though. Then one of the functions could be 'eww-buffer-list' (which returns a list of EWW buffers), just like how we have 'buffer-list' and 'list-buffers' in Emacs.