1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

116721 commits

Author SHA1 Message Date
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
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
Eli Zaretskii
017a03afc9 Document MS-Windows file-name idiosyncrasies (Bug#19463)
doc/emacs/msdog.texi (Windows Files): Document characters invalid in
 Windows file names.
2015-01-31 18:32:11 +02:00
Eli Zaretskii
f3faf4f027 Fix description of Customize buffer in Emacs manual.
doc/emacs/custom.texi (Customization Groups): Update the looks of the
 Customize Group buffer.
2015-01-31 18:05:38 +02:00
Eli Zaretskii
1c1d0b75e8 Fix a typo in the Emacs manual's Hungry Delete description.
doc/emacs/programs.texi (Hungry Delete): Fix a typo: "C-d" instead of
 "C-c C-d" in hungry-delete mode.
2015-01-31 17:50:36 +02:00
Eli Zaretskii
be7fb822b8 src/dispextern.h (FACE_FOR_CHAR): Fix the commentary. 2015-01-30 13:47:47 +02: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
Hans Wennborg
868df45153 Avoid compiler warnings in decode_env_path.
src/emacs.c (decode_env_path): Add parentheses around ternary
 operator to increase readability and pacify compiler warnings.
2015-01-29 21:31:14 +02:00
Tassilo Horn
b28c97942e Fix XEmacs version typo in comment and ChangeLog 2015-01-29 20:28:16 +01:00
Eli Zaretskii
989fb32064 Improve solution of bug #19701
src/w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not ready")
 to ENOENT.
2015-01-29 20:43:08 +02:00
Eli Zaretskii
6310530450 Fix refilling of list of language environments in User Manual (Bug#19697)
doc/emacs/mule.texi (Language Environments): Work around refill bug in
 makeinfo 4.x.
2015-01-29 18:51:24 +02:00
Tassilo Horn
c4c447d8cc Restore XEmacs compatibility
* textmodes/reftex-vars.el (featurep): Conditionalize value of
reftex-label-regexps in order to stay compatible with XEmacs 25
which has no explicitly numbered groups in regexps (bug#19714).
2015-01-29 15:51:40 +01:00
Katsumi Yamaoka
b75358e98f Merge remote-tracking branch 'origin/emacs-24' into emacs-24 2015-01-29 02:29:55 +00:00
Lars Magne Ingebrigtsen
c96c93fad1 [Backport] lisp/gnus/message.el (message-smtpmail-send-it): Make non-standard mail header separators work with smtpmail 2015-01-29 02:28:18 +00:00
Lars Magne Ingebrigtsen
972282f3bd [Backport] lisp/gnus/message.el (message-smtpmail-send-it): Make non-standard mail header separators work with smtpmail 2015-01-29 02:22:34 +00:00
Elias Oltmanns
7779da6fc1 lisp/gnus/nimap.el (nnimap-find-expired-articles): nnimap `never' expiration fix 2015-01-29 01:41:44 +00:00
Elias Oltmanns
9ee2d9f92a [Backport] lisp/gnus/nnimap.el (nnimap-find-expired-articles): nnimap `never' expiration fix 2015-01-29 01:20:00 +00:00