-
- Downloads
Major code cleanup.
I have made lots of changes, including transitioning most data structures to use def-komtype, removing functions that weren't used (there are several left), removing almost all the remaining who-buffer remnants and generally messing with things. Chances are I broke something. I haven't figured out what yet, but do let me know if you spot anything. Detailed changes: > * I have cleaned up all over the place. There are no ChangeLog > entries for most of the changes. Changes include: converting types > to use def-komtype; removing who-buffer code; removing who-info > cache; removing dead code; removing commented-out code. > > * mship-edit.el (lp--hide-memberships-by-date): Call > lyskom-read-date. > > Code cleanup: > * prefetch.el (lyskom-prefetch-whobuffer-handler): Commented out > the code since thw who buffer is gone. > > * commands2.el (kom-bury): Removed who-buffer code. > > * cache.el: Removed who-info cache. > > * async.el (lyskom-parse-async): Removed who-buffer code. > (lyskom-parse-async): Don't cache who info. > > * filter-edit.el (filter-entry): Redefined using def-komtype. > > * komtypes.el (conf-no-list): Redefined using def-komtype. > > * prioritize.el (prioritize-entry): Redefined using def-komtype. > > * clienttypes.el: Removed format-props and who-buffer-related > types. > > * lyskom-rest.el (lyskom-format-aux-help): Removed something about > format-props, which aren't used anywhere. > > * komtypes.el,deferred-insert.el,clienttypes.el,mship-edit.el,names.el, > regexp.el,tree-edit.el: Rewrote all uses of def-komtype. Defined > more datatypes using def-komtype. Removed unused functions. > > * clienttypes.el (format-state): Renamed argl to args, since > that's what we actually use. > (format-state): Converted to new def-komtype syntax. > > * lyskom-rest.el (lyskom-membership-highest-index): Unused. > Removed. > > * komtypes.el (def-komtype): Added support for &optional in the > arg list and for default values. > (privs): Re-implemented with def-komtype. > (pers-stat): Ditto. > (text-stat): Ditto. > (conf-stat): Ditto. > (flags): Ditto. > (map): Ditto. > (membership): Ditto. > (conf-list): Ditto. > (text): Ditto. > (misc-info): Ditto. > (mark): Ditto. > (lyskom-create-who-info): Ditto. > (session-info): Ditto. > (conf-type): Ditto. > (server-info): Ditto. > (version-info): Ditto. > (conf-z-info-list): Ditto. > > * deferred-insert.el (defer-info): Re-implemented with > def-komtype. > > * language.el (lyskom-string-check-category): Unused. Removed. > > * async.el (lyskom-show-changed-person): Unused. Removed. > > * utilities.el (lyskom-set-face-foreground): Unused. Removed. > (lyskom-set-face-background): Unused. Removed. > > * lyskom-buttons.el (lyskom-set-default-button-action): Unused. > Removed. > > * startup.el (lyskom-print-name): Unused. Removed. > > * lyskom-buttons.el (lyskom-menu-selection): Unused. Removed. > > * aux-items.el (lyskom-map-aux-items): Unused. Removed. > > * view-text.el (lyskom-fetch-author-for-cache): Unused. Removed. > > * utilities.el (lyskom-emacs-version): Unused. Removed. > > * view-text.el (lyskom-fetch-text-for-cache): Unused. Removed. > > * utilities.el (lyskom-face-resource): Unused. Removed. > (lyskom-modify-face): Unused. Removed. > > * startup.el (lyskom-extract-persons): Unused. Removed. > (lyskom-extract-confs): Unused. Removed. > (lyskom-do-extract-persons-or-confs): Unused. Removed. > > * edit-text.el (lyskom-edit-goto-char): Unused. Removed. > (lyskom-edit-on-aux-item): Unused. Removed. > > * utilities.el (lyskom-background-mode): Unused. Removed. >
Showing
- src/ChangeLog 99 additions, 0 deletionssrc/ChangeLog
- src/async.el 7 additions, 55 deletionssrc/async.el
- src/aux-items.el 0 additions, 16 deletionssrc/aux-items.el
- src/cache.el 0 additions, 186 deletionssrc/cache.el
- src/clienttypes.el 31 additions, 234 deletionssrc/clienttypes.el
- src/command.el 0 additions, 6 deletionssrc/command.el
- src/commands1.el 4 additions, 49 deletionssrc/commands1.el
- src/commands2.el 3 additions, 59 deletionssrc/commands2.el
- src/completing-read.el 17 additions, 16 deletionssrc/completing-read.el
- src/deferred-insert.el 10 additions, 32 deletionssrc/deferred-insert.el
- src/edit-text.el 4 additions, 18 deletionssrc/edit-text.el
- src/english-strings.el 0 additions, 34 deletionssrc/english-strings.el
- src/feature.el 1 addition, 0 deletionssrc/feature.el
- src/filter-edit.el 7 additions, 38 deletionssrc/filter-edit.el
- src/filter-new-edit.el 9 additions, 10 deletionssrc/filter-new-edit.el
- src/filter-new.el 6 additions, 9 deletionssrc/filter-new.el
- src/filter.el 1 addition, 4 deletionssrc/filter.el
- src/help.el 2 additions, 0 deletionssrc/help.el
- src/internal.el 0 additions, 24 deletionssrc/internal.el
- src/komtypes.el 381 additions, 1722 deletionssrc/komtypes.el
Loading
Please register or sign in to comment