summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Expect project-search-path impls not to include the whole project dirscratch/projectDmitry Gutov2015-07-092-4/+12
|
* Rename project-source-directories to project-search-pathDmitry Gutov2015-07-095-47/+64
| | | | | | * Introduce project-search-path-function, default etags-search-path. * Move --prune-directories from xref to project.
* Move project-try-ede to lisp/cedet/ede.elDmitry Gutov2015-07-092-17/+16
|
* Actually define project-root for a `user' projectDmitry Gutov2015-07-081-3/+5
|
* project-try-vc: Ignore errorsDmitry Gutov2015-07-081-1/+1
|
* project-try-ede: Make it workDmitry Gutov2015-07-081-2/+9
|
* project-try-vc: Integrate with VCDmitry Gutov2015-07-081-7/+4
|
* Rename project{,-find}-functions and update some docstringsDmitry Gutov2015-07-081-7/+8
|
* Add new `project' package, and use it in xrefDmitry Gutov2015-07-085-37/+142
|
* * lisp/character-fold.el (character-fold-table):Artur Malabarba2015-07-051-6/+18
| | | | | Only fold decompositions if at least one character is non-spacing. (Bug#20975)
* Respect `prog-indentation-context' in python.elChristoph Wedler2015-07-051-32/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-indent-guess-indent-offset) (python-indent-context, python-indent--calculate-indentation) (python-info-current-defun) (python-info-dedenter-opening-block-message) (python-info-line-ends-backslash-p) (python-info-beginning-of-backslash) (python-info-continuation-line-p): Use `prog-widen'. (python-indent--calculate-indentation) (python-indent--calculate-levels) (python-indent-calculate-indentation): Use `prog-first-column'. (python-indent--calculate-levels): Simplify. Ignore also initial empty lines for syntax calculation. * lisp/progmodes/python.el (python-indent-context): Return :no-indent for first non-empty line, not just in line 1. * test/automated/python-tests.el (python-indent-base-case) (python-indent-inside-paren-1, python-indent-inside-paren-2) (python-indent-inside-paren-3, python-indent-inside-paren-4) (python-indent-inside-paren-5, python-indent-inside-paren-6) (python-indent-after-backslash-1) (python-indent-after-backslash-2) (python-indent-after-backslash-3) (python-indent-after-backslash-4, python-indent-inside-string-1): Expect :no-indent for first non-empty line.
* Factor isearch word description into new functionDaniel Colascione2015-07-041-17/+20
| | | | | * lisp/isearch.el (isearch--describe-word-mode): New function. (isearch-message-prefix, isearch-query-replace): Use it.
* Have `compilation-set-window' use right window for getting fringes (Bug#20829)Martin Rudalics2015-07-041-3/+3
| | | | | * lisp/progmodes/compile.el (compilation-set-window): Take `window-fringes' from argument window. (Bug#20829)
* Fix some issues with `window-divider-mode'Martin Rudalics2015-07-032-73/+63
| | | | | | | | | | | | | | | | | | * lisp/frame.el (window-divider-default-places): New option. (window-divider-mode): Remove option. (window-divider-mode): Make it a "regular" minor mode. (window-divider-width-valid-p): Drop frame- prefix. (window-divider-mode-apply): New argument ENABLE. Drop frame- prefix. Handle `window-divider-default-places'. (frame--window-divider-mode-set-and-apply): Remove. (window-divider-default-bottom-width) (window-divider-default-right-width): Drop :group entries. * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider) (menu-bar-right-window-divider, menu-bar-bottom-window-divider) (menu-bar-no-window-divider): Set `window-divider-default-places' and call `window-divider-mode'. * doc/emacs/frames.texi (Window Dividers): Document `window-divider-default-places'.
* -batch should not affect ‘’ -> `' displayPaul Eggert2015-07-021-6/+5
| | | | | * lisp/startup.el (command-line): Do the ‘’ -> `' check even if -batch (Bug#20926).
* * lisp/emacs-lisp/eieio-core.el (eieio--class-v): RemoveStefan Monnier2015-07-024-30/+26
| | | | | | * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el, lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el: Use cl--find-class instead.
* * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).Stefan Monnier2015-07-021-8/+8
|
* Document new `window-divider-mode'.Martin Rudalics2015-07-021-2/+3
| | | | | * lisp/frame.el (window-divider-mode): Fix doc-string. * doc/emacs/frames.texi (Window Dividers): New section.
* Improve accessibility of window dividers. (Bug#20183)Martin Rudalics2015-07-024-15/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/faces.el (window-divider) (window-divider-first-pixel, window-divider-last-pixel): Change membership from `frames' to `window-divider' customization group. * lisp/frame.el (window-divider): New customization group. (window-divider-mode): New minor mode. (window-divider-default-bottom-width) (window-divider-default-right-width): New options. (frame--window-divider-previous-mode): New variable. (frame-window-divider-width-valid-p) (frame--window-divider-mode-apply) (frame--window-divider-mode-set-and-apply): New functions. * lisp/menu-bar.el (menu-bar-options-save): Save window-divider-mode settings. (menu-bar-window-divider-customize) (menu-bar-bottom-and-right-window-divider) (menu-bar-right-window-divider, menu-bar-bottom-window-divider) (menu-bar-no-window-divider): New functions. (menu-bar-showhide-window-divider-menu): New variable. (menu-bar-showhide-menu): Show/hide window divider menu. * lisp/mouse.el (mouse-split-window-vertically) (mouse-split-window-horizontally): Replace `error' by `user-error'. Bind `window-combination-resize' to nil. (top-level): Add/reorder mouse key bindings on mode- and vertical-line.
* Don't display ‘’ as `' under X in en_GBPaul Eggert2015-07-012-8/+8
| | | | | | | | | | The curved quote setup code invokes (char-displayable-p ?‘), but this isn’t reliable until after the X frame replaces the terminal frame (Bug#20926). * lisp/international/mule-cmds.el (set-locale-environment): Move curved quote setup code from here ... * lisp/startup.el (command-line): ... to here, after creating the X frame.
* * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstringNicolas Richard2015-07-021-1/+1
|
* Add argument to reverse the meaning of ido-restrict-to-matchesNicolas Richard2015-07-021-4/+13
| | | | | | | * lisp/ido.el (ido-restrict-to-matches): Add an optional argument to reverse the meaning (Bug#15631). ; * etc/NEWS: Mention the change.
* Be more tolerant to fonts named "Foobar-12"Eli Zaretskii2015-07-011-2/+9
| | | | | | | | | | | * src/frame.c (x_set_font): If font_spec_from_name returns nil, don't barf; instead, request a new fontset to be generated. This avoids unnecessarily rejecting fonts named against XLFD rules. See http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html, for the description of the original problem. * lisp/faces.el (set-face-attribute): Don't be fooled too easily by a hyphen in a font's name.
* (cl--copy-slot-descriptor): Copy the `props' alist as wellStefan Monnier2015-07-011-1/+6
| | | | | | * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1): Rename from cl--copy-slot-descriptor. (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
* ; Auto-commit of loaddefs files.Glenn Morris2015-07-011-172/+262
|
* * lisp/term/xterm.el (xterm--query): Avoid generating garbageStefan Monnier2015-06-301-29/+45
| | | | | | (xterm-query-timeout): New var. (xterm--query): Use it. Fallback on async method if we timeout before getting the first byte of the reply (bug#12354).
* 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).