- 08 Oct, 2013 11 commits
-
-
Teemu Likonen authored
(indent-rigidly--current-indentation): New function. (indent-rigidly-map): New var. (indent-rigidly): Use it to provide interactive mode. (indent-region): Add progress reporter. (tab-stop-list): Make it implicitly extend to infinity by repeating the last step. (indent--next-tab-stop): New function to implement this behavior. (tab-to-tab-stop, move-to-tab-stop): Use it. Fixes: debbugs:8196
-
Jan Djärv authored
(toggleFullScreen:): Change NS_IMPL_COCOA to HAVE_NATIVE_FS.
-
Bastien Guerry authored
-
Paul Eggert authored
-
Paul Eggert authored
* keyboard.c (unblock_input_to): Don't process pending signals if a fatal error is in progress. Fixes: debbugs:15534
-
Paul Eggert authored
-
Stefan Monnier authored
Remove redundant :group args. (perl-nochange): Change default to be closer to other major modes's standard behavior. (perl-indent-line): Don't consider text on current line as a valid beginning of function from which to indent.
-
Stefan Monnier authored
with more than one argument. Fixes: debbugs:15538
-
Paul Eggert authored
All uses of 'size_t' and 'SIZE_MAX' changed to use them, when they're talking about words in Lisp bool vectors. (BITS_PER_BITS_WORD): Rename from BITS_PER_SIZE_T. All uses changed.
-
Stefan Monnier authored
-
Stefan Monnier authored
(cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical environment of `eval'. (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather than a list of expressions. Adjust callers. * lisp/vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
-
- 07 Oct, 2013 24 commits
-
-
Dmitry Gutov authored
-
Dmitry Gutov authored
case of the dot in a chained method call being on the following line.
-
Paul Eggert authored
Do this by using the Gnulib modules for this. This should generate faster code on non-GCC, non-MSC platforms, and make the code a bit more portable, at least in theory. * admin/merge-gnulib (GNULIB_MODULES): Add count-one-bits and count-trailing-zeros. * lib/count-one-bits.c, lib/count-one-bits.h: * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h: * m4/count-one-bits.m4, m4/count-trailing-zeros.m4: New files, copied from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * nt/gnulib.mk: Merge changes from lib/gnulib.mk. * src/data.c: Include <count-one-bits.h>, <count-trailing-zeros.h>. (USE_MSC_POPCOUNT, POPCOUNT_STATIC_INLINE) (NEED_GENERIC_POPCOUNT, popcount_size_t_generic) (popcount_size_t_msc, popcount_size_t_gcc): Remove; now done by Gnulib. (popcount_size_t): Now a macro that defers to Gnulib. (count_trailing_zero_bits): Return int, for consistency with Gnulib and because Emacs prefers signed to unsigned int. Don't assume that size_t is either unsigned int or unsigned long or unsigned long long. (size_t_to_host_endian): Do not assume that size_t is either exactly 32 or exactly 64 bits wide. * src/lisp.h (BITS_PER_SIZE_T): Define consistently with BITS_PER_LONG etc., so that it's now an enum constant, not a macro. No need to assume that it's either 32 or 64. Fixes: debbugs:15550
-
Jan Djärv authored
on >= 10.7.
-
Stefan Monnier authored
(electric-indent-post-self-insert-function): Use it. * lisp/progmodes/python.el (python-mode): Set it.
-
Stefan Monnier authored
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of open braces.
-
Stefan Monnier authored
(css-mode): Use electric-indent-chars. Fixes: debbugs:15467
-
Dmitry Antipov authored
Use bool for boolean.
-
Dmitry Antipov authored
-
Stefan Monnier authored
(font-lock-beg, font-lock-end): Move before first use. (nxml-mode): Use syntax-propertize-function. (nxml-after-change, nxml-after-change1): Adjust accordingly. (nxml-extend-after-change-region): Remove. * lisp/nxml/nxml-ns.el: Use lexical-binding. (nxml-ns-save): Use `declare'. (nxml-ns-prefixes-for): Avoid add-to-list. * lisp/nxml/nxml-util.el: Use lexical-binding. (nxml-with-degradation-on-error, nxml-with-invisible-motion): Use `declare'. * lisp/nxml/rng-match.el: Use lexical-binding. (rng--ipattern): Use cl-defstruct. (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv) (rng-cons-group-after, rng-subst-group-after) (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv): Use closures instead of `(lambda...). * lisp/nxml/xmltok.el: Use lexical-binding. (xmltok-save): Use `declare'. (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
-
Dmitry Gutov authored
-
Michael Albinus authored
-
Michael Albinus authored
of BEG and END. * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Use `tramp-handle-insert-file-contents'. (tramp-gvfs-handle-insert-file-contents): Remove function. * net/tramp-sh.el (tramp-sh-handle-insert-directory): Use `save-restriction' in order to keep markers. * net/trampver.el: Update release number.
-
Dmitry Antipov authored
-
Paul Eggert authored
* alloc.c (valid_pointer_p) [!WINDOWSNT]: Remove now-unnecessary cast. * sysdep.c (emacs_read, emacs_write, emacs_write_sig): Buffer arg is now void *, not char *. This matches plain 'read' and 'write' better, and avoids a constraint violation on Solaris 9 with Oracle Studio.
-
Dmitry Antipov authored
memset to explicit loop. Otherwise copy largest possible chunk from initialized to uninitialized part, thus allowing the longer memcpy runs and reducing the number of loop iterations.
-
Stefan Monnier authored
Use compilation--put-prop. (compilation--ensure-parse): Check compilation-multiline.
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Stefan Monnier authored
for non-headings.
-
Stefan Monnier authored
(ruby-smie-grammar): Add - and +. (ruby-smie--redundant-do-p, ruby-smie--forward-id) (ruby-smie--backward-id): New functions. (ruby-smie--forward-token, ruby-smie--backward-token): Use them. (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed any more. * test/indent/ruby.rb: Add a few more tests; adjust some indentation.
-
Leo Liu authored
-
Leo Liu authored
(register-preview-functions): New variables. (register-read-with-preview, register-preview) (register-describe-oneline): New functions. (point-to-register, window-configuration-to-register) (frame-configuration-to-register, jump-to-register) (number-to-register, view-register, insert-register) (copy-to-register, append-to-register, prepend-to-register) (copy-rectangle-to-register): Use register-read-with-preview to read register. Fixes: debbugs:15525
-
- 06 Oct, 2013 5 commits
-
-
Dmitry Gutov authored
-
Dato Simó authored
--insecure if it's already present, because that gnutls-cli rejects getting that parameter twice.
-
Jan Djärv authored
(ns_update_auto_hide_menu_bar): Remove runtime check. Don't auto hide dock unless menubar is also auto hidden.
-
Jan Djärv authored
hide toolbar. (windowDidEnterFullScreen:): If presentation options are zero, set them here (Bug#15388).
-
Xue Fuqiao authored
-