1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00
Commit Graph

125101 Commits

Author SHA1 Message Date
Martin Rudalics
0cee66c3f1 Facultatively ignore margins when splitting and resizing windows (Bug#24193)
Provide a new window parameter 'min-margins' which allows to
ignore the actual widths of a window's margins when splitting or
resizing that window horizontally.  This should serve as a
workaround for handling the problems raised by Bug#24193.

* lisp/window.el (window--min-size-1): Handle new window
parameter 'min-margins'.
(split-window): Fix text of error messages.
* doc/lispref/windows.texi (Window Parameters): Describe new
parameter 'min-margins'.
2016-08-16 09:19:18 +02:00
Noam Postavsky
8d681476bd Document CATEGORY arg to modify-category-entry
* src/category.c (Fmodify_category_entry): Document CATEGORY argument.
2016-08-13 22:56:11 -04:00
Noam Postavsky
8342e7481a Document char-script-table's effect on word motion
* doc/lispref/positions.texi (Word Motion): Talk about
char-script-table (Bug #10494).
2016-08-13 10:10:57 -04:00
Eli Zaretskii
e9ff4857cb Further fix for 'url-http-create-request' and multibyte strings
* lisp/url/url-http.el (url-http-create-request): Run
url-mime-charset-string through url-http--encode-string.
(Bug#24117)
2016-08-13 11:28:53 +03:00
Noam Postavsky
06952353b0 Fix docstring of eval-expression
* lisp/simple.el (eval-expression): Fix the docstring to reflect the
fact that the prefix argument does not affect formatting for
integers (Bug #20691).
2016-08-12 20:14:05 -04:00
Eli Zaretskii
98b01dd1ef Clarify when 'cursor' property is in effect
* doc/lispref/text.texi (Special Properties): Minor copyedits.
(Bug#24179)
2016-08-11 23:01:53 +03:00
Dmitry Gutov
75f1882479 Convert the remaining strings to unibyte before concatenating
* lisp/url/url-http.el (url-http--encode-string): New function.
(url-http-create-request): Use it to convert ASCII to unibyte.
(Bug#24117)
2016-08-11 21:06:49 +03:00
Eli Zaretskii
d2db5dd835 Fix bug with handling the bidi cache
* src/xdisp.c (redisplay_window): Save and restore the state of
the bidi cache before reusing the iterator after calls to
try_window and try_window_reusing_current_matrix.
2016-08-11 18:11:26 +03:00
Eli Zaretskii
ccd0e92ecc * doc/lispref/text.texi (Change Hooks): Minor copyedits. 2016-08-10 20:12:55 +03:00
Eli Zaretskii
f785ff45d5 Clarify documentation of before/after-change-functions
* doc/lispref/text.texi (Change Hooks): Clarify that the hooks are
not called in balanced pairs.
2016-08-09 19:52:50 +03:00
Noam Postavsky
3c9cb57c6f Document use of vectors in keymaps
* doc/lispref/keymaps.texi (Format of Keymaps): Mention vector
format (Bug #14797).
2016-08-06 15:46:18 -04:00
Paul Eggert
d841a03c5e ; Spelling fix 2016-08-03 14:59:28 -07:00
Alan Third
a6ae479216 Post AppDefined events from the main thread ONLY (bug#23934)
* src/nsterm.h: Make nextappdefined var not just GNUStep.
* src/nsterm.c (ns_send_appdefined, sendFromMainThread): Remove GNUStep
2016-08-03 17:19:12 +01:00
John Wiegley
d35d398bdb Update to the AUTHORS file for Bob Weiner
* etc/AUTHORS: Update the packages attributed to Bob Weiner
2016-08-02 16:55:16 -07:00
John Wiegley
4d2f4dfdde Revert "Fix local printer set to left aligned string formatter."
This reverts commit 8a38e948b0.
2016-08-02 11:43:08 -07:00
John Wiegley
cd1b4d60ce Revert "Fix ses-delete-blanks to delete only blanks + documentation."
This reverts commit 3c97b0f758.
2016-08-02 11:43:07 -07:00
John Wiegley
f7ceb8e028 Revert "Fix English."
This reverts commit b275cc76f0.
2016-08-02 11:43:05 -07:00
Eli Zaretskii
baa7abde77 Improve doc strings of 'gud-gdb' and 'gdb'
* lisp/progmodes/gdb-mi.el (gdb):
* lisp/progmodes/gud.el (gud-gdb): Doc fix.  (Bug#24125)
2016-08-01 22:58:37 +03:00
Eli Zaretskii
aa4271ab72 Fix doc string of 'minibuffer-message-timeout'
* src/keyboard.c (syms_of_keyboard) <minibuffer-message-timeout>:
Doc fix.  (Bug#24123)
2016-08-01 16:29:20 +03:00
Vincent Belaïche
b275cc76f0 Fix English.
* doc/misc/ses.texi (Nonrelocatable references): Fix grammatically
  incorrect English.
2016-07-29 13:47:57 +02:00
Vincent Belaïche
3c97b0f758 Fix ses-delete-blanks to delete only blanks + documentation.
* doc/misc/ses.texi (Quick Tutorial): Mention the '!'
'ses-range' modifier as an alternative to 'ses+'.
(Advanced Features): Add a refernce to node 'Nonrelocatable
references' concerning function 'ses-rename-cell'.
(Standard formula functions): Mention the '!' 'ses-range'
modifier as an alternative to 'ses-delete-blanks'.
(More on cell printing): Fix fallback printer
definition.  Minor editorial formatting changes.
(Nonrelocatable references): Document the use of
'ses-rename-cell' as a better way to make cell reference
non-relocatable.
(The data area): Document the presence of local printer
definitions in the data area.

* lisp/ses.el (ses-delete-blanks): Do not remove
*error*.  Any error in an argument should propagate into the
using formula rather than being silently hidden !
2016-07-29 13:44:14 +02:00
Noam Postavsky
272391f1d6 profiler: document prefix arg for tree expansion
* doc/lispref/debugging.texi (Profiling):
* lisp/profiler.el (profiler-report-toggle-entry): Document use of
prefix argument to expand whole call trees.
2016-07-28 20:02:42 -04:00
Noam Postavsky
442cc39e13 Clarify usage of eshell-visual-options
* lisp/eshell/em-term.el (eshell-visual-options): Add second option to
example usage (Bug #19627).
2016-07-28 19:57:51 -04:00
Noam Postavsky
b443c3c748 Fix comment in files-in-below-directory
* doc/lispintro/emacs-lisp-intro.texi (Files List): Comment should not
say append, since the code is adding to front of list (Bug #21589).
2016-07-28 19:53:58 -04:00
Vincent Belaïche
8a38e948b0 Fix local printer set to left aligned string formatter.
* lisp/ses.el (ses-local-printer-compile): Add missing case
for left-aligned string formatter.
2016-07-28 19:49:37 +02:00
Michael Albinus
0f0b191a53 ; Fix typos in NEWS 2016-07-25 10:43:14 +02:00
Nicolas Petton
6bdf687aea
; * etc/NEWS: Remove temporary marks 2016-07-24 21:26:11 +02:00
Nicolas Petton
3d981ddd54
Bump Emacs version to 25.1 for the first RC
* README:
* configure.ac:
* lisp/ldefs-boot.el:
* msdos/sed2v2.inp: Bump Emacs version to 25.1.
2016-07-24 17:33:29 +02:00
Nicolas Petton
d08afa1d03
* etc/AUTHORS: Update the AUTHORS file 2016-07-24 17:00:39 +02:00
Nicolas Petton
26685000d8
;; * ChangeLog.2: ChangeLog update. 2016-07-24 16:56:01 +02:00
Nicolas Petton
7acfaead6d
; ChangeLog fixes 2016-07-24 16:41:47 +02:00
Nicolas Petton
97d28b42a6 * admin/authors.el (authors-valid-file-names): Addition. 2016-07-24 16:21:26 +02:00
Nicolas Petton
9ab52f6987
* admin/authors.el: Additions. 2016-07-24 15:58:58 +02:00
Eli Zaretskii
0e646c73f5 Warn about Cairo-related problems
* etc/NEWS: Warn about known problems in the Cairo build.
(Bug#23925)
2016-07-23 20:43:29 +03:00
Paul Pogonyshev
bc4c07fca5 Don't let completion break `declare' handling
* elisp-mode.el (elisp-completion-at-point): Fix to not alter
`defun-declarations-alist' by side effect (Bug #23648).
2016-07-23 10:16:38 -04:00
Noam Postavsky
66f95e0dab Adjust match data before calling after-change-funs
It's important to adjust the match data in between calling
before-change-functions and after-change-functions, so that buffer
change hooks will always see match-data consistent with buffer content.
(Bug #23917)

* src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
true call update_search_regs.  Update all callers (except
Freplace_match) to pass 0 for the new parameter.
* src/search.c (update_search_regs): New function, extracted from
Freplace_match.
(Freplace_match): Remove match data adjustment code, pass 1 for
ADJUST_MATCH_DATA to replace_range instead.
2016-07-22 23:55:23 -04:00
Mark Oteiza
52cf0d5d98 Do not show string-rectangle preview if minibuffer is empty
* lisp/rect.el (rectangle--string-preview): Remove condition that sets
preview string to the default replacement string.
2016-07-21 16:54:03 -04:00
Achim Gratz
6a3d031a12 * etc/PROBLEMS: Add entry about selection problems under Plasma 5.
Bug#24013
2016-07-21 18:07:48 +03:00
Paul Eggert
ff3fc21e24 Port to glibc 2.24 (pre-release) + ppc64
Backport from master (Bug#24033).
Inspired by a suggestion by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
* src/emacs.c (main) [__PPC64__]:
Special case for __PPC64__, which needs ASLR disabled in
dumped Emacs too.
2016-07-21 13:29:17 +02:00
Katsumi Yamaoka
eb9d461a8e * lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159). 2016-07-21 08:33:41 +00:00
Katsumi Yamaoka
4157159a37 * lisp/net/shr.el (shr-fill-line):
Preserve text properties in folded lines (bug#24034).
2016-07-20 22:56:42 +00:00
Mark Oteiza
9a41cd1215 ; Fix typo
Thanks to Robert Weiner.
2016-07-20 18:46:15 -04:00
Robert Cochran
9356fe2392 Expand FIXME near definition of fboundp
This expansion of the FIXME is so that future developers are aware of
the potential problems of aliasing fboundp to symbol-function without
taking backwards compatibility into account.

* src/data.c (fboundp): Note potential backwards compatibility issues in
FIXME.

Copyright-paperwork-exempt: yes
2016-07-16 21:33:27 -04:00
Noam Postavsky
219b39f521 kill-rectangle should mention killed-rectangle
* lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
and warning message, rather than kill ring (Bug#19773).
2016-07-16 21:16:43 -04:00
Eli Zaretskii
59fa4c39f4 Avoid assertion violations in nhexl-mode
* src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
code executed in all builds.  (Bug#24001)
2016-07-16 16:42:18 +03:00
Fredrik Bergroth
916abe91fd Use memmove instead of memcpy on overlapping regions
* src/editfns.c (Ftranspose_regions): Regions may overlap, so
use memmove instead of memcpy (bug#19213).

Copyright-paperwork-exempt: yes

This is a backport from trunk.
(cherry picked from commit 354f9f0fc6)
2016-07-14 20:33:48 -04:00
Noam Postavsky
9ba51edf62 Document buffer-swap-text+save-excursion interaction
* doc/lispref/buffers.texi (Swapping Text):
* src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
`buffer-swap-text' and `save-excursion' (Bug #4655).
2016-07-14 20:01:39 -04:00
Stefan Monnier
452aa949bc Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
* lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
* lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
`class' is not a symbol but a class object.
2016-07-14 15:05:49 -04:00
Stefan Monnier
248d5dd13c Include cl-generic in package--builtin-versions (bug#22817)
* lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
Add ourselves manually.  Don't merge since there's a better fix on master.
2016-07-14 14:56:38 -04:00
Michael Albinus
8f5a8b6915 Improve timing in `tramp-test29-environment-variables'
* test/automated/tramp-tests.el
(tramp-test--shell-command-to-string-asynchronously):
Add additional `accept-process-output' call.
(tramp-test29-environment-variables): Remove additional sleep calls.
2016-07-14 12:27:41 +02:00