From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Okam Newsgroups: gmane.emacs.help Subject: Command `vc-annotate' runs `help-mode-hook'? Date: Tue, 13 Oct 2020 01:10:27 +0000 Message-ID: Reply-To: Okam Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38758"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 13 03:15:15 2020 Return-path: Envelope-to: geh-help-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 1kS8uJ-0009yF-09 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Oct 2020 03:15:15 +0200 Original-Received: from localhost ([::1]:40398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kS8uI-0003P2-19 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 21:15:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kS8ps-0007hE-DK for help-gnu-emacs@gnu.org; Mon, 12 Oct 2020 21:10:40 -0400 Original-Received: from mail-02.mail-europe.com ([51.89.119.103]:34860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kS8po-0001Mn-Lp for help-gnu-emacs@gnu.org; Mon, 12 Oct 2020 21:10:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1602551430; bh=j0RSduNutKkXtToNraSIb9M1BF441L8sV0SZVWCDVN0=; h=Date:To:From:Reply-To:Subject:From; b=xewnE+O6OZsnOcjEajsbapS5r5+jZ8Sw697R1V4G5wZS9DZ5X5afyEAwQtMsXLfmz w0GL7rpbKT9NGJZXXOsCBzGDboPPrZIv7tRK2LROjkYeCSMIm+H+XPEhQbE1Gi7Hm7 RgM4lPPw3FHpMdzttcefyk/osCJJLoPRCPrbDZL4= Received-SPF: pass client-ip=51.89.119.103; envelope-from=okamsn@protonmail.com; helo=mail-02.mail-europe.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/12 20:32:52 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124443 Archived-At: Hello, I was trying to add a function to `help-mode-hook' to automatically=20 rename the "*Help*" buffer. I found that the command that `vc-annotate'=20 was running this hook, and so breaking when the buffer was renamed=20 before the command completed. Why does `vc-annotate' run `help-mode-hook', and is there a good way of=20 detecting this and similar cases? Thank you, Okam