Commit graph

116739 commits

Author SHA1 Message Date
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
Eli Zaretskii
f1601063f2 Avoid assertion violations in Rmail due to newline cache
src/search.c (find_newline): Avoid assertion violations in
 CHAR_TO_BYTE when a portion of the buffer was deleted and we look
 for newlines near the end of the buffer.  This happens in Rmail
 hen JIT font-lock fontifies a newly displayed portion of the
 buffer.
2015-02-28 12:33:32 +02: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
Glenn Morris
35f047c066 * src/fileio.c (Fmake_temp_name): Doc tweaks.
Fixes: debbugs:19858
2015-02-19 21:42:22 -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
Eli Zaretskii
65d8ac7c37 Mention in admin/notes/repo how to mark commits that are not to be merged. 2015-02-19 17:40:41 +02:00
Glenn Morris
86fe750260 # Remove NEWS temporary markup 2015-02-18 09:09:50 -08: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
Eli Zaretskii
432b00e659 Fix assertions in popping up menus on TTY (Bug#19862)
Do not merge this commit to trunk!

 src/menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call
 mouse_position_for_popup only for X frames.
2015-02-14 15:03:20 +02:00
Glenn Morris
0077b36e2e # NEWS copyedits 2015-02-13 13:20:06 -05: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
kwhite
72fd047e68 NEWS: Add section to include ERC changes 2015-02-12 13:41:10 -05: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
Glenn Morris
f5d1e1f550 Backport NEWS typo fix 2015-02-11 13:18:45 -05:00
Noam Postavsky
680ee61d04 Backport fix for bug#18745 from master.
nt/cmdproxy.c (batch_file_p): New function.
 (spawn): If calling a quoted batch file pass NULL for progname.
2015-02-10 18:51:14 +02:00
Eli Zaretskii
4b0b27d001 Fix invocation of commands whose file name includes extension (Bug#19817)
nt/cmdproxy.c (get_next_token): Don't make backslashes disappear
 without a trace when they are not followed by a quote.
 (search_dir): Support searching programs whose file name already
 has an arbitrary extension.
 (main): When passing a command line to the shell, use cmd.exe
 rules for quoting command-line tail.
2015-02-10 18:26:23 +02: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
Eli Zaretskii
eca7da1092 Complete the remaining documentation updates for 24.5
doc/lispref/processes.texi (Synchronous Processes): Update documentation of
 call-process-shell-command and process-file-shell-command.

 etc/NEWS: Mark the entry for changed calling sequence of
 call-process-shell-command and process-file-shell-command as documented.
2015-02-07 11:04:52 +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
Eli Zaretskii
c0ba5908b1 Fix vertical-motion and posn-at-point when word-wrap is on (Bug#19769)
src/xdisp.c (move_it_in_display_line_to): Handle the case where the
 last character of a screen line is whitespace, and we are under
 word-wrap with overflow-newline-into-fringe turned on.
2015-02-05 19:07:15 +02: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
kwhite
9615c0dead doc/misc/erc.texi: fix typo 2015-02-04 14:33:07 -05:00
kwhite
c6487170e3 Update ERC docs and update MAINTANERS to include myself 2015-02-04 11:23:10 -05: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
Eli Zaretskii
e589765b88 A more thorough fix for bug#19307
src/xdisp.c (handle_stop, handle_single_display_spec)
 (next-element_from_image): Don't reset the
 ignore_overlay_strings_at_pos_p flag here.
 (next_element_from_buffer): Reset ignore_overlay_strings_at_pos_p
 here.
 (next_overlay_string): Set ignore_overlay_strings_at_pos_p here,
 after we've exhausted all the overlay strings at the current
 position.
2015-02-03 20:52:18 +02: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
Eli Zaretskii
27e11c0185 Fix display of overlay strings with faces after ellipsis (Bug#19307)
src/xdisp.c (set_iterator_to_next): Set value of stop_charpos
 according to the object we are about to resume iterating.
2015-02-02 18:23:32 +02:00
Eli Zaretskii
e9a7e10b18 Fix redrawing of mode lines when exposed (Bug#19721)
src/dispnew.c (adjust_glyph_matrix): Set the update_mode_line flag
 of the window whose current glyph matrix was resized, which
 disables the mode-line row as side effect.
 src/xdisp.c (redisplay_window): Don't avoid redisplay of a window
 whose update_mode_line flag is set.
2015-02-02 18:15:13 +02: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
Glenn Morris
9e22ff02ed # ChangeLog fixes, backported 2015-02-01 17:08:51 -08:00
Glenn Morris
d3852a99c9 * admin/admin.el (manual-meta-string): Use bug-gnu-emacs@gnu rather than webmasters@gnu 2015-02-01 16:55:24 -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