Stefan Monnier [Mon, 20 Apr 2015 01:28:01 +0000 (21:28 -0400)]
Squashed 'packages/gnorb/' changes from de3a512..321b23b
321b23b Remove gnus-interactive 3877b2d Still didn't have incoming-do-todo logic right de0dff5 Protection for message disassociation a55b0c0 Make gnorb-ids precious earlier in registry setup 806775c Wrap save-excursion around more of gnorb-org-view 982aee9 Adjust requires and autoloads 67ce358 Version 1.0.1, plus docs and NEWS 15b35dc Don't store a link to message we're replying to b82576c Always clear attachments during triggering 7a43d8b Bug in message disassociation c44a87b Deletion of associations when composing messages 6aef624 Restore the layout after the restore process 04ec3ab Fix logic of choosing heading to trigger de3182e Shift location of org-reveal during trigger process 14471db Silence compiler warnings for unbound vars aaf8556 Be a good citizen about the cl package ad1538d Autoload cookie for gnorb-tracking-initialize 8db194a Add TAGS to .gitignore 5688114 Bugfix: Adding mailtos to newly-setup messages e1fb666 Function for deleting all assocations of an Org heading d4a4ccf Better handling of non-existent Org headings 4b8a6da New function for removing message/heading association 1b56250 Change wording of disassociation message bfd8566 Be more careful about brackets on message-ids 1e071a0 Further refinements to link following 0a138f9 Reuse existing frames/windows when following links f0ba4d7 Improvements to message disassociation 2c0f43d Refinements to link extraction 35284f2 Add TODO for collecting BBDB messages by thread 2834602 Move roadmap/todo list from manual to README dd46ce4 Refactor finding trigger candidates 354705a Provide completion for Org tags on BBDB records
Stefan Monnier [Wed, 15 Oct 2014 21:38:21 +0000 (17:38 -0400)]
* packages/ada-mode: Miscellaneous cleanups.
* ada-mode/gpr-skel.el (skeleton-hippie-try): Don't quote error name.
* ada-mode/gpr-query.el (gpr-query-get-src-dirs, gpr-query-get-prj-dirs):
Avoid add-to-list on local vars.
(gpr-query-compilation): Use font-lock-ensure when available.
* ada-mode/gnat-inspect.el (gnat-inspect-compilation): Use
font-lock-ensure when available.
* ada-mode/gnat-core.el (gnat-prj-add-prj-dir)
(gnat-prj-parse-emacs-final, gnat-get-paths-1, ada-gnat-make-package-body):
Avoid add-to-list and `set' on local vars.
(gnat-get-paths-1): Don't quote error name.
* ada-mode/ada-wisi.el (ada-wisi-scan-paramlist): Avoid add-to-list on
local var.
* ada-mode/ada-skel.el (ada-skel-hippie-try): Don't quote error name.
* ada-mode/ada-mode.el (ada-format-paramlist): Fix typo.
(ada-case-read-exceptions, ada-case-add-exception, ada-prj-parse-file-1)
(ada-case-merge-exceptions): Avoid add-to-list on local var.
(ada-prj-parse-file-1): Avoid `set' on local var.
(cl-case): Don't quote alternatives.
* ada-mode/ada-gnat-compile.el (ada-gnat-fix-error): Avoid add-to-list on
local var. Simplify.
* ada-mode/ada-build.el (ada-build-prompt-select-prj-file): Remove
unused var `err'.
Stefan Monnier [Wed, 15 Oct 2014 21:07:03 +0000 (17:07 -0400)]
* packages/company/company-xcode.el (company-xcode-fetch): Avoid add-to-list
on local var.
* packages/company/company.el (company--window-height)
(company--window-width): Move before first use.
Stefan Monnier [Wed, 15 Oct 2014 20:47:38 +0000 (16:47 -0400)]
Miscellaneous cleanup.
* muse/muse-publish.el (muse-current-output-style): Declare.
* muse/muse-project.el (muse-project-set-variables): Only call
make-local-hook if it exists.
* muse/muse-html.el (muse-html-src-tag): Use font-lock-ensure
when available.
* muse/muse-project.el (muse-project-alist-get, muse-project-alist-set):
* muse/muse-blosxom.el (muse-blosxom-new-entry): Avoid add-to-list
on local var.
* muse/htmlize-hack.el: Require `cl' at run-time as well.
* muse/cgi.el (cgi-decode): Avoid `flet'.
Stefan Monnier [Wed, 15 Oct 2014 19:35:14 +0000 (15:35 -0400)]
* packages/debbugs/debbugs-org.el: Miscellanous cleanups.
(debbugs-org-search): Remove unused var `date-format'.
(debbugs-org-show-reports): Avoid add-to-list on local var.
* packages/debbugs/debbugs.el (debbugs-get-usertag, debbugs-search-est):
Avoid add-to-list on local var.
Stefan Monnier [Wed, 15 Oct 2014 19:32:23 +0000 (15:32 -0400)]
* packages/wcheck-mode/wcheck-mode.el (wcheck--program-executable-p):
Use executable-find.
(wcheck--language-data-valid-p): Use memq and give better diagnostics.
Stefan Monnier [Wed, 15 Oct 2014 19:30:03 +0000 (15:30 -0400)]
* packages/sml-mode/sml-mode.el (sml-smie-grammar): Add "withtype".
(sml-smie-rules): Use pcase.
(sml-smie-non-nested-of-p): Rewrite to avoid regexp and stay closer to point.
Stefan Monnier [Wed, 15 Oct 2014 19:15:59 +0000 (15:15 -0400)]
* scroll-restore.el (scroll-restore--set): New function. Use it as setter
instead of calling scroll-restore-restart.
(scroll-restore-restart): Remove.
(scroll-restore-mode): Add autoload cookie.
(scroll-restore-commands): Add scroll-up-command and scroll-down-command.
Stefan Monnier [Fri, 10 Oct 2014 18:25:00 +0000 (14:25 -0400)]
* packages/gnorb/gnorb.el: Mention dependency on cl-lib.
Require `bbdb' here, and not during compilation.
* packages/gnorb/gnorb-utils.el: Don't require `cl'.
Don't require `bbdb', in case it's not installed.
* packages/gnorb/gnorb-registry.el: Require cl-lib. Use cl-lib names.
* packages/gnorb/gnorb-org.el: Require cl-lib. Use cl-lib names.
* packages/gnorb: Fix up copyright and compilation.
* packages/gnorb/gnorb-bbdb.el: Require `cl-lib'. Use cl-lib names.
(bbdb-separator-alist, bbdb-xfield-label-list): Check before use.
company-create-match-predicate: Just replace the predicate
Building on the previous one is ridiculous, because the main use case is
company-search-mode, and any previous search string is a prefix of the current
one. With company-filter-candidates, it was especially wasteful.
In Emacs 24.1 and 24.2, kbd was a macro and not a function,
so that a call like (kbd (format ...)) would fail. Use
read-kbd-macro instead, which works for all Emacsen in 24.x.
* vlf-write.el (vlf-write): Profile, tune batch size and time
save when adjusting file content.
(vlf-file-shift-back, vlf-shift-batch, vlf-file-shift-forward)
(vlf-shift-batches): Profile and tune batch size.
* vlf-search.el (vlf-re-search): Auto tune batch size and
use outside progress reporter if provided.
(vlf-goto-match): Time search.
(vlf-re-search-forward, vlf-re-search-backward): Minimize search
overlap and restore batch size if search failed.
(vlf-goto-line): Profile operations, tune batch size and time
whole search.
* vlf-occur.el (vlf-occur-visit): Profile hexl operations.
(vlf-occur-other-buffer): New function.
(vlf-occur): Auto tune batch size.
(vlf-build-occur): Auto tune batch size and time whole occur.
* packages/vlf: Perform search, occur and ediff operations over
hexl content instead over raw data when hexl-mode is active.
Allow vlf-occur results be saved to file and later reused.
* vlf.el (vlf): Use minimal batch size on remote files or if
manually specified.
Remove hooks used to disable/enable hexl-mode.
* vlf-integrate.el (abort-if-file-too-large): Don't use vlf-mode
if file size is less than default batch size.
* vlf-base.el (vlf-batch-size): Increase default batch size.
(vlf-move-to-chunk-1, vlf-move-to-chunk-2): Restore hexl-mode if
has been active on start.
* vlf-write.el (vlf-write): Restore hexl-mode if active on start
and don't ask spurious questions.
* vlf-search.el (vlf-re-search): Search over hexl content in case
hexl-mode is active on start.
(vlf-goto-line): Don't optimize search in case hexl-mode is
active.
* vlf-ediff.el (vlf-ediff-files): Use minimal batch size before
applying specified.
(vlf-ediff-next): Ediff over hexl-mode content when active instead
over raw data.
* vlf-occur.el (vlf-occur-vlf-file, vlf-occur-vlf-buffer)
(vlf-occur-regexp, vlf-occur-hexl, vlf-occur-lines): New
variables.
(vlf-occur-mode-map): Add save binding.
(vlf-occur-mode): Hook custom save function.
(vlf-occur-next-match, vlf-occur-prev-match): Use
get-text-property instead of get-char-property.
(vlf-occur-visit): Activate hexl-mode if it has been used during
occur.
(vlf-occur, vlf-build-occur): Perform occur over hexl content if
hexl-mode is active on start.
(vlf-occur-save, vlf-occur-load): New commands.