aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* | merge trunkKenichi Handa2014-06-2890-4394/+4682
|\ \
| * | * lisp/Makefile.in (doit): Remove force rule.Glenn Morris2014-06-272-9/+11
| | | | | | | | | | | | | | | (custom-deps, finder-data, autoloads, update-subdirs) (compile-one-process): PHONY targets do not need force rules.
| * | lisp/Makefile tiny simplificationGlenn Morris2014-06-272-6/+9
| | | | | | | | | | | | | | | * lisp/Makefile.in (compile-main, compile, compile-always): No need to explicitly pass variables to ourself in recursive calls.
| * | * lisp/files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.Stefan Monnier2014-06-272-9/+15
| | |
| * | ChangeLog fix: relocate entry to correct positionGlenn Morris2014-06-271-26/+26
| | |
| * | * lisp/progmodes/hideif.el: Style fixes. Fix doc-strings and comment style,Luke Lee2014-06-272-72/+92
| | | | | | | | | | | | also add a change log entry for the latest hideif.el changes.
| * | * lisp/Makefile.in (update-authors): Update for moved authors.el.Glenn Morris2014-06-262-1/+6
| | |
| * | * skeleton.el (skeleton-end-hook): Default to nil and move theLeo Liu2014-06-262-5/+7
| | | | | | | | | | | | | | | | | | work to skeleton-insert. Fixes: debbugs:17850
| * | * src/fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.Dmitry Antipov2014-06-263-4/+9
| | | | | | | | | | | | | | | | | | * lisp/calc/calc-alg.el (math-beforep): * lisp/progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style): Simplify because string-lessp can accept symbols as args.
| * | package.el: Don't signal "no public key" error if allow-unsignedDaiki Ueno2014-06-262-10/+21
| | | | | | | | | | | | | | | | | | | | | * emacs-lisp/package.el (package--check-signature): If package-check-signature is allow-unsigned, don't signal error when we can't verify signature because of missing public key (bug#17625).
| * | Merge from emacs-24; up to 2014-06-11T19:33:[email protected]Glenn Morris2014-06-2517-65/+198
| |\|
| | * Remove some function declarations, no longer needed or correctGlenn Morris2014-06-254-4/+7
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (help-add-fundoc-usage): * lisp/gnus/mm-util.el (help-function-arglist): Remove outdated declarations.
| | * HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches basedLuke Lee2014-06-261-46/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef. - Supporting argumented macro expansion. - Stringification, tokenization and concatenation of strings and tokens. - Add functions to find defines and parse argumented macros into a macro tree containing macro name, formal parameters and macro body. - On macro evaluation, macros will be applied with actual parameters and then got expanded recursively. - Merge main trunk changes * lisp/progmodes/hideif.el (hif-string-to-number): Merge changes from main trunk. (hif-simple-token-only, hif-tokenize): Commentted in detail mainly for performance enhancements. (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhanced for macro expansion. (hif-factor, hif-string-concatenation, intern-safe): Support string concatenation and argumented macro expansion. (hif-if-valid-identifier-p, hif-define-operator, hif-flatten) (hif-expand-token-list, hif-get-argument-list, hif-define-macro) (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize) (hif-canonicalize-tokens, hif-looking-at-elif, hif-place-macro-invocation) (hif-parse-macro-arglist): Mostly new functions for supporting argumented macro expansion. (hif-string-concatenation, hif-stringify, hif-token-concat) (hif-token-stringification, hif-token-concatenation): Stringify and concatentation. (hif-find-next-relevant): Fix comments (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for some cases involving #elif. (hif-find-define, hif-add-new-defines): New functions for automatically scanning of defined symbols. (hide-ifdef-guts): Fix for auto defined symbol scanning. (hide-ifdef-undef): Fix behavior to match CPP.
| | * Fix last changeLeo Liu2014-06-261-1/+1
| | |
| | * * lisp/url/url-handlers.el (url-http-parse-response): Remove unused autoload.Leo Liu2014-06-263-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | (url-insert-file-contents): Condition on url-http-response-status for the HTTP/S specific part. * lisp/url/url-http.el (url-http-end-of-headers): Remove duplicate defvar. Fixes: debbugs:17549
| | * authors.el: Add some renamed/moved filesGlenn Morris2014-06-252-1/+13
| | | | | | | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-valid-file-names) (authors-renamed-files-alist): Additions.
| | * ChangeLog fixes.Glenn Morris2014-06-252-7/+9
| | | | | | | | | | | | Not sure how M-x authors missed these so far...
| | * Fix a few packages to work with nil tab-stop-listLeo Liu2014-06-265-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * indent.el (indent-accumulate-tab-stops): New function. * textmodes/picture.el (picture-set-tab-stops): * ruler-mode.el (ruler-mode-mouse-add-tab-stop) (ruler-mode-ruler): Fix to work with nil tab-stop-list. * progmodes/asm-mode.el (asm-calculate-indentation): Use indent-next-tab-stop.
| | * * lisp/emacs-lisp/package.el (package-list-unsigned): New var.Stefan Monnier2014-06-252-6/+15
| | | | | | | | | | | | | | | | | | (package-desc-status): Obey it. Fixes: debbugs:17625
| | * * calendar/todo-mode.el: Fix two bugs.Stephen Berman2014-06-252-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | (todo-insert-item--basic): If user cancels item insertion to another category before setting priority, show original category whether it is in the same or a different file. (todo-set-item-priority): After selecting category, instead of moving point to top, which extends an active region, restore it.
| | * * lisp/help-fns.el (describe-function-1): Check file-name is a string beforeStefan Monnier2014-06-242-1/+6
| | | | | | | | | | | | | | | | | | calling help-fns--autoloaded-p. Fixes: debbugs:17564
| | * * lisp/desktop.el (desktop-auto-save-enable)Juri Linkov2014-06-252-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | (desktop-auto-save-disable): New functions. (desktop-save-mode, desktop-auto-save-timeout): Use them. (desktop-read): Disable the autosave before loading the desktop, and enable afterwards. Fixes: debbugs:17351
| | * Fix some indentation problem with \; and pipes.Stefan Monnier2014-06-242-17/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&. (sh-smie--default-forward-token, sh-smie--default-backward-token): New functions. (sh-smie-sh-forward-token, sh-smie-sh-backward-token) (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them. (sh-smie-sh-rules): Fix indentation of a pipe at BOL. Fixes: debbugs:17842
| * | * find-func.el (find-function-C-source-directory): Use ↵Glenn Morris2014-06-252-2/+4
| | | | | | | | | | | | file-accessible-directory-p
| * | ps-samp.el: Make it slightly less awfulGlenn Morris2014-06-252-110/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ps-samp.el (ps-rmail-mode-hook, ps-gnus-article-prepare-hook) (ps-vm-mode-hook, ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key. Only set local values. (ps-article-subject, ps-article-author): Use standard functions like mail-fetch-field. (ps-info-file, ps-info-node): Use match-string. (ps-jts-ps-setup, ps-jack-setup): Remove, merging into... (ps-samp-ps-setup): ... new function.
| * | * lisp/progmodes/idlw-shell.el (idlwave-shell-make-temp-file): OptimizeGlenn Morris2014-06-252-20/+24
| | | | | | | | | | | | away code unneeded on any modern Emacs.
| * | Move lisp/emacs-lisp/authors.el to admin/Glenn Morris2014-06-252-1359/+2
| | | | | | | | | | | | It is not useful for anything other than maintaining Emacs.
| * | Simplify and parallize test/automated MakefileGlenn Morris2014-06-252-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (mostlyclean, clean): Maybe clean test/automated. * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New. * test/automated/Makefile.in: Simplify and parallelize. (XARGS_LIMIT, BYTE_COMPILE_EXTRA_FLAGS) (setwins, compile-targets, compile-main, compile-clean): Remove. (GREP_OPTIONS): Unexport. (.el.elc): Replace with pattern rule. (%.elc, %.log): New pattern rules. (ELFILES, LOGFILES): New variables. (check): Depend on LOGFILES. Call ert-summarize-tests-batch-and-exit. (clean, mostlyclean): New rules. (bootstrap-clean): Simplify. (bootstrap-clean, distclean): Depend on clean. * .bzrignore: Ignore test/automated/*.log. Fixes: debbugs:15991
| * | HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches basedLuke Lee2014-06-261-46/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef. - Supporting argumented macro expansion. - Stringification, tokenization and concatenation of strings and tokens. - Add functions to find defines and parse argumented macros into a macro tree containing macro name, formal parameters and macro body. - On macro evaluation, macros will be applied with actual parameters and then got expanded recursively. - Apply review changes. * lisp/progmodes/hideif.el (hif-string-to-number): Fix return value bug. (hif-simple-token-only, hif-tokenize): Commentted in detail mainly for performance enhancements. (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhanced for macro expansion. (hif-factor, hif-string-concatenation, intern-safe): Support string concatenation and argumented macro expansion. (hif-if-valid-identifier-p, hif-define-operator, hif-flatten) (hif-expand-token-list, hif-get-argument-list, hif-define-macro) (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize) (hif-canonicalize-tokens, hif-looking-at-elif, hif-place-macro-invocation) (hif-parse-macro-arglist): Mostly new functions for supporting argumented macro expansion. (hif-string-concatenation, hif-stringify, hif-token-concat) (hif-token-stringification, hif-token-concatenation): Stringify and concatentation. (hif-find-next-relevant): Fix comments (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for some cases involving #elif. (hif-find-define, hif-add-new-defines): New functions for automatically scanning of defined symbols. (hide-ifdef-guts): Fix for auto defined symbol scanning. (hide-ifdef-undef): Fix behavior to match CPP.
| * | lisp/Makefile: Remove cc-*.el dependencies on non-cc filesGlenn Morris2014-06-252-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/Makefile.in ($(lisp)/progmodes/cc-defs.elc) ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc files. They are not relevant to the original issue (bug#1004), and cause unnecessary recompilation (bug#2151).
| * | * lisp/play/landmark.el: Use lexical-binding and avoid `intangible'.Stefan Monnier2014-06-252-73/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (landmark--last-pos): New var. (landmark--intangible-chars): New const. (landmark--intangible): New function. (landmark-mode, landmark-move): Use it. (landmark-mode): Remove properties. (landmark-plot-square, landmark-point-square, landmark-goto-xy) (landmark-cross-qtuple): Don't worry about `intangible' any more. (landmark-click, landmark-point-y): Same; and don't assume point-min==1. (landmark-init-display): Don't set `intangible' and `point-entered'. (square): Remove. Inline it instead. (landmark--distance): Rename from `distance'. (landmark-calc-distance-of-robot-from): Rename from calc-distance-of-robot-from. (landmark-calc-smell-internal): Rename from calc-smell-internal.
| * | Do not allow out-of-range character position in Fcompare_strings.Dmitry Antipov2014-06-255-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/fns.c (validate_subarray): Add prototype. (Fcompare_substring): Use validate_subarray to check ranges. Adjust comment to mention that the semantics was changed. Also see http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html. * lisp/files.el (dir-locals-find-file, file-relative-name): * lisp/info.el (Info-complete-menu-item): * lisp/minibuffer.el (completion-table-subvert): Prefer string-prefix-p to compare-strings to avoid out-of-range errors. * lisp/subr.el (string-prefix-p): Adjust to match strict range checking in compare-strings. * test/automated/fns-tests.el (fns-tests-compare-string): New test.
| * | Auto-commit of loaddefs files.Glenn Morris2014-06-251-1/+1
| | |
| * | ChangeLog fixGlenn Morris2014-06-241-2/+2
| | |
| * | Make search in reftex-using-biblatex-p non-greedy.Leonard Randall2014-06-242-1/+7
| | | | | | | | | | | | | | | | | | * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search for comment lines non-greedy and stopping at newlines to fix stack overflows with large files.
| * | lisp/calculator.el (calculator-last-input): drop 'ascii-character propertyEli Barzilay2014-06-242-6/+9
| | | | | | | | | | | | | | | lookup. etc/NEWS: calculator.el user-visible changes.
| * | Merge from emacs-24; up to 2014-06-08T18:27:[email protected]Glenn Morris2014-06-2410-96/+74
| |\|
| | * Backport Unicode 7 update of character- and script-related databasesEli Zaretskii2014-06-243-40/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/characters.el (char-script-table): Update for scripts added and codepoint ranges changed in Unicode 7.0. * lisp/international/fontset.el (script-representative-chars): Add representative characters for scripts added in Unicode 7.0. (otf-script-alist): Synchronize with the latest registry of OTF script tags.
| | * * align.el (align-adjust-col-for-rule): Unbreak due to defaultingLeo Liu2014-06-243-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tab-stop-list to nil. * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop. (indent-rigidly-left-to-tab-stop) (indent-rigidly-right-to-tab-stop, tab-to-tab-stop) (move-to-tab-stop): Change callers. Fixes: debbugs:16381
| | * * html2text.el (html2text-get-attr): Rewrite to handle spaces in quotedAndreas Schwab2014-06-222-66/+19
| | | | | | | | | | | | attribute values. (Bug#17834)
| | * More tweaks of skeleton documentation wrt \n behavior at bol/eol.Eli Zaretskii2014-06-222-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | lisp/skeleton.el (skeleton-insert): Yet another fix of the doc string wrt behavior of \n as the first/last element of a skeleton. doc/misc/autotype.texi (Skeleton Language): Document the \n feature better.
| | * * net/tramp-adb.el (tramp-adb-handle-process-file):Michael Albinus2014-06-224-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | * net/tramp-sh.el (tramp-sh-handle-process-file): * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise the output buffer when DISPLAY is non-nil. Fixes: debbugs:17815
| | * * landmark.el: Commentary fixes.Glenn Morris2014-06-211-7/+4
| | |
| | * Fix landmark, broken since Emacs 23.1Glenn Morris2014-06-212-2/+11
| | | | | | | | | | | | | | | * play/landmark.el (landmark-move-down, landmark-move-up): Fix 2007-10-20 change - preserve horizontal position.
| | * ChangeLog fix (no need to merge to trunk)Glenn Morris2014-06-211-1/+1
| | |
| * | Optionally, undo several consequential deletion in one step.Sam Steingold2014-06-232-1/+26
| | | | | | | | | | | | | | | * lisp/simple.el (kill-append): Remove undo boundary depending on ... (kill-append-merge-undo): New user option.
| * | * lisp/simple.el (handle-shift-selection, exchange-point-and-mark)Stefan Monnier2014-06-237-29/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (activate-mark): Set transient-mark-mode buffer-locally. (transient-mark-mode): Use&set the global value. * lisp/mouse.el (mouse-set-region-1, mouse-drag-track): Idem. * lisp/org/org-compat.el (activate-mark): Idem. * lisp/emulation/edt.el (edt-emulation-off): Save&restore the global transient-mark-mode setting. * lisp/obsolete/pc-select.el (pc-selection-mode): Use the transient-mark-mode function. Fixes: debbugs:6316
| * | Update various character- and script-related databases per Unicode 7.0.Eli Zaretskii2014-06-233-40/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | lisp/international/fontset.el (script-representative-chars): Add representative characters for scripts added in Unicode 7.0. (otf-script-alist): Synchronize with the latest registry of OTF script tags. lisp/international/characters.el (char-script-table): Update for scripts added and codepoint ranges changed in Unicode 7.0.
| * | * calculator.el (calculator-standard-displayer): Fix bug in use ofEli Barzilay2014-06-232-10/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | `calculator-groupize-number'. (calculator-funcall): Fix broken `cl-flet' use by moving it into the `eval' code, so it works in v24.3.1 too. (calculator-last-input): Comment to clarify purpose. Also add back a ChangeLog blurb for previous commit 2014-06-15T04:52:[email protected].
| * | "the the", "from from" and "and and".Mario Lang2014-06-236-4/+16
| | |