From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76720 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.gnus.general,gmane.emacs.bbdb.user Subject: gnus-article-prepare-hook and friends Date: Mon, 14 Feb 2011 18:03:34 +0100 Message-ID: <87mxlymtuh.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297703042 31732 80.91.229.12 (14 Feb 2011 17:04:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 17:04:02 +0000 (UTC) To: ding@gnus.org, bbdb-info@lists.sourceforge.net Original-X-From: ding-owner+M25062@lists.math.uh.edu Mon Feb 14 18:03:57 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp1q8-0001IH-TB for ding-account@gmane.org; Mon, 14 Feb 2011 18:03:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pp1pz-0002KA-4Z; Mon, 14 Feb 2011 11:03:47 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pp1px-0002Jq-Lb for ding@lists.math.uh.edu; Mon, 14 Feb 2011 11:03:45 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pp1pw-0003wp-Ht for ding@lists.math.uh.edu; Mon, 14 Feb 2011 11:03:45 -0600 Original-Received: from mail-yi0-f44.google.com ([209.85.218.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pp1pv-0005mQ-K2 for ding@gnus.org; Mon, 14 Feb 2011 18:03:43 +0100 Original-Received: by yie19 with SMTP id 19so2321992yie.17 for ; Mon, 14 Feb 2011 09:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=/Sp4FBhdgbcmQpNFfigjDxQmp0/nlZzK7Snjz8ZA41E=; b=fipEFYFPoBF7sq3UHt0PogWoKCO6k1j7SxNvDU3i1kl5grOpm/rDLh6lo+qTC3tWg1 RNFg47eTK0aUro3Nb5fAByBtsJGOhu7V/Yc2Og6GJS9h7Ag6StTXZUbbwseKSLHdpNBB xIaN9jfuSXphxlLu0K90Eqw7mS2h93eZR+JlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=xckKVMZS9/jFM3VDxND3AjPmlJj2zXJw5DZozJHOveVjqcXgJ/9hhswhmHnAebzAo0 Xm9Tbm7MohG7s4T/rvkN1iGTB5mh25JJdkh41nHSuq79fVy8bNggaEmHoTyHk0EPnaoD nFTSQySeLTTznKFJLwYB5OkDcsabh7s1uL2fY= Original-Received: by 10.150.133.17 with SMTP id g17mr1209271ybd.290.1297703017262; Mon, 14 Feb 2011 09:03:37 -0800 (PST) Original-Received: from lambda (portable40.ceremade.dauphine.fr [193.48.71.40]) by mx.google.com with ESMTPS id c7sm359301yhh.41.2011.02.14.09.03.35 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 09:03:36 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76720 gmane.emacs.bbdb.user:2490 Archived-At: Hi, On name mismatches, with bbdb-accept-name-mismatch set to nil, BBDB prompts whether the user wants to change the name of the contact. But point is then at the end of the buffer, which is not that convenient for reviewing the message. The code is called from gnus-article-prepare-hook. There doesn't seem to be any other hook available where the article would be pretty enough for bbdb to do its stuff. Old manuals ( for instance http://www.chemie.fu-berlin.de/chemnet/use/info/gnus/gnus_6.html ) referred to gnus-article-display-hook, what happened to it? What hook should BBDB call to get the final view of an article? Antoine