summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* (message-change-subject): Really check whether the subject changedLars Magne Ingebrigtsen2014-12-072-1/+6
|
* * lisp/progmodes/python.el: Recognize docstrings.Tom Willemse2014-12-072-5/+31
| | | | | | (python-docstring-at-p, python-font-lock-syntactic-face-function): New functions. (python-mode): Use them.
* newsticker: Context menu in treeview's tree.UJ2014-12-062-32/+34
| | | | | | | | | | | * net/newst-treeview.el (newsticker--treeview-list-add-item) (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3. (newsticker--treeview-create-groups-menu) (newsticker--treeview-create-tree-menu): Removed. (newsticker--treeview-tree-open-menu): New. (newsticker-treeview-tree-click): Pass event to `newsticker-treeview-tree-do-click'. (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
* Better support for milti-line shell input.Juri Linkov2014-12-062-5/+14
| | | | | | | | | * lisp/comint.el (comint-history-isearch-search) (comint-history-isearch-wrap): Use field-beginning instead of comint-line-beginning-position. (comint-send-input): Go to the end of the field instead of the end of the line to accept whole multi-line input. http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
* Better check for displaying completions near the minibuffer.Juri Linkov2014-12-062-7/+10
| | | | | | | | | * lisp/minibuffer.el (minibuffer-completion-help): Compare selected-window with minibuffer-window to check whether completions should be displayed near the minibuffer. http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html Fixes: debbugs:17809
* Fix minor bugs in vc.Michael Albinus2014-12-053-2/+8
| | | | | * vc/vc-mtn.el (vc-mtn-root): * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
* Merge from emacs-24Stefan Monnier2014-12-053-4/+14
|\
| * * lisp/progmodes/sh-script.el: Fix indentation rule of "| while".Stefan Monnier2014-12-042-2/+8
| | | | | | | | | | | | | | | | Fixes: debbugs:18031 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning of the whole pipe when indenting an opening keyword after a |. Generalize this treatment to opening keywords like "while".
| * * lisp/simple.el (newline): Place the hook buffer-locally,Stefan Monnier2014-12-012-2/+5
| | | | | | | | to make sure it's first.
| * Auto-commit of loaddefs files.Glenn Morris2014-12-011-1012/+1119
| |
* | Merge from emacs-24Stefan Monnier2014-12-053-4/+20
|\|
| * * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol): Refine.Stefan Monnier2014-11-302-3/+11
| | | | | | | | | | Fix handling of symbols with different syntax at beginning/end or with symbol rather than word syntax.
| * Fix bug #19211 with move-end-of-line in non-interactive session.Eli Zaretskii2014-11-302-1/+8
| | | | | | | | | | | | | | lisp/simple.el (line-move): If noninteractive, call line-move-1, not forward-line, since the former is compatible with line-move-visual both in terms of the column to which it moves and the return value.
| * ChangeLog fix (do not merge to master)Glenn Morris2014-11-291-1/+1
| |
* | Merge from origin/emacs-24Stefan Monnier2014-12-051-4/+6
|\| | | | | | | bb19b22 Python.el: Update commentary on RET-behavior
| * Python.el: Update commentary on RET-behaviorRasmus2014-11-291-4/+6
| | | | | | | | Commentary reflect that `electric-indent-mode' in enabled by default.
* | * lisp: Prefer inlinable functions to macros.Stefan Monnier2014-12-059-32/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/fringe.el (fringe-bitmap-p): Make it a plain function. * lisp/tooltip.el (tooltip-region-active-p): Remove. * lisp/net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p) (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline. * lisp/url/url-future.el (url-future-done-p, url-future-completed-p) (url-future-errored-p, url-future-cancelled-p): * lisp/url/url-dav.el (url-dav-http-success-p): Use define-inline. * lisp/vc/ediff-init.el (ediff-odd-p): Remove. (ediff-background-face): Use cl-oddp instead. (ediff-buffer-live-p): Make it a defsubst.
* | * lisp/emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.Stefan Monnier2014-12-052-16/+23
| | | | | | | | | | | | | | (class-p, generic-p, eieio-object-p, class-abstract-p): Make them defsubst, so as to avoid corner case problems where the arg might be evaluated in the condition-case, or it can't be passed to higher-order functions like `cl-some'.
* | (widget-choose) Let numeric keypad workNicolas Richard2014-12-052-43/+31
| | | | | | | | | | | | | | Fixes: debbugs:19268 * wid-edit.el (widget-choose): Let numeric keypad work and remove old menu-related code.
* | Make eww use mailcap when displaying PDF filesLars Magne Ingebrigtsen2014-12-052-1/+7
| | | | | | | | | | | | | | Fixes: debbugs:19270 * net/eww.el (eww-display-pdf): Let mailcap determine how to display PDF files.
* | Make it easier to use mailcap for viewing single filesLars Magne Ingebrigtsen2014-12-052-0/+22
| | | | | | | | | | | | * mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for PDFs. (mailcap-view-mime): New function.
* | fix a typo in doc stringSam Steingold2014-12-051-1/+1
| |
* | Compare with the most recently used window by default.Juri Linkov2014-12-052-14/+58
| | | | | | | | | | | | | | | | | | | | | | * lisp/vc/compare-w.el (compare-windows-get-window-function): New defcustom. (compare-windows-get-recent-window) (compare-windows-get-next-window): New functions. (compare-windows, compare-windows-sync-default-function): Use `compare-windows-get-window-function' instead of `next-window'. (compare-windows): Add diff/match messages with region boundaries. Fixes: debbugs:19170
* | * lisp/subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.Stefan Monnier2014-12-042-5/+4
| |
* | * net/shr.el (shr--extract-best-source): Ignore non-text children.Lars Magne Ingebrigtsen2014-12-042-2/+6
| |
* | Implement copying of a buffer portion while preserving visual order.Eli Zaretskii2014-12-042-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02203.html and http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00063.html for the rationale. lisp/simple.el (bidi-directional-controls-chars) (bidi-directional-non-controls-chars): New variables. (squeeze-bidi-context-1, squeeze-bidi-context) (line-substring-with-bidi-context) (buffer-substring-with-bidi-context): New functions. doc/lispref/display.texi (Bidirectional Display): Document 'buffer-substring-with-bidi-context'. doc/lispref/text.texi (Buffer Contents): Mention 'buffer-substring-with-bidi-context' with a cross-reference. etc/NEWS: Mention 'buffer-substring-with-bidi-context'.
* | lisp/files.el (file-tree-walk): Doc fix.Eli Zaretskii2014-12-042-3/+14
| |
* | lisp/autoinsert.el: Change default of auto-insert-alist.RĂ¼diger Sonderfeld2014-12-042-11/+22
| | | | | | | | | | | | | | | | * lisp/autoinsert.el (auto-insert-alist): Update C/C++ header and program support to match more extensions. Replace non-alnum characters when generating include guards (headers) and check for more extensions when generating includes (programs) (bug#19254).
* | Fix punctuation glitches in file-tree-walk docstring.Eric S. Raymond2014-12-032-5/+9
| | | | | | | | * files.el (file-tree-walk): Fix docstring.
* | Fix bug whereby saving files hung in VC hook.Karl Fogel2014-12-032-2/+15
| | | | | | | | | | | | | | | | | | | | | | Saving a buffer visiting a file under SVN control would hang if the remote repository were unreachable, because the VC hooks tried to run "svn status -u" on the file, where the "-u" tells svn to get update information from the remote repository. http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html * vc/vc-svn.el (vc-svn-state): Remove optional `localp' argument and always pass "-v" to "svn status", never "-u".
* | * lisp/emacs-lisp/inline.el: Cosmetic and minor fixes.Stefan Monnier2014-12-032-12/+30
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/inline.el: Fix up copyright header. (inline-quote, inline-const-p, inline-const-val, inline-error): Silence compiler warnings. (inline-letevals): Fix edebug spec. (inline--testconst-p): Consider lambda expressions as const-p. (inline--getconst-val): Use inline--testconst-p.
* | Fixes: debbugs:19250Stefan Monnier2014-12-035-19/+33
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completion-table-dynamic): Add arg `switch-buffer' and change default to stay in the minibuffer when called from the minibuffer. (lazy-completion-table): Use this new argument to preserve the old behavior. * lisp/progmodes/elisp-mode.el (elisp--local-variables): Don't burp on incorrect lexical elements (bug#19250).
* | Added file-tree-walk to files.el.Eric S. Raymond2014-12-032-0/+30
| |
* | * lisp/whitespace.el (whitespace-big-indent-regexp): Add :version.Glenn Morris2014-12-022-0/+5
| |
* | Add filter macro, which does what you expect.Eric S. Raymond2014-12-022-1/+9
| | | | | | | | | | * subr.el (filter): New macro. Because it's just silly for a Lisp not to have this in 2014. And VC mode needs it.
* | In vc, abolish the dir-status method.Eric S. Raymond2014-12-0213-89/+68
| |
* | Eliminate an unuted function argument.Eric S. Raymond2014-12-029-18/+26
| | | | | | | | | | | | | | | | * vc.el, all backends: API simplification: Remove 4th 'default-state' argument from vc-dir-status files and its backend methods - no backend method ever set it. It was used only in the fallback method to to set a default of 'up-to-date, though a convoluted call chain obscured this.
* | Another longstanding to-do: bind vc-delete-file.Eric S. Raymond2014-12-023-3/+8
| |
* | Clean up a longstanding to-do item.Eric S. Raymond2014-12-024-43/+26
| | | | | | | | | | * vc.el (vc-expand-dirs): Now takes a second BACKEND argument, improving behavior on directories using multiple file-oriented VCSEs.
* | Remove clear-headers from VC's public method set.Eric S. Raymond2014-12-016-36/+23
| | | | | | | | | | | | * vc/vc.el and all backends: API simplification; clear-headers is no longer a public method. It is now local to the one place it's used, in the RCS steal-lock method.
* | Fix minor bug introduced in 'Terminate vc-disable-async-diff'Eric S. Raymond2014-12-011-1/+1
| |
* | Update the git backend's header comment.Eric S. Raymond2014-12-011-2/+4
| |
* | Remove could-register from the set of public VC backend methods,Eric S. Raymond2014-12-019-50/+7
| | | | | | | | | | | | * vc/vc.el and all backends: API simplification; could-register is no longer a public method. (vc-cvs.el still has a private implementation.)
* | Document a trap for the unwary.Eric S. Raymond2014-12-011-0/+3
| |
* | Terminate vc-disable-async-diff with extreme prejudice.Eric S. Raymond2014-12-0113-49/+59
| | | | | | | | | | | | * vc/vc.el, and all backends: API cleanup; the backend diff method takes an explicit async flag. This eliminates a particularly ugly global.
* | Restore ChangeLog entry clobbered earlier today.Glenn Morris2014-12-011-0/+5
| |
* | * lisp/vc/vc-svn.el: Remove stray comment char introduced earlier today.Glenn Morris2014-12-011-1/+1
| |
* | Merge some of the differences from the standalone CC-mode.Stefan Monnier2014-12-0114-290/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main change is to only use the `category' text-property only when available. For that many calls are changed to use c-get-char-property, c-next-single-property-change, c-sc-scan-lists, c-sc-parse-partial-sexp, c-unmark-<->-as-paren. * lisp/progmodes/cc-align.el (c-lineup-respect-col-0): New function. * lisp/progmodes/cc-cmds.el (c-forward-into-nomenclature) (c-backward-into-nomenclature): Use cc-subword if subword-mode is not available. (c-beginning-of-defun, c-end-of-defun, c-mark-function) (c-indent-line-or-region): Use c-region-is-active-p. * lisp/progmodes/cc-defs.el (c-version): Bump up to 5.33. (c-use-category): New const. (c-next-single-property-change): New macro. (c-region-is-active-p): Prefer region-active-p when available. (c-search-backward-char-property): Fix old min/max typo; probably a copy/paste error. (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren): Turn them into macros that obey c-use-category. (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1) (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1) (c-sc-scan-lists, c-sc-parse-partial-sexp) (c-looking-at-non-alphnumspace): New macros. (c-sc-parse-partial-sexp-no-category): New function. (c-emacs-features): Add `category-properties' element. * lisp/progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state): Handle the case where categories are not available. (c-record-parse-state-state, c-replay-parse-state-state): Handle marker values. (c-before-change-check-<>-operators): Look for the `syntax-table' property rather than for the corresponding `category'. (c-looking-at-decl-block): Remove unused var `c-disallow-comma-in-<>-arglists'. (c-forward-<>-arglist-recur): Remove unused var `orig-record-found-types'. * lisp/progmodes/cc-langs.el (c-modified-constant): New lang var. (c-known-type-key): Don't make a list just to throw it away. * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables) (cc-bytecomp-original-functions, cc-bytecomp-original-properties) (cc-bytecomp-loaded-files): Re-set each time the file is loaded. (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete) (cc-bytecomp-obsolete-fun): Delete unused functions. * lisp/progmodes/cc-mode.el (c-just-done-before-change): New var. (c-basic-common-init): Initialize it. (c-common-init): Only use mode-require-final-newline when available. (c-before-change): Check and set c-just-done-before-change. (c-after-change): Re-set c-just-done-before-change. (c-advise-fl-for-region): New macro. (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change) (font-lock-after-change-function, jit-lock-after-change): Advise if needed.
* | bzr-state randomly/unpredictably fails on non-bzr files.Eric S. Raymond2014-12-011-1/+108
| |
* | shr-dom-print dom.el changesLars Magne Ingebrigtsen2014-12-012-6/+16
| | | | | | | | | | * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the dom.el changes.