summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ewoc.el
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for "Maintainer:" and related linesPaul Eggert2019-05-191-1/+1
| | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* Merge from origin/emacs-26Paul Eggert2018-12-311-1/+1
|\ | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | * lisp/emacs-lisp/ewoc.el (ewoc-goto-node):Glenn Morris2018-03-051-1/+1
|/ | | | Simplify and quieten compiler.
* ; Fix doc typos related to indefinite articlesGlenn Morris2018-02-161-1/+1
|
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Provide generalized variables in core Elisp.Stefan Monnier2012-06-221-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/gv.el: New file. * lisp/subr.el (push, pop): Extend to generalized variables. * lisp/loadup.el (macroexp): Unload if preloaded and uncompiled. * lisp/emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove. * lisp/emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter, gv-define-simple-setter, and gv-define-expander. Remove setf-methods defined in gv. Rename cl-setf -> setf. (cl-setf, cl-do-pop, cl-get-setf-method): Remove. (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf) (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el. (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with gv-letplace. (cl-defstruct): Don't define setf-method any more. * lisp/emacs-lisp/cl.el (flet): Don't autoload. (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt) (define-setf-expander, defsetf, define-modify-macro) (cl-struct-setf-expander): Move from cl-lib.el. * lisp/emacs-lisp/syntax.el: * lisp/emacs-lisp/ewoc.el: * lisp/emacs-lisp/smie.el: * lisp/emacs-lisp/cconv.el: * lisp/emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push. (timer--time): Use gv-define-simple-setter. * lisp/emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let² to avoid coding-system problems in subr.el. Adjust all users. (macroexp--maxsize, macroexp-small-p): New functions. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf. * lisp/scroll-bar.el (scroll-bar-mode): * lisp/simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode) (normal-erase-is-backspace-mode): Don't use the `eq' place. * lisp/winner.el (winner-configuration, winner-make-point-alist) (winner-set-conf, winner-get-point, winner-set): Don't abuse letf. * lisp/files.el (locate-file-completion-table): Avoid list*. Fixes: debbugs:11657
* Reduce use of cl in lisp/emacs-lisp/.Stefan Monnier2012-06-101-28/+28
| | | | | | | | | * lisp/emacs-lisp/timer.el, lisp/emacs-lisp/syntax.el, lisp/emacs-lisp/smie.el: * lisp/emacs-lisp/ewoc.el, lisp/emacs-lisp/cconv.el,lisp/emacs-lisp/derived.el: * lisp/emacs-lisp/byte-opt.el, lisp/emacs-lisp/autoload.el: Convert to cl-lib. * lisp/emacs-lisp/easymenu.el, lisp/emacs-lisp/easy-mmode.el: * lisp/emacs-lisp/bytecomp.el: Use pcase instead of `cl'. * lisp/emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
* Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).Stefan Monnier2012-04-261-5/+4
| | | | | | | | | | | | | * lisp/term/ns-win.el (ns-define-service): * lisp/progmodes/pascal.el (pascal-goto-defun): * lisp/progmodes/js.el (js--read-tab): * lisp/progmodes/etags.el (tags-lazy-completion-table): * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock): * lisp/emacs-lisp/ewoc.el (ewoc--wrap): * lisp/emacs-lisp/assoc.el (aput, adelete, amake): * lisp/doc-view.el (doc-view-convert-current-doc): * lisp/url/url.el (url-retrieve-synchronously): * lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
* Standardize possessive apostrophe usage in manuals, docs, and commentsGlenn Morris2012-02-281-1/+1
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Minor ewoc fix for bug#3261.Bob Rogers2011-03-031-0/+2
| | | | | * lisp/emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error if there is no node.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Note that vc.el now uses this.Eric S. Raymond2008-05-091-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (ewoc-collect): Return results in the correct order.Alexandre Julliard2008-04-091-1/+1
|
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (ewoc--insert-new-node): Take additional arg DLL.Thien-Thi Nguyen2007-03-301-4/+5
| | | | | Use it, passed in explicitly, instead of from the dynamic binding. (ewoc-create, ewoc-enter-before): Update to use new call sequence.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-071-1/+1
|
* (ewoc--current-dll): Remove. Basically undo the change of 2006-05-26:Stefan Monnier2006-05-291-64/+59
| | | | | use extra arguments instead of dynamic scoping. (ewoc-locate): Remove unused var `footer'.
* (ewoc--insert-new-node): Use ewoc--refresh-node.Stefan Monnier2006-05-291-15/+10
|
* Commentary and whitespace munging; nfc.Thien-Thi Nguyen2006-05-271-34/+1
|
* (ewoc): Add member `hf-pp' to this structure.Thien-Thi Nguyen2006-05-271-10/+25
| | | | | | | (ewoc--wrap): New func. (ewoc-create): Take additional arg NOSEP. If nil, wrap node and header/footer pretty-printers. Save header/footer pretty-printer. (ewoc-set-hf): Use ewoc's header/footer pretty-printer.
* (ewoc--node): Don't define constructorThien-Thi Nguyen2006-05-271-0/+1
| | | | `make-ewoc--node' for this structure.
* (ewoc--node-branch): Merge into unique caller.Thien-Thi Nguyen2006-05-271-8/+4
|
* (ewoc-delete): Compute last node once before looping.Thien-Thi Nguyen2006-05-271-3/+3
|
* (ewoc--create): No longer takeThien-Thi Nguyen2006-05-271-5/+4
| | | | HEADER and FOOTER args. Update unique caller.
* (ewoc--current-dll): New var.Thien-Thi Nguyen2006-05-261-55/+61
| | | | | | | | (ewoc--node-next, ewoc--node-prev, ewoc--node-nth): Don't take DLL arg. Instead, use `ewoc--current-dll'. Update all callers. (ewoc--set-buffer-bind-dll-let*): Bind `ewoc--current-dll', not `dll'. (ewoc--adjust): Use `ewoc--current-dll'. (ewoc-next, ewoc-prev, ewoc-nth): Bind `ewoc--current-dll'.
* (ewoc-delete): New function.Thien-Thi Nguyen2006-05-231-19/+26
| | | | (ewoc-filter): Use `ewoc-delete'.
* (ewoc-set-data): New func.Thien-Thi Nguyen2006-05-221-0/+5
|
* (ewoc-create): Add autoload cookie.Thien-Thi Nguyen2006-05-211-1/+1
|
* (ewoc--adjust): New func.Thien-Thi Nguyen2006-05-181-23/+36
| | | | | | | | | | (ewoc--insert-new-node): Don't insert trailing newline. Instead, adjust succesor nodes' start markers. (ewoc--refresh-node): Delete all text from current node's start marker to the next one's; adjust successor nodes' start markers. (ewoc--create): Doc fixes. (ewoc--refresh): Don't insert newline. (ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'.
* (ewoc-map, ewoc-invalidate): Compute PP before looping.Thien-Thi Nguyen2006-05-171-3/+5
|
* (ewoc-data): Add docstring.Thien-Thi Nguyen2006-05-171-2/+5
| | | | (ewoc-nth): Doc fix.
* (ewoc--node-enter-before, ewoc--create-node): Delete funcs.Thien-Thi Nguyen2006-05-121-33/+23
| | | | | (ewoc--insert-new-node): New func. Update callers of deleted funcs to use it, instead.
* (ewoc-refresh): Compute PP once before looping.Thien-Thi Nguyen2006-05-121-3/+3
|
* (ewoc--refresh-node): No longer save-excursion.Thien-Thi Nguyen2006-05-111-16/+18
| | | | Update all callers to do it there, instead.
* (ewoc--dll-create, ewoc--node-delete)Thien-Thi Nguyen2006-05-101-53/+28
| | | | | (ewoc--node-enter-first, ewoc--node-enter-last) (ewoc--delete-node-internal): Merge funcs into unique callers.