1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

61734 Commits

Author SHA1 Message Date
Stefan Monnier
5e0314f6fa * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional
Fixes: debbugs:20205

* lisp/emacs-lisp/smie.el (smie-backward-sexp-command)
(smie-forward-sexp-command): Don't pretend the arg is optional.
2015-03-26 09:36:24 -04:00
Ben Bacarisse
90b46f5b54 lisp/gnus/nnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is an nnmh group (bug#20170) 2015-03-23 08:02:01 +00:00
Glenn Morris
e7f92aa3d3 authors.el small additions
* lisp/emacs-lisp/authors.el (authors-aliases)
(authors-obsolete-files-regexps): Additions.
2015-03-22 17:33:49 -07:00
Jan D
c3c4b758c6 Fixes: debbugs:18939
* simple.el (deactivate-mark): Only modify PRIMARY if we own PRIMARY.
2015-03-22 19:31:46 +01:00
Martin Rudalics
bb7b23c5cb In `debug' don't try using window on inaccessible frame (Bug#17170).
* emacs-lisp/debug.el (debug): Don't try using "previous"
window when its not live or on an invisible frame (Bug#17170).
2015-03-22 12:40:21 +01:00
Eli Zaretskii
e72edc05c3 Fix lisp/ChangeLog entry from last commit. 2015-03-21 12:04:39 +02:00
Mario Lang
17ad6f839e Fix problems caused by calling 'recenter' in auto-revert (Bug#20122)
lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
 `recenter' if `current-buffer' is equal to `window-buffer'.

(cherry picked from commit 4a81602043)
2015-03-21 12:01:27 +02:00
Dmitry Gutov
1c4900d953 Backport: ruby-mode: Detect regexps after `!'
Fixes: debbugs:19285

* lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
regexps after `!'.

(cherry picked from commit 8854b9cf52)
2015-03-20 06:05:02 +02:00
Dmitry Gutov
f74843a7f1 Backport: ruby-mode: Change faces used for self, true, false and nil
Fixes: debbugs:17733

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
`font-lock-constant-face' for nil, true and false.  Highlight
`self' as a keyword.

(cherry picked from commit e991af9228)
2015-03-20 06:04:54 +02:00
Nobuyoshi Nakada
a5d1f94fec Backport: ruby-mode: Expect regexp after { or | too
Fixes: debbugs:20026

* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
beginning of regexp also after open brace or vertical bar.

(cherry picked from commit dad0fc589c)
2015-03-20 06:04:36 +02:00
Nicolas Petton
b21a56ac91 Bump version to 24.4.91 2015-03-08 16:17:36 +01:00
Nicolas Petton
51c0c8dc70 * lisp/ChangeLog: Fix a changelog entry 2015-03-08 15:41:15 +01:00
Michael Albinus
9869d6f612 Make tramp-ssh-controlmaster-options a defcustom. Do not merge with master.
Fixes: debbugs:20015

* net/tramp.el (tramp-ssh-controlmaster-options): Make it a
defcustom.
2015-03-07 21:02:04 +01:00
Eli Zaretskii
eb62887e97 lisp/dired.el (dired-delete-file): Doc fix. (Bug#20021) 2015-03-07 11:55:58 +02:00
Glenn Morris
69204d5a8a # Changelog fixes (no need to merge to trunk) 2015-03-04 09:04:54 -08:00
Agustin Martin Domingo
c4ade119cc textmodes/ispell.el: Look for aspell .dat files also under dict-dir, as aspell does.
Originally reported as http://bugs.debian.org/765349.
Noticed when aspell has different data-dir and dict-dir.

* textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
.dat files for aspell dicts are also searched for in location
described by `ispell-aspell-dict-dir', matching aspell's dict-dir
variable.
2015-03-03 13:12:38 +01:00
Agustin Martin Domingo
e28ec9a430 ispell.el: Extend to aspell current hunspell handling of aliases names for standard dicts.
Extend `ispell-hunspell-dictionary-equivs-alist' use to aspell, once
renamed to a more general `ispell-dicts-name2locale-equivs-alist' name.

Originally reported as http://bugs.debian.org/745613

* textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
	(ispell-hunspell-fill-dictionary-entry)
	(ispell-find-hunspell-dictionaries)
	(ispell-set-spellchecker-params): New generic name for
	`ispell-hunspell-dictionary-equivs-alist'.
	(ispell-aspell-add-aliases): Also use
	`ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
	standard dict names.
2015-03-03 12:48:58 +01:00
Glenn Morris
15d78a2464 # Auto-commit of loaddefs files. 2015-03-01 07:24:12 -05:00
Glenn Morris
1b0ebbdb56 browse-url-firefox: update for firefox 36's removal of -remote
Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1080319

* lisp/net/browse-url.el (browse-url-firefox-startup-arguments):
Make obsolete.
(browse-url-firefox): Doc fix.  Remove -remote.
(browse-url-firefox-sentinel): Remove function.

* etc/NEWS: Mention this.

Fixes: debbugs:19921
2015-02-24 18:02:11 -05:00
Eli Zaretskii
18178922a8 Avoid erratic behavior of menu-bar tooltips on w32 (Bug#19925)
src/w32fns.c (Fw32__menu_bar_in_use): New internal function.

 lisp/frame.el (blink-cursor-timer-function): Don't increment
 blink-cursor-blinks-done counter when a menu is active on a w32
 frame.
2015-02-23 19:46:44 +02:00
Fabián Ezequiel Gallina
02609324ce Bump python.el version 2015-02-21 18:43:33 -03:00
Paul Eggert
b0adfc721f Spelling fixes 2015-02-21 12:34:46 -08:00
Juri Linkov
6f2971ab76 * lisp/comint.el (comint-line-beginning-position): Revert searching for
the prompt when comint-use-prompt-regexp is non-nil because it
doesn't distinguish input from output.  Check the field property
`output' for the case when comint-use-prompt-regexp is nil.

Fixes: debbugs:19710
2015-02-19 21:28:41 +02:00
kwhite
4fa778b62c erc.el: Add old version header for package.el compatibilty 2015-02-17 13:41:02 -05:00
Jérémy Compostella
9366f0547e Tramp: Disable paging with PAGER=cat
Fixes: debbugs:19870

* net/tramp-sh.el (tramp-remote-process-environment): Disable paging
with PAGER=cat.
2015-02-15 16:11:33 +01:00
Glenn Morris
3ca2ff367a * lisp/erc/erc.el (erc-rename-buffers): Doc fix. Add :version. 2015-02-13 13:19:20 -05:00
Glenn Morris
b85523fea0 * lisp/textmodes/flyspell.el (flyspell-duplicate-distance): Bump :version. 2015-02-13 13:17:07 -05:00
Eli Zaretskii
decb48d3f7 Augment text-mode syntax table for a few special characters
lips/textmodes/text-mode.el (text-mode-syntax-table): Make some
 punctuation character behave as word-constituent, for more
 compatibility with Unicode.
2015-02-13 17:44:51 +02:00
Eli Zaretskii
8b3ba7ae65 Improve docs of transient-mark-mode (Bug#19841)
src/buffer.c (syms_of_buffer): Doc fix.

 lisp/simple.el (transient-mark-mode): Doc fix.
2015-02-13 11:09:21 +02:00
Agustin Martin Domingo
a7254bbf99 Improve string search in flyspell-word-search-*. (Bug#16800)
* flyspell.el (flyspell-duplicate-distance): Limit default search
distance for duplicated words to 40000.
(flyspell-word-search-backward, flyspell-word-search-forward):
Search as full word with defined casechars, not as substring.

Fixes: debbugs:16800
2015-02-12 18:45:26 +01:00
Juri Linkov
87fc99fee1 Better support for the case of typing RET on the prompt in comint.
* lisp/comint.el (comint-get-old-input-default): Go to the field end
when comint-use-prompt-regexp is nil.
(comint-line-beginning-position): Check if point is already
on the prompt before searching for the prompt when
comint-use-prompt-regexp is non-nil.

Fixes: debbugs:19710
2015-02-10 02:38:09 +02:00
Eli Zaretskii
a7b1c2f88f Don't lose frame's background color when setting foreground (Bug#19802)
lisp/frame.el ((set-background-color, set-foreground-color): Pass the
 other color, if defined, to face-set-after-frame-default.
2015-02-08 20:09:19 +02:00
Eli Zaretskii
20c817d365 Fix handling of frame color parameters in TTY sessions (Bug#19802)
src/xfaces.c (map_tty_color): Use assoc_no_quit instead of
 assq_no_quit to fetch color definition by its string name.

 lisp/frame.el (frame-notice-user-settings): Refresh the value of
 frame parameters after calling tty-handle-reverse-video.  Call
 face-set-after-frame-default with the actual parameters, to avoid
 resetting colors back to unspecified.
 (set-background-color, set-foreground-color): Pass the selected
 color to face-set-after-frame-default.
2015-02-08 18:17:40 +02:00
Wolfgang Jenkner
4f5033faf2 Backport the :end-of-capability fix
* lisp/net/network-stream.el (network-stream-open-tls): Respect the
:end-of-capability setting (backport)
2015-02-06 14:13:44 +11:00
Juri Linkov
a323b93d46 Better multi-line input support in comint.el
Revert the change of comint-line-beginning-position callers,
and modify comint-line-beginning-position instead.

* lisp/comint.el (comint-history-isearch-search)
(comint-history-isearch-message, comint-history-isearch-wrap):
Use comint-line-beginning-position instead of field-beginning.
(comint-send-input): Use either end-of-line or field-end
depending on comint-use-prompt-regexp.
(comint-line-beginning-position): Search backward
for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
Use field-beginning instead of line-beginning-position
if comint-use-prompt-regexp is nil.

Fixes: debbugs:19710
2015-02-05 02:52:41 +02:00
Robert Pluim
008a04ac9a todo-mode.el: Restore point on setting item done (Bug#19727)
calendar/todo-mode.el (todo-item-done): When done items are hidden,
restore point to its location prior to invoking this command.
2015-02-04 22:38:52 +01:00
Eli Zaretskii
d825f66db8 Fix filling circle/ellipse in Artist Mode (Bug#19763)
lisp/textmodes/artist.el (artist-ellipse-compute-fill-info): Use
 mapcar, not mapc, to create the other half of fill-info.
2015-02-04 17:31:37 +02:00
Nicolas Petton
4779a4bbcc Bump version to 24.4.90 2015-02-04 02:07:13 +01:00
Nicolas Petton
ec26c23f48 authors.el: Add missing ignored and renamed files
* emacs-lisp/authors.el (authors-ignored-files)
(authors-renamed-files-alist): Additions.
2015-02-04 01:11:13 +01:00
Michael Albinus
4e8d586076 Fix last commit 2015-02-03 10:42:13 +01:00
Michael Albinus
d6fee01589 Tramp: Don't use a tempfile for ControlPath.
Fixes: debbugs:19702

* net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
tempfile for ControlPath.
2015-02-03 10:32:00 +01:00
Michael Albinus
50f3811883 net/tramp.el (tramp-ssh-controlmaster-options): Use "%C"
Fixes: debbugs:19702

* net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
ControlPath if possible.
2015-02-02 10:16:04 +01:00
Glenn Morris
43b82baa79 authors.el: backport some additions
* lisp/emacs-lisp/authors.el (authors-obsolete-files-regexps)
(authors-valid-file-names, authors-renamed-files-alist): Additions.
2015-02-01 17:17:57 -08:00
Alan Mackenzie
d69e9f1c24 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes debbugs#19669.
cc-mode.el (c-font-lock-init): Setq font-lock-extend-region-functions to
nil.
2015-02-01 21:20:35 +00:00
Glenn Morris
a78774a6b3 # Auto-commit of loaddefs files. 2015-02-01 07:24:05 -05:00
Alan Mackenzie
e726f2058c Handle "#" operator properly inside macro. Fix coding bug.
cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On finding a "#" which
looks like the start of a macro, check it isn't already inside a macro.

cc-engine.el (c-state-safe-place): Don't record a new "safe" position
into the list of them when this is beyond our current position.
2015-01-31 21:44:47 +00:00
Martin Rudalics
618931b5b6 Handle dead frame in menu-bar-non-minibuffer-window-p. (Bug#19728)
* menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
the menu frame is dead.  (Bug#19728)
2015-01-31 19:38:58 +01:00
Paul Eggert
33c4409a8e Spelling fixes 2015-01-29 19:47:35 -08:00
Fabián Ezequiel Gallina
6c8231ee8c python.el: Handle tabs in python-indent-dedent-line.
Fixes: debbugs:19730

* lisp/progmodes/python.el (python-indent-dedent-line): Fixes for
indentation with tabs.  Thanks to <dale@codefu.org>.

* test/automated/python-tests.el
(python-indent-dedent-line-backspace-2)
(python-indent-dedent-line-backspace-3): New tests.
2015-01-30 00:41:52 -03:00
Fabián Ezequiel Gallina
41c3b9241c * lisp/progmodes/python.el (python-indent-context): Respect user
indentation after comment.

* test/automated/python-tests.el (python-indent-pep8-1)
(python-indent-pep8-2, python-indent-pep8-3)
(python-indent-after-comment-2): Fix tests.
(python-indent-after-comment-3): New test.
2015-01-30 00:19:55 -03:00