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 [Sat, 27 Apr 2013 13:48:47 +0000 (09:48 -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 is 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-begin-with): Use a lexical closure, so the code is byte-compiled.
(company--replacement-string, company--create-lines)
(company-pseudo-tooltip-edit, company-doc-buffer): Silence the byte-compiler.
Stefan Monnier [Wed, 24 Apr 2013 19:28:41 +0000 (15:28 -0400)]
* csv-mode.el (csv-kill-one-field): Check for presence before deleting trailing
separator. Remove last arg and turn into a function.
(csv-kill-one-column, csv-kill-many-columns): Adjust callers.
Stefan Monnier [Mon, 22 Apr 2013 16:34:25 +0000 (12:34 -0400)]
* lmc.el (lmc-turbo): New option.
(lmc--sit-for): New function. Use it instead of sit-for.
(lmc-run): Don't stop upon user input if lmc-turbo is enabled.
* `company-auto-complete` is disabled by default.
* `company-auto-complete-chars` default value includes fewer syntax classes.
* In expanded function calls, arguments skipped by the user default to "argN".
* `company-eclim` and `company-clang` do not strip argument types from fields.
* `company-clang` expands function calls for all three modes now.
* `company-clang` supports `c++-mode` by default.
Stefan Monnier [Thu, 11 Apr 2013 15:18:20 +0000 (11:18 -0400)]
* omn-mode.el: Fix up copyright notice, plus minor cleanup.
(omn-obsolete-electric-indent): New var.
(omn-mode-map): Obey it.
(omn-mode-entity-keywords, omn-mode-property-keywords): Move before use to
satisfy the byte-compiler.
(omn-determine-line-indent): Don't save-match-data for no reason.
(auto-mode-alist): Use \\' to match end of file name.
(omn-font-lock-defaults): Use regexp-opt.
(omn-mode-syntax-table): Don't use "w" syntax for "_".
(omn-mode): Move make-local-variables to their corresponding setq.
Set electric-indent-chars.
Stefan Monnier [Thu, 4 Apr 2013 00:11:03 +0000 (20:11 -0400)]
* packages/lex/lex-parse-re.el: New file, extracted from lex.el.
* packages/lex/lex.el: Use it instead of the self-load hack.
(lex--nfa, lex-compile): Use case-table-get-table.
* `company-elisp` doesn't offer completions when typing the name and
the arguments of a new function or macro definition, allowing to
fall back to other back-ends like `company-dabbrev-code`.
## 2013-03-30 (0.6.5)
* Fixed keybindings when running in a terminal.
* `company-elisp-show-locals-first`: new customizable variable.
* `company-elisp` shows more accurate and comprehensive candidates list.
## 2013-03-26 (0.6.4)
* `company-eclim` shows valid completions after an opening paren.
* Expanded template does not get removed until the point leaves it.
After your input the last argument in a method call expanded by
`company-eclim`, you can press `<tab>` once more, to jump after the
closing paren. No other bundled back-ends are affected.
## 2013-03-25 (0.6.3)
* New tooltip face colors used on themes with light background.
* Pseudo-tooltip stays up-to-date when text is inserted after the point.
* Fixed `company-require-match` mechanics.
Leo Liu [Thu, 28 Mar 2013 02:53:02 +0000 (10:53 +0800)]
* ggtags.el: Release v0.6.3
- handle buffers not visiting files more gracefully
- give higher priority to ggtags-navigation-mode
or modes such as view-mode may shadow its key bindings.
Stefan Monnier [Mon, 4 Mar 2013 01:19:23 +0000 (20:19 -0500)]
* sokoban.el: Style tweaks.
(sokoban-level-file): Use load-file-name to find sokoban-levels.
(sokoban-init-level-data): Avoid messing with windows. Use eobp and dotimes.
(sokoban-display-options, sokoban-get-level-data, sokoban-init-buffer)
(sokoban-draw-score): Use dotimes.
(sokoban-add-move, sokoban-add-push): Use push.
(sokoban-goto-level): `signal' can't return.
(sokoban-mode): Use define-derived-mode. Set vars locally.