Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7868499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:01:16+00:00 2026-06-03T01:01:16+00:00

I am using Emacs 23.4 on OS X (from http://emacsformacosx.com/ ). My ~/.emacs file

  • 0

I am using Emacs 23.4 on OS X (from http://emacsformacosx.com/). My ~/.emacs file contains:

(load "/path/to/haskell-site-file")

(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)

(require 'speedbar)
(speedbar-add-supported-extension ".hs")

(add-to-list 'load-path "/usr/local/share/ghc-mod-1.10.15")
(setq exec-path (append exec-path '("/usr/local/bin")))
(autoload 'ghc-init "ghc" nil t)
(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))

When I invoke Speedbar with M-x speedbar I do get a speedbar frame which shows Variables, Imports, Instances and Datatypes for the Haskell file. But when I edit the Haskell file, the speedbar frame does not refresh to reflect the edits to the file. I tried invoking the Speedbar > Update menu, but that did not do the trick. How do I update the speedbar frame?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:01:18+00:00Added an answer on June 3, 2026 at 1:01 am

    Speedbar uses imenu by default to fetch tags from your buffer, and imenu is very lazy about reparsing your buffer. In addition, once speedbar has a list of tags, it keeps using that list until you ‘close’ the file. Next time you open the file like to see the tags, it will refetch tags from imenu (or whichever tool you are using for tags.)

    Since imenu is even lazier than speedbar, you can use a speedbar shift-click to re-open a file, and speedbar will force imenu to reparse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using the emacs binary from http://emacsformacosx.com/ When I'm editing a file in a
I am using the mac emacs from http://emacsformacosx.com/ , and I need to click
How can I stop Emacs (Cocoa OSX, version 24.0.91 from http://emacsformacosx.com/builds ) making noise
i want to copy the entire contents of a file using emacs copy mode
I have emacs 23.3.1, running on windows. php-mode 1.5 from http://php-mode.sourceforge.net/ , Modified: 2008-11-04
Im using the pastie.el file located at http://www.emacswiki.org/emacs/download/pastie.el . This is supposed to help
I'm using OSX snow leopard, for the record. When I use emacs straight from
I'm using emacs tramp mode to remotely edit files over ssh. The problem is
I am now using Emacs 23 with visual-line-mode turned of for text editing but
I'm using Emacs with clojure mode and slime connected to a swank server produced

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.