summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make find-function-on-key use the current windowDmitry Gutov2015-06-221-5/+28
| | | | | | | | * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it): Extract from `find-function-on-key', add a second argument. (find-function-on-key): Use it (bug#19679). (find-function-on-key-other-window) (find-function-on-key-other-frame): New commands.
* Revert "Define `map-elt' as a generalized variable"Nicolas Petton2015-06-211-28/+24
| | | | This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
* Fix some “nested” quoting confusion in doc stringsPaul Eggert2015-06-213-7/+7
| | | | | | | | | * lisp/emacs-lisp/advice.el (ad-map-arglists): * lisp/kermit.el (kermit-clean-on): * lisp/mh-e/mh-comp.el (mh-repl-group-formfile): * src/keyboard.c (Frecursive_edit): Use curved quotes when quoting text containing apostrophe, so that the apostrophe isn't curved in the output.
* Define `map-elt' as a generalized variableNicolas Petton2015-06-211-24/+28
| | | | | | | | | | | * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander. * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code. * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a `setf' with `map-elt'. * test/automated/map-tests.el: Comment out `test-map-put-literal'.
* Improve error handling in tramp-adb.elMichael Albinus2015-06-211-2/+4
| | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy): Improve error handling.
* Reuse `alist-get' in map.elNicolas Petton2015-06-211-10/+2
| | | | | * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist elements.
* Improve port of settings UI to older displaysPaul Eggert2015-06-201-2/+3
| | | | | | * lisp/cus-start.el (standard): Don't assume curved quotes are easily distinguishable when users are tinkering with a setting that affects how curved quotes are generated.
* Fix quoting in electric-quote-mode doc stringPaul Eggert2015-06-201-1/+1
| | | | | | * lisp/electric.el (electric-quote-mode): Fix quoting. This is a fallout from the recent change introducing ‘help-quote-translation’.
* Spelling fixPaul Eggert2015-06-201-1/+1
|
* In ‘window-state-put’ undedicate target window. (Bug#20848)Martin Rudalics2015-06-201-0/+2
| | | | | * lisp/window.el (window-state-put): Undedicate target window before putting STATE into it. (Bug#20848)
* Merge from origin/emacs-24Paul Eggert2015-06-191-2/+10
|\ | | | | | | | | a5e6f33 Fixes: debbugs:20832 b9f02cf Fixes: debbugs:20832
| * Fixes: debbugs:20832Stephen Berman2015-06-191-2/+5
| | | | | | | | | | * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file in the minibuffer.
| * Fixes: debbugs:20832Nicolas Richard2015-06-191-0/+5
| | | | | | | | | | * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer for adding new todo file is empty but modified.
| * * lisp/ChangeLog: Remove a duplicateNicolas Petton2015-04-061-4/+0
| |
| * lisp/ldefs-boot.el: Update for the 24.5 releaseNicolas Petton2015-04-051-481/+500
| |
| * Update the 24.5 release date in all ChangeLog filesNicolas Petton2015-04-057-6/+10
| |
* | Fix file-in-directory-p when the directory is UNCEli Zaretskii2015-06-191-1/+6
| | | | | | | | | | * lisp/files.el (file-in-directory-p): Support files and directories that begin with "//". (Bug#20844)
* | (filepos-to-bufferpos): Further tweaks to the utf-16 codeStefan Monnier2015-06-191-13/+11
| | | | | | | | | | | | * lisp/international/mule-util.el (filepos-to-bufferpos): Fix typo. Move non-exact check to the utf-16 branch (the only one affected). Don't use byte-to-position for the utf-16 case.
* | ; Auto-commit of loaddefs files.Glenn Morris2015-06-191-1/+1
| |
* | Minor fixes in filepos-to-bufferposEli Zaretskii2015-06-191-7/+9
| | | | | | | | | | | | | | | | * lisp/international/mule-util.el (filepos-to-bufferpos): Remove test for utf-8-emacs. Exempt single-byte encodings from the 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings for BOM before subtracting 2 bytes. Use 'identity' when adjusting UTF-16 encoded files for CR-LF EOLs.
* | Improve the optional translation of quotesPaul Eggert2015-06-1915-78/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix several problems with the recently-added custom variable help-quote-translation where the code would quote inconsistently in help buffers. Add support for quoting 'like this', which is common in other GNU programs in ASCII environments. Change help-quote-translation to use more mnemonic values: values are now the initial quoting char, e.g., (setq help-quote-translation ?`) gets the traditional Emacs help-buffer quoting style `like this'. Change the default behavior of substitute-command-keys to match what's done in set-locale-environment, i.e., quote ‘like this’ if displayable, 'like this' otherwise. * doc/lispref/help.texi (Keys in Documentation): Document new behavior of substitute-command-keys, and document help-quote-translation. * doc/lispref/tips.texi (Documentation Tips): Mention the effect of help-quote-translation. * etc/NEWS: Mention new behavior of substitute-command-keys, and merge help-quote-translation news into it. When talking about doc strings, mention new ways to type quotes. * lisp/cedet/mode-local.el (overload-docstring-extension): Revert my recent change to this function, which shouldn't be needed as the result is a doc string. * lisp/cedet/mode-local.el (mode-local-print-binding) (mode-local-describe-bindings-2): * lisp/cedet/srecode/srt-mode.el (srecode-macro-help): * lisp/cus-theme.el (describe-theme-1): * lisp/descr-text.el (describe-text-properties-1, describe-char): * lisp/emacs-lisp/cl-generic.el (cl--generic-describe): * lisp/emacs-lisp/eieio-opt.el (eieio-help-class) (eieio-help-constructor): * lisp/emacs-lisp/package.el (describe-package-1): * lisp/faces.el (describe-face): * lisp/help-fns.el (help-fns--key-bindings) (help-fns--compiler-macro, help-fns--parent-mode) (help-fns--obsolete, help-fns--interactive-only) (describe-function-1, describe-variable): * lisp/help.el (describe-mode): Use substitute-command-keys to ensure a more-consistent quoting style in help buffers. * lisp/cus-start.el (standard): Document new help-quote-translation behavior. * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs): * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp) (help-xref-url-regexp): * lisp/international/mule-cmds.el (help-xref-mule-regexp-template): * lisp/wid-edit.el (widget-documentation-link-regexp): Also match 'foo', in case we're in a help buffer generated when help-quote-translation is ?'. * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR. (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0) (uRSQM1, uRSQM2, LSQM, RSQM): New constants. (Fsubstitute_command_keys): Document and implement new behavior. (Vhelp_quote_translation): Document new behavior.
* | * lisp/cus-start.el (help-quote-translation): Add :version.Glenn Morris2015-06-181-6/+6
| | | | | | | | ; * etc/NEWS: Add placeholder.
* | Make translation of quotes to curly in doc strings optional.Alan Mackenzie2015-06-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | src/doc.c (traditional, prefer-unicode): new symbols. (help-quote-translation): new variable. (Fsubstitute_command_keys): make translation of quotes dependent on `help-quote-translation'; also translate curly quotes back to ASCII ones. lisp/cus-start.el (top-level): Add a customization entry for `help-quote-translation'.
* | * lisp/emacs-lisp/package.el: Don't always propagate async errorsArtur Malabarba2015-06-181-6/+15
| | | | | | | | | | | | | | | | | | (package--with-work-buffer-async): Only propagate the error if the callback returns non-nil. (package--download-one-archive): Return nil on the signature checking callback if we accept unsigned. (package--download-and-read-archives): Return non-nil on the archive download callback.
* | Improve and extend filepos-to-bufferposEli Zaretskii2015-06-181-2/+34
| | | | | | | | | | | | | | * lisp/international/mule-util.el (filepos-to-bufferpos--dos): Don't barf if F returns nil for some argument. (filepos-to-bufferpos): Expand to support UTF-16 and not assume that every encoding of type 'charset' is single-byte.
* | * lisp/emacs-lisp/package.el (package-menu--perform-transaction):Artur Malabarba2015-06-181-13/+11
| | | | | | | | Properly delete packages. (Bug#20836)
* | Add pinentry.el for better GnuPG integrationDaiki Ueno2015-06-182-0/+400
| | | | | | | | | | | | | | | | * lisp/pinentry.el: New file. * etc/NEWS: Add entry about pinentry.el. * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar. Fixes: debbugs:20550
* | * lisp/emacs-lisp/package.el: Slightly better error reporting.Artur Malabarba2015-06-171-6/+6
| |
* | (define-minor-mode): Use setq-default for :global minor modesStefan Monnier2015-06-171-31/+29
| | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Use setq-default for :global minor modes (bug#20712).
* | * lisp/emacs-lisp/package.el (package--with-work-buffer-async):Artur Malabarba2015-06-171-2/+2
| | | | | | | | Fix error reporting.
* | * lisp/let-alist.el: move to lisp/emacs-lisp/let-alist.elArtur Malabarba2015-06-171-0/+0
| |
* | * lisp/emacs-lisp/package.el: Revert buffer after any operationArtur Malabarba2015-06-171-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Call `package-menu--post-refresh' after any operation that changes the package database (`package-install' and `package-delete'). To avoid performance issues in large transactions, these functions add `post-refresh' to `post-command-hook' instead of calling it immediately. (package-menu--mark-or-notify-upgrades): New function. (list-packages): Add it to `package--post-download-archives-hook'. (package-menu--post-refresh): Lose the upgrade-checking code, add code to remove itself from `post-command-hook'. (package-install, package-delete): Add it to `post-command-hook'. (package-menu-execute): Don't call `package-menu--post-refresh'.
* | Add missing function xref-location-group for elisp-mode.Stephen Leake2015-06-171-0/+3
| | | | | | | | * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
* | Generate char-script-table from Unicode source. (Bug#20789)Glenn Morris2015-06-161-229/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/unidata/Makefile.in (AWK): New, set by configure. (all): Add charscript.el. (blocks): New variable. (charscript.el, ${unidir}/charscript.el): New targets. (extraclean): Also remove generated charscript.el. * admin/unidata/blocks.awk: New script. * admin/unidata/Blocks.txt: New data file, from unicode.org. * lisp/international/characters.el: Load charscript. * src/Makefile.in (charscript): New variable. (${charscript}): New target. (${lispintdir}/characters.elc): Depend on charscript.elc. (temacs$(EXEEXT)): Depend on charscript. ; * admin/unidata/README: Mention Blocks.txt. ; * .gitignore: Add lisp/international/charscript.el.
* | * lisp/international/characters.el (char-script-table): TweakGlenn Morris2015-06-161-3/+5
| | | | | | | | some ranges to better match the source. (Bug#20789#17)
* | Remove "no-byte-compile: t" from a few files.Glenn Morris2015-06-163-3/+3
| | | | | | | | | | * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el: * lisp/obsolete/patcomp.el: No reason not to compile these.
* | Fix some typos in copied Unicode data. (Bug#20789)Glenn Morris2015-06-162-4/+4
| | | | | | | | | | | | * lisp/international/characters.el (char-script-table): * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Fix typos.
* | * lisp/emacs-lisp/check-declare.el (check-declare-warn):Glenn Morris2015-06-161-4/+2
| | | | | | | | Don't print filename twice (it's in the prefix now).
* | * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.Glenn Morris2015-06-161-3/+3
| | | | | | | | No longer needed.
* | Address a compilation warning.Glenn Morris2015-06-161-1/+1
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias): Replace 't' with '_' in pcase.
* | Address some check-declare warnings.Glenn Morris2015-06-163-8/+5
| | | | | | | | | | | | | | * lisp/simple.el (tabulated-list-print): * lisp/progmodes/elisp-mode.el (xref-collect-matches): * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p) (ns-get-selection): Update declarations.
* | Address some compilation warnings.Glenn Morris2015-06-162-3/+3
| | | | | | | | | | | | * lisp/elec-pair.el (electric-pair-post-self-insert-function): * lisp/vc/vc-git.el (vc-git-file-type-as-string): Replace 't' with '_' in pcase.
* | Address some compilation warnings.Glenn Morris2015-06-168-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/face-remap.el (text-scale-adjust): * lisp/menu-bar.el (popup-menu-normalize-position): * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn): * lisp/emacs-lisp/generator.el (cps--transform-1): * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string): * lisp/progmodes/octave.el (octave-goto-function-definition) (octave-find-definition-default-filename): Replace 't' with '_' in pcase.
* | * lisp/emacs-lisp/pcase.el (pcase--u1):Glenn Morris2015-06-161-3/+3
| | | | | | | | Paper-over today's bootstrap failure.