summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixesPaul Eggert2015-06-302-4/+4
|
* In strings, prefer plain ` and ' to \` and \'Paul Eggert2015-06-3017-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-insert-listified): * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): * lisp/ls-lisp.el (ls-lisp-UCA-like-collation) (ls-lisp-string-lessp): * lisp/menu-bar.el (menu-bar-open): * lisp/obsolete/otodo-mode.el (todo-top-priorities): * lisp/progmodes/compile.el (compile): * lisp/progmodes/etags.el (tags-loop-scan): * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation): * lisp/subr.el (posn-actual-col-row): * lisp/term/pc-win.el (x-list-fonts): * lisp/textmodes/texinfmt.el (texinfmt-version): * lisp/textmodes/texnfo-upd.el (texinfo-master-menu): * lisp/time.el (display-time-world-list): * lisp/tmm.el (tmm-menubar): * src/buffer.c (syms_of_buffer): * src/fileio.c (syms_of_fileio): Omit unnecessary and confusing backslash before quote. * lisp/erc/erc.el (erc-cmd-LASTLOG): * lisp/progmodes/flymake.el (flymake-fix-file-name): * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p): Fix string that was intended to escape a backslash and not a quote.
* * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.Glenn Morris2015-06-301-0/+1
|
* * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):Glenn Morris2015-06-301-32/+7
| | | | Replace hard-coded lists with wildcard + filter-out.
* Improve reproducibility of generated loaddefs file.Glenn Morris2015-06-301-137/+144
| | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Make the return value the modtime of the input file (if no autoloads). (update-directory-autoloads): In the "no autoloads" section, use "most recent modtime" rather than "current time". ; http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00688.html
* * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logicArtur Malabarba2015-06-301-2/+4
| | | | (Bug#20930)
* Add seq-min and seq-maxNicolas Petton2015-06-301-1/+11
| | | | | | | Bump version number. * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions. * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
* Don't block changes in mouse pointer inside 'track-mouse'Eli Zaretskii2015-06-304-2/+11
| | | | | | | | | | | | | | | | | * etc/NEWS: * doc/lispref/frames.texi (Mouse Tracking): Document the special effect of setting 'track-mouse' to 'dragging'. * lisp/textmodes/artist.el (artist-mouse-draw-continously): * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration): * lisp/mouse-drag.el (mouse-drag-throw): * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging' to avoid changes in the shape of the mouse pointer. * src/xdisp.c (define_frame_cursor1): Don't change the mouse pointer shape when do_mouse_tracking has the value of 'dragging', not just any non-nil value. (Bug#20934) (syms_of_xdisp): DEFSYM 'dragging'.
* * lisp/isearch.el (isearch-toggle-word): Fix toggleArtur Malabarba2015-06-301-1/+1
|
* * lisp/emacs-lisp/package.el (package-compute-transaction):Artur Malabarba2015-06-301-11/+15
| | | | Don't assume version sorting.
* * lisp/emacs-lisp/package.el (package--save-selected-packages):Artur Malabarba2015-06-301-5/+7
| | | | | Don't save before init time, to avoid overwriting configurations. (Bug#20855)
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsKatsumi Yamaoka2015-06-302-11/+54
|\
| * cfengine.el: update for the upcoming CFEngine 3.7 releaseTed Zlatanov2015-06-291-11/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update for the upcoming CFEngine 3.7 release: support macros and quoted context strings; reformat JSON; indent promise attributes 2 units by default; give function parameter descriptions in the eldoc glue. * cfengine.el: Update version and docs and fix name. Autoload `json-pretty-print'. Support new features in 3.7. (cfengine-parameters-indent): Set default promise attribute indent to 2 more than the promise itself. (cfengine3-macro-regex): New variable to match the new macro syntax. (cfengine3-font-lock-keywords): Use it to highlight macros. (cfengine3-indent-line): Use it to indent macros to column 0. (cfengine3-class-selector-regex): Update for the new quoted strings format. (cfengine3-reformat-json-string): New function to reformat a JSON string using `json-pretty-print'. (cfengine3-format-function-docstring): Use function parameter description if it's provided by the cf-promises syntax dump.
| * Cygwin emacsclient handles w32 file namesMichael R. Mauger2015-06-291-0/+3
| |
* | * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).Katsumi Yamaoka2015-06-291-2/+2
|/
* * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.Wolfgang Jenkner2015-06-291-1/+2
| | | | Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916)
* * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):Artur Malabarba2015-06-291-3/+3
| | | | Don't block remember-pos if buffer isn't displayed. (Bug#20921)
* * package.el (describe-package): Use symbol-at-point as additional guessNicolas Richard2015-06-291-1/+2
|
* * package.el (describe-package): Convert the guess to a stringNicolas Richard2015-06-291-1/+2
|
* apropos-library quoting fixPaul Eggert2015-06-281-1/+2
| | | | | * lisp/apropos.el (apropos-library): Quote library consistently with the rest of the quoting used by apropos.
* Clarify interpreter-mode-alist docPaul Eggert2015-06-281-1/+1
| | | | | * lisp/files.el (interpreter-mode-alist): Reword to avoid confusing quoting that wasn't working anyway.
* Sync with Tramp 2.2.12Michael Albinus2015-06-281-2/+2
| | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Update release number. * test/automated/tramp-tests.el (tramp-test13-make-directory): Fix cleanup.
* * lisp/isearch.el (isearch-mode): Don't char-fold regexpsArtur Malabarba2015-06-281-0/+1
| | | | (bug#20913)
* Bind grep-highlight-matches around the rgrep callDmitry Gutov2015-06-281-4/+4
| | | | | * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches around the rgrep call (bug#20728).
* Put "--color" before the other options in grep-commandDmitry Gutov2015-06-281-2/+3
| | | | | * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color" before the other options in grep-command (bug#20912).
* Add --color Grep option to the command dynamicallyDmitry Gutov2015-06-272-19/+25
| | | | | | | | | | | | | * lisp/progmodes/grep.el (grep-template, grep-find-template): Update the description for <C>. (Bug#20728) (grep-compute-defaults): Don't add the --color option to grep-options. Only add it to grep-command. (grep-expand-keywords): Expand the env value opts into <C>. (grep-expand-template): Replace cf in the env with the opts list, that can include -i and --color. * lisp/progmodes/xref.el (xref-collect-matches): Do not remove "--color=always" from the template, because we don't have to.
* cl-extra fixes for most-negative-fixnumPaul Eggert2015-06-271-11/+10
| | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random): Don't mishandle an argument equal to most-negative-fixnum, whose absolute value equals itself. (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
* Initialize cl--gensym-counter to 0Paul Eggert2015-06-272-11/+6
| | | | | | | | | | | | Previously it was initialized to a random value, which made it harder to reproduce earlier Emacs runs. The need for a random value went away when Emacs introduced and used the #: syntax for uninterned symbols (Bug#20862). * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility): Document that cl--gensym-counter now starts with 0. * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove. (cl--random-time): Move to near only remaining use. * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
* Improve docstring for macroexp-let2Paul Eggert2015-06-271-11/+34
| | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp-let2): Improve as per suggestion by RMS in: http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html Also, rename args to match new doc string.
* Fix VC test suite on MS-WindowsEli Zaretskii2015-06-271-1/+9
| | | | | | | | | * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL always starts with 3 slashes after the colon. * test/automated/vc-tests.el (vc-test--create-repo-function): Use 'w32-application-type' to invoke CVS on MS-Windows with properly formatted CVSROOT directory name.
* * lisp/replace.el (replace-search): Fix regexp case (bug#20901)Artur Malabarba2015-06-261-0/+1
|
* Fix indentation for with-output-to-stringLeo Liu2015-06-261-1/+2
| | | | | | | | * lisp/emacs-lisp/cl-indent.el: Fix indentation for `with-output-to-string' in elisp. Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string" This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
* * lisp/character-fold.el (character-fold-table): Reuse `table'Artur Malabarba2015-06-251-2/+6
|
* Translate undisplayable ‘ to `Paul Eggert2015-06-252-3/+3
| | | | | | | | | * doc/lispref/help.texi (Keys in Documentation): * lisp/international/mule-cmds.el (set-locale-environment): * lisp/term/w32console.el (terminal-init-w32console): * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation): If ‘ is not displayable, transliterate it to `, not to '. See: http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
* lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-stringOleh Krehel2015-06-251-1/+1
| | | | | | * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function): `with-output-to-string' should have the same indent as `progn'. This is in line with the declaration of `with-output-to-string'.
* * lisp/character-fold.el (character-fold-table): Fix table generationArtur Malabarba2015-06-251-1/+8
|
* ; Fix comment typosGlenn Morris2015-06-241-2/+2
|
* * lisp/character-fold.el: New file (Bug#20887)Artur Malabarba2015-06-243-81/+127
| | | | | | | | | | | | | (character-fold-to-regexp): New function. * lisp/replace.el (replace-search): Check value of `character-fold-search'. * lisp/isearch.el: Move character-folding code to character-fold.el (isearch-toggle-character-fold): New command. (isearch-mode-map): Bind it to "\M-sf". (isearch-mode): Check value of `character-fold-search'.
* * lisp/subr.el (remove-from-invisibility-spec): Handle the t caseStefan Monnier2015-06-241-3/+4
| | | | | * lisp/subr.el (remove-from-invisibility-spec): Make sure `element' is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
* * lisp/progmodes/xref.el: Avoid init-args in oref.Stefan Monnier2015-06-241-4/+4
| | | | | * lisp/progmodes/xref.el (xref-location-group, xref-location-marker) (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
* * lisp/gnus/nnmaildir.el: Silence lexical warningsStefan Monnier2015-06-241-58/+63
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more functional style. (nnmaildir--update-nov): Remove unused var `numdir'. (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups) (nnmaildir-request-group, nnmaildir-request-create-group) (nnmaildir-request-post, nnmaildir-request-move-article) (nnmaildir-request-accept-article, nnmaildir-active-number): Mark unused args. (nnmaildir-get-new-mail, nnmaildir-group-alist) (nnmaildir-active-file): Declare. (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'. (nnmaildir-request-update-info): Remove unused vars `dotfile', `num', `mark', `end', `new-mark', and `mark-sym'. (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir', `nlist2'. (nnmaildir-request-expire-articles): Remove unused vars `article', `stop' and `nlist2'. (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and `end'. Use nnmaildir--article when dyn-binding is needed. Give the value directly in the `let' for `del-mark', `del-action', `add-action', and `set-action'. Don't use `add-to-list' on a local var. (nnmaildir-close-server): Declare those local vars that need to be dyn-bound.
* * lisp/isearch.el: Fold many unicode characters to ASCIIArtur Malabarba2015-06-232-0/+87
| | | | | | | | | | | | (isearch-character-fold-search, isearch--character-fold-extras) (isearch--character-fold-table): New variable. (isearch--character-folded-regexp): New function. (isearch-search-fun-default): Use them. * lisp/replace.el (replace-character-fold): New variable. (replace-search): Use it. * etc/NEWS: Document it.
* Check for an input event before showing a dialog box. (Bug#20813)Glenn Morris2015-06-231-0/+1
| | | | | | * lisp/subr.el (y-or-n-p): * src/fns.c (Fyes_or_no_p): Check last-input-event as well as last-nonmenu-event.
* Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)Jürgen Hartmann2015-06-231-8/+8
| | | | | | | | * lisp/window.el (switch-to-visible-buffer): Doc adjustment. (switch-to-prev-buffer, switch-to-next-buffer): Respect switch-to-visible-buffer independent of the windows history. Copyright-paperwork-exempt: yes
* Fix shell-for/backward-command to exclude spacesLeo Liu2015-06-231-10/+15
| | | | | | | * lisp/shell.el (shell-forward-command, shell-backward-command): Handle the 'move case from re-search-forward/backward. fixes debbugs:20873
* * lisp/replace.el (query-replace-read-from): Add separator toJuri Linkov2015-06-231-0/+2
| | | | the local binding of text-property-default-nonsticky. (Bug#20690)
* * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.Juri Linkov2015-06-231-1/+1
| | | | (Bug#20785)
* * lisp/emacs-lisp/package.el: Exclude packages by nameArtur Malabarba2015-06-221-4/+44
| | | | | | (package-hidden-regexps): New variable. (package-menu--refresh): Use it. (package-menu-hide-package): New command.
* * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hidingArtur Malabarba2015-06-221-11/+11
|
* Fix RCS crashes in vc-testEli Zaretskii2015-06-221-1/+3
| | | | | * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old ports of 'ci' on MS-Windows by always passing the -t- switch.