Article View: gnu.emacs.vm.bug
Article #821Re: vm-select-message-hook run before vm-visit-folder-hook
From: Kevin Rodgers
Date: Mon, 06 Oct 2003 15:25
Date: Mon, 06 Oct 2003 15:25
20 lines
1595 bytes
1595 bytes
Kyle Jones wrote: > Kevin Rodgers <ihs_4664@yahoo.com> wrote: > > (add-hook 'vm-visit-folder-hook 'foo-init) > > (add-hook 'vm-select-message-hook 'foo-update) > > > > I found out by debugging both foo-init and foo-update that when I visit > > a folder, foo-update is called (during preview) before foo-init, which > > doesn't seem right to me. > > Try using vm-mode-hook instead of vm-visit-folder-hook. The > latter is intentionally run as late as possible. I'll think > about moving vm-visit-folder-hook forward, but right now I'm > inclined to leave it as is. OK, thanks! -- Kevin Rodgers
Technical Details
Message-ID:
<3F818978.3010509@yahoo.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mailReferences:
<3F7DE7A4.5010000@yahoo.com> <vnsjldefd8in98@corp.supernews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,9c683e0c954de478 X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 2003-10-06 08:25:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail From: Kevin Rodgers <ihs_4664@yahoo.com> Newsgroups: gnu.emacs.vm.bug Subject: Re: vm-select-message-hook run before vm-visit-folder-hook Date: Mon, 06 Oct 2003 09:25:44 -0600 Lines: 21 Message-ID: <3F818978.3010509@yahoo.com> References: <3F7DE7A4.5010000@yahoo.com> <vnsjldefd8in98@corp.supernews.com> NNTP-Posting-Host: 170.207.51.80 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1065453943 16850402 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us