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.bugs Subject: bug#45178: buffer-hash docstring should explain difference to secure-hash Date: Fri, 11 Dec 2020 10:40:34 -0600 Message-ID: References: <87mtyk8h8y.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6658"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45178@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 17:41:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1knlTh-0001aE-MS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 17:41:09 +0100 Original-Received: from localhost ([::1]:44962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knlTg-0001ey-Kj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 11:41:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knlTa-0001eb-Am for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 11:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knlTa-0008Ha-2e for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 11:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knlTZ-0003of-VP for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 11:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Dec 2020 16:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45178 X-GNU-PR-Package: emacs Original-Received: via spool by 45178-submit@debbugs.gnu.org id=B45178.160770484214628 (code B ref 45178); Fri, 11 Dec 2020 16:41:01 +0000 Original-Received: (at 45178) by debbugs.gnu.org; 11 Dec 2020 16:40:42 +0000 Original-Received: from localhost ([127.0.0.1]:42767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knlTF-0003ns-VU for submit@debbugs.gnu.org; Fri, 11 Dec 2020 11:40:42 -0500 Original-Received: from mail-pj1-f49.google.com ([209.85.216.49]:52444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knlTE-0003nf-Fm for 45178@debbugs.gnu.org; Fri, 11 Dec 2020 11:40:41 -0500 Original-Received: by mail-pj1-f49.google.com with SMTP id v1so2452412pjr.2 for <45178@debbugs.gnu.org>; Fri, 11 Dec 2020 08:40:40 -0800 (PST) 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=YgUuN7rXAl0dhyijgMwSYGKNjMEJsIMghff3+FZ1Fqc=; b=lM+rgRlAwBjWj0t+y/pOpoaVr5n2/t0PG3n6C4XtuaEow0AXNUBDSbNcnpYqC47eSN AI0wa1wBl9JGvc6LM3+v0SmQxY45GThf45l09EmL6mUpM5uOc4Yje2qF76KG4EmZDoVc CsrMyqy32TsQ2LQw4+XGJ6GdMwh5zo+vFswmU5kqM4HvyVe1rCT3f2RveYmy4J/BKOxq OMvZC177gwobruBsFe8xdsuIwR7iwBsBy3TRPts4ghcgatyFk3fP9yubY8a0BQjHJH9u Fi1097LotsIwirRCWfE0rbWMzL+ixARKb7NP2MQ78gYvL4dPtSuSWi51AyLxFVvR4atU lVoQ== X-Gm-Message-State: AOAM5308D6P9hVPwvACskcGWSW5rxqTuC6FSNqhOOsWJs00BRQOy6nEJ T4Hazkb4MOTCAc0O8W9nsSuwVtTjOqVqD8x+Vnc= X-Google-Smtp-Source: ABdhPJy/SsTqw60DNErvjbPwx42BSjvlrobIqrn4ZLZxCT6QsKTPVW/mJh7/qsSuEU+NzKBJ9TNuLAasASpxKwDxxYA= X-Received: by 2002:a17:90b:100e:: with SMTP id gm14mr5603917pjb.179.1607704834623; Fri, 11 Dec 2020 08:40:34 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 11 Dec 2020 10:40:34 -0600 In-Reply-To: <87mtyk8h8y.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195786 Archived-At: Lars Ingebrigtsen writes: > The only use case for the function is to compare two buffers in the same > running Emacs image. It shouldn't be used for anything else. I guess what I don't understand is why I would _ever_ want to use this function. I mean, why not just compare buffers using `secure-hash'?