Stefan Monnier [Wed, 14 Aug 2013 18:34:52 +0000 (14:34 -0400)]
Update infrastructure for Git.
* .gitignore: New file.
* .bzrignore: keep it as a symlink to .gitignore.
* externals-list: New file.
* admin/update-archive.sh: Use Git. Use make.log when running in batch.
Turn build/packages into an rsync-copy rather than a symlink. Use relative
file names.
(copyright_notices, check_copyright): Remove. Use new "make" rule instead.
* admin/archive-contents.el: Use lexical-binding and pcase.
(archive--revno-re): New const.
(archive-prepare-packages): New `srcdir' argument, so we can add the ChangeLogs
to a parallel tree to the Git working dir.
(archive--simple-package-p): Don't return the commentary any more.
(archive--process-simple-package): Remove `commentary' arg. Don't write out
the *-readme.txt file. Reduce stdout noise.
(archive--make-changelog): New arg `srcdir'. Use Git.
(archive--process-multi-file-package): Don't copy the readme.
(batch-make-site-dir, batch-make-site-package): Remove functions.
(archive--get-prop, archive--get-section, archive--quote)
(archive--insert-repolinks): New functions.
(archive--html-make-pkg): Include NEWS and obey "URL:" header. Generate the
*-readme.txt files here.
(archive--elpa-git-url): New constant.
(archive-add/remove/update-externals): New function.
Andrey Kotlarski [Tue, 13 Aug 2013 22:01:04 +0000 (01:01 +0300)]
* packages/vlf/vlf.el:: Version 0.9.1.
Add development repository URL.
(vlf-encode-size): New variable.
(vlf-adjust-chunk): Allow fluctuation when searching for proper
decoding. Save encoded size to `vlf-encode-size'.
(vlf-write): Use `vlf-encode-size' for expected encoding size.
(vlf-batch-size, vlf-start-pos, vlf-end-pos, vlf-file-size)
(vlf-encode-size): Move permanent declarations to top level.
(vlf-mode): Fix locality of `write-file-functions' hook.
(vlf): Use `set-visited-file-name'.
(abort-if-file-too-large): Make `vlf-if-file-too-large' around
advice.
(scroll-up, scroll-down): Use `derived-mode-p'.
(vlf-change-batch-size): Remove superfluous check.
(vlf-verify-size): New function.
(vlf-next-batch, vlf-move-to-batch, vlf-move-to-chunk)
(vlf-file-shift-back, vlf-shift-batch, vlf-shift-batches): Use
it.
(vlf-revert): Fix boolean condition and ignored variable naming.
(vlf-prev-batch): Style fix.
Stefan Monnier [Tue, 13 Aug 2013 14:35:49 +0000 (16:35 +0200)]
Merge with ELPA
(eldoc-display-message-no-interference-p): Turn it into an advice.elpa
(eldoc-active-minibuffers-list): Store buffers rather than buffer names.
Stefan Monnier [Tue, 13 Aug 2013 13:59:47 +0000 (09:59 -0400)]
* eldoc-eval.el (eldoc-display-message-no-interference-p): Force
old definition.
(eldoc-mode-in-minibuffer): Catch errors, run eldoc-in-minibuffer-show-fn
from the minibuffer.
Stefan Monnier [Fri, 9 Aug 2013 21:52:50 +0000 (17:52 -0400)]
* packages/auctex/tex.el (TeX--call-3/2): New auxiliary function.
(ConTeXt-Omega-engine, TeX-Omega-mode, TeX-source-specials-mode):
Use it to provide the obsolescence version when possible.
* packages/vlf/vlf.el: Version 0.9.
(vlf-end-pos): Default to 0.
(vlf): Set the major mode earlier.
(vlf-get-file-size): Make it into a function.
(vlf-re-search): Add `batch-step' argument.
(vlf-re-search-forward, vlf-re-search-backward): Use it.
(vlf-goto-line): Make it handle a negative arg.
(vlf-occur-show): New command.
(vlf-occur-mode-map): Bind it to `o'.
(vlf-occur-visit): Don't switch-to-buffer.
(vlf-occur): Protect against non-local exits.
(vlf-build-occur): Fix details.
(vlf-edit-mode-map): Bind standard map to C-v.
(vlf-discard-edit): Mark buffer as unmodified.
* packages/vlf/vlf.el: Version 0.8, Add occur-like functionality.
(vlf-occur-mode-map): New var.
(vlf-occur-mode): New major mode.
(vlf-occur-next-match, vlf-occur-prev-match, vlf-occur-visit, vlf-occur):
New commands.
(vlf-build-occur): New function.
(vlf-mode-map): Add `o' binding for vlf-occur.
* packages/vlf/vlf.el: Version 0.7
(vlf-goto-line): New command.
(vlf-mode-map): Bind it to `l'.
(vlf-mode): Don't affect the global value of revert-buffer-function.
(vlf, dired-vlf): Remove `from-end' argument.
(scroll-up, scroll-down): Add advice to auto-jump to the next batch
during scrolling.
(vlf-get-file-size): New macro.
(vlf-revert): Try and pay attention to the actual arguments.
(vlf-next-batch, vlf-prev-batch, vlf-move-to-batch, vlf-move-to-chunk)
(vlf-re-search, vlf-goto-match): Use position-bytes to try and match bytes
and chars.
(vlf-adjust-chunk): New function.
(vlf-file-shift-back): Disable undo. Don't mess with
buffer-file-coding-system, use coding-system-for-write instead.
(vlf-shift-batch): Check modtime.
(vlf-file-shift-forward): Simplify.
(vlf-shift-batches): Don't use an auxiliary buffer.
* packages/vlf/vlf.el: Version 0.6
(vlf-mode): Setup revert and file write.
(vlf-format-buffer-name): Change format to indicate the chunk numbers.
(vlf-insert-file): Remove unused arg `file'.
(vlf-beginning-of-file, vlf-end-of-file, vlf-jump-to-chunk): New commands.
(vlf-mode-map): Use them. Add a `j' binding.
(vlf-revert): New function.
(vlf-next-batch, vlf-prev-batch, vlf-move-to-batch, vlf-move-to-chunk):
Set modtime. Better preserve point.
(vlf-file-shift-back, vlf-shift-batch, vlf-file-shift-forward)
(vlf-shift-batches): New functions.
(vlf-write): Use them when size of saved chunks has changed.
Pay attention to modtimes.
* packages/vlf/vlf.el: Version 0.5
Add editing mode. Search refinements.
(vlf-mode-map): Change keys for batch size and EOF/BOF jumps.
(vlf-mode): Move buffer-disable-undo here.
(vlf-move-to-chunk): New function.
(vlf-change-batch-size): Use it to immediately update content.
(vlf-if-file-too-large): Adjust call (missed in last change).
(vlf-re-search, vlf-goto-match): New functions.
(vlf-re-search-forward, vlf-re-search-backward): Use them.
(vlf-end-search): Remove function.
(vlf-edit-mode-map): New var.
(vlf-edit-mode): New major mode.
(vlf-write, vlf-discard-edit): New commands.
* packages/vlf/vlf.el: Version 0.4.
(vlf-mode-map): Add bindings to search and jump to BOF/EOF.
(vlf-format-buffer-name): Change position into a percentage.
(vlf-next-batch, vlf-prev-batch): Keep stable cursor position when moving
through chunks.
(vlf-move-to-chunk, vlf-insert-file): New functions.
(vlf): Use them. Disable undo information. Change arg order.
(dired-vlf): Adjust call.
(vlf-re-search-forward, vlf-re-search-backward, vlf-end-search): New functions.
* packages/vlf/vlf.el: Use lexical-binding. Bump version to 0.3.
Add ability to view newly added content if the file has grown meanwhile.
Provide a V binding in dired.
(vlf-mode-map): Change C-+ to M-+. Add M-- binding.
(vlf-next-batch, vlf-prev-batch): Add ability to jump/insert given number of
batches at once.
(vlf): Add autoload cookie. Add option to start viewing from the end of file.
(dired-vlf): New function.
(vlf-if-file-too-large): New function.
(abort-if-file-too-large): Use it to provide vlf as an option when opening
large files.
Stefan Monnier [Mon, 22 Jul 2013 04:01:09 +0000 (00:01 -0400)]
* oauth2.el: Only require CL at compile time and avoid flet.
(success): Don't defvar.
(oauth--url-advice, oauth--tokens-need-renew): New dynbind variables.
(url-http-handle-authentication): Add advice.
(oauth2-url-retrieve-synchronously): Use the advice instead of flet.
* adaptive-wrap.el (menu-bar-options-menu): Add checkbox for Adaptive Wrap
to the Line Wrapping submenu.
(adaptive-wrap-unload-function): New function.
Stefan Monnier [Thu, 27 Jun 2013 16:05:44 +0000 (12:05 -0400)]
* GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes
constant recompilation of everything.
(elcs): New target.
(all-in-place): Run elcs in a submake, after updating autoloads.
Leo Liu [Thu, 6 Jun 2013 16:34:22 +0000 (00:34 +0800)]
* ggtags.el: Release 0.6.6
1. New commands: ggtags-list-tags, ggtags-query-replace and
ggtags-delete-tag-files
2. Allow finding symbol tags (OPTION: -s)
3. Other fixes and small improvements
Dmitry Gutov [Thu, 9 May 2013 20:25:25 +0000 (00:25 +0400)]
company: Release 0.6.9
* `company-capf` respects `:exit-function` completion property.
* `company-backends`: `prefix` command can return `t` in the cdr.
* `company-clang-begin-after-member-access`: New option.
* Mouse click outside the tooltip aborts completion.
* `company-clang` uses standard input to pass the contents of current buffer to
Clang 2.9+, otherwise saves the buffer and passes the path to the file.
* `company-clang-auto-save` option has been removed.
* Better interaction with `outline-minor-mode`.
* `company-dabbrev-code` supports all `prog-mode` derivatives.
Stefan Monnier [Thu, 9 May 2013 06:43:37 +0000 (10:43 +0400)]
* company.el (company-capf): Add support for `sorted' and `post-completion'.
(company--capf-data): New function.
(company-backend): Declare before first use.
(company-require-match-p): Only call company-require-match when needed.
(company--continue-failed): Don't use backward-delete-char non-interactively.
(company-search-assert-enabled): Demote it, since it comes too late to
be inlined.
(company--replacement-string, company--create-lines)
(company-pseudo-tooltip-edit, company-doc-buffer): Silence the byte-compiler.