Posts

Showing posts with the label speedbar

Emacs: Binary File Viewer

Image
  Quick visualization tool for Binary data using C header definition. Semantic parses the C header file and generates a type definition. The type definition is passed to bindat-unpack along with the binary data. The result is displayed using speedbar . ;; Note: The command works on the binary data in the current buffer.   M-x hexl-form   (hexl-form)      The image shows the example included in the commentary section of bindat.el .   Conversions (format "%02X" 255) ;; => "FF" (string-to-number "FF" 16) ;; => 255   ;; Little endian unpacking (let* ((bindat-raw [1 2 3 4 5 6 7 8])           (bindat-idx 0))   (bindat--unpack-u64r))   ;; Little endian packing (let* ((bindat-raw [0 0 0 0 0 0 0 0])           (bindat-idx 0))   (bindat--pack-u64r #x0102030405060708)   bindat-raw)      Insert Binary Data Emacs creates a multibyte buffer ...

GNU Emacs as a lightweight IDE (Outline view)

Image
Semantic tag outline display uses speedbar . The implementation is in semantic/sb.el . Speedbar also supports generic lists.  A generic list is of the form:  ( ("name" . marker-or-number)                <-- one tag at this level    ("name" marker-or-number goto-fun . args)  <-- one tag at this level    ("name" ("name" . mon) ("name" . mon) )    <-- one group of tags    ("name" mon ("name" . mon) ) )               <-- group w/ a position and tags    Java Ant build.xml C outline CSS outline HTML outline Latex outline Elisp outline Makefile outline Java Maven pom.xml outline Java Maven pom.xml outline 2 SQL outline Java outline